Revert "Use pragmas rather than makefiles for necessary options for unwind code."
[glibc.git] / ChangeLog
blob76a9849e7742691157abe25897fd846f7758e6d7
1 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #17719]
4         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5         define as weak alias of __memrchr.
6         (__memrchr): Do not define as strong alias of memrchr.
7         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
8         Remove variable.
9         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
10         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13         [BZ #17717]
14         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
15         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
16         (if_indextoname): Rename to __if_indextoname and define as weak
17         alias of __if_indextoname.  Use libc_hidden_weak.
18         (if_freenameindex): Rename to __if_freenameindex and define as
19         weak alias of __if_freenameindex.
20         (if_nameindex): Rename to __if_nameindex and define as weak alias
21         of __if_nameindex.
22         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
23         __if_nametoindex and define as weak alias of __if_nametoindex.
24         Use libc_hidden_weak.
25         (if_freenameindex): Rename to __if_freenameindex and define as
26         weak alias of __if_freenameindex.
27         (if_nameindex): Rename to __if_nameindex and define as weak alias
28         of __if_nameindex.
29         (if_indextoname): Rename to __if_indextoname and define as weak
30         alias of __if_indextoname.  Use libc_hidden_weak.
31         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
32         __if_nametoindex and define as weak alias of __if_nametoindex.
33         Use libc_hidden_weak.
34         (if_freenameindex): Rename to __if_freenameindex and define as
35         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36         (if_nameindex_netlink): Use __if_freenameindex instead of
37         if_freenameindex.
38         (if_nameindex): Rename to __if_nameindex and define as weak alias
39         of __if_nameindex.  Use libc_hidden_weak.
40         (if_indextoname): Rename to __if_indextoname and define as weak
41         alias of __if_indextoname.  Use libc_hidden_weak.
42         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
43         libc_hidden_proto.
44         [!_ISOMAC] (__if_freenameindex): Likewise.
45         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
46         if_nametoindex.
47         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
48         variable.
49         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
50         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
51         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
52         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
53         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
54         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
55         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
57         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
58         Remove variable.
59         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
60         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
62 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
65         subscript above bounds'
67         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
68         bounds.
70 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
72         * libio/tst-fopenloc.c: Use test-skeleton.c.
74         * stdlib/tst-bsearch.c: Use test-skeleton.c.
75         (entry): Rename to ITEM.
76         (do_test, comp): Adjust.
78         * stdio-common/tst-fseek.c: Use test-skeleton.c.
80 2014-12-16  Torvald Riegel  <triegel@redhat.com>
82         * string/tester.c: Include <libc-internal.h>.
83         (test_memset): Ignore -Wmemset-transposed-args.
85 2014-12-16  Torvald Riegel  <triegel@redhat.com>
87         * misc/tst-mntent2.c (do_test): Fix warning.
89 2014-12-16  Torvald Riegel  <triegel@redhat.com>
91         * elf/tst-unique4lib.cc(a): Mark as used.
93 2014-12-16  Florian Weimer  <fweimer@redhat.com>
95         [BZ #17630]
96         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
97         names.
99 2014-12-16  Allan McRae  <allan@archlinux.org>
101         * stdio-common/Makefile (tests): Re-add bug26.
103 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
105         [BZ #17657]
106         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
107         static array.
109 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
111         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
112         (__lll_lock_wait): Likewise.
113         (__lll_timedlock_wait): Likewise.
114         (__lll_timedwait_tid): Likewise.
115         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
116         (__lll_robust_timedlock_wait): Likewise.
117         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
118         (lll_cond_trylock): Likewise.
119         (__lll_lock): Likewise.
120         (__lll_robust_lock): Likewise.
121         (__lll_cond_lock): Likewise.
122         (lll_robust_cond_lock): Likewise.
123         (__lll_timedlock): Likewise.
124         (__lll_robust_timedlock): Likewise.
125         (__lll_unlock): Likewise.
126         (__lll_robust_unlock): Likewise.
127         (lll_wait_tid): Likewise.
128         (lll_timedwait_tid): Likewise.
130 2014-12-15  Torvald Riegel  <triegel@redhat.com>
132         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
134 2014-12-15  Torvald Riegel  <triegel@redhat.com>
136         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
138 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
140         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
141         * stdio-common/tst-sprintf.c: Likewise.
143 2014-12-15  Torvald Riegel  <triegel@redhat.com>
145         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
147 2014-12-15  Jeff Law  <law@redhat.com>
149         [BZ #16617]
150         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
151         on the heap.  (CVE-2012-3406)
152         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
153         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
154         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
156 2014-12-15  Will Newton  <will.newton@linaro.org>
158         * manual/install.texi: Bump required version of texinfo
159         to 4.7 from 4.5.
160         * INSTALL: Regenerated.
161         * configure.ac: Check for makeinfo version 4.7 and above.
162         * configure: Regenerated.
164 2014-12-12  Roland McGrath  <roland@hack.frob.com>
166         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
167         PREFIX, string constant to insert between directory and name.
168         * sysdeps/posix/shm_open.c: Update caller.
169         * sysdeps/posix/shm_unlink.c: Likewise.
170         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
171         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
172         (SEM_SHM_PREFIX): New macro.
173         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
174         [$(have-thread-library) = no].
175         * nptl/Makefile (libpthread-routines): Add shm-directory.
176         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
177         * sysdeps/nptl/shm-directory.h: New file.
178         * sysdeps/posix/shm-directory.c
179         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
180         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
181         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
182         INTERNAL_SYSCALL.
183         (__where_is_shmfs): Function removed.
184         (mountpoint, defaultmount, defaultdir, __namedsem_once):
185         Variables removed.
186         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
187         Use SHM_GET_NAME.
188         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
190         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
191         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
192         unconditional for use inside libpthread.
193         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
195 2014-12-12  Roland McGrath  <roland@hack.frob.com>
197         * nptl/pthread_getaffinity.c: New file.
198         * nptl/pthread_setaffinity.c: New file.
199         * nptl/pthread_getname.c: New file.
200         * nptl/pthread_setname.c: New file.
202         * nptl/pthread_create.c (START_THREAD_DEFN)
203         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
205 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
206             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
208         * resolv/res_send.c (send_vc): Disable warning resplen may
209         be used uninitialized.
211 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
213         * nptl/tst-mutex6.c
214         (ATTR_NULL): New define checks ATTR against NULL.
215         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
216         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
218 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
220         [BZ #17581]
221         * malloc/hooks.c
222         (mem2mem_check): Revert my previous change.
223         (malloc_check_get_size): Revert my previous change.
224         (mem2chunk_check): Revert my previous change.
226 2014-12-11  Roland McGrath  <roland@hack.frob.com>
228         * sysdeps/posix/shm-directory.c: New file.
229         * sysdeps/posix/shm-directory.h: New file.
230         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
231         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
232         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
233         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
234         Transmute EPERM to EACCES.
235         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
236         from ...
237         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
238         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
240 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
242         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
243         pointer and cast to uintptr_t.
244         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
245         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
246         Add cast to avoid warning.
247         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
249 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
251         * nptl/semaphore.h: Move to ...
252         * sysdeps/pthread/semaphore.h: ... here.
253         * Makefile (installed-headers): Change nptl/semaphore.h to
254         sysdeps/pthread/semaphore.h.
256 2014-12-11  Roland McGrath  <roland@hack.frob.com>
258         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
259         generated error format strings.
261         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
262         -Wformat-extra-args warnings for scanf formats.
263         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
264         test of zero-length format (duh).
265         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
266         corner-case scanf format test.
267         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
268         generated fprintf format string.
269         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
270         corner-case sprintf format tests.
271         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
272         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
273         -Wformat-extra-args warnings throughout.
274         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
275         (CFLAGS-scanf4.c): Likewise.
276         (CFLAGS-scanf7.c): Likewise.
277         (CFLAGS-tst-sprintf.c): Likewise.
278         (CFLAGS-tst-printf.c): Likewise.
279         (CFLAGS-tst-printfsz.c): Likewise.
281 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
283         * include/cpio.h: New file.
284         * include/fmtmsg.h: Likewise.
286         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
287         corresponding format argument to size_t.
288         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
289         arguments.
290         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
291         corresponding format argument to size_t.
292         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
293         arguments.
294         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
295         corresponding format argument to size_t.
296         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
297         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
298         (CFLAGS-tst-mbswcs2.c): Likewise.
299         (CFLAGS-tst-mbswcs3.c): Likewise.
300         (CFLAGS-tst-mbswcs4.c): Likewise.
301         (CFLAGS-tst-mbswcs5.c): Likewise.
302         (CFLAGS-tst-trans.c): Likewise
304 2014-12-11  Roland McGrath  <roland@hack.frob.com>
306         * posix/regexbug1.c (main): Use "%s" format with regerror results,
307         rather than assuming they won't contain any '%'s.
309 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
311         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
312         inhibit_loop_to_libcall to avoid recursive calls.
313         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
314         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
316 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
318         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
319         prototype.
321 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
323         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
324         integer value instead of boolean.
326 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
328         * malloc/malloc.c: Fix powerof2 check.
330 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
332         * locale/programs/locfile.h (maybe_swap_uint32):
333         Remove inline and add unused attribute.
335 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
337         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
338         Truncating assembler expression to a .long expression.
340 2014-12-11  Andreas Schwab  <schwab@suse.de>
342         * elf/rtld.c (struct map_args): Constify str member.
343         (do_preload): Constify fname argument.
345 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
347         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
348         constants definition.
350 2014-12-11  Andreas Schwab  <schwab@suse.de>
352         [BZ #16657]
353         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
354         FORCE_ELISION instead of DO_ELISION.
355         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
356         Remove.
357         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
358         Likewise.
360         * iconvdata/gconv-modules: Remove duplicate entry.
362 2014-12-11  Will Newton  <will.newton@linaro.org>
364         Merge gettext 0.19.3 into intl/.
366         This involves a number of cosmetic changes to comments
367         and ANSI function definitions and prototypes throughout
368         all the files. The gettext copyright header is used but
369         with the date ranges taken from the glibc copy.
371         * NEWS: Add gettext merge to 2.21.
372         * intl/bindtextdom.c: Switch to gettext copyright.
373         Use ANSI definitions and prototypes.
374         Use gl_* locking primitives rather than __libc_* ones.
375         Use __builtin_expect rather than __glibc_likely/unlikely.
376         * intl/dcgettext.c: Switch to gettext copyright.
377         Use ANSI definitions and prototypes.
378         * intl/dcigettext.c: Switch to gettext copyright.
379         Use ANSI definitions and prototypes.
380         (INTDIV0_RAISES_SIGFPE): New define.
381         Use gl_* locking primitives rather than __libc_* ones.
382         Include eval-plural.h instead of plural-eval.c.
383         Use __builtin_expect rather than __glibc_likely/unlikely.
384         * intl/dcngettext.c: Switch to gettext copyright.
385         Use ANSI definitions and prototypes.
386         * intl/dgettext.c: Likewise.
387         * intl/dngettext.c: Likewise.
388         * intl/plural-eval.c: Renamed to...
389         * intl/eval-plural.h: ...this.
390         * intl/explodename.c: Switch to gettext copyright.
391         Use ANSI definitions and prototypes.
392         (_nl_explode_name): Use strchr instead of __rawmemchr.
393         * intl/finddomain.c: Switch to gettext copyright.
394         Use ANSI definitions and prototypes.
395         Use gl_* locking primitives rather than __libc_* ones.
396         (_nl_find_domain): Use malloc rather than alloca for
397         allocation of temporary locale name.
398         * intl/gettext.c: Switch to gettext copyright.
399         Use ANSI definitions and prototypes.
400         * intl/gettextP.h: Switch to gettext copyright.
401         Use ANSI definitions and prototypes.
402         Use gl_* locking primitives rather than __libc_* ones.
403         * intl/gmo.h: Switch to gettext copyright.
404         (struct sysdep_string): Move struct segment_pair outside of
405         struct definition.
406         * intl/hash-string.c: Use ANSI definitions and prototypes.
407         * intl/hash-string.h: Switch to gettext copyright.
408         Use ANSI definitions and prototypes.
409         * intl/l10nflist.c: Switch to gettext copyright.
410         Use ANSI definitions and prototypes.
411         (_nl_normalize_codeset): Avoid integer overflow.
412         * intl/loadinfo.h: Switch to gettext copyright.
413         Use ANSI definitions and prototypes.
414         (LIBINTL_DLL_EXPORTED): New define.
415         (PATH_SEPARATOR): New define.
416         * intl/loadmsgcat.c: Switch to gettext copyright.
417         * intl/localealias.c: Switch to gettext copyright.
418         Use ANSI definitions and prototypes.
419         (_nl_expand_alias): Use PATH_SEPARATOR.
420         * intl/ngettext.c: Switch to gettext copyright.
421         Use ANSI definitions and prototypes.
422         * intl/plural-exp.c: Likewise.
423         * intl/plural-exp.h: Switch to gettext copyright.
424         Use ANSI definitions and prototypes.
425         (struct expression): Move definition of enum operator outside
426         of struct definition.
427         * intl/plural.c: Regenerate.
428         * intl/plural.y: Switch to gettext copyright.
429         Use ANSI definitions and prototypes.
430         Port to bison 3.0.
431         * intl/textdomain.c: Switch to gettext copyright.
432         Use ANSI definitions and prototypes.
433         Use gl_* locking primitives rather than __libc_* ones.
435 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
437         * debug/warning-nop.c: Add used atrribute.
439 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
441         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
443         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
444         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
445         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
447 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
448             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
450         [BZ #17634]
451         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
452         Undefine after defining function.  Define as weak alias of
453         __wcschr.  Use libc_hidden_weak.
454         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
455         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
456         (libc_hidden_def): Also define __GI___wcschr alias.
457         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
458         __wcschr and define as weak alias of __wcschr.
459         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
460         __wcschr.
461         [!WCSCHR] (DEFAULT_WCSCHR): Define.
462         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
463         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
464         libc_hidden_weak.  Do not use libc_hidden_def.
465         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
466         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
467         __GI___wcschr alias.
468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
469         [IS_IN (libc)] (wcschr): Define as macro expanding to
470         __redirect_wcschr.
471         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
472         [IS_IN (libc)] (__wcschr_power6): Likewise.
473         [IS_IN (libc)] (__wcschr_power7): Likewise.
474         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
475         instead of wcschr.
476         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
477         __libc_wcschr.
478         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
479         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
480         __wcschr and define as weak alias of __wcschr.  Use
481         libc_hidden_builtin_def.
482         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
483         as weak alias of __wcschr.  Use libc_hidden_weak.
484         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
485         wcschr.
486         * time/era.c (_nl_init_era_entries): Likewise.
487         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
488         variable.
489         (test-xfail-XPG3/time.h/linknamespace): Likewise.
490         (test-xfail-XPG4/time.h/linknamespace): Likewise.
492 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
494         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
495         format for long int variable.
497 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
499         [BZ #10672]
500         * manual/search.texi: (Array Sort Function): Remove claim how to make
501         qsort stable.
503 2014-12-10  Andreas Schwab  <schwab@suse.de>
505         [BZ #12847]
506         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
507         user-controlled locks.
509 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
511         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
512         register.
514 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
516         * configure.ac (--disable-werror): New configure option.
517         (enable_werror): New AC_SUBST.
518         * configure: Regenerated.
519         * config.make.in (enable-werror): New variable.
520         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
521         -Wno-error=undef.
522         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
523         * manual/install.texi (Configuring and compiling): Document
524         --disable-werror.
525         * INSTALL: Regenerated.
526         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
527         (CFLAGS-tst-chk2.c): Likewise.
528         (CFLAGS-tst-chk3.c): Likewise.
529         (CFLAGS-tst-chk4.cc): Likewise.
530         (CFLAGS-tst-chk5.cc): Likewise.
531         (CFLAGS-tst-chk6.cc): Likewise.
532         (CFLAGS-tst-lfschk1.c): Likewise.
533         (CFLAGS-tst-lfschk2.c): Likewise.
534         (CFLAGS-tst-lfschk3.c): Likewise.
535         (CFLAGS-tst-lfschk4.cc): Likewise.
536         (CFLAGS-tst-lfschk5.cc): Likewise.
537         (CFLAGS-tst-lfschk6.cc): Likewise.
539         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
540         (main): Disable -Wdeprecated-declarations around calls to
541         register_printf_function.
543         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
544         (do_test): Disable -Wdiv-by-zero around some calls to
545         fwrite_unlocked and fread_unlocked.
547         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
548         (DIAG_POP_NEEDS_COMMENT): Likewise.
549         (_DIAG_STR1): Likewise.
550         (_DIAG_STR): Likewise.
551         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
552         * stdio-common/bug21.c: Include <libc-internal.h>.
553         (do_test): Disable -Wformat around call to sscanf.
554         * stdio-common/scanf14.c: Include <libc-internal.h>.
555         (main): Disable -Wformat around some calls to scanf functions.
557 2014-12-09  Torvald Riegel  <triegel@redhat.com>
559         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
561 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
563         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
564         stack variable alignment.
566 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
568         [BZ #17682]
569         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
570         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
571         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
572         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
573         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
574         __getrlimit instead of getrlimit.
575         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
576         __gettimeofday instead of gettimeofday.
577         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
578         Likewise.
579         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
580         Likewise.
581         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
582         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
583         Remove variable.
584         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
585         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
587 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
589         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
590         for wide-character tests.
592 2014-12-04  Roland McGrath  <roland@hack.frob.com>
594         * io/openat64.c: #include <libc-internal.h>
595         (__openat64): Prototypify.  Use ignore_value on MODE.
596         * io/openat.c: Likewise.
597         * misc/reboot.c: #include <libc-internal.h>
598         (reboot): Prototypify.  Use ignore_value on HOWTO.
599         * misc/ptrace.c: #include <libc-internal.h>
600         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
602 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
604         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
605         XPG4, UNIX98 and XOPEN2K.
606         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
607         Remove variable.
608         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
610 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
612         * libio/fileops.c: Use ISO C style for function definitions.
613         * libio/iofopen.c: Likewise.
614         * libio/wfileops.c: Likewise.
616         [BZ #17653]
617         * libio/fileops.c (_IO_new_file_underflow): Unset cached
618         offset on EOF.
619         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
620         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
621         (fgets_func): Function pointer to fgets and fgetws.
622         (do_ftell_test): Add test to verify ftell value after read
623         EOF.
624         (do_test): Set fgets_func.
626         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
627         O_TRUNC flag for w and w+ modes.
628         (do_rewind_test): Likewise.
629         (do_ftell_test): Likewise.
630         (do_write_test): Likewise.
632         [BZ #17647]
633         * libio/fileops.c (do_ftell): Seek only when there are
634         unflushed writes.
635         * libio/wfileops.c (do_ftell_wide): Likewise.
636         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
637         test case.
638         (do_one_test): Call it.
640 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
642         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
643         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
644         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
645         Remove variable.
646         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
647         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
648         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
650 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
652         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
653         Remove variable.
654         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
656         [BZ #17668]
657         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
658         as weak alias of __getifaddrs.  Use libc_hidden_weak.
659         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
660         __freeifaddrs.  Use libc_hidden_weak.
661         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
662         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
663         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
664         __freeifaddrs.  Use libc_hidden_weak.
665         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
666         __getifaddrs and define as weak alias of __getifaddrs.  Use
667         libc_hidden_weak.
668         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
669         __freeifaddrs.  Use libc_hidden_weak.
670         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
671         Remove variable.
672         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
673         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
675 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
677         [BZ #17601]
678         * sysdeps/mips/start.S (__start): Use indirect jump to call
679         __libc_start_main.
681 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
683         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
685         * nptl/tst-mutex1.c: Include <stdbool.h>.
686         [!ATTR] (ATTR_NULL): New macro.
687         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
688         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
689         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
691         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
692         to char *.
694         [BZ #17665]
695         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
696         Change conditional to [__USE_MISC].
698         [BZ #17664]
699         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
700         fgets_unlocked.
701         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
702         __fgets_unlocked.
703         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
704         fgets_unlocked.
705         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
706         Remove variable.
707         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
708         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
709         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
710         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
711         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
712         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
713         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
714         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
715         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
717         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
719 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
721         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
722         Remove strpbrk objects.
723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
724         (__libc_ifunc_impl_list): Remove strpbrk implementation.
725         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
726         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
727         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
728         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
730         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
731         Remove strcspn objects.
732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
733         (__libc_ifunc_impl_list): Remove strcspn implementation.
734         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
735         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
736         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
737         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
739         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
740         Remove strspn objetcs.
741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
742         (__libc_ifunc_impl_list): Remove strspn implementation.
743         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
744         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
745         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
746         * sysdeps/powerpc/powerpc64/strspn.S: New file.
748 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
750         [BZ #17581]
751         * malloc/hooks.c
752         (mem2mem_check): Add a terminator to the chain of checking blocks.
753         (malloc_check_get_size): Use it here.
754         (mem2chunk_check): Ditto.
756 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
758         * sysdeps/powerpc/powerpc64/strtok.S: New file.
759         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
761 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
763         * bits/ioctl-types.h: Indent preprocessor directives correctly.
765         * nptl/nptl-init.c: Include libc-internal.h.
766         (__pthread_initialize_minimal_internal): Use ROUND_UP.
768         * elf/ldconfig.c (search_dir): Expand comment.
770 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
772         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
773         variable.
774         (linknamespace-symlist-stdlibs-tests): Likewise.
775         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
776         instead of $(objpfx)symlist-stdlibs.
777         (linknamespace-libs-isoc): New variable.
778         (linknamespace-libs): Use $(linknamespace-libs-isoc).
779         (linknamespace-libs-ISO): New variable.
780         (linknamespace-libs-ISO99): Likewise.
781         (linknamespace-libs-ISO11): Likewise.
782         (linknamespace-libs-XPG3): Likewise.
783         (linknamespace-libs-XPG4): Likewise.
784         (linknamespace-libs-POSIX): Likewise.
785         (linknamespace-libs-UNIX98): Likewise.
786         (linknamespace-libs-XOPEN2K): Likewise.
787         (linknamespace-libs-POSIX2008): Likewise.
788         (linknamespace-libs-XOPEN2K8): Likewise.
789         ($(objpfx)symlist-stdlibs): Replace by
790         $(linknamespace-symlist-stdlibs-tests).  Use
791         $(linknamespace-libs-$*) as set of libraries.
792         ($(linknamespace-header-tests)): Update dependencies.  Use
793         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
794         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
795         * conform/linknamespace.pl: Remove comment about considering
796         definitions of symbols from irrelevant libraries.
798 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
800         [BZ #13862]
801         * elf/dl-tls.c: Include <atomic.h>.
802         (oom): Remove #ifdef SHARED/#endif.
803         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
804         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
805         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
806         big enough.
807         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
808         * nptl/Makefile (tests): Add tst-stack4.
809         (modules-names): Add tst-stack4mod.
810         ($(objpfx)tst-stack4): New.
811         (tst-stack4mod.sos): Likewise.
812         ($(objpfx)tst-stack4.out): Likewise.
813         ($(tst-stack4mod.sos)): Likewise.
814         (clean): Likewise.
815         * nptl/tst-stack4.c: New file.
816         * nptl/tst-stack4mod.c: Likewise.
818 2014-11-27  J. Brown  <jb999@gmx.de>
820         * sysdeps/x86/bits/string.h: Add recent CPUs.
822 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
824         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
825         sigblock.
827         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
828         feof.
830         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
831         variable.
833 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
835         * nscd/connections.c: Include libc-internal.h because of macro
836         usage ignore_value.
838 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
840         * string/bits/string3.h (__warn_memset_zero_len): Don't
841         declare for gcc newer than 5.0.
842         (memset): Don't test for zero-length __LEN for gcc newer than
843         5.0.
845 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
847         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
848         size_t for %zu format.
850         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
851         difference, not %ju.
853 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
855         * include/libc-internal.h (ignore_value): New macro.
856         * nscd/connections.c (restart): Wrap calls to setuid and setgid
857         with ignore_value.
859         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
860         definition.
862         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
863         pthread_cleanup_push to void *.
865         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
866         Undefine.
868         [BZ #16619]
869         [BZ #16740]
870         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
871         instead of 1L << 52.
873         * libio/bug-rewind.c (do_test): Check fwscanf return values.
874         * libio/bug-rewind2.c (do_test): Likewise.
876         * debug/test-stpcpy_chk-ifunc.c: Remove file.
877         * debug/test-strcpy_chk-ifunc.c: Likewise.
878         * wcsmbs/test-wcschr-ifunc.c: Likewise.
879         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
880         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
881         * wcsmbs/test-wcslen-ifunc.c: Likewise.
882         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
883         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
884         * Rules [$(multi-arch) = no] (tests): Do not filter out
885         $(tests-ifunc).
886         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
887         * debug/Makefile (tests-ifunc): Remove variable.
888         (tests): Do not add $(tests-ifunc).
889         * wcsmbs/Makefile (tests-ifunc): Remove variable.
890         (tests): Do not add $(tests-ifunc).
891         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
892         [TEST_IFUNC]: Remove conditionals.
893         * string/test-string.h (TEST_IFUNC): Remove macro.
894         [TEST_IFUNC]: Remove conditionals.
896         * string/test-strchr.c [!WIDE] (L): New macro.
897         [WIDE] (L): Likewise.
898         (check1): Use CHAR instead of char.  Use L on string and character
899         constants.
901 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
903         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
904         tests.
905         * sysdeps/powerpc/bits/atomic.h
906         (__arch_atomic_exchange_and_add_32_acq): Add definition.
907         (__arch_atomic_exchange_and_add_32_rel): Likewise.
908         (atomic_exchange_and_add_acq): Likewise.
909         (atomic_exchange_and_add_rel): Likewise.
910         * sysdeps/powerpc/powerpc32/bits/atomic.h
911         (__arch_atomic_exchange_and_add_64_acq): Add definition.
912         (__arch_atomic_exchange_and_add_64_rel): Likewise.
913         * sysdeps/powerpc/powerpc64/bits/atomic.h
914         (__arch_atomic_exchange_and_add_64_acq): Add definition.
915         (__arch_atomic_exchange_and_add_64_rel): Likewise.
917 2014-11-26  Torvald Riegel  <triegel@redhat.com>
919         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
920         Change synchronization of __sched_fifo_min_prio and
921         __sched_fifo_max_prio.
922         * nptl/pthread_mutexattr_getprioceiling.c
923         (pthread_mutexattr_getprioceiling): Likewise.
924         * nptl/pthread_mutexattr_setprioceiling.c
925         (pthread_mutexattr_setprioceiling): Likewise.
926         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
927         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
928         Likewise.
930 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
932         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
933         void.
935 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
937         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
938         third argument const.
940 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
942         fnmatch: work around GCC compiler warning bug with uninit var
943         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
944         This works around a bug with x86-64 GCC 4.9.2 and earlier
945         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
946         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
947         used uninitialized in this function [-Wmaybe-uninitialized]".
949 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
951         * posix/bug-regex31.c (main): Return RES not 0.
953 2014-11-25  Anton Blanchard <anton@samba.org>
955         * sysdeps/powerpc/bits/atomic.h
956         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
958 2014-11-24  Sterling Augustine  <saugustine@google.com>
960         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
962 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
964         [BZ #17608]
965         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
967 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
969         [BZ #17633]
970         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
971         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
972         variable.
973         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
974         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
976 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
978         * string/strncpy.c (strncpy): Improve performance by using memset.
980 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
982         * string/strcpy.c (strcpy):
983         Improve performance by using strlen and memcpy.
985 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
987         * string/strcoll_l.c (get_next_seq): __always_inline.
988         * string/strcoll_l.c (do_compare): __always_inline.
990 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
992         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
993         defined.
994         * include/mqueue.h: Likewise.
995         * include/stdlib.h: Likewise.
997         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
998         (get_null_defines): Adjust.
999         * sunrpc/Makefile: Adjust comment.
1000         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1001         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1002         (CFLAGS-interp.c): Likewise.
1003         (CFLAGS-ldconfig.c): Likewise.
1004         (CPPFLAGS-.os): Likewise.
1005         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1006         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1007         * extra-modules.mk (extra-modules.mk): Likewise.
1008         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1009         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1010         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1011         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1012         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1013         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1014         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1015         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1016         * iconvdata/Makefile (CPPFLAGS): Likewise.
1017         (cpp-srcs-left): Add libof for all iconvdata routines.
1018         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1019         * include/assert.h: Likewise.
1020         * include/ctype.h: Likewise.
1021         * include/errno.h: Likewise.
1022         * include/libc-symbols.h: Likewise.
1023         * include/math.h: Likewise.
1024         * include/netdb.h: Likewise.
1025         * include/resolv.h: Likewise.
1026         * include/stdio.h: Likewise.
1027         * include/stdlib.h: Likewise.
1028         * include/string.h: Likewise.
1029         * include/sys/stat.h: Likewise.
1030         * include/wctype.h: Likewise.
1031         * intl/l10nflist.c: Likewise.
1032         * libidn/idn-stub.c: Likewise.
1033         * libio/libioP.h: Likewise.
1034         * nptl/libc_multiple_threads.c: Likewise.
1035         * nptl/pthreadP.h: Likewise.
1036         * posix/regex_internal.h: Likewise.
1037         * resolv/res_hconf.c: Likewise.
1038         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1039         * sysdeps/arm/memmove.S: Likewise.
1040         * sysdeps/arm/sysdep.h: Likewise.
1041         * sysdeps/generic/_itoa.h: Likewise.
1042         * sysdeps/generic/symbol-hacks.h: Likewise.
1043         * sysdeps/gnu/errlist.awk: Likewise.
1044         * sysdeps/gnu/errlist.c: Likewise.
1045         * sysdeps/i386/i586/memcpy.S: Likewise.
1046         * sysdeps/i386/i586/memset.S: Likewise.
1047         * sysdeps/i386/i686/memcpy.S: Likewise.
1048         * sysdeps/i386/i686/memmove.S: Likewise.
1049         * sysdeps/i386/i686/mempcpy.S: Likewise.
1050         * sysdeps/i386/i686/memset.S: Likewise.
1051         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1052         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1053         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1054         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1055         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1056         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1057         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1058         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1059         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1060         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1061         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1062         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1063         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1064         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1065         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1066         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1067         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1068         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1069         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1070         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1071         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1072         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1073         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1074         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1075         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1076         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1077         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1078         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1079         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1080         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1081         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1082         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1083         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1084         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1085         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1086         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1087         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1088         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1089         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1090         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1091         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1092         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1093         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1094         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1095         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1096         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1097         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1098         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1099         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1100         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1101         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1102         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1103         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1104         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1105         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1106         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1107         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1108         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1109         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1110         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1111         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1112         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1113         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1114         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1115         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1116         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1117         * sysdeps/posix/closedir.c: Likewise.
1118         * sysdeps/posix/opendir.c: Likewise.
1119         * sysdeps/posix/readdir.c: Likewise.
1120         * sysdeps/posix/rewinddir.c: Likewise.
1121         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1122         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1123         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1124         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1125         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1126         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1127         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1129         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1130         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1131         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1132         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1133         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1134         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1135         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1136         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1137         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1138         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1139         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1140         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1141         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1142         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1143         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1144         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1145         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1146         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1148         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1149         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1150         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1152         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1153         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1154         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1156         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1157         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1158         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1159         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1160         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1161         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1162         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1163         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1164         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1165         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1166         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1167         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1168         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1169         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1170         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1171         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1172         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1173         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1174         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1175         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1176         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1177         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1178         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1179         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1180         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1181         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1182         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1183         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1184         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1185         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1186         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1187         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1188         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1189         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1190         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1191         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1192         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1193         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1194         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1195         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1196         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1197         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1198         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1199         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1200         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1201         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1202         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1203         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1204         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1205         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1206         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1207         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1208         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1209         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1210         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1211         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1212         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1213         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1214         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1215         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1216         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1217         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1219         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1220         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1221         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1222         * sysdeps/unix/alpha/sysdep.S: Likewise.
1223         * sysdeps/unix/alpha/sysdep.h: Likewise.
1224         * sysdeps/unix/make-syscalls.sh: Likewise.
1225         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1227         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1228         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1229         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1230         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1231         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1232         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1233         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1234         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1235         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1236         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1237         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1238         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1239         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1240         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1241         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1242         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1243         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1244         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1245         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1246         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1247         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1248         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1249         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1250         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1251         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1254         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1255         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1256         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1257         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1259         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1260         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1261         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1262         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1263         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1264         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1265         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1266         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1267         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1268         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1269         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1270         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1272         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1273         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1274         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1275         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1276         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1277         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1278         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1279         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1280         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1281         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1282         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1283         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1284         * sysdeps/x86_64/memcpy.S: Likewise.
1285         * sysdeps/x86_64/memmove.c: Likewise.
1286         * sysdeps/x86_64/memset.S: Likewise.
1287         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1288         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1289         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1290         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1291         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1292         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1293         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1294         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1295         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1296         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1297         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1298         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1299         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1300         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1301         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1302         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1303         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1304         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1305         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1306         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1307         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1308         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1309         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1310         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1311         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1312         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1313         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1314         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1315         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1316         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1317         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1318         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1319         * sysdeps/x86_64/strcmp.S: Likewise.
1321         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1323         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1324         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1325         * elf/rtld-Rules: Likewise.
1326         * elf/setup-vdso.h: Likewise.
1327         * include/assert.h: Likewise.
1328         * include/bits/stdlib-float.h: Likewise.
1329         * include/errno.h: Likewise.
1330         * include/sys/stat.h: Likewise.
1331         * include/unistd.h: Likewise.
1332         * sysdeps/aarch64/setjmp.S: Likewise.
1333         * sysdeps/alpha/setjmp.S: Likewise.
1334         * sysdeps/arm/__longjmp.S: Likewise.
1335         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1336         * sysdeps/arm/setjmp.S: Likewise.
1337         * sysdeps/arm/sysdep.h: Likewise.
1338         * sysdeps/generic/_itoa.h: Likewise.
1339         * sysdeps/generic/dl-sysdep.h: Likewise.
1340         * sysdeps/generic/ldsodefs.h: Likewise.
1341         * sysdeps/i386/dl-tls.h: Likewise.
1342         * sysdeps/i386/setjmp.S: Likewise.
1343         * sysdeps/m68k/setjmp.c: Likewise.
1344         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1345         * sysdeps/mach/hurd/opendir.c: Likewise.
1346         * sysdeps/posix/getcwd.c: Likewise.
1347         * sysdeps/posix/opendir.c: Likewise.
1348         * sysdeps/posix/profil.c: Likewise.
1349         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1350         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1351         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1352         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1353         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1354         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1355         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1356         * sysdeps/s390/dl-tls.h: Likewise.
1357         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1358         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1359         * sysdeps/sh/sh3/setjmp.S: Likewise.
1360         * sysdeps/sh/sh4/setjmp.S: Likewise.
1361         * sysdeps/unix/alpha/sysdep.h: Likewise.
1362         * sysdeps/unix/arm/sysdep.S: Likewise.
1363         * sysdeps/unix/i386/sysdep.S: Likewise.
1364         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1365         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1366         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1367         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1368         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1369         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1370         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1371         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1372         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1373         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1374         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1375         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1376         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1379         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1380         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1381         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1382         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1383         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1384         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1386         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1387         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1388         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1389         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1391         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1392         * sysdeps/x86_64/setjmp.S: Likewise.
1394         * include/math.h: Use IS_IN instead of IS_IN_libm.
1395         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1396         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1397         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1398         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1399         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1400         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1401         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1402         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1403         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1404         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1405         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1406         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1407         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1408         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1409         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1410         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1411         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1412         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1413         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1414         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1415         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1416         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1417         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1418         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1419         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1420         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1421         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1422         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1423         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1424         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1425         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1426         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1427         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1429         Likewise.
1430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1431         Likewise.
1432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1433         Likewise.
1434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1435         Likewise.
1436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1437         Likewise.
1438         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1439         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1440         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1441         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1442         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1443         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1449         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1450         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1451         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1452         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1453         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1454         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1455         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1456         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1457         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1458         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1459         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1460         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1461         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1462         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1464         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1466         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1467         * nptl/pthreadP.h: Likewise.
1468         * nptl_db/structs.def: Likewise.
1469         * sysdeps/arm/sysdep.h: Likewise.
1470         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1471         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1472         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1473         * sysdeps/unix/alpha/sysdep.h: Likewise.
1474         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1475         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1476         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1477         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1478         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1479         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1480         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1481         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1482         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1483         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1484         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1485         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1486         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1487         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1490         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1491         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1492         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1494         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1495         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1496         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1497         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1498         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1499         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1501         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1502         * nptl/pthreadP.h: Likewise.
1503         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1504         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1505         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1506         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1507         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1508         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1509         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1510         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1511         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1512         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1513         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1514         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1516         Likewise.
1517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1518         Likewise.
1519         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1520         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1521         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1522         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1523         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1524         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1525         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1526         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1528         * dlfcn/dladdr.c: Use IS_IN.
1529         * dlfcn/dladdr1.c: Likewise.
1530         * dlfcn/dlclose.c: Likewise.
1531         * dlfcn/dlerror.c: Likewise.
1532         * dlfcn/dlinfo.c: Likewise.
1533         * dlfcn/dlmopen.c: Likewise.
1534         * dlfcn/dlopen.c: Likewise.
1535         * dlfcn/dlsym.c: Likewise.
1536         * dlfcn/dlvsym.c: Likewise.
1538         * include/ifaddrs.h: Use IS_IN.
1539         * inet/check_pf.c: Likewise.
1540         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1541         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1543         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1544         IS_IN_ldconfig.
1545         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1546         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1548         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1549         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1550         IS_IN (libc).
1552         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1554         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1555         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1556         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1557         * include/libc-symbols.h (IS_IN_LIB): New macro.
1558         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1559         * include/netdb.h: Likewise.
1560         * include/stap-probe.h: Remove all uses of IN_LIB.
1562         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1563         instead of IN_MODULE.
1564         * include/libc-symbols.h (IN_MODULE): Define using
1565         MODULE_NAME.
1566         (PASTE_NAME, PASTE_NAME1): New macros.
1567         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1568         of IN_LIB.
1569         (STAP_PROBE_ASM): Likewise.
1571 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1573         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1574         __mach_init in dlopened libc.
1576 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1578         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1579         * sysdeps/arm/preconfigure: Regenerate.
1581 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1583         * nptl/pthread_create.c (__pthread_create_2_1): Set
1584         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1585         when copying values from IATTR into PD.
1587 2014-11-21  Will Newton  <will.newton@linaro.org>
1588             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1590         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1591         Refactor inline-asm.  Also add comment.
1593         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1594         ElfW macro instead of hardcoded Elf64 types.
1595         (la_aarch64_gnu_pltenter): Likewise.
1596         * sysdeps/aarch64/dl-machine.h
1597         (elf_machine_runtime_setup): Use ElfW(Addr).
1599         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1600         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1601         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1602         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1603         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1604         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1605         (R_AARCH64_TLS_DTPMOD): This.
1606         (R_AARCH64_TLS_DTPREL64): Rename to ...
1607         (R_AARCH64_TLS_DTPREL): This.
1608         (R_AARCH64_TLS_TPREL64): Rename to ...
1609         (R_AARCH64_TLS_TPREL): This.
1610         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1611         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1612         R_AARCH64_TLS_TPREL64.
1613         (elf_machine_rela): Likewise.
1615 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1617         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1618         by setting it to 0.  64b atomics are not supported currently.
1620 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1622         [BZ #16469]
1623         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1624         search domain names.
1626 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1628         [BZ #16469]
1629         * NEWS: Update.
1630         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1631         trailing dot.
1632         * posix/tst-getaddrinfo5.c: New.
1633         * posix/Makefile (tests): Add it.
1635 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1637         [BZ #14498]
1638         * NEWS: Fixed.
1639         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1640         after parsing line but before break_if_match.
1641         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1642         if there is a protocol mismatch.
1644 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1646         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1647         because the potential race is on the user-supplied stream.
1649 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1651         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1652         string literal if not passed a buffer.
1653         * manual/job.texi (ctermid): Update reasoning, note deviation
1654         from posix, suggest mtasurace when not passed a buffer, for
1655         future non-preliminary safety notes.
1657 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1659         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1660         of not passing it a buffer.
1661         Reported by Peng Haitao.
1663 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1665         * manual/Makefile ($(objpfx)stamp-summary): Require
1666         check-safety.sh to pass.
1667         * manual/check-safety.sh: Wish for verification that every
1668         @deftypefn and @deftypefun is followed by a @safety remark.
1670 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1672         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1674         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1675         PTHREAD_CANCEL_ASYNCHRONOUS.
1676         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1677         send SIGCANCEL.
1679         * nptl/default-sched.h: New file.
1680         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1681         * nptl/pthread_create.c: Include it.
1682         (__pthread_create_2_1): Use collect_default_sched instead of making
1683         Linux syscalls here directly.
1685 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1687         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1688         __pthread_once): Use C11 atomics.
1690 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1692         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1694 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1696         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1697         atomic_thread_fence_acquire, atomic_thread_fence_release,
1698         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1699         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1700         atomic_compare_exchange_weak_relaxed,
1701         atomic_compare_exchange_weak_acquire,
1702         atomic_compare_exchange_weak_release,
1703         atomic_exchange_acquire, atomic_exchange_release,
1704         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1705         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1706         atomic_fetch_and_acquire,
1707         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1709 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1711         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1712         USE_ATOMIC_COMPILER_BUILTINS): Define.
1713         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1714         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1715         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1716         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1717         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1718         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1719         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1720         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1721         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1722         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1723         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1724         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1725         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1726         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1727         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1728         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1729         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1730         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1731         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1732         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1733         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1734         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1735         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1736         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1737         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1738         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1739         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1740         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1741         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1742         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1743         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1744         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1745         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1746         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1747         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1748         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1749         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1750         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1751         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1752         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1754 2014-11-19  Roland McGrath  <roland@hack.frob.com>
1756         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1757         the sched_priority value here.  It was already checked when the user
1758         called pthread_attr_setschedparam.
1760         * nptl/tst-bad-schedattr.c: New file.
1761         * nptl/Makefile (tests): Add it.
1763 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
1764             Florian Weimer  <fweimer@redhat.com>
1765             Joseph Myers  <joseph@codesourcery.com>
1766             Adam Conrad  <adconrad@0c3.net>
1767             Andreas Schwab  <schwab@suse.de>
1768             Brooks  <bmoses@google.com>
1770         [BZ #17625]
1771         * wordexp-test.c (__dso_handle): Add prototype.
1772         (__register_atfork): Likewise.
1773         (__app_register_atfork): New function.
1774         (registered_forks): New global.
1775         (register_fork): New function.
1776         (test_case): Add 3 new tests for WRDE_CMDSUB.
1777         (main): Call __app_register_atfork.
1778         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1779         fork count is non-zero fail the test.
1780         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1781         is set.
1782         (parse_dollars): Remove check for WRDE_NOCMD.
1783         (parse_dquote): Likewise.
1785 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1787         * Makeconfig (built-modules): List non-library modules to be
1788         built.
1789         (module-cppflags): Include libc-modules.h for
1790         everything except shlib-versions.v.i.
1791         (CPPFLAGS): Use it.
1792         (before-compile): Add libc-modules.h.
1793         ($(common-objpfx)libc-modules.h,
1794         $(common-objpfx)libc-modules.stmp): New targets.
1795         (common-generated): Add libc-modules.h and libc-modules.stmp.
1796         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1797         * include/libc-symbols.h: Don't include libc-modules.h.
1798         * include/libc-modules.h: Remove file.
1799         * scripts/gen-libc-modules.awk: New script to generate
1800         libc-modules.h.
1801         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1802         Depend on libc-modules.stmp.
1804         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1806         * Makeconfig (in-module): Get value of libof set for the
1807         translation unit.
1808         (CPPFLAGS): Use $(in-module).
1809         * Makerules: Don't suffix routine names for nonlib.
1810         * include/libc-modules.h: New file.
1811         * include/libc-symbols.h: Include libc-modules.h
1812         (IS_IN): New macro to replace IS_IN_* macros.
1813         * elf/Makefile: Set libof-* for each routine.
1814         * elf/rtld-Rules: Likewise.
1815         * extra-modules.mk: Likewise.
1816         * iconv/Makefile: Likewise.
1817         * iconvdata/Makefile: Likewise.
1818         * locale/Makefile: Likewise.
1819         * malloc/Makefile: Likewise.
1820         * nss/Makefile: Likewise.
1821         * sysdeps/gnu/Makefile: Likewise.
1822         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1823         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1824         * sysdeps/s390/s390-64/Makefile: Likewise.
1825         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
1826         CPPFLAGS for nscd instead of nonlib.
1828 2014-11-18  Roland McGrath  <roland@hack.frob.com>
1830         * nptl/createthread.c: New file.
1832         * nptl/createthread.c: Moved ...
1833         * sysdeps/unix/sysv/linux/createthread.c: ... here.
1835         * nptl/createthread.c: Add proper top-line comment.
1836         (do_clone): Folded into ...
1837         (create_thread): ... here.  Take new arguments STOPPED_START and
1838         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
1839         increment __nptl_threads, do event-reporting logic, do
1840         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1841         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
1842         resource cleanup if sched_setaffinity or sched_setscheduler fails,
1843         just send SIGCANCEL.
1844         * nptl/pthread_create.c: Forward-declare create_thread before
1845         including createthread.c.
1846         (start_thread): Use new macro START_THREAD_DEFN to replace defining
1847         declaration, and new macro START_THREAD_SELF to replace argument.
1848         Remove return statement.
1849         (report_thread_creation): New function.
1850         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
1851         synchronization logic, and __nptl_nthreads increment here, around
1852         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
1853         PD->parent_cancelhandling here, before create_thread.  When
1854         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1855         __deallocate_stack, and ENOMEM translation here.
1857 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
1859         [BZ #17616]
1860         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1861         (mptwo): Rename to __mptwo.
1862         (__inv): Use __mptwo instead of mptwo.
1863         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1864         (mptwo): Rename to __mptwo.
1865         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1866         of mpone and __mptwo instead of mptwo.
1867         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1868         instead of mpone.
1869         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1870         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1871         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1872         of mpone and __mptwo instead of mptwo.
1873         (__mpranred): Use __mpone instead of mpone.
1874         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1875         variable.
1876         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1877         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1878         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1879         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1880         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1881         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1882         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1883         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1884         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1885         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1886         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1887         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1888         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1889         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1890         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1891         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1892         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1893         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1894         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1896 2014-11-18  Tom de Vries  <tom@codesoucery.com>
1898         * manual/signal.texi (Primitives Interrupted by Signals): In section,
1899         replace BSD Handler xref with BSD Signal Handling.
1901 2014-11-17  Richard Henderson  <rth@redhat.com>
1903         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1904         (_FP_PACK_RAW_2): Remove.
1905         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1906         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1907         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1908         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1909         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1910         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1911         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1912         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1913         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1914         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1915         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1916         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1917         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1918         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1919         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1920         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1922 2014-11-14  Roland McGrath  <roland@hack.frob.com>
1924         * signal/signal.h [__USE_MISC]
1925         (struct sigvec): Remove type.
1926         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1927         (sigvec): Remove declaration.
1928         * sysdeps/posix/sigvec.c: Moved ...
1929         * signal/sigvec.c: ... here, replacing old file.
1930         (struct sigvec): New type, copied from old signal.h definition.
1931         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1932         (__sigvec): Convert definition to prototype.
1933         (sigvec): Replace weak_alias with compat_symbol.
1934         * signal/Versions (libc: GLIBC_2.21): New version set.
1935         * include/signal.h: Remove __sigvec declaration.
1936         * sysdeps/unix/bsd/sigvec.c: Remove file.
1937         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1938         * manual/signal.texi (BSD Handler): Remove subsection.
1939         Move siginterrupt up to ...
1940         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
1941         (Blocking in BSD): Fold subsection into its parent.
1942         * NEWS: Mention sigvec removal.
1944 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1946         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1947         (DLA_FMS): Make definition conditional only on [__FMA4__].
1948         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1949         definition.
1951         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1952         Make definition conditional only on [PROF].
1953         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1954         definition.
1955         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1956         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1958         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1959         !__GNUC__].
1960         * include/signal.h (__sigpause): Move declaration above call to
1961         libc_hidden_proto.
1962         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1963         variable.
1964         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1965         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1967 2014-11-14  David S. Miller  <davem@davemloft.net>
1969         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1970         Define before including <string/memcpy.c> and <string/mempcpy.c>.
1972 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1974         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1975         * configure: Regenerated.
1976         * manual/install.texi (Tools for Compilation): Document a
1977         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1978         compiler verified to work.
1979         * INSTALL: Regenerated.
1981         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1982         redeclare with asm name.
1983         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1984         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1985         including <string.h>.
1986         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1987         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1988         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1989         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1990         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1991         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1992         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1994 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1996         * stdlib/strtol.c (__strtol): Use prototype definition.
1998         [BZ #17594]
1999         * stdlib/strtol.c (SYM__): New macro.
2000         (SYM__1): Likewise.
2001         (__strtol): Likewise.
2002         (strtol): Rename to __strtol and define as weak alias of
2003         __strtol.  Use libc_hidden_weak.
2005 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2007         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2008         Use numbered labels in inline assembly.
2010 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2012         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2013         Add setjmp LIBC_PROBE.
2014         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2015         Likewise.
2016         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2017         Add longjmp, longjmp_target LIBC_PROBE.
2018         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2019         Likewise.
2021 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2023         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2024         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2025         to get rid of unused variable warning.
2027 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2029         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2030         Check for unwind_backtrace ==  NULL only in SHARED case.
2031         (__backchain_backtrace): Compile only in SHARED case.
2032         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2033         Likewise.
2034         (__backchain_backtrace): Declare as static.
2036 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2038         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2039         (__libc_multiple_threads_ptr): Variable moved ...
2040         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2042 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2044         * conform/GlibcConform.pm: New file.
2045         * conform/conformtest.pl: Use GlibcConform module.
2046         * conform/linknamespace.pl: New file.
2047         * conform/list-header-symbols.pl: Likewise.
2048         * conform/Makefile (linknamespace-symlists-base): New variable.
2049         (linknamespace-symlists-tests): Likewise.
2050         (linknamespace-header-base): Likewise.
2051         (linknamespace-header-tests): Likewise.
2052         (tests-special): Add new tests.
2053         ($(linknamespace-symlists-tests)): New rule.
2054         (linknamespace-libs): New variable.
2055         ($(objpfx)symlist-stdlibs): New rule.
2056         ($(linknamespace-header-tests)): Likewise.
2057         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2058         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2059         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2060         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2061         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2062         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2063         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2064         (test-xfail-ISO/math.h/linknamespace): Likewise.
2065         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2066         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2067         (test-xfail-ISO/time.h/linknamespace): Likewise.
2068         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2069         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2070         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2071         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2072         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2073         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2074         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2075         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2076         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2077         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2078         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2079         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2080         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2081         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2082         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2083         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2084         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2085         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2086         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2087         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2088         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2089         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2090         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2091         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2092         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2093         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2094         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2095         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2096         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2097         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2098         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2099         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2100         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2101         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2102         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2103         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2104         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2105         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2106         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2107         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2108         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2109         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2110         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2111         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2112         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2113         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2114         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2115         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2116         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2117         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2118         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2119         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2120         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2121         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2122         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2123         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2124         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2125         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2126         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2127         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2128         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2129         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2130         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2131         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2132         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2133         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2134         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2135         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2136         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2137         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2138         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2139         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2140         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2141         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2142         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2143         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2144         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2145         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2146         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2147         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2148         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2149         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2150         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2151         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2152         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2153         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2154         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2155         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2156         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2157         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2158         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2159         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2160         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2161         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2162         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2163         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2164         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2165         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2166         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2167         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2168         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2169         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2170         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2171         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2172         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2173         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2174         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2175         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2176         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2177         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2178         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2179         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2180         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2181         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2182         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2183         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2184         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2185         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2186         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2187         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2188         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2189         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2190         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2191         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2192         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2193         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2194         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2195         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2196         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2197         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2198         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2199         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2200         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2201         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2202         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2203         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2204         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2205         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2206         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2207         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2208         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2209         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2210         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2211         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2212         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2213         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2214         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2215         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2216         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2217         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2219         [BZ #17589]
2220         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2221         of fgets_unlocked.
2223         [BZ #17585]
2224         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2225         (memmem): Rename to __memmem and define as weak alias of
2226         __memmem.  Use libc_hidden_weak.
2227         (__memmem): Use libc_hidden_def.
2228         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2229         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2230         memmem.
2232         [BZ #17582]
2233         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2234         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2235         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2236         and define as weak alias of __fgets_unlocked.  Use
2237         libc_hidden_weak.
2238         (__fgets_unlocked): Use libc_hidden_def.
2239         * include/stdio.h (__fgets_unlocked): Declare.  Use
2240         libc_hidden_proto.
2241         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2242         __fgets_unlocked instead of fgets_unlocked.
2243         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2244         (GET_NPROCS_CONF_PARSER): Likewise.
2245         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2246         (GET_NPROCS_CONF_PARSER): Likewise.
2248         [BZ #17574]
2249         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2250         weak alias of __wmemset.  Use libc_hidden_weak.
2251         (__wmemset): Use libc_hidden_def.
2252         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2253         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2254         of wmemset.
2256         [BZ #17573]
2257         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2258         with asm name __mempcpy.
2259         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2261         [BZ #17572]
2262         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2263         and define as weak alias of __rawmemchr.
2264         (__rawmemchr): Do not define as strong alias of rawmemchr.
2266         [BZ #17571]
2267         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2268         alias of __qsort_r.
2269         (qsort): Call __qsort_r instead of qsort_r.
2270         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2271         (__qsort_r): Declare.  Call libc_hidden_proto.
2272         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2273         instead of qsort_r.
2274         * nscd/gai.c (__qsort_r): Define to qsort_r.
2275         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2276         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2277         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2279         [BZ #17570]
2280         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2281         define as weak alias of __malloc_info.
2283         [BZ #17584]
2284         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2285         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2286         (__rewinddir): Use libc_hidden_def.
2287         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2288         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2289         (__rewinddir): Use libc_hidden_def.
2290         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2291         weak alias of __rewinddir.  Don't use libc_hidden_def.
2292         (__rewinddir): Use libc_hidden_def.
2293         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2294         (__rewinddir): Use libc_hidden_proto.
2295         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2296         rewinddir.
2297         (__getcwd): Use __rewinddir instead of rewinddir.
2299         [BZ #17583]
2300         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2301         alias of __fileno.  Use libc_hidden_weak.
2302         (__fileno): Use libc_hidden_def.
2303         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2304         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2305         alias of __ftello.
2306         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2307         __ftello.
2308         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2309         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2310         libc_hidden_def.
2311         (fread_unlocked): Don't use libc_hidden_ver.
2312         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2313         and define as weak alias of __fread_unlocked.  Don't use
2314         libc_hidden_def.
2315         (__fread_unlocked): Use libc_hidden_def.
2316         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2317         (ftello): Don't use libc_hidden_proto.
2318         (__ftello): Declare.  Use libc_hidden_proto.
2319         (fread_unlocked): Don't use libc_hidden_proto.
2320         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2321         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2322         and __ftello instead of fileno, fread_unlocked and ftello.
2324 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2326         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2327         GOT12.
2328         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2329         Likewise.
2330         (_dl_start_user): Likewise.
2331         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2333 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2334             Siddhesh Poyarekar  <siddhesh@redhat.com>
2336         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2337         Move argv and envp down instead of moving argc up.
2338         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2340 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2342         [BZ #17506]
2343         * test-skeleton.c (main): Return successful if one of
2344         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2345         * string/tst-strcoll-overflow.c: Define expected status.
2347 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2349         [BZ #17475]
2350         * locale/iso-639.def: Define Bhili and Tulu language codes.
2352 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2354         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2356 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2358         [BZ #17555]
2359         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2361 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2363         * configure.ac: Updated check of minimal required version to
2364         2.22.
2365         * manual/install.texi (Tools for Compilation): Updated version
2366         number.
2367         * configure: Regenerated.
2368         * INSTALL: Likewise.
2370 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2372         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2373         __tls_get_addr.
2375 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2377         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2378         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2379         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2380         libc_hidden_weak.
2381         (waitpid): Define as alias of __waitpid.
2382         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2383         __waitpid.
2384         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2385         libc_hidden_weak.
2386         (waitpid): Define as alias of __waitpid.
2387         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2388         __libc_waitpid alias.
2389         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2390         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2391         Likewise.
2392         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2393         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2394         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2395         alias.
2396         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2397         __waitpid.
2398         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2399         libc_hidden_weak.
2400         (waitpid): Define as alias of __waitpid.
2402 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2404         * manual/llio.texi: Add comment that write safety has been
2405         fixed in Linux.
2407         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2408         (localplt-build-dso): Add elf/ld.so.
2409         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2410         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2411         and free for ld.so.
2412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2413         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2415         Likewise.
2416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2417         Likewise.
2418         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2419         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2420         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2421         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2422         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2423         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2424         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2425         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2426         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2427         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2428         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2430 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2432         [BZ #14132]
2433         * include/libc-symbols.h (INTUSE): Remove macro.
2434         (INTDEF): Likewise.
2435         (INTVARDEF): Likewise.
2436         (_INTVARDEF): Likewise.
2437         (INTDEF2): Likewise.
2438         (INTVARDEF2): Likewise.
2439         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2440         rtld_hidden_def instead of INTVARDEF.
2441         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2442         (_dl_starting_up_internal): Remove declaration.
2443         (_dl_starting_up): Use rtld_hidden_proto.
2444         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2445         declaration.
2446         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2447         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2448         _dl_starting_up.
2449         * elf/dl-writev.h (_dl_writev): Likewise.
2450         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2451         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2452         _dl_starting_up_internal.
2454 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2456         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2457         test-skeleton.c.
2459 2014-11-05  Will Newton  <will.newton@linaro.org>
2461         * benchtests/Makefile: (bench-malloc): Add malloc thread
2462         scalability benchmark.
2463         * benchtests/bench-malloc-threads.c: New file.
2465 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2467         * sysdeps/aarch64/strchrnul.S: New file.
2469 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2471         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2472         definition.
2473         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2474         Likwise.
2475         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2476         Likewise.
2477         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2478         Likewise.
2479         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2480         Likewise.
2481         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2482         Likewise.
2484 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2486         * catgets/test-gencat.c: Use test-skeleton.c.
2487         * catgets/tst-catgets.c: Likewise.
2488         * csu/tst-empty.c: Likewise.
2489         * elf/tst-audit2.c: Likewise.
2490         * elf/tst-global1.c: Likewise.
2491         * elf/tst-pathopt.c: Likewise.
2492         * elf/tst-piemod1.c: Likewise.
2493         * elf/tst-tls10.c: Likewise.
2494         * elf/tst-tls11.c: Likewise.
2495         * elf/tst-tls12.c: Likewise.
2496         * gnulib/tst-gcc.c: Likewise.
2497         * iconvdata/tst-e2big.c: Likewise.
2498         * iconvdata/tst-loading.c: Likewise.
2499         * iconv/tst-iconv1.c: Likewise.
2500         * iconv/tst-iconv2.c: Likewise.
2501         * inet/test-inet6_opt.c: Likewise.
2502         * inet/tst-gethnm.c: Likewise.
2503         * inet/tst-network.c: Likewise.
2504         * inet/tst-ntoa.c: Likewise.
2505         * intl/tst-codeset.c: Likewise.
2506         * intl/tst-gettext2.c: Likewise.
2507         * intl/tst-gettext3.c: Likewise.
2508         * intl/tst-ngettext.c: Likewise.
2509         * intl/tst-translit.c: Likewise.
2510         * io/test-stat.c: Likewise.
2511         * libio/test-fmemopen.c: Likewise.
2512         * libio/tst-freopen.c: Likewise.
2513         * libio/tst-sscanf.c: Likewise.
2514         * libio/tst-ungetwc1.c: Likewise.
2515         * libio/tst-ungetwc2.c: Likewise.
2516         * libio/tst-widetext.c: Likewise.
2517         * localedata/tst-ctype.c: Likewise.
2518         * localedata/tst-digits.c: Likewise.
2519         * localedata/tst-leaks.c: Likewise.
2520         * localedata/tst-mbswcs1.c: Likewise.
2521         * localedata/tst-mbswcs2.c: Likewise.
2522         * localedata/tst-mbswcs3.c: Likewise.
2523         * localedata/tst-mbswcs4.c: Likewise.
2524         * localedata/tst-mbswcs5.c: Likewise.
2525         * localedata/tst-setlocale.c: Likewise.
2526         * localedata/tst-trans.c: Likewise.
2527         * localedata/tst-wctype.c: Likewise.
2528         * localedata/tst-xlocale1.c: Likewise.
2529         * login/tst-grantpt.c: Likewise.
2530         * malloc/tst-calloc.c: Likewise.
2531         * malloc/tst-malloc.c: Likewise.
2532         * malloc/tst-mallocstate.c: Likewise.
2533         * malloc/tst-mcheck.c: Likewise.
2534         * malloc/tst-mtrace.c: Likewise.
2535         * malloc/tst-obstack.c: Likewise.
2536         * math/atest-exp2.c: Likewise.
2537         * math/atest-exp.c: Likewise.
2538         * math/atest-sincos.c: Likewise.
2539         * math/test-matherr.c: Likewise.
2540         * math/test-misc.c: Likewise.
2541         * math/test-powl.c: Likewise.
2542         * math/tst-definitions.c: Likewise.
2543         * misc/tst-dirname.c: Likewise.
2544         * misc/tst-efgcvt.c: Likewise.
2545         * misc/tst-fdset.c: Likewise.
2546         * misc/tst-hsearch.c: Likewise.
2547         * misc/tst-mntent2.c: Likewise.
2548         * nptl/tst-sem7.c: Likewise.
2549         * nptl/tst-sem8.c: Likewise.
2550         * nptl/tst-sem9.c: Likewise.
2551         * nss/test-netdb.c: Likewise.
2552         * posix/tst-fnmatch.c: Likewise.
2553         * posix/tst-getlogin.c: Likewise.
2554         * posix/tst-gnuglob.c: Likewise.
2555         * posix/tst-mmap.c: Likewise.
2556         * pwd/tst-getpw.c: Likewise.
2557         * resolv/tst-inet_ntop.c: Likewise.
2558         * rt/tst-timer.c: Likewise.
2559         * stdio-common/test-fseek.c: Likewise.
2560         * stdio-common/test-popen.c: Likewise.
2561         * stdio-common/test-vfprintf.c: Likewise.
2562         * stdio-common/tst-cookie.c: Likewise.
2563         * stdio-common/tst-fileno.c: Likewise.
2564         * stdio-common/tst-gets.c: Likewise.
2565         * stdio-common/tst-obprintf.c: Likewise.
2566         * stdio-common/tst-perror.c: Likewise.
2567         * stdio-common/tst-sprintf2.c: Likewise.
2568         * stdio-common/tst-sprintf3.c: Likewise.
2569         * stdio-common/tst-sprintf.c: Likewise.
2570         * stdio-common/tst-swprintf.c: Likewise.
2571         * stdio-common/tst-tmpnam.c: Likewise.
2572         * stdio-common/tst-unbputc.c: Likewise.
2573         * stdio-common/tst-wc-printf.c: Likewise.
2574         * stdlib/tst-environ.c: Likewise.
2575         * stdlib/tst-fmtmsg.c: Likewise.
2576         * stdlib/tst-limits.c: Likewise.
2577         * stdlib/tst-rand48-2.c: Likewise.
2578         * stdlib/tst-rand48.c: Likewise.
2579         * stdlib/tst-random2.c: Likewise.
2580         * stdlib/tst-random.c: Likewise.
2581         * stdlib/tst-strtol.c: Likewise.
2582         * stdlib/tst-strtoll.c: Likewise.
2583         * stdlib/tst-tls-atexit.c: Likewise.
2584         * stdlib/tst-xpg-basename.c: Likewise.
2585         * string/test-ffs.c: Likewise.
2586         * string/tst-bswap.c: Likewise.
2587         * string/tst-inlcall.c: Likewise.
2588         * string/tst-strtok.c: Likewise.
2589         * string/tst-strxfrm.c: Likewise.
2590         * sysdeps/x86_64/tst-audit10.c: Likewise.
2591         * sysdeps/x86_64/tst-audit3.c: Likewise.
2592         * sysdeps/x86_64/tst-audit4.c: Likewise.
2593         * sysdeps/x86_64/tst-audit5.c: Likewise.
2594         * time/tst-ftime_l.c: Likewise.
2595         * time/tst-getdate.c: Likewise.
2596         * time/tst-mktime3.c: Likewise.
2597         * time/tst-mktime.c: Likewise.
2598         * time/tst-posixtz.c: Likewise.
2599         * time/tst-strptime2.c: Likewise.
2600         * time/tst-strptime3.c: Likewise.
2601         * wcsmbs/tst-btowc.c: Likewise.
2602         * wcsmbs/tst-mbrtowc.c: Likewise.
2603         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2604         * wcsmbs/tst-wchar-h.c: Likewise.
2605         * wcsmbs/tst-wcpncpy.c: Likewise.
2606         * wcsmbs/tst-wcrtomb.c: Likewise.
2607         * wcsmbs/tst-wcsnlen.c: Likewise.
2608         * wcsmbs/tst-wcstof.c: Likewise.
2610 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2612         [BZ #14132]
2613         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2614         INTDEF.
2615         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2616         declaration.
2617         (_dl_mcount): Use rtld_hidden_proto.
2618         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2619         _dl_mcount.
2620         * elf/rtld.c (_rtld_global_ro): Likewise.
2622         [BZ #14132]
2623         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2624         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2625         of _dl_init_internal.
2626         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2627         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2628         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2629         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2630         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2631         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2632         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2633         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2634         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2635         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2636         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2637         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2638         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2639         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2640         * sysdeps/tile/dl-start.S (_start): Likewise.
2641         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2642         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2644         [BZ #14132]
2645         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2646         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2647         (rtld_progname): Make macro definition unconditional.
2648         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2649         INTDEF.
2650         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2651         (dl_main): Likewise.
2652         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2653         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2654         instead of _dl_argv_internal.
2655         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2656         __GI__dl_argv instead of INTUSE(_dl_argv).
2657         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2658         __GI__dl_argv instead of _dl_argv_internal.
2660         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2661         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2662         macro.
2663         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2664         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2665         New macro.
2666         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2667         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2668         macro.
2669         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2670         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2672 2014-11-04  Andreas Schwab  <schwab@suse.de>
2674         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2676 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2678         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2679         mtvsrd instruction in binary form.
2681 2014-11-03  Andreas Schwab  <schwab@suse.de>
2683         [BZ #17522]
2684         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2685         for less than MB_LEN_MAX use a local buffer of that size.
2686         * libio/tst-fputws.c: New file.
2687         * libio/Makefile (tests): Add tst-fputws.
2689 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2691         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2692         the size of the fpu_fr.fpu_dregs[] array.
2694 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2696         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2697         (__nanosleep): Do not define as alias.
2698         (nanosleep): Define as alias of __nanosleep.
2699         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2700         __libc_nanosleep name.
2702 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2704         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2705         install.texi in comment.
2707 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2709         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2710         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2711         ... add here and use lwsync or sync ...
2712         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2713         ... and add here using lwsync.
2715 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2717         * elf/dl-machine-reject-phdr.h: New file.
2718         * elf/dl-load.c: #include that.
2719         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2720         if that returned true.
2722 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2724         [BZ #17496]
2725         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2726         gen-as-const-headers chunk.  Add a big scare comment after the last
2727         safe place to touch before-compile.
2729 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2731         * manual/install.texi (Tools for Compilation): Update autoconf
2732         version requirements.
2733         * INSTALL: Regenerated.
2735         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2736         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2737         (__libc_pselect): Likewise.
2739         [BZ #14138]
2740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2745 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2747         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2748         correct barrier instruction.
2749         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2750         Likewise.
2751         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2752         Likewise.
2754 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2756         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2757         after defining inlines.  Instead, just use parens to defeat macro
2758         expansion of __isctype in its declaration.
2760 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2762         * include/sys/uio.h (__libc_readv): Remove declaration.
2763         (__libc_writev): Likewise.
2764         * misc/readv.c (__libc_readv): Rename to __readv.
2765         (__readv): Do not define as alias.
2766         (readv): Define as alias of __readv.
2767         * misc/writev.c (__libc_writev): Rename to __writev.
2768         (__writev): Do not define as alias.
2769         (writev): Define as alias of __writev.
2770         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2771         (__readv): Do not define as alias.
2772         (readv): Define unconditionally as alias of __readv.
2773         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2774         (__writev): Do not define as alias.
2775         (writev): Define unconditionally as alias of __writev.
2776         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2777         name.
2778         (writev): Do not define __libc_writev name.
2780 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2782         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2783         (convert_charseq): New function, broken out of ...
2784         (use_from_charmap): ... here.  Call it.
2785         (use_to_charmap): Use convert_charseq and free instead of duplicating
2786         its code with a variable-length stack struct.
2788 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2790         * include/fcntl.h (__libc_creat): Remove declaration.
2791         * io/creat.c (__libc_creat): Rename to creat.
2792         (creat): Do not define as alias.
2793         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2794         of creat instead of __libc_creat.
2795         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2796         to creat.
2797         (creat): Do not define as alias.
2798         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2799         __libc_creat.
2800         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2801         __libc_creat name.
2802         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2803         Likewise.
2805 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
2807         * manual/llio.texi: Add comments discussing why write() may be
2808         considered MT-unsafe on Linux.
2810 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
2812         * dl-load.c (local_strdup): Remove.
2813         (expand_dynamic_string_token): Use __strdup.
2814         (decompose_rpath): Likewise.
2815         (_dl_map_object): Likewise.
2817 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
2819         [BZ #14132]
2820         * sysdeps/generic/unwind-dw2-fde.c
2821         (__register_frame_info_bases_internal): Do not declare.
2822         (__register_frame_info_table_bases_internal): Likewise.
2823         (__deregister_frame_info_bases_internal): Likewise.
2824         (__register_frame_info_bases): Declare and use hidden_proto before
2825         definition.  Use hidden_def instead of INTDEF.
2826         (__register_frame_info_table_bases): Likewise.
2827         (__deregister_frame_info_bases): Likewise.
2828         (__register_frame_info): Do not use INTUSE.
2829         (__register_frame): Likewise.
2830         (__register_frame_info_table): Likewise.
2831         (__register_frame_table): Likewise.
2832         (__deregister_frame_info): Likewise.
2833         (__deregister_frame): Likewise.
2835 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
2837         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2838         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2839         not undefine.
2840         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2841         Likewise.
2842         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2843         Likewise.
2845 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
2847         [BZ #14138]
2848         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2849         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2850         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2851         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2852         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2853         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2854         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2855         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2856         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2857         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2858         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2859         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2860         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2861         syscall.
2862         (setfsuid): Likewise.
2863         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2864         (setfsuid): Likewise.
2865         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2866         (setfsuid): Likewise.
2867         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2868         Likewise.
2869         (setfsuid): Likewise.
2870         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2871         (setfsuid): Likewise.
2872         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2873         Likewise.
2874         (setfsuid): Likewise.
2876 2014-10-27  Andreas Schwab  <schwab@suse.de>
2878         [BZ #17501]
2879         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2880         check for Slow_SSE4_2 feature bit.
2881         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2882         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2883         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2884         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
2886 2014-10-24  Roland McGrath  <roland@hack.frob.com>
2888         * configure.ac: Validate compiler version with a empirical test of
2889         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2890         $CC -v output.
2891         * configure: Regenerated.
2893         * inet/htons.c (htons): Prototypify.
2894         * inet/htonl.c (htonl): Likewise.
2896 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2898         * string/strncat.c (strncat): Improve performance by using strlen.
2900 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2902         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2904 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2906         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2907         Call libc_fetestexcept_aarch64.
2909 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2911         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2912         Call libc_feholdexcept_aarch64.
2914 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2916         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2917         Call get_rounding_mode.
2919 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2921         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2922         Simplify logic.
2924 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2926         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2927         Simplify logic.
2929 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
2931         [BZ #14138]
2932         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2933         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2934         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2935         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2936         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2937         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2938         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2939         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2940         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2941         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2942         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2943         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2944         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2945         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2946         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2947         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2948         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2949         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2950         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2951         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2952         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2953         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2954         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2955         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2956         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2957         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2958         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2959         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2960         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2961         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2962         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2963         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2964         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2965         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2966         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2967         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2968         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2969         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2970         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2971         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2972         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2973         syscall.
2974         (geteuid): Likewise.
2975         (getgid): Likewise.
2976         (getuid): Likewise.
2977         (getresgid): Likewise.
2978         (getresuid): Likewise.
2979         (getgroups): Likewise.
2980         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2981         (geteuid): Likewise.
2982         (getgid): Likewise.
2983         (getuid): Likewise.
2984         (getresgid): Likewise.
2985         (getresuid): Likewise.
2986         (getgroups): Likewise.
2987         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2988         (geteuid): Likewise.
2989         (getgid): Likewise.
2990         (getuid): Likewise.
2991         (getresgid): Likewise.
2992         (getresuid): Likewise.
2993         (getgroups): Likewise.
2994         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2995         Likewise.
2996         (geteuid): Likewise.
2997         (getgid): Likewise.
2998         (getuid): Likewise.
2999         (getresgid): Likewise.
3000         (getresuid): Likewise.
3001         (getgroups): Likewise.
3002         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3003         (geteuid): Likewise.
3004         (getgid): Likewise.
3005         (getuid): Likewise.
3006         (getresgid): Likewise.
3007         (getresuid): Likewise.
3008         (getgroups): Likewise.
3009         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3010         Likewise.
3011         (geteuid): Likewise.
3012         (getgid): Likewise.
3013         (getuid): Likewise.
3014         (getgroups): Likewise.
3016         [BZ #14138]
3017         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3018         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3019         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3020         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3021         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3022         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3023         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3024         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3025         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3026         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3027         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3028         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3029         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3030         __chown.
3031         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3032         (lchown): Likewise.
3033         (fchown): Likewise.
3034         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3035         Likewise.
3036         (lchown): Likewise.
3037         (fchown): Likewise.
3038         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3039         (lchown): Likewise.
3040         (fchown): Likewise.
3041         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3042         Likewise.
3043         (lchown): Likewise.
3044         (fchown): Likewise.
3046 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3048         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3049         Simplify logic.
3051 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3053         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3054         Cleanup logic.
3056 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3058         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3059         Remove unused include.
3061 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3063         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3064         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3065         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3066         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3068 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3069             Helge Deller <deller@gmx.de>
3071         [BZ #17508]
3072         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3073         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3074         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3076 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3078         [BZ #14132]
3079         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3080         Remove macro definition.
3081         (__ashrdi3_v_glibc20): Likewise.
3082         (__lshrdi3_v_glibc20): Likewise.
3083         (__cmpdi2_v_glibc20): Likewise.
3084         (__ucmpdi2_v_glibc20): Likewise.
3085         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3086         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3087         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3088         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3089         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3090         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3092 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3094         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3095         old GNU extension [0] syntax.
3096         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3097         alloca rather than an array member with variable length.
3098         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3099         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3100         (parse_opt): ... here.  Likewise use alloca there.
3101         Validate the -i argument before checking for rootness.
3102         (send_shutdown): New function, broken out of ...
3103         (parse_opt): ... here.
3105 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3107         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3108         macro to get at the _rt_local_ro field.
3109         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3110         ([PIC] case) or _dl_hwcap ([!PIC] case).
3111         * sysdeps/arm/setjmp.S: Likewise.
3113         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3114         * sysdeps/arm/configure.ac: New check to define it.
3115         * sysdeps/arm/configure: Regenerated.
3116         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3117         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3118         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3119         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3120         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3121         Use move/movt pair instead of a load.
3122         (LDST_GLOBAL): Macro removed.
3123         (LDR_GLOBAL): New macro replaces it.
3124         (LDR_HIDDEN): New macro.
3125         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3126         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3128         * setjmp/tst-setjmp-static.c: New file.
3129         * setjmp/Makefile (tests): Add it.
3130         (tests-static): New variable.
3132 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3134         [BZ #17485]
3135         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3137 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3139         [BZ #14132]
3140         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3142 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3144         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3146 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3148         * io/fts.c (dirent_not_directory): New function.
3149         (fts_build): Call it.
3151 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3153         * nptl/version.c (__nptl_main): Use normal __write rather than
3154         INTERNAL_SYSCALL.
3155         (banner): Update copyright years.
3157         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3158         gettimeofday.
3159         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3160         * nptl/pthread_cond_timedwait.c: Likewise.
3161         * nptl/pthread_mutex_timedlock.c: Likewise.
3162         * nptl/sem_timedwait.c: Likewise.
3164         * sysdeps/nptl/bits/libc-lock.h
3165         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3166         (__libc_lock_init_recursive): Return void, not 0.
3167         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3168         (__libc_rwlock_init): Likewise.
3169         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3171 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3173         [BZ #15215]
3174         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3175         (__pthread_once_slow): ... here.
3176         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3177         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3179 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3181         [BZ #15215]
3182         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3183         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3184         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3185         * nptl/pthread_once.c (__pthread_once): Likewise.
3186         Update comments.
3188 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3190         [BZ #14138]
3191         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3192         name.
3193         (writev): Use __libc_writev as strong name.
3194         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3195         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3197 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3199         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3201         * sysdeps/i386/nptl/tls.h
3202         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3203         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3204         New macros.
3205         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3206         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3207         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3208         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3209         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3210         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3212         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3213         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3214         on [__NR_futex].
3215         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3216         broken out of ...
3217         (__pthread_mutex_init): ... here.  Call it.
3218         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3219         Conditionalize PI cases on [__NR_futex].
3220         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3221         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3222         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3224         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3225         conditional on [SIGSETXID].
3226         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3227         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3228         is defined.  Likewise for SIGSETXID.
3229         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3230         Conditionalize definitions on [SIGSETXID].
3231         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3232         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3233         unblocking on [SIGCANCEL].
3235         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3236         [__NR_set_robust_list].
3238 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3240         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3241         (do_compare): Likewise.
3243 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3245         [BZ #15884]
3246         * string/strcoll_l.c: Don't include stdio.h.
3247         (coll_seq): Remove members idxarr and rulearr.
3248         (get_next_seq_cached): Remove function.
3249         (get_next_seq): Likewise.
3250         (get_next_seq_nocache): Rename to get_next_seq.
3251         (do_compare): Remove function.
3252         (do_compare_nocache): Rename to do_compare.
3253         (STRCOLL): Remove weight and rules cache.
3255 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3257         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3258         * sysdeps/arm/sfp-machine.h: ... to here.
3259         * sysdeps/arm/Implies: Remove arm/soft-fp.
3261 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3263         * conform/data/sys/utsname.h-data (*_t): Allow.
3264         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3265         [POSIX] (WEXITED): Do not expect constant.
3266         [POSIX] (WSTOPPED): Likewise.
3267         [POSIX] (WNOHANG): Likewise.
3268         [POSIX] (WNOWAIT): Likewise.
3269         [POSIX] (siginfo_t): Do not expect type or elements.
3270         [POSIX] (pid_t): Do not expect type.
3271         [POSIX] (signal.h): Do not allow header.
3272         [POSIX] (sys/resource.h): Likewise.
3273         [POSIX] (si_*): Do not allow pattern.
3274         [POSIX] (W*): Likewise.
3275         [POSIX] (P_*): Likewise.
3276         [POSIX] (BUS_*): Likewise.
3277         [POSIX] (CLD_*): Likewise.
3278         [POSIX] (FPE_*): Likewise.
3279         [POSIX] (ILL_*): Likewise.
3280         [POSIX] (POLL_*): Likewise.
3281         [POSIX] (SEGV_*): Likewise.
3282         [POSIX] (SI_*): Likewise.
3283         [POSIX] (TRAP_*): Likewise.
3284         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3285         variable.
3287 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3289         [BZ #12926]
3290         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3291         infinite loop when __recvmsg returns 0.
3293 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3295         * CANCEL-FCT-WAIVE: Remove file.
3296         * CANCEL-FILE-WAIVE: Likewise.
3298         [BZ #14132]
3299         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3300         instead of INTVARDEF.
3301         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3302         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3303         rtld_hidden_data_def instead of INTVARDEF.
3304         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3305         * elf/dl-deps.c (expand_dst): Likewise.
3306         * elf/dl-load.c (_dl_dst_count): Likewise.
3307         (_dl_dst_substitute): Likewise.
3308         (decompose_rpath): Likewise.
3309         (_dl_init_paths): Likewise.
3310         (open_path): Likewise.
3311         (_dl_map_object): Likewise.
3312         * elf/rtld.c (dl_main): Likewise.
3313         (process_dl_audit): Likewise.
3314         (process_envvars): Likewise.
3315         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3316         Remove declaration.
3317         (__libc_enable_secure): Use rtld_hidden_proto.
3319 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3321         * elf/dl-load.c
3322         (add_path): New function broken out of _dl_rtld_di_serinfo.
3323         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3325 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3327         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3328         parentheses around macro arguments.
3329         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3330         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3331         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3332         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3333         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3334         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3335         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3336         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3337         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3338         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3339         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3340         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3341         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3342         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3343         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3344         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3345         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3346         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3347         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3348         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3349         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3350         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3351         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3352         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3353         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3354         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3355         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3356         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3357         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3358         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3359         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3360         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3361         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3362         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3363         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3364         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3365         Likewise.
3366         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3367         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3368         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3369         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3371         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3372         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3373         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3374         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3375         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3376         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3377         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3378         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3379         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3380         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3381         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3382         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3383         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3384         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3385         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3386         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3387         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3388         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3389         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3390         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3391         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3392         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3393         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3394         (_FP_FRAC_SRS_1): Likewise.
3395         (_FP_FRAC_CLZ_1): Likewise.
3396         (_FP_MUL_MEAT_1_imm): Likewise.
3397         (_FP_MUL_MEAT_1_wide): Likewise.
3398         (_FP_MUL_MEAT_1_hard): Likewise.
3399         (_FP_SQRT_MEAT_1): Likewise.
3400         (_FP_FRAC_ASSEMBLE_1): Likewise.
3401         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3402         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3403         (__FP_CLZ_2): Likewise.
3404         (_FP_MUL_MEAT_2_wide): Likewise.
3405         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3406         (_FP_MUL_MEAT_2_gmp): Likewise.
3407         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3408         (_FP_SQRT_MEAT_2): Likewise.
3409         (_FP_FRAC_ASSEMBLE_2): Likewise.
3410         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3411         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3412         (_FP_FRAC_CLZ_4): Likewise.
3413         (_FP_MUL_MEAT_4_wide): Likewise.
3414         (_FP_MUL_MEAT_4_gmp): Likewise.
3415         (_FP_SQRT_MEAT_4): Likewise.
3416         (_FP_FRAC_ASSEMBLE_4): Likewise.
3417         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3418         * soft-fp/op-common.h (_FP_CMP): Likewise.
3419         (_FP_CMP_EQ): Likewise.
3420         (_FP_CMP_UNORD): Likewise.
3421         (_FP_TO_INT): Likewise.
3422         (_FP_FROM_INT): Likewise.
3423         [!__FP_CLZ] (__FP_CLZ): Likewise.
3424         (_FP_DIV_HELP_imm): Likewise.
3425         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3426         Likewise.
3427         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3428         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3429         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3430         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3431         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3432         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3433         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3434         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3435         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3436         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3437         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3438         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3439         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3440         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3441         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3442         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3443         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3444         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3445         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3446         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3447         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3448         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3449         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3450         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3451         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3452         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3453         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3454         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3455         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3456         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3457         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3458         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3459         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3460         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3461         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3462         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3463         (FP_UNPACK_RAW_SP): Likewise.
3464         (FP_PACK_RAW_S): Likewise.
3465         (FP_PACK_RAW_SP): Likewise.
3466         (FP_UNPACK_S): Likewise.
3467         (FP_UNPACK_SP): Likewise.
3468         (FP_UNPACK_SEMIRAW_S): Likewise.
3469         (FP_UNPACK_SEMIRAW_SP): Likewise.
3470         (FP_PACK_S): Likewise.
3471         (FP_PACK_SP): Likewise.
3472         (FP_PACK_SEMIRAW_S): Likewise.
3473         (FP_PACK_SEMIRAW_SP): Likewise.
3474         (_FP_SQRT_MEAT_S): Likewise.
3475         (FP_CMP_S): Likewise.
3476         (FP_CMP_EQ_S): Likewise.
3477         (FP_CMP_UNORD_S): Likewise.
3478         (FP_TO_INT_S): Likewise.
3479         (FP_FROM_INT_S): Likewise.
3481         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3483         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3484         (FP_EX_INVALID_IMZ): Likewise.
3485         (FP_EX_INVALID_IMZ_FMA): Likewise.
3486         (FP_EX_INVALID_ISI): Likewise.
3487         (FP_EX_INVALID_ZDZ): Likewise.
3488         (FP_EX_INVALID_IDI): Likewise.
3489         (FP_EX_INVALID_SQRT): Likewise.
3490         (FP_EX_INVALID_CVI): Likewise.
3491         (FP_EX_INVALID_VC): Likewise.
3492         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3493         "invalid" exceptions.
3494         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3495         (_FP_ADD_INTERNAL): Likewise.
3496         (_FP_MUL): Likewise.
3497         (_FP_FMA): Likewise.
3498         (_FP_DIV): Likewise.
3499         (_FP_CMP_CHECK_NAN): Likewise.
3500         (_FP_SQRT): Likewise.
3501         (_FP_TO_INT): Likewise.
3502         (FP_EXTEND): Likewise.
3504 2014-10-09  Allan McRae  <allan@archlinux.org>
3506         * po/fr.po: Update French translation from translation project.
3508 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3510         [BZ #14132]
3511         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3512         of INTDEF.
3513         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3514         (__cxa_atexit): Use libc_hidden_proto.
3515         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3517         [BZ #14132]
3518         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3519         declaration.
3520         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3521         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3522         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3523         [!_ISOMAC] (__iswctype_internal): Likewise.
3524         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3525         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3526         alias.
3527         (fcntl): Remove __fcntl_internal alias.
3528         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3529         __connect_internal alias.
3530         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3531         Likewise.
3533         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3534         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3535         FP_DENORM_ZERO.
3536         (_FP_CHECK_FLUSH_ZERO): New macro.
3537         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3538         (_FP_CMP): Likewise.
3539         (_FP_CMP_EQ): Likewise.
3540         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3541         FP_DENORM_ZERO.
3542         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3543         (FP_TRUNC): Likewise.
3545         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3546         treated as invalid conversion, not as normal exponent.
3548         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3549         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3550         (_FP_CMP_EQ): Likewise.
3551         (_FP_CMP_UNORD): Likewise.
3552         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3553         (FP_CMP_EQ_D): Likewise.
3554         (FP_CMP_UNORD_D): Likewise.
3555         * soft-fp/extended.h (FP_CMP_E): Likewise.
3556         (FP_CMP_EQ_E): Likewise.
3557         (FP_CMP_UNORD_E): Likewise.
3558         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3559         (FP_CMP_EQ_Q): Likewise.
3560         (FP_CMP_UNORD_Q): Likewise.
3561         * soft-fp/single.h (FP_CMP_S): Likewise.
3562         (FP_CMP_EQ_S): Likewise.
3563         (FP_CMP_UNORD_S): Likewise.
3564         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3565         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3566         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3567         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3568         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3569         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3570         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3571         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3572         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3573         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3574         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3575         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3576         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3577         to FP_CMP_Q.
3578         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3579         FP_CMP_Q.
3580         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3581         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3582         FP_CMP_EQ_Q.
3583         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3584         FP_CMP_Q.
3585         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3586         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3587         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3588         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3589         FP_CMP_EQ_Q.
3590         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3591         FP_CMP_Q.
3592         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3593         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3594         FP_CMP_EQ_Q.
3595         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3596         FP_CMP_Q.
3597         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3598         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3599         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3600         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3601         FP_CMP_EQ_Q.
3603         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3604         a subnormal result, set the underflow exception if trapping on
3605         underflow is enabled.
3606         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3607         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3608         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3609         redefine to 0.
3610         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3611         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3612         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3613         * soft-fp/extendxftf2.c (__extendxftf2): Use
3614         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3616         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3617         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3618         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3619         FP_HANDLE_EXCEPTIONS.
3620         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3621         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3622         FP_HANDLE_EXCEPTIONS.
3623         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3624         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3625         FP_HANDLE_EXCEPTIONS.
3626         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3627         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3628         FP_HANDLE_EXCEPTIONS.
3630 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3632         [BZ #14132]
3633         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3634         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3635         use INTUSE.
3636         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3637         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3638         Remove alias.
3639         (__adjtimex): Define using libc_hidden_ver.
3640         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3641         Remove declaration.
3642         (ntp_gettime): Call __adjtimex directly.
3643         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3644         Remove declaration.
3645         (ntp_gettimex): Call __adjtimex directly.
3646         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3647         __adjtimex_internal alias.
3649 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3651         [BZ #17460]
3652         * nscd/nscd.c (more_help): Rewrite list of tables collection
3653         using xstrdup and asprintf.
3655         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3657 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3658             Roland McGrath  <roland@hack.frob.com>
3660         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3661         (do_lookup_unique): ... local function 'enter' here; update callers.
3663 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3665         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3666         compat_symbol calls on [SHARED].
3667         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3668         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3669         Remove.
3670         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3671         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3672         (oldsetrlimit): Remove.
3673         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3675         (lchown): New syscall entry.
3676         (oldsetrlimit): Remove.
3677         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3678         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3679         (oldsetrlimit): Remove.
3680         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3682         [BZ #14138]
3683         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3684         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3685         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3686         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3687         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3688         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3689         (fchown): Likewise.
3690         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3691         (fchown): Likewise.
3692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3693         Likewise.
3695 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3697         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3698         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3699         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3700         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3701         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3702         Likewise.
3703         (__old_sem_post): Likewise.
3705 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3707         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3708         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3709         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3710         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3711         Use INLINE_VSYSCALL macro.
3712         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3713         __vdso_clock_gettime.
3714         * sysdeps/unix/sysv/linux/tile/init-first.c
3715         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3716         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3717         __vdso_clock_gettime.
3719         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3720         to set up frame more cleanly.
3722         * sysdeps/tile/memcmp.c: New file.
3724         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3726         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3727         * sysdeps/tile/tilegx/strcasestr.c: New file.
3728         * sysdeps/tile/tilegx/strnlen.c: New file.
3729         * sysdeps/tile/tilegx/strstr.c: New file.
3731         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3733 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3735         * nptl/tst-setuid3.c: Write errors to stdout.
3737 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3739         * elf/dl-deps.c
3740         (preload): New functions broken out of _dl_map_object_deps.
3741         (_dl_map_object_deps):  Remove a nested function. Update call sites.
3743 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
3745         [BZ #14138]
3746         * sysdeps/unix/sysv/linux/execve.c: Remove file.
3747         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3749 2014-10-01  Steve Ellcey  <sellcey@mips.com>
3751         * sysdeps/mips/strcmp.S: New.
3753 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
3755         [BZ #14138]
3756         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3757         (linkat): Likewise.
3758         (mkdirat): Likewise.
3759         (readlinkat): Likewise.
3760         (renameat): Likewise.
3761         (symlinkat): Likewise.
3762         (unlinkat): Likewise.
3763         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3764         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3765         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3766         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3767         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3768         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3769         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3771 2014-09-30  Will Newton  <will.newton@linaro.org>
3773         * math/math.h: Define long double math functions if
3774         _LIBC_TEST is defined.
3775         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3777         * localedata/Makefile: Move assignment to tests-special
3778         into an ifdef testing run-built-tests.
3779         * timezone/Makefile: Likewise.
3781 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
3783         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3784         with $(BASH) not $(SHELL).
3786 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
3787             Matthew LeGendre  <legendre1@llnl.gov>
3789         [BZ #17411]
3790         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3791         l_reloc_result.
3793 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3795         * stdio-common/printf_fp.c
3796         (hack_digit): New function, broken out of ...
3797         (__printf_fp): ... local function here.  Update call sites.
3798         hack_digit now takes an additional parameter that is a pointer
3799         to a struct of the referenced locals.  Those locals moved inside
3800         the struct and references updated.
3802 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
3804         * aclocal.m4: Require autoconf 2.69.
3805         * configure: Regenerated.
3806         * sysdeps/aarch64/configure: Likewise.
3807         * sysdeps/alpha/configure: Likewise.
3808         * sysdeps/arm/armv7/configure: Likewise.
3809         * sysdeps/arm/configure: Likewise.
3810         * sysdeps/ia64/configure: Likewise.
3811         * sysdeps/mach/configure: Likewise.
3812         * sysdeps/mips/configure: Likewise.
3813         * sysdeps/s390/configure: Likewise.
3814         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3817         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3818         file.
3819         * sysdeps/ia64/configure.ac: Likewise.
3821 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
3823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3824         specify symbol version for ld.so.  Do not include entry for
3825         libpthread.
3826         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3827         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3828         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3830         [BZ #14171]
3831         * Makeconfig [$(build-shared) = yes]
3832         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3833         makefiles.
3834         [$(build-shared) = yes && $(soversions.mk-done) = t]
3835         ($(common-objpfx)gnu/lib-names.h): Remove rule.
3836         [$(build-shared) = yes && $(soversions.mk-done) = t]
3837         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
3838         to Makerules.
3839         [$(build-shared) = yes && $(soversions.mk-done) = t]
3840         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3841         here.
3842         [$(build-shared) = yes && $(soversions.mk-done) = t]
3843         (common-generated): Don't append gnu/lib-names.h and
3844         gnu/lib-names.stmp here.
3845         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3846         (lib-names-h-abi): New variable.
3847         [$(build-shared) = yes && $(soversions.mk-done) = t]
3848         (lib-names-stmp-abi): Likewise.
3849         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3850         abi-variants] (before-compile): Append
3851         $(common-objpfx)$(lib-names-h-abi).
3852         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3853         abi-variants] (common-generated): Append gnu/lib-names.h.
3854         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3855         abi-variants] (install-others-nosubdir): Depend on
3856         $(inst_includedir)/$(lib-names-h-abi).
3857         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3858         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3859         [$(build-shared) = yes && $(soversions.mk-done) = t]
3860         ($(common-objpfx)$(lib-names-h-abi)): New rule.
3861         [$(build-shared) = yes && $(soversions.mk-done) = t]
3862         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3863         [$(build-shared) = yes && $(soversions.mk-done) = t]
3864         (common-generated): Append $(lib-names-h-abi) and
3865         $(lib-names-stmp-abi).
3866         * scripts/lib-names.awk: Do not handle multi being set.
3867         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3868         Remove variable.
3869         (abi-lp64_be-ld-soname): Likewise.
3870         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3871         Likewise.
3872         (abi-hard-ld-soname): Likewise.
3873         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3874         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3875         Remove variable.
3876         (abi-o32_hard-ld-soname): Likewise.
3877         (abi-o32_soft_2008-ld-soname): Likewise.
3878         (abi-o32_hard_2008-ld-soname): Likewise.
3879         (abi-n32_soft-ld-soname): Likewise.
3880         (abi-n32_hard-ld-soname): Likewise.
3881         (abi-n32_soft_2008-ld-soname): Likewise.
3882         (abi-n32_hard_2008-ld-soname): Likewise.
3883         (abi-n64_soft-ld-soname): Likewise.
3884         (abi-n64_hard-ld-soname): Likewise.
3885         (abi-n64_soft_2008-ld-soname): Likewise.
3886         (abi-n64_hard_2008-ld-soname): Likewise.
3887         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3888         Likewise.
3889         (abi-64-v2-ld-soname): Likewise.
3890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3891         ld.so entries.
3892         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3893         variable.
3894         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3895         entry.
3896         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3897         variable.
3898         (abi-64-ld-soname): Likewise.
3899         (abi-x32-ld-soname): Likewise.
3900         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3901         entry.
3902         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3904 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
3906         [BZ #14138]
3907         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3908         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3909         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3910         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3911         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3912         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3913         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3914         syscall entry for GLIBC_2.2 symbol version.
3915         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3916         Likewise.
3917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3918         (setrlimit): Likewise.
3919         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3920         Likewise.
3922 2014-09-23  Will Newton  <will.newton@linaro.org>
3924         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3925         _LINUX_ARM_SYSDEP_H include guard too.
3926         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3927         define.
3929 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3931         * sysdeps/unix/sysv/linux/eventfd.c:
3932         Make first argument unsigned.
3933         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3934         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3936 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
3938         * socket/recvmmsg.c (recvmmsg): Drop const argument.
3939         * socket/sys/socket.h: Likewise
3940         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3942 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3944         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3946 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
3948         * time/tst-ftime.c: New test.
3949         * time/Makefile (tests): Add tst-ftime.
3951 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
3953         * soft-fp/extended.h: Fix comment formatting.
3954         * soft-fp/op-1.h: Likewise.
3955         * soft-fp/op-2.h: Likewise.
3956         * soft-fp/op-4.h: Likewise.
3957         * soft-fp/op-8.h: Likewise.
3958         * soft-fp/op-common.h: Likewise.
3959         * soft-fp/soft-fp.h: Likewise.
3961         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3963 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
3965         [BZ #6652]
3966         * Makeconfig (soversions-default-setname): Remove variable.
3967         ($(common-objpfx)soversions.i): Don't pass default_setname to
3968         soversions.awk.
3969         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3970         oldest_abi to abi-versions.awk.
3971         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3972         * config.make.in (oldest-abi): Remove variable.
3973         * configure.ac (--enable-oldest-abi): Remove configure option.
3974         * configure: Regenerated.
3975         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3976         text.
3977         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3978         * scripts/soversions.awk: Do not handle default_setname variable.
3979         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3980         variable.
3981         * sysdeps/mach/hurd/configure: Regenerated.
3982         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3983         variable.
3984         * sysdeps/unix/sysv/linux/configure: Regenerated.
3986 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3988         * elf/Makefile (CFLAGS-interp.c): Remove.
3989         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3990         path string.
3991         * elf/interp.c: Include generated runtime-linker.h
3993         * Makerules (lib%.so): Don't include $(+interp) in
3994         prerequisites.
3995         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3996         * dlfcn/eval.c: Remove file.
3998         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3999         macros.
4001         [BZ #17266]
4002         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4003         4.2 and newer.
4005         [BZ #17370]
4006         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4008 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4009             Jakub Jelinek  <jakub@redhat.com>
4011         [BZ #17266]
4012         * libio/stdio.h: Check definition of __fortify_function
4013         instead of __extern_always_inline to include bits/stdio2.h.
4014         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4015         check if __extern_always_inline is defined.
4016         [__USE_MISC || __USE_XOPEN]: Likewise.
4017         [__USE_ISOC99] Likewise.
4018         * misc/sys/cdefs.h (__fortify_function): Define only if
4019         __extern_always_inline is defined.
4020         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4021         __extern_always_inline and __extern_inline only for g++-4.3
4022         and newer or a compatible gcc.
4024 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4026         [BZ #17371]
4027         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4028         last change to handle zero prefix length.
4030 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4032         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4033         _SC_REGEX_VERSION.
4035         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4036         _POSIX_RAW_SOCKETS.
4038 2014-09-13  Allan McRae  <allan@archlinux.org>
4040         * po/ru.po: Update Russian translation from translation project.
4042 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4044         * locale/programs/locale.c (show_locale_vars): Inline local function
4045         into its sole call site.  Clean up some style nits.
4046         (print_item): New function, broken out of ...
4047         (show_info): ... local function here.  Clean up style nits.
4049         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4050         out of ...
4051         (set_class_defaults): ... local function set_default here.
4052         Define set_default as a macro locally to pass constant parameters.
4053         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4054         rather than a shared local.
4056         * stdlib/rpmatch.c (try): New function, broken out of ...
4057         (rpmatch): ... local function here.  Also, prototypify definition.
4059 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4061         * scripts/soversions.awk: Do not handle configuration names.
4062         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4063         vendor and os variables to soversions.awk.
4064         * configure.ac: Do not modify gnu-* host_os.
4065         * configure: Regenerated
4066         * shlib-versions: Remove first column with configuration names.
4067         * nptl/shlib-versions: Likewise.
4068         * nptl_db/shlib-versions: Likewise.
4069         * sysdeps/hppa/shlib-versions: Likewise.
4070         * sysdeps/m68k/shlib-versions: Likewise.
4071         * sysdeps/mach/hurd/shlib-versions: Likewise.
4072         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4073         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4074         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4075         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4076         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4077         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4078         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4079         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4081         Likewise.
4082         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4083         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4084         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4085         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4086         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4087         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4088         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4089         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4092         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4094         Regenerated.
4095         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4097         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4099         * shlib-versions: Remove OS-specific entries.  Moved to files in
4100         sysdeps.
4101         * sysdeps/mach/hurd/shlib-versions: New file.
4102         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4104         * nptl/shlib-versions: Remove architecture-specific entries.
4105         Moved to files in sysdeps.
4106         * shlib-versions: Likewise.
4107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4108         file.
4109         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4110         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4111         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4112         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4114         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4115         (UDP_NO_CHECK6_RX): Likewise.
4117 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4119         * sysdeps/posix/sysconf.c (__sysconf): Spell
4120         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4122 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4124         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4125         loading.
4126         * iconv/Versions (__gconv_transliterate): Export for use from
4127         gconv modules.
4128         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4129         (struct __gconv_trans_data, __gconv_trans_fct,
4130         __gconv_trans_context_fct, __gconv_trans_query_fct,
4131         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4132         definitions.
4133         (struct __gconv_step_data): Remove __trans member.
4134         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4135         longer hidden.  Remove unused trans_data argument.
4136         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4137         (__gconv_translit_find): Remove declaration.
4138         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4139         prototype.
4140         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4141         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4142         trans_data argument.  Add hidden definition.
4143         (__gconv_translit_find): Remove.
4144         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4145         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4146         * iconv/skeleton.c: Remove transliteration initialization.
4147         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4148         __gconv_step_data initialization.
4149         * libio/iofwide.c (__libio_translit_): Remove.
4150         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4151         * wcsmbs/btowc.c (__btowc): Likewise.
4152         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4153         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4154         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4155         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4156         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4157         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4158         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4159         * wcsmbs/wctob.c (wctob): Likewise.
4161 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4163         [BZ #16194]
4164         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4165         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4166         register usage.
4167         * sysdeps/x86/Makefile: Adjust.
4169 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4170             Roland McGrath  <roland@hack.frob.com>
4172         * locale/weight.h: Add include guard.
4173         (findidx): Make static rather than auto; take new parameters
4174         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4175         * locale/weightwc.h: Likewise.
4176         * posix/fnmatch_loop.c
4177         (FCT): Change type of EXTRA from int32_t to wint_t.
4178         Don't include either header inside the function.
4179         Call FINDIDX rather than findidx, and pass new arguments.
4180         #undef FINDIDX at the end of the file.
4181         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4182         FINDIDX before including fnmatch_loop.c for the non-wide version.
4183         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4184         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4185         for the wide version.
4186         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4187         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4188         Pass new arguments to findidx.
4189         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4190         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4191         Don't #include it inside the function.  Pass new arguments to findidx.
4192         * posix/regex_internal.h
4193         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4194         (re_string_elem_size_at): Don't #include it inside the function.
4195         Pass new arguments to findidx.
4196         * string/strcoll_l.c: #include WEIGHT_H at top level.
4197         (get_next_seq): Don't #include it inside the function.
4198         Pass new arguments to findidx.
4199         (get_next_seq_nocache): Likewise.
4200         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4201         (STRXFRM): Don't #include it inside the function.
4202         Pass new arguments to findidx.
4204 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4206         [BZ #17344]
4207         * malloc/malloc.c (unlink): Turn asserts into a call to
4208         malloc_printerr.
4210 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4212         [BZ #17370]
4213         * libio/wfileops (do_ftell_wide): Free OUT.
4215 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4217         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4219 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4221         [BZ #17363]
4222         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4223         group if the current group is empty.
4225 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4227         * benchtests/bench-memset.c (test_main): Add more test from size
4228         from 32 to 512 bytes.
4229         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4230         Add POWER8 memset object.
4231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4232         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4233         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4234         implementation.
4235         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4236         Likewise.
4237         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4238         multiarch POWER8 memset optimization.
4239         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4240         POWER8 memset optimization.
4242         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4243         Remove bzero multiarch objects.
4244         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4245         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4246         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4247         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4248         Remove define.
4249         [__bzero]: Redefine to specific name.
4250         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4251         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4252         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4253         define.
4254         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4255         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4257 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4259         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4260         warnings into errors.
4262         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4263         __cxa_thread_atexit_impl prototype.
4265 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4267         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4268         Fix capitalization of error message.
4270 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4272         * sysdeps/mips/preconfigure: Modify ABI tests.
4274 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4276         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4278 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4279             Carlos O'Donell  <carlos@systemhalted.org>
4281         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4282         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4283         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4284         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4285         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4286         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4287         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4288         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4289         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4290         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4291         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4292         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4293         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4294         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4295         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4296         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4297         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4298         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4299         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4300         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4301         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4302         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4303         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4304         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4305         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4306         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4307         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4308         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4309         Deconditionalize the code that was previously under [RESET_PID].
4310         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4311         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4312         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4313         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4314         include sysdep.h.
4316 2014-09-08  Allan McRae  <allan@archlinux.org>
4318         * version.h (RELEASE): Set to "development".
4319         (VERSION): Set to "2.20.90"
4321 2014-09-07  Allan McRae  <allan@archlinux.org
4323         * version.h (RELEASE): Set to "stable".
4324         (VERSION): Set to "2.20"
4325         * include/features.h (__GLIBC_MINOR__): Set to 20.
4327         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4328         Liebler.
4330         * po/ko.po: Update Korean translation from translation project.
4332 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4334         [BZ #17354]
4335         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4336         macro for handling signed relocations.
4338 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4340         [BZ #17325]
4341         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4342         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4343         assert.
4344         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4345         * iconvdata/ibm935.c (BODY): Likewise.
4346         * iconvdata/ibm937.c (BODY): Likewise.
4347         * iconvdata/ibm939.c (BODY): Likewise.
4348         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4349         assert.
4350         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4351         script.
4352         * iconvdata/run-iconv-test.sh: New test loop for checking for
4353         decoder crashers.
4355 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4357         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4358         libm_hidden_ver.
4360 2014-09-01  Allan McRae  <allan@archlinux.org>
4362         * po/eo.po: Update Esperanto translation from translation project.
4364         * po/ca.po: Update Catalan translation from translation project.
4366 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4368         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4369         __proc_dostop call.
4371 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4373         [BZ #17319]
4374         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4375         to call set_thread_area instead of hand written asm.
4376         (__NR_set_thread_area): Removed define.
4377         (TLS_FLAG_WRITABLE): Likewise.
4378         (__ASSUME_SET_THREAD_AREA): Remove check.
4379         (TLS_EBX_ARG): Remove define.
4380         (TLS_LOAD_EBX): Likewise.
4382 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4384         Simplify atomicity of socket creation in bind.
4386         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4387         looking up the name after linking the file.
4389 2014-08-27  Allan McRae  <allan@archlinux.org>
4391         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4393 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4395         [BZ #17187]
4396         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4397         trans_compare, open_translit, __gconv_translit_find):
4398         Remove module loading code.
4400 2014-08-26  Allan McRae  <allan@archlinux.org>
4402         * po/vi.po: Update Vietnamese translation from translation project.
4404         * po/uk.po: Update Ukrainian translation from translation project.
4406         * po/fr.po: Update French translation from translation project.
4408         * po/ru.po: Update Russian translation from translation project.
4410         * po/pl.po: Update Polish translation from translation project.
4412         * po/cs.po: Update Czech translation from translation project.
4414         * po/de.po: Update German translation from translation project.
4416         * po/bg.po: Update Bulgarian translation from translation project.
4418         * po/sv.po: Update Sweedish translation from translation project.
4420         * po/nl.po: Update Dutch translation from translation project.
4422         * po/es.po: Update Spanish translation from translation project.
4424 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4426         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4428         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4429         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4430         (CPPFLAGS-iconvconfig): Likewise.
4431         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4433         * include/libc-symbols.h: Remove unnecessary check for
4434         NOT_IN_libc.
4435         * nptl/pthreadP.h: Likewise.
4436         * sysdeps/aarch64/setjmp.S: Likewise.
4437         * sysdeps/alpha/setjmp.S: Likewise.
4438         * sysdeps/arm/sysdep.h: Likewise.
4439         * sysdeps/i386/setjmp.S: Likewise.
4440         * sysdeps/m68k/setjmp.c: Likewise.
4441         * sysdeps/posix/getcwd.c: Likewise.
4442         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4443         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4444         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4445         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4446         * sysdeps/sh/sh3/setjmp.S: Likewise.
4447         * sysdeps/sh/sh4/setjmp.S: Likewise.
4448         * sysdeps/unix/alpha/sysdep.h: Likewise.
4449         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4450         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4451         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4452         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4455         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4456         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4457         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4458         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4459         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4460         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4462         * sysdeps/x86_64/setjmp.S: Likewise.
4464 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4466         [BZ #17263]
4467         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4468         <stdint.h>.
4469         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4470         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4472 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4474         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4476         [BZ #17262]
4477         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4478         and __x86_64__ when disabling x87 inline functions.
4480 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4482         [BZ #17259]
4483         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4484         asm statement with __cpuid_count.
4486 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4488         * configure.ac: Change __ehdr_start code to dereference the struct.
4489         Run readelf on the output to look for relocations.
4490         * configure: Regenerated.
4492 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4494         [BZ #17261]
4495         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4496         value to 0.
4497         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4499 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4501         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4503 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4505         [BZ #16892]
4506         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4507         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4509 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4511         * malloc/malloc.c: Fix typo in comment.
4513 2014-08-09  Allan McRae  <allan@archlinux.org>
4515         * Regenerate libc.po.
4517 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4519         * intl/tst-gettext2.sh: Check every lang file for creation.
4521 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4523         * sysdeps/aarch64/fpu/math_private.h
4524         (libc_feholdsetround_noex_aarch64_ctx): New function.
4526 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4528         * sysdeps/arm/armv6/strcpy.S (strcpy):
4529         Fix performance issue in misaligned cases.
4531 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4533         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4534         Move definition from termios.h.
4535         (struct termio): Likewise.
4536         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4537         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4538         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4539         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4540         Likewise.
4541         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4542         Move definition to ioctl-types.h
4543         (struct termio): Likewise.
4544         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4545         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4546         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4547         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4548         Likewise.
4550 2014-08-05  Richard Henderson  <rth@redhat.com>
4552         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4553         exceptions.
4554         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4555         Add fraiseexcpt.
4556         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4557         Use __feraiseexcept.
4558         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4559         Protect libm symbols with IS_IN_libm.
4561         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4563 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4565         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4567 2014-08-04  Will Newton  <will.newton@linaro.org>
4569         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4570         file.
4572 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4574         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4575         variants for each function.
4577 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4579         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4580         appended ...
4581         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4582         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4583         appended ...
4584         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4585         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4586         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4587         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4588         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4589         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4590         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4591         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4592         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4593         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4594         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4595         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4596         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4597         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4598         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4599         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4600         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4601         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4602         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4603         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4604         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4605         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4606         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4607         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4608         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4609         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4610         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4611         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4612         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4613         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4614         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4615         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4616         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4617         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4618         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4619         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4620         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4621         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4622         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4623         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4624         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4626         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4627         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4628         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4630         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4631         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4632         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4633         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4634         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4635         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4636         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4637         Update #include.
4638         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4639         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4641 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4643         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4644         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4645         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4646         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4647         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4648         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4650 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4652         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4653         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4654         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4655         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4657 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4659         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4660         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4661         (__libc_vfork): Define function under this name.
4662         (__vfork): Define as an alias.
4663         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4664         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4666 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4668         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4669         that was previously under [RESET_PID].
4670         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4672 2014-08-04  Andreas Schwab  <schwab@suse.de>
4674         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4676 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4678         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4679         (main): Likewise.
4681 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4683         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4685 2014-08-01  Richard Henderon  <rth@redhat.com>
4687         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4688         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4689         typo in exact zero test.
4690         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4691         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4692         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4694 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4696         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4697         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4698         * sysdeps/arm/sysdep.h: ... here.
4699         [!__ASSEMBLER__]: Include <stdint.h>.
4701 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4703         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4704         (HAVE_WCTYPE_H): Likewise.
4705         (HAVE_ISWCTYPE): Likewise.
4706         (ENABLE_NLS): Likewise.
4707         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4708         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4710         * posix/regex_internal.c: Check if DEBUG is defined and is
4711         set.
4713         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4714         (HAVE_MBSRTOWCS): Likewise.
4715         * posix/fnmatch.c: Include string.h unconditionally.
4717 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4719         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4720         reversal.
4722 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4724         * sysdeps/generic/safe-fatal.h: New file.
4725         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4726         * nptl/forward.c: Include it.
4727         (__pthread_unwind): Use __safe_fatal as default action, rather
4728         than a bogus use of INTERNAL_SYSCALL that could never work.
4730         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4731         * configure.ac (libc_cv_builtin_trap): New test.
4732         * configure: Regenerated.
4733         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4734         (ABORT_INSTRUCTION): Define using __builtin_trap.
4736         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4737         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4738         * sysdeps/nptl/nptl-signals.h: New file.
4739         * nptl/pthreadP.h: Include <nptl-signals.h>.
4741 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4743         * sysdeps/s390/s390-64/utf16-utf32-z9.c
4744         (ONE_DIRECTION): Define.
4745         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4746         (ONE_DIRECTION): Define.
4747         * sysdeps/s390/s390-64/utf8-utf32-z9.c
4748         (ONE_DIRECTION): Define.
4750 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4752         * sysdeps/s390/Makefile: Delete file.
4753         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4754         * sysdeps/s390/__longjmp.c: Delete file.
4755         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4756         Remove fields __flags and __reserved.
4757         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4758         and add versioning.
4759         * sysdeps/s390/rtld-__longjmp.c: Delete file.
4760         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4761         * sysdeps/s390/rtld-setjmp.S: Likewise.
4762         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4763         * sysdeps/s390/s390-32/__longjmp.c: ... here.
4764         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4765         * sysdeps/s390/s390-32/setjmp.S: ... here.
4766         Add versioning.
4767         (__sigsetjmp): Remove setting __flags field.
4768         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4769         * sysdeps/s390/s390-64/__longjmp.c: ... here.
4770         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4771         * sysdeps/s390/s390-64/setjmp.S: ... here.
4772         Add versioning.
4773         (__sigsetjmp): Remove setting __flags field.
4774         * sysdeps/s390/setjmp.S: Delete file.
4775         * sysdeps/s390/sigjmp.c: Likewise.
4776         * sysdeps/s390/v1-longjmp.c: Likewise.
4777         * sysdeps/s390/v1-setjmp.h: Likewise.
4778         * sysdeps/s390/v1-sigjmp.c: Likewise.
4779         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4780         Remove v1-longjmp_chk.
4781         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4782         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4783         Include debug/longjmp_chk.c and add versioning.
4784         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4785         Include nptl/pt-longjmp.c and add versioning.
4786         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4787         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4788         Include __longjmp.c.
4789         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4790         Move to ...
4791         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4792         (__getcontext): Remove setting __flags field.
4793         Add versioning.
4794         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4795         Don't restore upper high grps.
4796         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4797         Likewise.
4798         (__swapcontext): Remove setting uc_flags field.
4799         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4800         Delete file.
4801         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4802         Include __longjmp.c.
4803         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4804         Move to ...
4805         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4806         (__getcontext): Remove setting __flags field.
4807         Add versioning.
4808         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4809         (__swapcontext): Remove setting uc_flags field.
4810         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4811         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4812         Remove fields uc_high_gprs and __reserved.
4813         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4814         New file with reverted content.
4815         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4816         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4817         Regenerated.
4818         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4819         Regenerated.
4821 2014-07-31  Andreas Schwab  <schwab@suse.de>
4823         * config.h.in (HAVE_IFUNC): Define to 0.
4824         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4825         definedness.
4827 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
4829         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4830         memmove-avx-unaligned, memcpy-avx-unaligned and
4831         mempcpy-avx-unaligned.
4832         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4833         Add tests for AVX memcpy functions.
4834         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4835         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4836         memcpy_chk.
4837         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4838         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4839         memmove_chk.
4840         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4841         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4842         mempcpy_chk.
4843         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4844         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4845         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4847 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4849         [BZ #17213]
4850         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4851         powerpc64le.
4853 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
4855         [BZ #16839]
4856         * manual/llio.texi: Add section about open file description locks.
4857         * manual/examples/ofdlocks.c: Example of open file description
4858         lock usage.
4859         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4860         F_OFD_SETLK, and F_OFD_SETLKW.
4862 2014-07-23  Allan McRae  <allan@archlinux.org>
4864         * po/es.po: Update Spanish translation from translation project.
4866 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
4868         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4870 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
4872         [BZ #17078]
4873         * sysdeps/arm/dl-machine.h (elf_machine_rela)
4874         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4875         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4877 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
4879         [BZ #17088]
4880         * math/fesetenv.c (__fesetenv)
4881         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4882         * math/feupdateenv.c (__feupdateenv)
4883         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4885         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4886         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4887         (__ASSUME_SOCKETCALL): Do not define.
4889         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4890         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4891         (__ASSUME_SOCKETCALL): Do not define.
4892         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4893         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4894         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4895         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4896         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4897         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4898         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4899         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4901         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4902         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4903         (__ASSUME_SOCKETCALL): Do not define.
4904         (__ASSUME_IPC64): Define unconditionally.
4905         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4906         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4907         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4908         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4909         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4910         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4911         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4912         Likewise.
4914         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4915         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4916         (__ASSUME_SOCKETCALL): Do not define.
4917         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4918         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4919         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4920         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4921         (__ASSUME_REQUEUE_PI): Define unconditionally.
4922         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4923         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4924         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4925         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4926         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4927         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4929         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4930         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4931         (__ASSUME_SOCKETCALL): Do not define.
4932         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4934         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4935         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4936         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4937         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4939         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4940         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4941         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4942         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4943         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4944         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4945         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4946         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4947         (__ASSUME_GETCPU_SYSCALL): Likewise.
4949         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4950         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
4951         cases for individual architectures.
4952         * sysdeps/gnu/configure: Regenerated.
4953         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4954         LIBC_SLIBDIR_RTLDDIR.
4955         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4956         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4957         LIBC_SLIBDIR_RTLDDIR.
4958         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4960         LIBC_SLIBDIR_RTLDDIR.
4961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4962         Regenerated.
4963         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4964         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4965         file.
4966         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4967         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4968         file.
4969         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4970         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4971         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4972         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4974         * sysdeps/aarch64/shlib-versions: Move to ...
4975         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4976         * sysdeps/alpha/shlib-versions: Move to ...
4977         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4978         * sysdeps/arm/shlib-versions: Move to ...
4979         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4980         * sysdeps/hppa/shlib-versions: Move all contents except for
4981         libgcc_s entry to ...
4982         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4983         entry from ...
4984         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4985         * sysdeps/ia64/shlib-versions: Move to ...
4986         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4987         entry from ...
4988         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4989         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4990         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4991         * sysdeps/microblaze/shlib-versions: Move to ...
4992         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4993         * sysdeps/mips/shlib-versions: Move to ...
4994         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4995         entry from ...
4996         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4997         * sysdeps/tile/shlib-versions: Move to ...
4998         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4999         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5000         from ...
5001         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5002         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5003         entry from ...
5004         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5006 2014-07-17  Will Newton  <will.newton@linaro.org>
5008         * sysdeps/arm/bits/atomic.h
5009         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5010         (__arch_compare_and_exchange_bool_16_int): Likewise.
5011         (__arch_compare_and_exchange_bool_64_int): Likewise.
5013         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5014         into an #else block.
5016 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5018         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5019         just Linux configurations.  Test empirically that the compiler sets
5020         __ARM_EABI__, rather than using the tuple to decide.
5021         * sysdeps/arm/preconfigure: Regenerated.
5022         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5023         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5024         contents appended ...
5025         * sysdeps/arm/configure.ac: ... here.
5026         * sysdeps/arm/configure: Regenerated.
5028 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5030         * nptl/pthread_kill.c: New file.
5031         * nptl/pthread_sigmask.c: New file.
5032         * nptl/pthread_sigqueue.c: New file.
5034         * sysdeps/nptl/lowlevellock.h: New file.
5035         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5036         * sysdeps/nptl/lowlevellock-futex.h: New file.
5038         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5039         Remove dead declarations.
5041 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5043         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5044         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5045         config-cflags-avx2.
5046         * sysdeps/x86_64/configure.ac: Likewise.
5047         * sysdeps/i386/configure: Regenerated.
5048         * sysdeps/x86_64/configure: Likewise.
5049         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5050         memset-avx2 only if config-cflags-avx2 is yes.
5051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5052         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5053         defined.
5054         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5055         only if HAVE_AVX2_SUPPORT is defined.
5056         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5058 2014-07-14  Alan Modra  <amodra@gmail.com>
5060         [BZ #17153]
5061         * elf/elf.h (DT_PPC64_NUM): Correct value.
5062         * NEWS: Add to fixed bug list.
5064 2014-07-13  Jim Meyering  <meyering@fb.com>
5066         [BZ 17150]
5067         regex: don't deref NULL upon heap allocation failure
5068         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5069         failure in one more place.
5070         To trigger the segfault, configure grep -with-included-regex,
5071         build it, and run these commands:
5072         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5074 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5076         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5078 2014-07-11  Richard Henderson  <rth@redhat.com>
5080         * sysdeps/aarch64/libm-test-ulps: Update.
5082 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5084         [BZ #17135]
5085         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5086         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5087         (__nptl_setxid): Initialize error member.  Call
5088         __nptl_setxid_error.
5089         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5090         * nptl/descr.h (struct xid_command): Add error member.
5091         * nptl/tst-setuid3.c: New file.
5092         * nptl/Makefile (tests): Add it.
5094 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5096         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5097         New define.
5098         (__lll_trylock): Use __lll_base_trylock.
5099         (__lll_cond_trylock): Likewise.
5101 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5103         * nptl/pthread_create.c (start_thread): Use atomic_or and
5104         lll_futex_wake directly rather than lll_robust_dead.
5105         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5106         (lll_robust_dead): Macro removed.
5107         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5108         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5109         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5110         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5111         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5112         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5113         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5114         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5115         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5116         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5117         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5118         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5119         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5120         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5121         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5123         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5124         Use atomic_compare_and_exchange_val_acq directly rather than
5125         lll_robust_trylock.
5126         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5127         (__lll_robust_trylock, lll_robust_trylock): Removed.
5128         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5129         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5130         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5131         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5132         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5133         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5134         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5135         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5136         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5137         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5138         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5139         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5140         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5141         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5143 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5145         * manual/locale.texi (Locale Names): New section documenting
5146         locale name syntax.  Adjust menu and node chaining accordingly.
5147         (Choosing Locale): Reference Locale Names, Locale Categories.
5148         Mention setting LC_ALL=C.  Reflect that name syntax is now
5149         documented.
5150         (Locale Categories): New section title.  Reference Locale Names.
5151         LC_ALL is an environment variable, but not a category.
5152         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5153         description, now in Locale Name.  Reference that section.  Locale
5154         name syntax is now documented.
5156 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5158         [BZ #17137]
5159         * locale/findlocale.c (name_present, valid_locale_name): New
5160         functions.
5161         (_nl_find_locale): Use the loc_name variable to store name
5162         candidates.  Call name_present and valid_locale_name to check and
5163         validate locale names.  Return an error if the locale is invalid.
5165 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5167         * locale/setlocale.c (setlocale): Use strdup for allocating
5168         composite name copy.
5170 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5172         Sync up with gnulib.
5173         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5174         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5175         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5176         and _GL_ARG_NONNULL.
5177         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5178         [!_LIBC]: Include code for Windows and Cygwin.
5179         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5180         Include prototype for int strerror_r.
5181         [!_LIBC] (is_open): New function.
5182         (flush_stdout): New function.
5183         (print_errno_message): Use it.
5184         (error): Likewise.
5185         (error_at_line): Likewise.
5186         (error_tail) Add function attribute macros.  Use
5187         __builtin_expect.
5189         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5191         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5193         * io/ftw.c: Include sys/param.h unconditionally.
5195         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5197         [BZ #17125]
5198         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5199         libc_freeres_ptr.
5200         (freecache): New function to free CACHE on exit.
5202         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5203         initialization.
5205 2014-07-09  David S. Miller  <davem@davemloft.net>
5207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5209         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5210         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5211         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5212         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5213         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5214         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5215         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5216         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5217         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5218         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5219         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5220         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5221         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5223 2014-07-09  Andreas Schwab  <schwab@suse.de>
5225         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5226         output.
5227         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5228         (do_test): Likewise.
5230         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5232 2014-07-09  Will Newton  <will.newton@linaro.org>
5234         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5235         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5236         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5237         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5238         * sysdeps/hppa/start.S (_start): Likewise.
5240 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5242         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5244         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5245         defined.
5247 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5249         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5250         after checking that it is non-NULL.
5252         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5254 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5256         * sysdeps/powerpc/memmove.c: Remove file.
5257         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5258         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5259         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5260         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5261         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5262         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5263         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5264         string memmove instead of removed powerpc one.
5266         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5267         [weak_alias]: Fix compiler warning due trailing data.
5268         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5269         [weak_alias]: Likewise.
5270         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5271         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5273         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5274         (__libc_ifunc_impl_list): Add memmove functions.
5276 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5278         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5279         Remove code.
5280         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5281         Likewise
5282         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5283         Likewise
5284         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5285         Likewise
5286         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5287         Likewise
5288         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5289         Likewise
5290         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5291         Likewise
5292         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5293         Likewise
5294         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5295         Likewise
5296         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5297         Likewise
5298         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5299         Likewise
5300         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5301         Likewise
5302         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5303         Likewise
5304         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5305         Likewise
5306         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5307         Likewise
5308         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5309         Likewise
5310         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5311         Likewise
5313 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5315         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5316         to avoid alignment traps in non-cacheable memory.
5317         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5320         multiarch objects.
5321         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5322         file: multiarch power7 memmove.
5323         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5324         multiarch default memmove.
5325         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5326         multiarch memove for powerpc32/power4.
5328         * string/bcopy.c: Use full path to include memmove.c.
5329         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5330         multiarch objects.
5331         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5332         bcopy for powerpc64.
5333         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5334         bcopy for powerpc64.
5335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5336         and memmove implementations.
5337         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5338         optimized multiarch memmove for POWER7/powerpc64.
5339         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5340         default multiarch memmove for powerpc64.
5341         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5342         multiarch for powerpc64.
5343         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5344         for POWER7/powerpc64.
5345         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5346         memmove for POWER7/powerpc64.
5348         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5349         glibc default one.
5351         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5352         __ELF_NATIVE_CLASS equal to 64.
5354 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5356         * sysdeps/nptl/lowlevellock.h: File removed.
5358         * NEWS: NPTL is no longer an add-on!
5359         * nptl/internaltypes.h: Moved ...
5360         * sysdeps/nptl/internaltypes.h: ... here.
5361         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5362         * sysdeps/nptl/fork.c: Likewise.
5363         * sysdeps/nptl/gai_misc.h: Likewise.
5364         * sysdeps/nptl/librt-cancellation.c: Likewise.
5365         * sysdeps/nptl/jmp-unwind.c: Likewise.
5366         * sysdeps/nptl/setxid.h: Likewise.
5367         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5368         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5369         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5370         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5371         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5372         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5373         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5374         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5375         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5376         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5377         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5378         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5379         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5380         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5381         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5382         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5383         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5384         * nptl/Makeconfig: Moved ...
5385         * sysdeps/nptl/Makeconfig: ... here.
5386         * nptl/configure: File removed.
5387         * nptl/ANNOUNCE: File removed.
5388         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5389         * sysdeps/unix/sysv/linux/configure: Regenerated.
5391         * nptl/Makefile (routines): Add libc_pthread_init,
5392         libc_multiple_threads, register-atfork and unregister-atfork.
5393         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5394         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5395         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5396         pthread-pi-defines.sym, structsem.sym.
5397         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5398         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5399         [$(subdir) = nptl] (tests): Add tst-setgetname.
5400         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5401         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5402         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5403         [!LIBC_SIGACTION]: Remove aliases.
5404         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5405         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5406         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5407         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5408         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5409         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5410         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5411         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5412         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5413         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5414         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5415         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5416         __libc_allocate_rtsig_private.
5417         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5418         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5419         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5420         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5421         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5422         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5423         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5424         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5425         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5426         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5427         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5428         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5429         * nptl/internaltypes.h: ... here.
5430         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5431         * sysdeps/nptl/jmp-unwind.c: ... here.
5432         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5433         * nptl/libc-lowlevellock.c: ... here.
5434         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5435         * nptl/libc_multiple_threads.c: ... here.
5436         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5437         * nptl/libc_pthread_init.c: ... here.
5438         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5439         * nptl/lowlevelbarrier.sym: ... here.
5440         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5441         * nptl/lowlevelcond.sym: ... here.
5442         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5443         * nptl/lowlevellock.c: ... here.
5444         * nptl/lowlevellock.h: Moved ...
5445         * sysdeps/nptl/lowlevellock.h: ... here.
5446         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5447         * nptl/lowlevelrobustlock.c: ... here.
5448         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5449         * nptl/lowlevelrobustlock.sym: ... here.
5450         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5451         * nptl/lowlevelrwlock.sym: ... here.
5452         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5453         * nptl/pt-fork.c: ... here.
5454         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5455         * nptl/pthread-pi-defines.sym: ... here.
5456         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5457         * nptl/pthread_attr_getaffinity.c: ... here.
5458         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5459         * nptl/pthread_attr_setaffinity.c: ... here.
5460         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5461         * nptl/pthread_mutex_cond_lock.c: ... here.
5462         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5463         Update #include.
5464         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5465         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5466         * nptl/pthread_once.c: ... here, replacing old file.
5467         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5468         * nptl/pthread_yield.c: ... here.
5469         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5470         * nptl/register-atfork.c: ... here.
5471         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5472         * nptl/sem_post.c: ... here.
5473         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5474         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5475         * nptl/sem_timedwait.c: ... here.
5476         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5477         * nptl/sem_trywait.c: ... here.
5478         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5479         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5480         * nptl/sem_wait.c: ... here.
5481         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5482         * nptl/structsem.sym: ... here.
5483         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5484         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5485         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5486         * nptl/unregister-atfork.c: ... here.
5487         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5488         * nptl/unwindbuf.sym: ... here.
5489         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5490         * sysdeps/nptl/fork.c: ... here.
5491         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5492         * sysdeps/nptl/fork.h: ... here.
5493         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5494         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5495         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5496         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5497         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5498         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5499         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5500         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5501         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5502         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5503         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5504         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5505         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5506         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5507         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5508         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5509         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5510         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5511         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5512         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5513         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5514         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5515         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5516         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5517         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5518         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5519         * sysdeps/unix/sysv/linux/raise.c: ... here.
5520         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5521         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5522         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5523         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5524         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5525         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5526         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5527         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5528         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5529         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5530         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5531         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5532         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5533         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5534         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5536 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5538         * sysdeps/generic/memcopy.h: Add comment for
5539         MEMCPY_OK_FOR_FWD_MEMMOVE.
5541 2014-07-04  Will Newton  <will.newton@linaro.org>
5543         * string/memchr.c: Merge from gnulib.
5544         [_LIBC]: Remove conditionals.
5545         (__ptr_t): Remove define.
5546         (LONG_MAX_32_BITS): Likewise.
5547         (LONG_MAX): Likewise.
5548         (MEMCHR): Use ANSI prototype and optimize algorithm.
5550         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5552 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5554         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5555         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5557         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5558         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5559         in a bare environment with no <stdlib.h> installed.
5560         * sysdeps/nptl/configure: Regenerated.
5562         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5564         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5565         AC_EGREP_CPP for kernel header checks, so they only succeed if
5566         including <linux/version.h> actually works right.
5567         * sysdeps/unix/sysv/linux/configure: Regenerated.
5569         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5570         value so it's not diagnosed as unused.
5572         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5573         thing) with "ifeq ($(subdir),rt)".
5575 2014-07-03  Richard Henderson  <rth@redhat.com>
5577         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5578         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5579         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5581         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5582         (math_force_eval): New.
5584         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5585         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5587         * sysdeps/alpha/fpu/s_round.c: Remove file.
5588         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5590         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5591         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5592         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5593         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5594         (_dl_start, print_statistics): Likewise.
5595         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5596         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5598         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5599         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5600         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5601         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5602         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5603         (HP_SMALL_TIMING_AVAIL): Define.
5604         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5605         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5606         (HP_SMALL_TIMING_AVAIL): Define.
5607         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5608         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5610         * sysdeps/aarch64/hp-timing.h: New file.
5612         * sysdeps/generic/hp-timing.h: Remove dead comment.
5613         * sysdeps/generic/hp-timing-common.h: New file.
5614         * sysdeps/alpha/hp-timing.h: Include it.
5615         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5616         * sysdeps/i386/i686/hp-timing.h: Likewise.
5617         * sysdeps/ia64/hp-timing.h: Likewise.
5618         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5619         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5620         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5621         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5622         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5623         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5624         (hp_timing_t): New.
5626         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5627         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5628         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5629         * elf/rtld.c (_dl_start_final): Likewise.
5630         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5631         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5632         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5633         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5634         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5636         (HP_TIMING_DIFF_INIT): Remove.
5637         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5638         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5639         (HP_TIMING_DIFF_INIT): Remove.
5640         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5641         * sysdeps/i386/i686/hp-timing.c: Remove file.
5642         * sysdeps/x86_64/hp-timing.c: Remove file.
5643         * sysdeps/ia64/hp-timing.c: Remove file.
5644         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5645         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5646         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5647         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5649         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5650         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5651         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5652         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5653         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5654         (HP_TIMING_ACCUM): Remove.
5655         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5656         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5657         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5659         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5660         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5661         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5662         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5663         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5664         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5665         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5666         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5668         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5670 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5672         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5674 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5676         Sync up with gettext.
5677         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5678         [_MSC_VER]: Include malloc.h
5679         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5680         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5681         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5682         TEMP_FAILURE_RETRY.  Cast return of alloca.
5683         [!_LIBC] Call gl_rwlock_init.
5684         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5686 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5688         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5689         before checking its value.
5691 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5693         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5695         * debug/memcpy_chk.c: Don't include pagecopy.h.
5696         * debug/mempcpy_chk.c: Likewise.
5697         * string/memcpy.c: Likewise.
5698         * string/memmove.c: Likewise.
5699         * sysdeps/powerpc/memmove.c: Likewise.
5700         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5701         definition of PAGE_COPY_FWD_MAYBE here...
5702         * sysdeps/generic/pagecopy.h: ... from here.
5703         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5705 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5706             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5708         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5710         optimizations.
5711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5712         (__libc_ifunc_impl_list): Likewise.
5713         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5714         multiarch strcat for PPC64.
5715         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5716         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5718 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5720         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5722 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5724         * intl/loadmsgcat.c: Remove declaration of
5725         get_sysdep_segment_value.
5726         (get_sysdep_segment_value): Use ISO C style.
5727         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5728         semicolon.  Fix typo and formatting in comment.
5729         (_nl_unload_domain): Use ISO C style.
5731         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5733 2014-07-02  Will Newton  <will.newton@linaro.org>
5735         * malloc/obstack.c: Merge from gnulib master.
5736         [HAVE_CONFIG_H]: Remove conditional code.
5737         [!_LIBC]: Include config.h.
5738         [!ELIDE_CODE]: Don't include inttypes.h, include
5739         stdint.h unconditionally.
5740         (print_and_abort): Mark as _Noreturn.
5741         (_obstack_allocated_p): Mark as __attribute_pure__.
5742         (obstack_free): Rename to __obstack_free.
5743         [!__attribute__]: Remove conditional code.
5744         * malloc/obstack.h: Merge from gnulib master.
5745         [__cplusplus]: Move conditional down.
5746         [!__attribute_pure__]: Define __attribute_pure__ here
5747         if it is not already defined.
5748         (_obstack_memory_used): Mark as __attribute_pure__.
5749         [!__obstack_free]: Define as obstack_free.
5750         [__GNUC__]: Remove check for ancient NeXT gcc.
5752 2014-07-02  Will Newton  <will.newton@linaro.org>
5753             Paul Eggert  <eggert@cs.ucla.edu>
5755         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5757 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5759         * resolv/gethnamaddr.c: Add comment warning that the file is
5760         not maintained.
5762 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
5764         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5765         entries.
5767         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5768         entry for aio_cancel and aio_cancel64.
5769         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5770         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5771         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5772         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5773         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5774         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5775         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5776         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5777         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5778         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5779         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5780         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5781         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5783 2014-07-01  Roland McGrath  <roland@hack.frob.com>
5785         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5786         * nptl/pthread_mutex_lock.c: Likewise.
5787         * nptl/pthread_mutex_timedlock.c: Likewise.
5788         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5790 2014-07-01  Richard henderson  <rth@redhat.com>
5792         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5793         (__isnan, __isnanl): Remove.
5794         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5796         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5798 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5800         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5802 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5804         * resolv/nss_dns/dns-host.c (getanswer_r)
5805         [MULTI_PTRS_ARE_ALIASES]: Remove code.
5807 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
5809         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5810         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5811         undefine.
5812         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5813         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5815 2014-07-01  Roland McGrath <roland@hack.frob.com>
5817         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5818         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5820         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5821         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5823         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5824         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5825         ... here.
5826         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5827         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5829         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5830         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5831         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5832         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5834         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5835         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5836         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5837         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5838         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5839         Moved ...
5840         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5841         ... here.
5842         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5843         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5844         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5845         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5846         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5847         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5848         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5849         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5850         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5851         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5852         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5853         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5854         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5855         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5856         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5857         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5858         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5859         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5860         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5861         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5862         ... here.
5863         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5864         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5865         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5866         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5867         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5868         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5869         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5870         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5872 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
5874         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5875         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5876         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5877         Add sysdep.
5879 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5883 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5885         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5886         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5888         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5890         * sysdeps/arm/libm-test-ulps: Regenerated.
5892 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5893             Roland McGrath <roland@hack.frob.com>
5895         * test-skeleton.c (signal_handler): Kill the whole process group
5896         before killing the child individually.
5897         (main): Report any failure on `setpgid'.
5899 2014-06-30  Roland McGrath  <roland@hack.frob.com>
5901         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5902         from _TLS_H to _ARM_NPTL_TLS_H.
5903         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5904         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5906 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5908         [BZ #16539]
5909         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5910         (__expm1l): Return argument unchanged when small but not
5911         subnormal.
5913         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5914         include macro name.
5915         (_FP_UNPACK_RAW_1_P): Likewise.
5916         (_FP_PACK_RAW_1): Likewise.
5917         (_FP_PACK_RAW_1_P): Likewise.
5918         (_FP_MUL_MEAT_1_wide): Likewise.
5919         (_FP_MUL_MEAT_DW_1_hard): Likewise.
5920         (_FP_MUL_MEAT_1_hard): Likewise.
5921         (_FP_DIV_MEAT_1_imm): Likewise.
5922         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5923         (_FP_DIV_MEAT_1_udiv): Likewise.
5924         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5925         (_FP_UNPACK_RAW_2): Likewise.
5926         (_FP_UNPACK_RAW_2_P): Likewise.
5927         (_FP_PACK_RAW_2): Likewise.
5928         (_FP_PACK_RAW_2_P): Likewise.
5929         (_FP_MUL_MEAT_DW_2_wide): Likewise.
5930         (_FP_MUL_MEAT_2_wide): Likewise.
5931         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5932         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5933         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5934         (_FP_MUL_MEAT_2_gmp): Likewise.
5935         (_FP_DIV_MEAT_2_udiv): Likewise.
5936         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5937         (_FP_FRAC_SRL_4): Likewise.
5938         (_FP_FRAC_SRST_4): Likewise.
5939         (_FP_FRAC_SRS_4): Likewise.
5940         (_FP_UNPACK_RAW_4): Likewise.
5941         (_FP_UNPACK_RAW_4_P): Likewise.
5942         (_FP_PACK_RAW_4): Likewise.
5943         (_FP_PACK_RAW_4_P): Likewise.
5944         (_FP_MUL_MEAT_DW_4_wide): Likewise.
5945         (_FP_MUL_MEAT_4_wide): Likewise.
5946         (_FP_MUL_MEAT_4_gmp): Likewise.
5947         (umul_ppppmnnn): Likewise.
5948         (_FP_DIV_MEAT_4_udiv): Likewise.
5949         (__FP_FRAC_ADD_4): Likewise.
5950         (__FP_FRAC_SUB_3): Likewise.
5951         (__FP_FRAC_SUB_4): Likewise.
5952         (__FP_FRAC_DEC_3): Likewise.
5953         (__FP_FRAC_DEC_4): Likewise.
5954         (__FP_FRAC_ADDI_4): Likewise.
5955         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5956         (_FP_FRAC_SRL_8): Likewise.
5957         (_FP_FRAC_SRS_8): Likewise.
5959         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5960         include macro name.
5961         (FP_UNPACK_RAW_EP): Likewise.
5962         (FP_PACK_RAW_E): Likewise.
5963         (FP_PACK_RAW_EP): Likewise.
5964         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5965         (_FP_ISSIGNAN): Likewise.
5966         (_FP_ADD_INTERNAL): Likewise.
5967         (_FP_FMA): Likewise.
5968         (_FP_CMP): Likewise.
5969         (_FP_SQRT): Likewise.
5970         (_FP_TO_INT): Likewise.
5971         (_FP_FROM_INT): Likewise.
5972         (FP_EXTEND): Likewise.
5973         (_FP_DIV_MEAT_N_loop): Likewise.
5975 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5977         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5978         throughout.
5980 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5982         [BZ #17097]
5983         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5984         result with correct sign in case of exponents that produce
5985         overflow except for X very close to 1.
5987 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5989         mktime: merge #if/#ifdef usage from glibc
5990         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5991         as that works with both Glibc's and Gnulib's style.
5992         See thread starting at Siddhesh Poyarekar's bug report at:
5993         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5995 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5997         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5998         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5999         * sysdeps/tile/tilegx/memmove.c: Remove file.
6001 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6003         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6004         abi-name definition.
6005         * scripts/soversions.awk: Do not handle or generate ABI lines.
6006         * shlib-versions: Remove ABI entries.
6007         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6008         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6010 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6012         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6013         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6014         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6015         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6016         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6017         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6018         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6019         Moved ...
6020         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6021         ... here.
6022         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6023         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6024         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6025         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6026         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6027         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6028         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6029         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6030         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6031         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6032         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6033         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6034         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6035         Moved ...
6036         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6037         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6038         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6039         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6040         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6041         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6042         Moved ...
6043         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6044         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6045         Moved ...
6046         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6047         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6048         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6049         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6050         Moved ...
6051         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6053         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6054         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6055         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6057         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6059         Moved ...
6060         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6062         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6063         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6064         Moved ...
6065         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6066         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6067         Moved ...
6068         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6069         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6070         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6071         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6072         Moved ...
6073         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6074         ... here.
6075         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6076         Identical file removed.
6077         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6078         Moved ...
6079         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6080         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6081         Identical file removed.
6082         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6083         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6084         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6085         Moved ...
6086         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6087         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6088         Identical file removed.
6089         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6090         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6091         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6092         Identical file removed.
6093         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6094         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6095         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6096         Identical file removed.
6097         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6098         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6099         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6100         Identical file removed.
6101         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6102         Moved ...
6103         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6104         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6105         Identical file removed.
6106         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6107         Moved ...
6108         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6109         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6110         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6111         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6112         Identical file removed.
6113         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6114         Moved ...
6115         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6116         ... here.
6117         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6118         Identical file removed.
6119         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6120         Moved ...
6121         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6123         Identical file removed.
6124         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6125         Moved ...
6126         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6127         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6128         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6129         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6130         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6132         Moved ...
6133         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6134         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6135         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6137         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6138         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6139         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6140         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6141         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6143 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6145         [BZ #17092]
6146         * nscd/nscd.c (monitor_child): Return exit status of child
6147         instead of return value from wait syscall.
6149 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6151         * configure.ac (libc_commonpagesize): Remove variable.
6152         (libc_relro_required): Likewise.
6153         (libc_cv_z_relro): Remove configure test.
6154         * configure: Regenerated.
6155         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6156         variable.
6157         (libc_relro_required): Likewise.
6158         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6159         (libc_relro_required): Likewise.
6160         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6161         (libc_relro_required): Likewise.
6162         * sysdeps/arm/preconfigure: Regenerated.
6163         * sysdeps/ia64/preconfigure: Remove file.
6164         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6165         variable.
6166         (libc_relro_required): Likewise.
6168         [BZ #16561]
6169         [BZ #16562]
6170         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6171         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6172         recompute overflowing results in original rounding mode.
6173         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6174         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6175         recompute overflowing results in original rounding mode.
6176         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6177         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6178         recompute overflowing results in original rounding mode.
6179         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6180         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6181         recompute overflowing results in original rounding mode.
6182         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6183         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6184         recompute overflowing results in original rounding mode.
6185         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6186         (libc_feholdsetround_ctx): New macro.
6187         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6188         * sysdeps/i386/fpu/libm-test-ulps: Update.
6189         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6191 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6193         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6194         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6195         corresponding .cpsetup call.
6197 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6199         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6200         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6201         * sysdeps/arm/Makefile [$(subdir) = csu]
6202         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6203         (static-only-routines): Add aeabi_read_tp here.
6204         (shared-only-routines): Add libc-aeabi_read_tp here.
6205         (CFLAGS-libc-start.c): Add -fexceptions here.
6206         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6207         (sysdep_routines, static-only-routines, shared-only-routines):
6208         Don't add to these here.
6209         (CFLAGS-libc-start.c): Likewise.
6211         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6212         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6213         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6214         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6215         * sysdeps/arm/Makefile [$(subdir) = rt]
6216         (librt-sysdep_routines, librt-shared-only-routines):
6217         Append rt-aeabi_unwind_cpp_pr1 here.
6218         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6219         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6220         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6221         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6222         Append nptl-aeabi_unwind_cpp_pr1 here.
6223         (tests): Filter out tst-cleanupx4 here.
6224         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6225         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6226         Don't do those here.
6228 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6230         * scripts/list-sources.sh: Do not handle ports specially.
6232 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6234         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6235         * sysdeps/arm/feupdateenv.c: Likewise.
6237         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6239 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6241         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6242         trailing whitespace removed.
6243         * scripts/config.guess: Update to version 2014-03-23.
6244         * scripts/config.sub: Update to version 2014-05-01
6245         * scripts/install-sh: Update to version 2013-12-25.23.
6246         * scripts/move-if-change: Update from gnulib.
6248 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6250         * debug/memmove_chk.c: Remove pagecopy.h include.
6252 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6254         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6255         identical to gnulib mktime.
6257 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6259         * configure.ac: Do not test for machine being rs6000.  Do not test
6260         for powerpc*-*soft.
6261         * configure: Regenerated.
6263         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6264         test.
6265         * configure: Regenerated.
6266         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6267         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6268         Remove configure test.
6269         * sysdeps/arm/configure: Regenerated.
6270         * sysdeps/nptl/configure.ac: Do not check
6271         libc_cv_asm_cfi_directives.
6272         * sysdeps/nptl/configure: Regenerated.
6273         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6274         * sysdeps/x86_64/nptl/configure: Remove generated file.
6275         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6276         unconditional.
6277         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6279 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6281         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6282         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6283         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6284         it is defined.
6286         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6287         instead of whether it is defined.
6288         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6289         * sysdeps/hppa/dl-machine.h: Likewise.
6290         * sysdeps/ia64/dl-machine.h: Likewise.
6291         * sysdeps/m68k/dl-machine.h: Likewise.
6292         * sysdeps/microblaze/dl-machine.h: Likewise.
6293         * sysdeps/mips/dl-machine.: Likewise.
6294         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6295         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6296         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6297         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6298         * sysdeps/sh/dl-machine.h: Likewise.
6299         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6300         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6301         * sysdeps/tile/dl-machine.h: Likewise.
6302         * sysdeps/x86_64/dl-machine.h: Likewise.
6304         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6305         code.
6306         (verify_persistent_db): Likewise.
6308 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6310         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6311         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6312         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6313         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6315         Moved ...
6316         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6317         ... here.
6318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6319         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6321         Identical file removed.
6322         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6323         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6324         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6325         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6327         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6329         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6331         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6332         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6333         Moved ...
6334         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6336         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6338         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6339         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6340         Moved ...
6341         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6343         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6345         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6347         Identical file removed.
6348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6349         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6351         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6353         Moved ...
6354         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6355         ... here.
6356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6357         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6359         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6361         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6363         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6365         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6366         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6367         Moved ...
6368         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6370         Moved ...
6371         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6372         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6373         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6374         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6375         Moved ...
6376         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6377         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6378         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6380         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6381         folded into ...
6382         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6383         * sysdeps/unix/sysv/linux/s390/Versions
6384         (libpthread: GLIBC_2.19): New version set.
6385         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6386         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6387         (librt: GLIBC_2.3.3): New version set.
6388         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6389         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6390         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6391         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6392         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6393         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6394         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6395         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6396         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6397         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6398         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6399         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6400         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6401         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6402         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6403         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6404         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6405         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6406         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6407         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6408         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6409         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6410         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6411         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6412         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6413         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6414         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6415         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6416         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6417         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6418         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6419         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6420         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6421         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6422         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6423         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6424         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6425         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6426         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6428         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6429         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6430         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6431         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6432         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6434         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6435         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6436         (__libc_vfork): Define the function under this name.
6437         [!NOT_IN_libc] (__vfork): Make this an alias.
6438         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6439         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6440         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6441         (__libc_vfork): Define the function under this name.
6442         [!NOT_IN_libc] (__vfork): Make this an alias.
6443         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6444         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6445         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6446         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6447         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6448         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6450         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6451         code that was previously under [RESET_PID].
6452         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6453         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6454         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6456         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6457         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6458         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6459         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6460         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6461         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6462         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6463         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6464         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6465         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6466         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6467         Moved ...
6468         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6469         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6470         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6471         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6472         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6473         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6474         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6475         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6476         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6477         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6478         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6479         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6480         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6481         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6482         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6483         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6484         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6485         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6486         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6487         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6488         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6489         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6490         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6491         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6492         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6493         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6494         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6495         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6496         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6498 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6500         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6501         that was previously under [RESET_PID].
6502         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6504 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6506         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6507         not undefine and redefine.
6508         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6509         [O_CLOEXEC]: Make code unconditional.
6510         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6511         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6512         <kernel-features.h>.
6513         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6514         conditional variable definition.
6515         (shm_open) [O_CLOEXEC]: Make code unconditional.
6516         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6517         code.
6519         * configure.ac (USE_REGPARMS): Don't define here.
6520         * configure: Regenerated.
6521         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6522         * sysdeps/i386/configure: Regenerated.
6524         * nptl/createthread.c: Don't include kernel-features.h.
6525         * nptl/pthread_cancel.c: Likewise.
6526         * nptl/pthread_condattr_setclock.c: Likewise.
6527         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6528         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6529         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6530         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6531         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6532         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6533         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6534         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6535         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6536         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6537         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6538         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6539         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6540         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6541         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6542         * nscd/gai.c: Likewise.
6543         * nss/nss_db/db-open.c: Likewise.
6544         * sysdeps/generic/ldsodefs.h: Likewise.
6545         * sysdeps/sh/nptl/tls.h: Likewise.
6546         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6547         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6548         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6549         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6550         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6551         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6552         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6553         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6554         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6555         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6556         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6557         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6558         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6559         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6560         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6561         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6562         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6563         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6564         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6565         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6566         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6567         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6568         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6569         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6571         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6572         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6573         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6574         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6575         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6576         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6577         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6578         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6579         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6580         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6581         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6582         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6583         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6584         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6585         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6586         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6587         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6588         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6589         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6590         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6591         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6592         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6593         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6594         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6595         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6596         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6597         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6598         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6599         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6600         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6601         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6602         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6603         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6621         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6626         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6627         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6628         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6629         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6630         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6631         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6632         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6633         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6634         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6635         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6636         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6637         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6638         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6639         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6640         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6641         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6642         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6643         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6644         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6645         * sysdeps/unix/sysv/linux/system.c: Likewise.
6646         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6647         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6648         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6649         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6650         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6651         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6652         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6654         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6655         * configure: Regenerated.
6656         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6658         * configure.ac (base_machine): Do not set specially for particular
6659         machines here.
6660         * configure: Regenerated.
6661         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6662         settings from configure.ac.
6663         * sysdeps/i386/preconfigure: New file.
6664         * sysdeps/s390/preconfigure: Likewise.
6665         * sysdeps/sh/preconfigure: Likewise.
6666         * sysdeps/sparc/preconfigure: Likewise.
6668 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6670         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6671         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6672         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6673         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6674         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6675         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6676         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6677         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6678         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6679         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6680         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6681         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6682         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6683         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6684         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6685         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6686         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6687         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6688         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6690         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6691         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6692         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6693         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6694         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6695         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6696         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6697         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6698         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6699         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6700         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6701         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6702         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6703         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6704         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6705         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6706         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6707         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6708         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6709         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6710         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6711         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6712         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6713         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6714         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6715         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6716         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6717         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6718         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6719         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6720         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6721         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6722         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6723         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6724         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6725         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6726         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6727         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6729         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6730         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6732         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6733         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6734         Moved ...
6735         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6736         ... here.
6737         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6738         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6739         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6740         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6742         Moved ...
6743         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6744         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6745         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6747         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6749         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6751         Moved ...
6752         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6753         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6754         Moved ...
6755         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6757         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6759         Moved ...
6760         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6761         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6762         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6763         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6764         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6765         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6766         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6767         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6768         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6769         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6770         Moved ...
6771         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6772         ... here.
6773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6774         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6776         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6778         Moved ...
6779         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6780         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6781         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6782         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6783         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6784         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6785         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6786         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6787         Moved ...
6788         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6790         Moved ...
6791         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6793         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6795         Moved ...
6796         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6797         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6798         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6799         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6800         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6802 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6804         * timezone/checktab.awk: Update from tzcode 2014e.
6805         * timezone/private.h: Likewise.
6806         * timezone/tzfile.h: Likewise.
6807         * timezone/zdump.c: Likewise.
6808         * timezone/zic.c: Likewise.
6810         * sysdeps/unix/sysv/linux/kernel-features.h
6811         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6812         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6813         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6814         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6815         Remove conditional code.
6817 2014-06-25  Will Newton  <will.newton@linaro.org>
6819         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6820         (_dl_arm_cap_flags): Add HWCAP2 values.
6821         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6822         (_DL_HWCAP_COUNT): Increase to 37.
6823         (_DL_HWCAP_LAST): New define.
6824         (_DL_HWCAP2_LAST): New define.
6825         (_dl_procinfo): Add support for printing
6826         AT_HWCAP2 entries.
6827         (_dl_string_hwcap): Use _dl_hwcap_string.
6829 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6831         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6833 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6835         * README: Do not mention ports directory.
6837         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6838         Remove macro.
6839         * sysdeps/unix/sysv/linux/futimes.c: Do not include
6840         <kernel-features.h>.
6841         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6842         conditional variable definition.
6843         (__futimes): Update comment.
6844         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6845         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6847         [BZ #16560]
6848         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6849         arguments close to 0.
6850         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6851         Likewise.
6852         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6853         Likewise.
6854         * math/auto-libm-test-in: Add more tests of exp10.
6855         * math/auto-libm-test-out: Regenerated.
6856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6858         * sysdeps/unix/sysv/linux/kernel-features.h
6859         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6860         * sysdeps/unix/sysv/linux/readv.c: Do not include
6861         <kernel-features.h>.
6862         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6863         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6864         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6865         unconditional.
6866         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6867         conditional code.
6868         * sysdeps/unix/sysv/linux/writev.c: Do not include
6869         <kernel-features.h>.
6870         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6871         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6872         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6873         unconditional.
6874         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6875         conditional code.
6877 2014-06-25  Will Newton  <will.newton@linaro.org>
6879         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6880         comment changes throughout the file.  Remove checks
6881         for HAVE_*_H definitions that are not required.
6882         (__gen_tempname): Call abort if an unknown kind value is
6883         passed.
6885 2014-06-25  Andreas Schwab  <schwab@suse.de>
6887         [BZ #17086]
6888         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6889         scalbln, scalblnf, scalblnl in libc.
6891 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6893         [BZ #17086]
6894         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6895         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6896         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6898 2014-06-24  Roland McGrath  <roland@hack.frob.com>
6900         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6901         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6902         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6903         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6904         Update #include.
6905         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6906         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6907         Update #include.
6908         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6909         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6910         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6911         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6912         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6913         * sysdeps/x86/bits/pthreadtypes.h: ... here.
6914         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6915         * sysdeps/x86/bits/semaphore.h: ... here.
6916         * sysdeps/x86/nptl/elide.h: Moved ...
6917         * sysdeps/x86/elide.h: ... here.
6918         * sysdeps/x86_64/nptl/Implies: File removed.
6919         * sysdeps/i386/nptl/Implies: File removed.
6921 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
6923         [BZ #16539]
6924         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6925         return the argument for normal arguments with exponent below -64.
6926         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6927         Likewise.
6928         * math/auto-libm-test-in: Add another test of expm1.
6929         * math/auto-libm-test-out: Regenerated.
6931         [BZ #16287]
6932         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6933         calling __erfcl for arguments at least 16.
6934         * math/auto-libm-test-in: Add more tests of erf.
6935         * math/auto-libm-test-out: Regenerated.
6937         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6938         individual architectures.
6939         * sysdeps/unix/sysv/linux/configure: Regenerated.
6940         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6941         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6942         * sysdeps/unix/sysv/linux/powerpc/configure.ac
6943         (ldd_rewrite_script): Define variable.
6944         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6946         file.
6947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6948         generated file.
6949         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6950         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6951         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6952         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6953         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6954         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6955         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6956         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6958 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6960         [BZ #17084]
6961         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6962         Rename member __data.d to __data.__elision_data.
6964 2014-06-24  Wilco  <wdijkstr@arm.com>
6966         * NEWS: Add 16918 to fixed bug list.
6968 2014-06-24  Wilco  <wdijkstr@arm.com>
6970         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6972 2014-06-24  Wilco  <wdijkstr@arm.com>
6974         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6975         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6976         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6977         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6978         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6979         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6980         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6981         Use _FPU_MASK_RM.
6983 2014-06-24  Wilco  <wdijkstr@arm.com>
6985         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6987 2014-06-24  Wilco  <wdijkstr@arm.com>
6989         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6990         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6991         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6992         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6994 2014-06-24  Wilco  <wdijkstr@arm.com>
6996         [BZ #16918]
6997         * sysdeps/arm/feupdateenv.c (feupdateenv):
6998         Rewrite to reduce FPSCR accesses and fix return value.
7000 2014-06-24  Wilco  <wdijkstr@arm.com>
7002         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7003         Optimize to avoid unnecessary FPSCR writes.
7004         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7005         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7006         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7007         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7009 2014-06-24  Wilco  <wdijkstr@arm.com>
7011         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7012         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7013         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7014         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7015         Call libc_fetestexcept_vfp.
7016         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7017         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7018         __SOFTFP__ ifdef so that they can be built for softfp.
7020 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7022         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7023         argument type signed char.
7025         * Makerules (check-abi): Dump diff of symlist if the test
7026         fails.
7028 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7030         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7031         using abort.
7033         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7034         Remove unused variable ST.
7036 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7038         [BZ #16354]
7039         [BZ #17061]
7040         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7041         small arguments before calling __expm1.
7042         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7043         small arguments before calling __expm1f.
7044         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7045         small arguments before calling __expm1l.
7046         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7047         Likewise.
7048         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7049         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7050         spurious underflow for some cosh tests.
7051         * math/auto-libm-test-out: Regenerated.
7052         * sysdeps/i386/fpu/libm-test-ulps: Update.
7054         [BZ #17050]
7055         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7056         (__ieee754_y1): Set errno if return value overflows.
7057         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7058         (__ieee754_y1f): Set errno if return value overflows.
7059         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7060         (__ieee754_y1l): Set errno if return value overflows.
7061         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7062         (__ieee754_y1l): Set errno if return value overflows.
7063         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7064         * math/auto-libm-test-out: Regenerated.
7066         * math/gen-auto-libm-tests.c: Document use of
7067         ignore-zero-inf-sign.
7068         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7069         (input_flags): Add ignore-zero-inf-sign.
7070         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7071         * math/gen-libm-test.pl (generate_testfile): Handle
7072         ignore-zero-inf-sign.
7073         * math/auto-libm-test-in: Mark some cpow tests with
7074         ignore-zero-inf-sign and some with xfail-rounding.
7075         * math/auto-libm-test-out: Regenerated.
7076         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7077         * sysdeps/i386/fpu/libm-test-ulps: Update.
7078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7080         [BZ #16315]
7081         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7082         overflowing or underflowing operations take place with sign of
7083         result.
7084         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7085         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7086         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7087         (__ieee754_pow): Recompute overflowing and underflowing results in
7088         original rounding mode.
7089         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7090         (__powl_helper): Allow negative argument X and scale negated value
7091         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7092         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7093         overflowing or underflowing operations take place with sign of
7094         result.
7095         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7096         Include <math.h>.
7097         * math/auto-libm-test-in: Add more tests of pow.
7098         * math/auto-libm-test-out: Regenerated.
7099         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7100         (pow_tonearest_test_data): Remove.
7101         (pow_test_tonearest): Likewise.
7102         (pow_towardzero_test_data): Likewise.
7103         (pow_test_towardzero): Likewise.
7104         (pow_downward_test_data): Likewise.
7105         (pow_test_downward): Likewise.
7106         (pow_upward_test_data): Likewise.
7107         (pow_test_upward): Likewise.
7108         (main): Don't call removed functions.
7109         * sysdeps/i386/fpu/libm-test-ulps: Update.
7110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7112 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7115         Moved ...
7116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7118         Moved ...
7119         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7121         Moved ...
7122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7124         Moved ...
7125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7127         File removed.
7128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7129         File removed.
7130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7131         File removed.
7132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7133         File removed.
7134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7135         File removed.
7136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7137         File removed.
7138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7139         File removed.
7140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7141         File removed.
7142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7143         File removed.
7144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7145         File removed.
7146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7147         File removed.
7148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7149         File removed.
7150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7151         Moved ...
7152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7154         Moved ...
7155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7156         ... here.
7157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7158         Moved ...
7159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7161         Moved ...
7162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7164         Moved ...
7165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7167         Moved ...
7168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7170         Moved ...
7171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7173         Moved ...
7174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7176         Moved ...
7177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7180         ... here.
7181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7182         Moved ...
7183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7185         Moved ...
7186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7187         ... here.
7188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7189         Moved ...
7190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7191         ... here.
7192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7193         Moved ...
7194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7195         ... here.
7196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7197         Moved ...
7198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7200         Moved ...
7201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7205         Moved ...
7206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7207         ... here.
7208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7209         Moved ...
7210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7211         ... here.
7212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7213         Moved ...
7214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7216         Moved ...
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7219         Moved ...
7220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7222         Moved ...
7223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7225         Moved ...
7226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7227         ... here.
7228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7229         Moved ...
7230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7232         Moved ...
7233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7235         Moved ...
7236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7238         Moved ...
7239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7243         Moved ...
7244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7246         Moved ...
7247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7249         Moved ...
7250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7251         ... here.
7252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7253         Moved ...
7254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7255         ... here.
7256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7257         Moved ...
7258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7259         ... here.
7260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7261         Moved ...
7262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7264         Moved ...
7265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7267         Moved ...
7268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7270         Moved ...
7271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7272         ... here.
7273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7274         Moved ...
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7276         ... here.
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7278         Moved ...
7279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7280         ... here.
7281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7282         Moved ...
7283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7285         Moved ...
7286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7288 2014-06-23  Will Newton  <will.newton@linaro.org>
7289             Wilco  <wdijkstr@arm.com>
7291         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7292         implementation.  Include get-rounding-mode.h.
7293         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7294         [!libc_feholdsetround_noex_ctx]: Define
7295         libc_feholdsetround_noex_ctx.
7296         [!libc_feholdsetround_noexf_ctx]: Define
7297         libc_feholdsetround_noexf_ctx.
7298         [!libc_feholdsetround_noexl_ctx]: Define
7299         libc_feholdsetround_noexl_ctx.
7300         (libc_feholdsetround_ctx): New function.
7301         (libc_feresetround_ctx): New function.
7302         (libc_feholdsetround_noex_ctx): New function.
7303         (libc_feresetround_noex_ctx): New function.
7305 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7307         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7308         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7309         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7310         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7311         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7312         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7314         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7315         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7316         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7317         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7318         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7319         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7320         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7321         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7322         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7323         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7324         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7325         Moved ...
7326         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7327         ... here.
7328         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7329         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7330         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7331         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7332         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7333         Moved ...
7334         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7335         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7336         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7337         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7338         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7339         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7340         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7341         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7342         Moved ...
7343         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7344         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7345         Moved ...
7346         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7347         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7348         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7349         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7350         Moved ...
7351         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7352         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7353         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7354         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7355         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7356         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7357         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7358         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7359         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7360         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7361         Moved ...
7362         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7363         ... here.
7364         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7365         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7366         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7367         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7368         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7369         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7370         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7371         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7372         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7373         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7374         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7375         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7376         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7377         Moved ...
7378         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7379         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7380         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7381         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7382         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7383         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7384         Moved ...
7385         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7386         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7387         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7388         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7389         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7391         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7392         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7393         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7394         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7395         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7396         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7397         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7398         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7399         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7400         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7401         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7402         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7403         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7404         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7405         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7406         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7407         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7408         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7409         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7410         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7411         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7412         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7413         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7414         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7415         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7416         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7417         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7418         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7420 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7422         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7423         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7424         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7425         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7426         (IPV6_PMTUDISC_INTERFACE): Likewise.
7427         (IPV6_PMTUDISC_OMIT): Likewise.
7429 2014-06-23  Andreas Schwab  <schwab@suse.de>
7431         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7432         Remove unused errout label.
7434 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7436         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7437         macro: hardware supports Vector Crypto instructions.
7439 2014-06-23  Will Newton  <will.newton@linaro.org>
7441         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7442         rather than __builtin_expect.
7444         * elf/dl-lookup.c (undefined_msg): Remove variable.
7445         (_dl_lookup_symbol_x): Replace undefined_msg with string
7446         literal.
7448         * elf/dl-lookup.c (do_lookup_unique): New function.
7449         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7450         to a separate function.
7452 2014-06-23  Andreas Schwab  <schwab@suse.de>
7454         [BZ #17079]
7455         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7456         before reading the next line.
7458 2014-06-23  Will Newton  <will.newton@linaro.org>
7460         * test-skeleton.c (signal_handler): Use printf and %m
7461         rather than perror.  Use printf rather than fprintf to
7462         stderr.  Use puts rather than fputs to stderr.
7463         (main): Likewise.
7465 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7467         * nscd/nscd.c (thread_info_t): Remove typedef.
7468         (thread_info): Remove variable.
7470 2014-06-21  Allan McRae  <allan@archlinux.org>
7472         * NEWS: Mention CVE-2014-4043.
7474 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7476         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7477         * nptl/smp.h: ... here.
7479         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7481         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7482         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7483         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7484         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7486         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7487         * nptl/stack-aliasing.h: New file.
7488         * sysdeps/i386/i686/stack-aliasing.h: New file.
7489         * sysdeps/i386/i686/nptl/Makefile: File removed.
7490         * sysdeps/x86_64/stack-aliasing.h: New file.
7491         * sysdeps/x86_64/nptl/Makefile
7492         (CFLAGS-pthread_create.c): Variable removed.
7494         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7495         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7496         old file.
7497         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7498         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7499         old file.
7501 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7503         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7504         (__ASSUME_SIGFRAME_V2): Remove macro.
7505         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7506         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7507         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7508         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7509         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7510         Declare as function.  Remove conditional macro definitions.
7511         (__default_rt_sa_restorer): Likewise.
7512         (__default_sa_restorer_v1): Remove declaration.
7513         (__default_sa_restorer_v2): Likewise.
7514         (__default_rt_sa_restorer_v1): Likewise.
7515         (__default_rt_sa_restorer_v2): Likewise.
7516         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7517         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7518         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7520 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7522         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7523         (libpthread-routines): Add sysdep.
7524         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7525         * sysdeps/unix/sysv/linux/sparc/Versions
7526         (libpthread: GLIBC_2.3.3): New version set.
7527         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7528         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7529         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7530         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7531         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7532         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7533         Moved ...
7534         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7535         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7536         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7537         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7538         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7539         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7540         * sysdeps/sparc/nptl/sem_init.c: ... here.
7541         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7542         * sysdeps/sparc/nptl/sem_post.c: ... here.
7543         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7544         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7545         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7546         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7547         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7548         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7549         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7550         (libpthread-routines): Add cpu_relax.
7551         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7552         File removed.
7553         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7554         (librt: GLIBC_2.3.3): New version set.
7555         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7556         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7557         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7558         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7559         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7561         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7563         Moved ...
7564         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7566         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7567         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7568         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7569         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7570         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7571         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7572         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7573         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7574         Moved ...
7575         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7576         Update #include.
7577         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7578         Moved ...
7579         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7580         Update #include.
7581         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7582         Moved ...
7583         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7584         Update #include.
7585         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7586         Moved ...
7587         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7588         Update #include.
7589         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7590         Moved ...
7591         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7592         Update #include.
7593         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7594         Moved ...
7595         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7596         Update #include.
7597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7598         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7600         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7604         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7606         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7608         Moved ...
7609         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7610         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7611         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7613         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7615 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7617         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7618         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7619         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7620         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7621         * nscd/nscd.c: Likewise.
7622         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7623         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7624         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7625         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7627         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7628         <kernel-features.h>.
7629         (init_mq_netlink): Remove conditional have_sock_cloexec
7630         definitions.  Remove code conditional on have_sock_cloexec < 0.
7631         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7632         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7633         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7634         <kernel-features.h>.
7635         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7636         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7638 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7640         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7641         Add tests for memset_chk and memset.
7643         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7644         with AVX2_Usable.
7646 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7648         [BZ #16046]
7649         * elf/tst-dl-iter-static.c: New file.
7650         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7652         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7653         error.
7655 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7657         * sysdeps/unix/sysv/linux/kernel-features.h
7658         (__ASSUME_F_GETOWN_EX): Remove macro.
7659         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7660         <kernel-features.h>.
7661         (miss_F_GETOWN_EX): Remove variable or macro.
7662         (do_fcntl): Do not check miss_F_GETOWN_EX.
7663         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7665         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7666         Remove macro.
7667         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7668         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7669         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7671         * sysdeps/unix/sysv/linux/kernel-features.h
7672         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7673         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7674         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7675         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7677 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7679         [BZ #17075]
7680         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7681         Fix calculation of the symbol's value.
7682         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7683         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7684         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7685         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7686         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7687         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7688         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7689         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7690         (modules-names): Add `tst-armtlsdescmod',
7691         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7692         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7693         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7694         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7695         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7696         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7697         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7698         ($(objpfx)tst-armtlsdescloc): New dependency.
7699         ($(objpfx)tst-armtlsdescextnow): Likewise.
7700         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7701         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7702         TLS scheme support.
7703         * sysdeps/arm/configure: Regenerate.
7705 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7707         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7708         (__atfct_seterrno_2): Likewise.
7709         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7710         <kernel-features.h>.
7711         (__ASSUME_ATFCTS): Do not undefine and redefine.
7712         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7713         (__have_atfcts): Remove conditional definition.
7714         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7715         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7716         unreachable if [__ASSUME_ATFCTS].
7717         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7718         not undefine and redefine.
7719         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7720         <kernel-features.h>.
7721         (faccessat) [__NR_faccessat]: Make code unconditional.
7722         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7723         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7724         <kernel-features.h>.
7725         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7726         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7727         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7728         <kernel-features.h>.
7729         (fchownat) [__NR_fchownat]: Make code unconditional.
7730         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7731         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7732         <kernel-features.h>.
7733         (futimesat) [__NR_futimesat]: Make code unconditional.
7734         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7735         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7736         <kernel-features.h>.
7737         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7738         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7739         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7740         <kernel-features.h>.
7741         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7742         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7743         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7744         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7745         <kernel-features.h>.
7746         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7747         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7748         * sysdeps/unix/sysv/linux/linkat.c: Do not include
7749         <kernel-features.h>.
7750         (linkat) [__NR_linkat]: Make code unconditional.
7751         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7752         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7753         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7754         <kernel-features.h>.
7755         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7756         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7757         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7758         <kernel-features.h>.
7759         (mkdirat) [__NR_mkdirat]: Make code unconditional.
7760         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7761         * sysdeps/unix/sysv/linux/openat.c: Do not include
7762         <kernel-features.h>.
7763         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7764         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7765         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7766         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7767         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7768         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7769         <kernel-features.h>.
7770         (readlinkat) [__NR_readlinkat]: Make code unconditional.
7771         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
7772         result of INLINE_SYSCALL directly, not via int variable.
7773         * sysdeps/unix/sysv/linux/renameat.c: Do not include
7774         <kernel-features.h>.
7775         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7776         (renameat) [__NR_renameat]: Make code unconditional.
7777         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7778         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7779         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7780         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7781         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7782         (__ASSUME_ATFCTS): Do not undefine and redefine.
7783         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7784         <kernel-features.h>.
7785         (symlinkat) [__NR_symlinkat]: Make code unconditional.
7786         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7787         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7788         <kernel-features.h>.
7789         (unlinkat) [__NR_unlinkat]: Make code unconditional.
7790         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7791         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7792         (__ASSUME_ATFCTS): Do not undefine and redefine.
7793         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7794         <kernel-features.h>.
7795         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7796         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7797         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7798         <kernel-features.h>.
7799         (__xmknodat) [__NR_mknodat]: Make code unconditional.
7800         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7802 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7804         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7806 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
7808         [BZ #17069]
7809         * posix/regcomp.c (parse_reg_exp): Deallocate partially
7810         constructed tree before returning error.
7811         * posix/bug-regexp36.c: Expand test case.
7813 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7815         [BZ #6803]
7816         * math/libm-test.inc (scalbln_test_date):
7817         Add errno expectations.
7818         * math/w_scalblnf.c: New File.
7819         Add wrapper which checks for setting errno to ERANGE.
7820         Add weak_alias for corresponding scalbln function.
7821         * math/w_scalbln.c: Likewise.
7822         * math/w_scalblnl.c: Likewise.
7823         * math/Makefile (libm-calls): Add w_scalbln.
7824         * sysdeps/ieee754/flt-32/s_scalblnf.c:
7825         Remove weak_alias for corresponding scalbln function.
7826         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7827         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7828         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7829         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7830         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7831         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7832         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7833         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7834         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7835         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7836         Remove long_double_symbol for scalblnl function in libm, libc.
7837         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7838         Add wrapper which checks for setting errno to ERANGE.
7839         Add long_double_symbol for scalblnl function in libm, libc.
7840         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7841         Remove long_double_symbol for scalblnl in libm.
7842         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7843         Add wrapper which checks for setting errno to ERANGE.
7844         Add long_double_symbol for scalblnl function in libm.
7845         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7846         Do not use wrapper because of own implementation.
7848 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
7850         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7851         3 bytes for __pad1 for x32.
7852         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7854 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
7855             H.J. Lu  <hongjiu.lu@intel.com>
7857         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7858         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7859         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7860         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7861         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7863 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
7865         [BZ #17069]
7866         * posix/regcomp.c (parse_expression): Deallocate partially
7867         constructed tree before returning error.
7868         * posix/Makefile.c (tests): Add bug-regex36.
7869         (generated): Add bug-regex36.mtrace.
7870         (tests-special): Add $(objpfx)bug-regex36-mem.out
7871         (bug-regex36-ENV): New variable.
7872         ($(objpfx)bug-regex36-mem.out): New rule.
7873         * posix/bug-regex36.c: New file.
7875 2014-06-19  Will Newton  <will.newton@linaro.org>
7877         * malloc/malloc.c (systrim): If extra is zero then return
7878         early.
7880 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7882         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7884 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
7886         * sysdeps/aarch64/strchr.S: New file.
7888 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7890         [BZ #17022]
7891         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7892         from arguments -2 or below.
7893         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7894         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7896 2014-06-18  Andreas Schwab  <schwab@suse.de>
7898         [BZ #17062]
7899         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7900         of a bracket expr not to run off the end of the string.
7901         * posix/Makefile (tests): Add tst-fnmatch3.
7902         * posix/tst-fnmatch3.c: New file.
7904 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7906         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7907         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7908         [$(cross-compiling) = no]: Likewise.
7909         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7910         [$(cross-compiling) = no]: Likewise.
7912 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7914         [BZ #17031]
7915         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7916         double, adjusted for any remainder from the high double.
7917         * math/libm-test.inc (nearbyint): Add tests.
7918         (rint): Likewise.
7920 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7922         * nptl/sysdeps/powerpc/Makefile: Moved ...
7923         * sysdeps/powerpc/nptl/Makefile: ... here.
7924         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7925         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7926         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7927         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7928         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7929         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7930         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7931         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7932         * nptl/sysdeps/powerpc/tls.h: Moved ...
7933         * sysdeps/powerpc/nptl/tls.h: ... here.
7935 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
7937         [BZ #16681]
7938         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7939         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7940         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7941         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7942         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7943         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7944         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7945         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7946         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7948 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
7950         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7952 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
7954         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7955         defined operator.
7957         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7958         $TIMEOUTFACTOR.
7960 2014-06-16  Florian Weimer  <fweimer@redhat.com>
7962         [BZ #17058]
7963         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7964         non-executed part of the test.
7966 2014-06-16  Andreas Schwab  <schwab@suse.de>
7968         * string/bits/string2.h (strdup, strndup): Update feature guard.
7970 2014-06-14  David S. Miller  <davem@davemloft.net>
7972         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7974 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7976         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7977         that was previously under [RESET_PID].
7978         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7980         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7981         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7982         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7983         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7984         (__libc_vfork): New strong alias.
7985         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7987 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7989         * sysdeps/generic/elide.h: New file.
7991 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7993         * Makefile (installed-headers): Adjust path of pthread.h header.
7995 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7997         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7998         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7999         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8000         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8002         * nptl/sysdeps/s390/Makefile: Moved ...
8003         * sysdeps/s390/nptl/Makefile: ... here.
8004         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8005         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8006         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8007         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8008         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8009         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8010         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8011         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8012         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8013         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8014         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8015         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8016         * nptl/sysdeps/s390/tls.h: Moved ...
8017         * sysdeps/s390/nptl/tls.h: ... here.
8019         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8020         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8022 2014-06-13  David S. Miller  <davem@davemloft.net>
8024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8027         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8028         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8031         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8032         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8033         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8034         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8035         Remove RESET_PID cpp guards.
8036         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8037         Remove RESET_PID cpp guards.
8038         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8040 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8042         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8043         __sp to uintptr_t.
8045 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8047         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8048         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8049         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8050         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8051         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8052         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8054         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8055         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8056         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8057         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8058         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8059         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8060         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8061         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8062         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8063         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8064         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8065         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8066         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8068         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8069         (pthread_rwlock_rdlock): Add elision.
8070         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8071         (pthread_rwlock_wrlock): Add elision.
8072         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8073         (pthread_rwlock_trywrlock): Add elision.
8074         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8075         (pthread_rwlock_tryrdlock): Add elision.
8076         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8077         (pthread_rwlock_tryrdlock): Add elision unlock.
8078         * nptl/sysdeps/pthread/pthread.h:
8079         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8080         (PTHREAD_RWLOCK_INITIALIZER,
8081         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8082         Handle new elision field.
8083         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8084         * sysdeps/arm/nptl/bits/pthreadtypes.h
8085         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8086         * sysdeps/sh/nptl/bits/pthreadtypes.h
8087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8088         * sysdeps/tile/nptl/bits/pthreadtypes.h
8089         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8090         * sysdeps/a/nptl/bits/pthreadtypes.h
8091         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8092         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8093         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8094         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8095         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8096         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8097         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8098         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8099         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8100         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8101         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8102         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8103         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8104         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8105         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8106         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8107         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8108         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8109         (elision_init): Set try_xbegin to zero when no RTM.
8110         * sysdeps/x86/nptl/bits/pthreadtypes.h
8111         (pthread_rwlock_t): Change __pad1 to __rwelision.
8112         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8114 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8116         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8117         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8118         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8119         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8121 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8123         [BZ #16996]
8124         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8125         that the cached result has been set before returning it.
8127 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8129         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8130         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8131         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8132         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8133         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8134         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8136         * nptl/sysdeps/sparc/Makefile: Moved ...
8137         * sysdeps/sparc/nptl/Makefile: ... here.
8138         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8139         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8140         * nptl/sysdeps/sparc/tls.h: Moved ...
8141         * sysdeps/sparc/nptl/tls.h: ... here.
8142         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8143         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8144         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8145         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8146         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8147         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8148         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8149         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8150         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8151         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8152         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8153         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8154         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8155         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8156         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8157         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8158         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8159         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8160         Update #include.
8161         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8162         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8163         Update #include.
8164         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8165         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8166         Update #include.
8167         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8168         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8169         Update #include.
8171         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8173         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8174         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8176         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8177         (struct list_links): Type removed.
8178         (struct thread_node, struct timer_node): Replace struct list_links
8179         with struct list_head.
8180         (list_unlink_ip): Likewise.
8181         * sysdeps/pthread/timer_routines.c
8182         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8183         (list_append, list_insbefore): Likewise.
8184         (list_init): Function removed.
8185         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8186         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8187         * sysdeps/pthread/Makefile: ... here, new file.
8189         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8190         * sysdeps/nptl/Implies: ... here.
8191         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8192         * nptl/sysdeps/pthread/list.h: Moved ...
8193         * include/list.h: ... here.
8194         * nptl/sysdeps/pthread/createthread.c: Moved ...
8195         * nptl/createthread.c: ... here.
8196         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8197         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8198         * nptl/pt-longjmp.c: ... here.
8199         * nptl/sysdeps/pthread/Makefile: Moved ...
8200         * sysdeps/nptl/Makefile: ... here.
8201         * nptl/sysdeps/pthread/Subdirs: Moved ...
8202         * sysdeps/nptl/Subdirs: ... here.
8203         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8204         * sysdeps/nptl/aio_misc.h: ... here.
8205         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8206         * sysdeps/nptl/bits/libc-lock.h: ... here.
8207         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8208         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8209         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8210         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8211         * nptl/sysdeps/pthread/configure: Moved ...
8212         * sysdeps/nptl/configure: ... here.
8213         * nptl/sysdeps/pthread/configure.ac: Moved ...
8214         * sysdeps/nptl/configure.ac: ... here.
8215         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8216         * sysdeps/nptl/gai_misc.h: ... here.
8217         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8218         * sysdeps/nptl/librt-cancellation.c: ... here.
8219         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8220         * sysdeps/nptl/malloc-machine.h: ... here.
8221         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8222         * sysdeps/nptl/pthread-functions.h: ... here.
8223         * nptl/sysdeps/pthread/pthread.h: Moved ...
8224         * sysdeps/nptl/pthread.h: ... here.
8225         * nptl/sysdeps/pthread/setxid.h: Moved ...
8226         * sysdeps/nptl/setxid.h: ... here.
8227         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8228         * sysdeps/nptl/sigfillset.c: ... here.
8229         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8230         * sysdeps/nptl/tcb-offsets.h: ... here.
8231         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8232         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8233         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8234         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8235         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8236         * sysdeps/pthread/allocalim.h: ... here.
8237         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8238         * sysdeps/pthread/bits/sigthread.h: ... here.
8239         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8240         * sysdeps/pthread/flockfile.c: ... here.
8241         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8242         * sysdeps/pthread/ftrylockfile.c: ... here.
8243         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8244         * sysdeps/pthread/funlockfile.c: ... here.
8245         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8246         * sysdeps/pthread/posix-timer.h: ... here.
8247         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8248         * sysdeps/pthread/timer_create.c: ... here.
8249         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8250         * sysdeps/pthread/timer_delete.c: ... here.
8251         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8252         * sysdeps/pthread/timer_getoverr.c: ... here.
8253         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8254         * sysdeps/pthread/timer_gettime.c: ... here.
8255         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8256         * sysdeps/pthread/timer_routines.c: ... here.
8257         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8258         * sysdeps/pthread/timer_settime.c: ... here.
8259         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8260         * sysdeps/pthread/tst-timer.c: ... here.
8261         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8262         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8264         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8265         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8267         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8268         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8269         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8270         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8271         Update #include target.
8272         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8273         * sysdeps/i386/i686/nptl/Makefile: ... here.
8274         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8275         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8276         Update #include target.
8277         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8278         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8279         * nptl/sysdeps/i386/Makefile: Moved ...
8280         * sysdeps/i386/nptl/Makefile: ... here.
8281         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8282         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8283         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8284         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8285         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8286         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8287         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8288         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8289         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8290         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8291         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8292         * nptl/sysdeps/i386/tls.h: Moved ...
8293         * sysdeps/i386/nptl/tls.h: ... here.
8295         * sysdeps/sh/Makefile [$(subdir) = csu]
8296         (gen-as-const-headers): Add tcb-offsets.sym.
8297         * nptl/sysdeps/sh/Makefile: File removed.
8298         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8299         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8300         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8301         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8302         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8303         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8304         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8305         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8306         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8307         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8308         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8309         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8310         * nptl/sysdeps/sh/tls.h: Moved ...
8311         * sysdeps/sh/nptl/tls.h: ... here.
8312         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8313         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8314         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8315         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8316         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8317         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8318         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8319         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8320         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8321         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8322         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8323         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8324         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8325         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8326         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8327         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8328         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8329         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8330         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8331         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8332         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8333         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8334         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8335         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8336         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8337         Moved ...
8338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8339         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8340         Moved ...
8341         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8342         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8343         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8344         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8345         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8346         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8347         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8348         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8349         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8350         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8351         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8352         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8353         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8354         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8355         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8356         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8357         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8358         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8359         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8361 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8363         * posix/spawn_faction_addopen.c: Include string.h.
8365 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8367         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8368         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8369         * nptl/sysdeps/x86_64/Makefile: Moved ...
8370         * sysdeps/x86_64/nptl/Makefile: ... here.
8371         * nptl/sysdeps/x86_64/configure: Moved ...
8372         * sysdeps/x86_64/nptl/configure: ... here.
8373         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8374         * sysdeps/x86_64/nptl/configure.ac: ... here.
8375         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8376         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8377         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8378         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8379         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8380         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8381         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8382         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8383         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8384         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8385         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8386         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8387         * nptl/sysdeps/x86_64/tls.h: Moved ...
8388         * sysdeps/x86_64/nptl/tls.h: ... here.
8389         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8390         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8391         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8392         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8394         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8396 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8400 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8402         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8403         type.
8404         [POSIX] (off_t): Likewise.
8405         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8406         [POSIX] (S_ISBLK): Require macro.
8407         [POSIX] (S_ISCHR): Likewise.
8408         [POSIX] (S_ISDIR): Likewise.
8409         [POSIX] (S_ISFIFO): Likewise.
8410         [POSIX] (S_ISREG): Likewise.
8411         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8412         optional-macro.
8413         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8414         type.
8415         [POSIX] (time_t): Likewise.
8416         [POSIX] (timer_t): Likewise.
8418 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8420         [BZ #17048]
8421         * posix/spawn_int.h (struct __spawn_action): Make the path string
8422         non-const to support deallocation.
8423         * posix/spawn_faction_addopen.c
8424         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8425         * posix/spawn_faction_destroy.c
8426         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8427         path in all spawn_do_open actions.
8428         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8429         posix_spawn_file_actions_addopen.
8431 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8433         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8434         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8435         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8436         conditional code always true.
8437         (__libc_vfork): New alias.
8439 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8441         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8442         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8444         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8446         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8447         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8449         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8450         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8452         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8453         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8455 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8457         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8458         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8459         multiarch strcmp for PPC64.
8460         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8461         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8462         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8463         multiarch optimizations.
8464         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8465         (__libc_ifunc_impl_list): Likewise.
8467 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8469         * benchtests/scripts/validate_benchout.py: New script.
8470         * benchtests/Makefile (bench-func): Call it.
8471         * benchtests/scripts/benchout.schema.json: New file.
8473 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8475         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8476         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8477         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8478         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8479         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8480         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8481         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8482         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8483         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8484         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8485         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8486         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8487         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8488         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8489         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8490         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8491         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8492         Moved ...
8493         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8494         ... here.
8495         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8496         Moved ...
8497         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8498         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8499         Moved ...
8500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8501         ... here.
8502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8503         Moved ...
8504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8505         ... here.
8506         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8507         Moved ...
8508         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8509         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8510         Moved ...
8511         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8512         ... here.
8513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8514         Moved ...
8515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8516         ... here.
8517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8518         Moved ...
8519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8521         Moved ...
8522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8523         ... here.
8524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8525         Moved ...
8526         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8527         ... here.
8528         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8529         Moved ...
8530         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8531         ... here.
8532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8533         Moved ...
8534         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8536         Moved ...
8537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8538         ... here.
8539         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8540         Moved ...
8541         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8542         ... here.
8543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8544         Moved ...
8545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8546         ... here.
8547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8548         Moved ...
8549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8550         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8551         Moved ...
8552         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8553         ... here.
8554         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8555         Moved ...
8556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8557         ... here.
8558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8559         Moved ...
8560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8561         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8562         Moved ...
8563         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8564         ... here.
8565         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8566         Moved ...
8567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8569         Moved ...
8570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8572         Moved ...
8573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8574         ... here.
8575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8576         Moved ...
8577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8578         ... here.
8579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8580         Moved ...
8581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8582         ... here.
8583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8584         Moved ...
8585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8587         Moved ...
8588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8589         ... here.
8590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8591         Moved ...
8592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8593         ... here.
8594         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8595         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8596         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8597         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8598         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8599         Moved ...
8600         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8601         ... here.
8602         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8603         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8604         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8605         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8606         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8607         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8608         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8609         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8610         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8611         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8612         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8613         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8614         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8615         Moved ...
8616         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8617         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8618         Moved ...
8619         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8620         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8621         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8622         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8623         Moved ...
8624         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8625         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8626         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8627         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8628         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8629         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8630         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8632 2014-06-10  Wilco  <wdijkstr@arm.com>
8634         * math/test-fenv-return.c: New file.
8635         * math/Makefile: Add new test test-fenv-return.
8637 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8639         [BZ #17042]
8640         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8641         when x - 1 is zero.
8642         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8643         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8644         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8645         0.0L for an argument of 1.0L.
8646         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8647         Likewise.
8648         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8649         value when x - 1 is zero.
8650         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8651         * sysdeps/i386/fpu/libm-test-ulps: Update.
8652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8654 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8656         [BZ #15119]
8657         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8659 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8661         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8662         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8664 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8666         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8667         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8669         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8670         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8672         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8673         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8675         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8676         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8678         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8679         if not already defined.
8680         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8681         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8682         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8683         (TLS_INIT_TP): Use it.
8684         (TLS_DEFINE_INIT_TP): New macro.
8685         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8687 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8689         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8690         constant.
8691         [POSIX] (IXANY): Likewise.
8692         [POSIX] (OLCUC): Likewise.
8693         [POSIX || POSIX2008] (CBAUD): Do not allow.
8694         [POSIX || POSIX2008] (DEFECHO): Likewise.
8695         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8696         [POSIX || POSIX2008] (ECHOKE): Likewise.
8697         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8698         [POSIX || POSIX2008] (EXTA): Likewise.
8699         [POSIX || POSIX2008] (EXTB): Likewise.
8700         [POSIX || POSIX2008] (FLUSHO): Likewise.
8701         [POSIX || POSIX2008] (LOBLK): Likewise.
8702         [POSIX || POSIX2008] (PENDIN): Likewise.
8703         [POSIX || POSIX2008] (SWTCH): Likewise.
8704         [POSIX || POSIX2008] (VDISCARD): Likewise.
8705         [POSIX || POSIX2008] (VDSUSP): Likewise.
8706         [POSIX || POSIX2008] (VLNEXT): Likewise.
8707         [POSIX || POSIX2008] (VREPRINT): Likewise.
8708         [POSIX || POSIX2008] (VSTATUS): Likewise.
8709         [POSIX || POSIX2008] (VWERASE): Likewise.
8710         (B*): Change to B[0123456789]*.
8711         * conform/data/time.h-data [POSIX || UNIX98]
8712         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8713         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8714         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8715         [POSIX] (tm_*): Do not allow.
8717 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8719         * Makefile (install): Don't set LANGUAGE.
8720         * Makefile.in (install): Likewise.
8721         * assert/Makefile (test-assert-ENV): Remove variable.
8722         (test-assert-perr-ENV): Likewise.
8723         * elf/Makefile (neededtest4-ENV): Likewise.
8724         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8725         [$(cross-compiling) = no]: Don't set LANGUAGE.
8726         * io/ftwtest-sh (LANG): Remove variable.
8727         * libio/Makefile (tst-widetext-ENV): Likewise.
8728         * manual/install.texi (Running make install): Don't refer to
8729         environment settings for make install.
8730         * INSTALL: Regenerated.
8731         * nptl/tst-tls6.sh: Don't set LANG.
8732         * posix/globtest.sh (LANG): Remove variable.
8733         * string/Makefile (tester-ENV): Likewise.
8734         (inl-tester-ENV): Likewise.
8735         (noinl-tester-ENV): Likewise.
8736         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8737         [$(cross-compiling) = no]: Don't set LANGUAGE.
8738         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8739         without explicit environment settings.
8741 2014-06-06  Roland McGrath  <roland@hack.frob.com>
8743         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8744         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8745         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8746         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8748 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
8750         * crypt/crypt-private.h [DOS]: Add some includes taken from the
8751         other files in the crypt directory.
8752         * crypt/crypt.c: Remove duplicate includes.
8753         * crypt/crypt-entry.c: Likewise.
8754         * crypt/crypt_util.c: Likewise.
8756 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
8758         * Makeconfig (run-program-env): New variable.
8759         (run-program-prefix-before-env): Likewise.
8760         (run-program-prefix-after-env): Likewise.
8761         (run-program-prefix): Define in terms of new variables.
8762         (built-program-cmd-before-env): New variable.
8763         (built-program-cmd-after-env): Likewise.
8764         (built-program-cmd): Define in terms of new variables.
8765         (test-program-prefix-before-env): New variable.
8766         (test-program-prefix-after-env): Likewise.
8767         (test-program-prefix): Define in terms of new variables.
8768         (test-program-cmd-before-env): New variable.
8769         (test-program-cmd-after-env): Likewise.
8770         (test-program-cmd): Define in terms of new variables.
8771         * Rules (make-test-out): Use $(run-program-env).
8772         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8773         (help): Do not mention environment variables.  Mention
8774         --timeoutfactor option.
8775         (timeoutfactor): New variable.
8776         (blacklist_exports): Remove function.
8777         (exports): Remove variable.
8778         (command): Do not include ${exports}.
8779         * manual/install.texi (Configuring and compiling): Do not mention
8780         test wrappers preserving environment variables.  Mention that last
8781         assignment to a variable must take precedence.
8782         * INSTALL: Regenerated.
8783         * benchtests/Makefile (run-bench): Use $(run-program-env).
8784         * catgets/Makefile ($(objpfx)test1.cat): Use
8785         $(built-program-cmd-before-env), $(run-program-env) and
8786         $(built-program-cmd-after-env).
8787         ($(objpfx)test2.cat): Do not specify environment variables
8788         explicitly.
8789         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8790         $(run-program-env) and $(built-program-cmd-after-env).
8791         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8792         $(run-program-env) and $(test-program-cmd-after-env).
8793         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8794         explicitly.
8795         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8796         run_program_env and test_program_cmd_after_env arguments.
8797         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8798         * elf/tst-pathopt.sh: Use run_program_env argument.
8799         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8800         $(test-wrapper-env) and $(run-program-env).
8801         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8802         run_program_env arguments.
8803         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8804         * intl/Makefile ($(objpfx)tst-gettext.out): Use
8805         $(test-program-prefix-before-env), $(run-program-env) and
8806         $(test-program-prefix-after-env).
8807         ($(objpfx)tst-gettext2.out): Likewise.
8808         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8809         run_program_env and test_program_prefix_after_env arguments.
8810         * intl/tst-gettext2.sh: Likewise.
8811         * intl/tst-gettext4.sh: Do not set environment variables
8812         explicitly.
8813         * intl/tst-gettext6.sh: Likewise.
8814         * intl/tst-translit.sh: Likewise.
8815         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8816         $(test-program-prefix-before-env), $(run-program-env) and
8817         $(test-program-prefix-after-env).
8818         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8819         run_program_env and test_program_prefix_after_env arguments.
8820         * math/Makefile (run-regen-ulps): Use $(run-program-env).
8821         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8822         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
8823         explicitly with each use of ${test_wrapper_env}.
8824         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8825         $(test-program-prefix-before-env), $(run-program-env) and
8826         $(test-program-prefix-after-env).
8827         * posix/tst-getconf.sh: Do not set environment variables
8828         explicitly.
8829         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8830         run_program_env and test_program_prefix_after_env arguments.
8831         * stdio-common/tst-printf.sh: Do not set environment variables
8832         explicitly.
8833         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8834         $(test-program-prefix-before-env), $(run-program-env) and
8835         $(test-program-prefix-after-env).
8836         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8837         run_program_env and test_program_prefix_after_env arguments.
8838         Split $test calls into $test_pre and $test.
8839         * timezone/Makefile (build-testdata): Use
8840         $(built-program-cmd-before-env), $(run-program-env) and
8841         $(built-program-cmd-after-env).
8843 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8845         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8846         strlen for non SHARED builds.
8848 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8850         * nptl/allocatestack.c (check_list): Inlined function...
8851         (__reclaim_stacks): ... here.
8853 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8855         [BZ #15698]
8856         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8857         memory overrun.
8859 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
8861         * Rules (make-test-out): Include
8862         LOCPATH=$(common-objpfx)localedata in default environment.
8863         * debug/Makefile (tst-chk1-ENV): Remove variable.
8864         (tst-chk2-ENV): Likewise.
8865         (tst-chk3-ENV): Likewise.
8866         (tst-chk4-ENV): Likewise.
8867         (tst-chk5-ENV): Likewise.
8868         (tst-chk6-ENV): Likewise.
8869         (tst-lfschk1-ENV): Likewise.
8870         (tst-lfschk2-ENV): Likewise.
8871         (tst-lfschk3-ENV): Likewise.
8872         (tst-lfschk4-ENV): Likewise.
8873         (tst-lfschk5-ENV): Likewise.
8874         (tst-lfschk6-ENV): Likewise.
8875         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8876         (tst-iconv7-ENV): Likewise.
8877         * intl/Makefile (LOCPATH-ENV): Likewise.
8878         (tst-codeset-ENV): Likewise.
8879         (tst-gettext3-ENV): Likewise.
8880         (tst-gettext5-ENV): Likewise.
8881         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8882         (tst-fopenloc-ENV): Likewise.
8883         (tst-fgetws-ENV): Remove variable.
8884         (tst-ungetwc1-ENV): Likewise.
8885         (tst-ungetwc2-ENV): Likewise.
8886         (bug-ungetwc2-ENV): Likewise.
8887         (tst-swscanf-ENV): Likewise.
8888         (bug-ftell-ENV): Likewise.
8889         (tst-fgetwc-ENV): Likewise.
8890         (tst-fseek-ENV): Likewise.
8891         (tst-ftell-partial-wide-ENV): Likewise.
8892         (tst-ftell-active-handler-ENV): Likewise.
8893         (tst-ftell-append-ENV): Likewise.
8894         * posix/Makefile (tst-fnmatch-ENV): Likewise.
8895         (tst-regexloc-ENV): Likewise.
8896         (bug-regex1-ENV): Likewise.
8897         (tst-regex-ENV): Likewise.
8898         (tst-regex2-ENV): Likewise.
8899         (bug-regex5-ENV): Likewise.
8900         (bug-regex6-ENV): Likewise.
8901         (bug-regex17-ENV): Likewise.
8902         (bug-regex18-ENV): Likewise.
8903         (bug-regex19-ENV): Likewise.
8904         (bug-regex20-ENV): Likewise.
8905         (bug-regex22-ENV): Likewise.
8906         (bug-regex23-ENV): Likewise.
8907         (bug-regex25-ENV): Likewise.
8908         (bug-regex26-ENV): Likewise.
8909         (bug-regex30-ENV): Likewise.
8910         (bug-regex32-ENV): Likewise.
8911         (bug-regex33-ENV): Likewise.
8912         (bug-regex34-ENV): Likewise.
8913         (bug-regex35-ENV): Likewise.
8914         (tst-rxspencer-ENV): Likewise.
8915         (tst-rxspencer-no-utf8-ENV): Likewise.
8916         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8917         (tst-sscanf-ENV): Likewise.
8918         (tst-swprintf-ENV): Likewise.
8919         (tst-swscanf-ENV): Likewise.
8920         (test-vfprintf-ENV): Likewise.
8921         (scanf13-ENV): Likewise.
8922         (bug14-ENV): Likewise.
8923         (tst-grouping-ENV): Likewise.
8924         * stdlib/Makefile (tst-strtod-ENV): Likewise.
8925         (tst-strtod3-ENV): Likewise.
8926         (tst-strtod4-ENV): Likewise.
8927         (tst-strtod5-ENV): Likewise.
8928         (testmb2-ENV): Likewise./
8929         * string/Makefile (tst-strxfrm-ENV): Likewise.
8930         (tst-strxfrm2-ENV): Likewise.
8931         (bug-strcoll1-ENV): Likewise.
8932         (test-strcasecmp-ENV): Likewise.
8933         (test-strncasecmp-ENV): Likewise.
8934         * time/Makefile (tst-strptime-ENV): Likewise.
8935         (tst-ftime_l-ENV): Likewise.
8936         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8937         (tst-mbrtowc-ENV): Likewise.
8938         (tst-wcrtomb-ENV): Likewise.
8939         (tst-mbrtowc2-ENV): Likewise.
8940         (tst-c16c32-1-ENV): Likewise.
8941         (tst-mbsnrtowcs-ENV): Likewise.
8943 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8945         * manual/resource.texi (How to get information about the memory
8946         subsystem?): Fix typo.
8947         Reported by Peon de la Parra Ivan <peon@keba.com>
8949 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
8951         [BZ #16882]
8952         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8953         (pthread_spin_lock): Branch out of spin loop to proper location.
8954         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8955         (pthread_spin_lock): Likewise.
8957         * nptl/tst-spin4.c: New test.
8958         * nptl/Makefile (tests): Add tst-spin4.
8960 2014-06-03  Andreas Schwab  <schwab@suse.de>
8962         [BZ #15946]
8963         * resolv/res_send.c (send_dg): Reload file descriptor after
8964         calling reopen.
8966 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
8968         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8970 2014-06-03  Richard Henderson  <rth@redhat.com>
8972         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8973         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8974         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8975         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
8976         in the SAVE_PID block.
8977         (__libc_vfork): New alias.
8978         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8980         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8981         child in registers, not on the stack.  Remove RESET_PID conditionals.
8982         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8984 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8986         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8988 2014-06-03  Wilco  <wdijkstr@arm.com>
8990         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8991         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8992         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8993         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8994         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8995         Likewise.
8997 2014-06-03  Wilco  <wdijkstr@arm.com>
8999         * sysdeps/aarch64/fpu/math_private.h
9000         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9001         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9002         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9003         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9004         Fix declarations.
9006 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9008         * crypt/crypt-private.h: Include ufc-crypt.h.
9009         (__b64_from_24bit): Declare extern.
9010         * crypt/crypt_util.c(__b64_from_24bit): New function.
9011         (b64t): New static const variable.
9012         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9013         (b64t): Remove variable.
9014         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9015         * crypt/sha256-crypt.c: Include crypt-private.h.
9016         (b64t): Remove variable.
9017         (__sha256_crypt_r): Remove b64_from_24bit and replace
9018         with __b64_from_24bit.
9019         * crypt/sha512-crypt.c: Likewise.
9021 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9023         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9024         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9025         Label the code __libc_vfork rather than __vfork.
9026         [!NOT_IN_libc] (vfork): Define as weak alias.
9027         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9028         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9029         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9031 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9033         * malloc/malloc.c (malloc_info): Fix format specifier for
9034         n_mmaps.
9036 2014-06-02  Wilco  <wdijkstr@arm.com>
9038         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9039         FPCR write.
9041 2014-06-02  Wilco  <wdijkstr@arm.com>
9043         [BZ #17009]
9044         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9045         Rewrite to reduce FPCR/FPSR accesses.
9047 2014-06-01  David S. Miller  <davem@davemloft.net>
9049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9051 2014-05-31  David S. Miller  <davem@davemloft.net>
9053         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9054         to occur in round to nearest mode when |x| >= 2.0
9056 2014-05-30  Richard Henderson  <rth@twiddle.net>
9058         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9059         (PSEUDO_RET_NOERRNO): Remove.
9060         (ret): Don't redefine.
9061         (ret_NOERRNO): Define in terms of ret.
9062         (ret_ERRVAL): Likewise.
9064         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9065         use of PSEUDO_RET; perform the error check directly.
9067 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9069         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9070         with __int128_t.
9072 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9074         * malloc/malloc (malloc_info): Fix formatting.
9076 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9077             Roland McGrath  <roland@hack.frob.com>
9079         * malloc/malloc (malloc_info): Also print mmapped statistics.
9081 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9083         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9084         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9086 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9088         * malloc/malloc.c (malloc_info): Inline mi_arena.
9090 2014-05-29  Richard Henderson  <rth@twiddle.net>
9092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9093         Remove comma before expanding ASM_ARGS_##nr.
9094         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9095         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9096         of ASM_ARGS_##nr.
9097         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9098         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9099         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9100         (ASM_ARGS_1): Add leading comma.
9102         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9103         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9104         to __errno_location.
9105         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9106         Remove the expected plt for __errno_location.
9108         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9109         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9110         call to __read_tp.
9112         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9113         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9114         it and break it down.
9115         (DOCARGS_0, DOCARGS_1): Do nothing.
9116         (DOCARGS_2): Update to store into the new stack frame.
9117         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9118         (UNDOCARGS_1): Update to restore from the new stack frame.
9119         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9120         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9122         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9123         (SINGLE_THREAD_P): New parameter for result regno.
9124         (PSEUDO): Update to match; use cbz instead of beq.
9126         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9127         Use ENTRY to define the _nocancel entry point.  Share the syscall
9128         and syscall error check paths with the cancel path.
9129         (PSEUDO_END): New.
9131         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9132         whitespace; tabs before and after asm mnemonics.
9134 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9136         [BZ #15132]
9137         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9138         Call fstat64 or stat64 internally, depending on arguments passed.
9139         Replace stat buffer argument with file descriptor argument.
9140         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9141         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9142         Pass fd to __internal_statvfs instead of calling fstat64.
9143         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9144         Pass fd to __internal_statvfs64 instead of calling fstat64.
9145         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9146         Pass -1 to __internal_statvfs instead of calling stat64.
9147         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9148         Pass -1 to __internal_statvfs64 instead of calling stat64.
9150 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9152         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9153         that was previously under [RESET_PID].
9154         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9156         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9157         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9159 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9161         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9163         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9164         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9166 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9168         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9170 2014-05-27  Andreas Schwab  <schwab@suse.de>
9172         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9173         TLS_INIT_TP macro.
9174         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9175         * elf/rtld.c (init_tls, dl_main): Likewise.
9176         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9177         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9178         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9179         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9180         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9181         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9182         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9183         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9184         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9185         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9186         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9187         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9188         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9189         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9190         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9191         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9192         * sysdeps/generic/tls.h: Update description.
9194 2014-05-27  Will Newton  <will.newton@linaro.org>
9196         [BZ #16990]
9197         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9198         and restore r2 rather than just restoring.
9200 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9202         [BZ #16724]
9203         * libio/tst-ftell-append.c: New test case.
9204         * libio/Makefile (tests): Add test case.
9205         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9206         append mode.
9207         * libio/wfileops.c (do_ftell_wide): Likewise.
9209 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9213         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9214         ...
9215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9217         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9218         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9219         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9220         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9221         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9222         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9224         Moved ...
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9226         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9227         Moved ...
9228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9229         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9230         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9231         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9232         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9233         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9234         ...
9235         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9236         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9237         Moved ...
9238         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9239         here.
9240         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9241         ...
9242         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9243         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9244         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9246         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9247         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9248         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9249         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9251         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9252         merge into ...
9253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9254         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9255         ...
9256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9257         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9258         ...
9259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9260         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9261         Moved ...
9262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9263         here.
9264         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9265         Moved ...
9266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9268         Moved ...
9269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9272         conditional [RESET_PID].
9273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9274         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9275         removed.
9276         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9277         removed.
9279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9280         <tcb-offsets.h>.
9281         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9282         (__libc_vfork): New strong alias.
9283         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9284         removed.
9285         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9286         Removed.
9288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9289         <tcb-offsets.h>.
9290         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9291         (__libc_vfork): New strong alias.
9292         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9293         removed.
9294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9295         removed.
9297 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9299         * malloc/malloc.c (mi_arena): New function.
9300         (malloc_info): Remove nested function mi_arena. Call non-nosted
9301         function mi_arena.
9303 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9305         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9306         by insrwi.
9307         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9308         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9309         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9310         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9311         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9312         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9313         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9315 2014-05-26  Andreas Schwab  <schwab@suse.de>
9317         [BZ #16984]
9318         * locale/programs/repertoire.c (repertoire_read): Add slash
9319         between I18NPATH element and file name.
9320         * locale/programs/locfile.c (locfile_read): Likewise.
9322 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9324         * nptl/pthread_mutexattr_settype.c
9325         (__pthread_mutexattr_settype):
9326         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9328 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9330         * nptl/tst-mutex5 (do_test):
9331         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9333 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9335         * benchtests/README: Document 'init' directive.
9336         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9337         BENCH_INIT.
9338         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9339         (parse_file): Recognize 'init' directive.
9341 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9343         [BZ #16796]
9344         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9345         alignment of struct pthread.
9347 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9349         [BZ #16878]
9350         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9351         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9352         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9353         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9355 2014-05-25  Richard Henderson  <rth@twiddle.net>
9357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9358         (SINGLE_THREAD_P_PIC): Remove.
9359         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9360         (SINGLE_THREAD_P_PIC): Remove.
9362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9363         branch to syscall error ...
9364         (PSEUDO): ... here.
9365         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9366         from __local_syscall_error to .Lsyscall_error.
9367         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9368         (SYSCALL_ERROR): Update label name.
9370         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9371         Do not use DOARGS/UNDOARGS.
9372         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9373         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9374         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9375         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9376         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9378         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9379         block comment.
9381         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9382         define if !NOT_IN_libc.
9383         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9384         define with non-default symbol versions.
9386 2014-05-23  Richard Henderson  <rth@twiddle.net>
9388         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9389         (vfork, __vfork): Define via compat_symbol.
9391         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9392         [!HAVE_IFUNC] (vfork_compat): Remove.
9393         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9395 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9397         [BZ #16978]
9398         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9399         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9400         variable.
9402 2014-05-23  Richard Henderson  <rth@twiddle.net>
9404         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9405         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9406         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9407         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9409         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9410         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9411         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9412         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9413         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9414         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9415         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9416         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9417         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9418         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9419         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9420         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9421         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9422         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9423         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9424         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9425         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9426         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9427         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9428         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9429         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9430         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9431         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9432         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9433         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9434         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9435         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9436         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9437         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9438         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9439         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9440         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9441         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9442         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9443         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9444         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9445         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9446         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9447         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9448         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9449         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9450         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9451         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9452         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9453         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9454         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9455         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9456         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9457         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9458         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9459         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9460         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9461         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9462         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9463         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9464         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9466         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9467         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9468         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9469         before exiting on error.
9470         (__libc_vfork): New strong alias.
9471         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9472         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9474         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9475         that was previously under [RESET_PID].
9476         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9478         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9480 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9482         [BZ #16977]
9483         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9484         value when x - 1 is zero.
9485         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9486         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9487         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9488         0.0L for an argument of 1.0L.
9489         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9490         Likewise.
9491         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9492         value when x - 1 is zero.
9493         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9494         * sysdeps/i386/fpu/libm-test-ulps: Update.
9495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9497 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9499         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9500         alphasort and versionsort.
9502 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9504         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9505         macro.
9506         [copysignf]: Likewise.
9508 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9510         * crypt/md5-crypt.c: Fix formatting.
9512 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9514         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9515         (b64_from_24bit): New function.
9517 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9519         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9520         libc_hidden_builtin_def to ifunc.
9521         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9522         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9524 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9526         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9527         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9529 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9531         * nscd/Depend (linuxthreads): Remove.
9532         (nptl): Add.
9533         * resolv/Depend (linuxthreads): Remove.
9534         * rt/Depend (linuxthreads): Remove.
9536         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9537         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9538         $(common-objpfx)elf/.
9539         (link-libc-before-gnulib): Likewise.
9540         (elfobjdir): Remove variable.
9541         * Makefile (install): Use $(elf-objpfx) instead of
9542         $(common-objpfx)elf/.
9543         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9544         $(elfobjdir)/.
9545         (link-libc-deps): Likewise.
9546         ($(common-objpfx)libc.so): Likewise.
9547         ($(common-objpfx)linkobj/libc.so): Likewise.
9548         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9549         instead of $(common-objpfx)elf/.
9550         (symbolic-link-list): Likewise.
9551         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9552         [$(cross-compiling) = no]: Likewise.
9553         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9554         $(elfobjdir)/.
9555         (static-gnulib-arch): Likewise.
9556         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9557         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9558         $(common-objpfx)elf/.
9560 2014-05-21  Richard Henderson  <rth@redhat.com>
9562         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9563         (SINGLE_THREAD_P): Use the correct width load.  Fold
9564         into the ldr offset.
9566         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9567         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9569 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9571         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9572         (libgcc_s_resume): Use __attribute_used__.
9573         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9574         Likewise.
9576 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9578         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9579         optimization when used with float constants.
9581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9583 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9585         [BZ #16915]
9586         * locale/nl_langinfo_l.c: Make direct reference to every
9587         _nl_current_CATEGORY symbol.
9588         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9589         (tests-static): Add tst-langinfo-static.
9590         (tests-special): Add tst-langinfo-static.out.
9591         ($(objpfx)tst-langinfo.out): Redirect output.
9592         ($(objpfx)tst-langinfo-static.out): New.
9593         * localedata/tst-langinfo.sh: Send output to stdout.
9594         * localedata/tst-langinfo-static.c: New file.
9596         [BZ #16965]
9597         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9598         when the shift amount is modulo the limb size.
9600 2014-05-20  Richard Henderson  <rth@redhat.com>
9602         [BZ #16967]
9603         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9604         Change type of sa_flags from unsigned int to int.
9606         [BZ #16966]
9607         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9609         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9611 2014-05-20  Will Newton  <will.newton@linaro.org>
9613         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9614         Test the return value of the system call in the nocancel case.
9616 2014-05-20  Will Newton  <will.newton@linaro.org>
9617             Yvan Roux  <yvan.roux@linaro.org>
9619         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9620         #include of asm/ptrace.h.
9621         (PTRACE_GET_THREAD_AREA): Remove #undef.
9622         (PTRACE_GETHBPREGS): Likewise.
9623         (PTRACE_SETHBPREGS): Likewise.
9624         (struct user_regs_struct): New structure.
9625         (struct user_fpsimd_struct): New structure.
9626         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9627         #include of asm/ptrace.h and second #include of sys/user.h.
9628         (PTRACE_GET_THREAD_AREA): Remove #undef.
9629         (PTRACE_GETHBPREGS): Likewise.
9630         (PTRACE_SETHBPREGS): Likewise.
9631         (ELF_NGREG): Use new struct user_regs_struct.
9632         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9634 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9636         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9637         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9639 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9641         [BZ #16958]
9642         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9643         membar to avoid block loads/stores to overlap previous stores.
9645 2014-05-17  Richard Henderson  <rth@redhat.com>
9647         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9648         Create the __##syscall_name##_nocancel entry point.
9649         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9650         Remove; let the sysdep-cancel.h code create it.
9652 2014-05-17  David S. Miller  <davem@davemloft.net>
9654         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9655         Protect with __USE_GNU.
9656         (TIOCSET_TEMPT): Likewise.
9657         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9658         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9659         these are already provided in bits/ioctl-types.h
9661 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9663         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9664         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9666         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9667         Use wait4 regardless of [__NR_waitpid].
9669 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9671         PR libgcc/60166
9672         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9673         (_FP_NANSIGN_Q): Set the quiet bit.
9675 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9677         * benchtests/Makefile
9678         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9679         not $(common-objpfx)math/libm.so.
9680         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9681         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9682         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9683         $(common-objpfx)dlfcn/libdl.so.
9684         ($(objpfx)tst-audit8): Depend on $(libm), not
9685         $(common-objpfx)math/libm.so.
9686         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9687         not $(common-objpfx)dlfcn/libdl.so.
9688         * math/Makefile
9689         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9690         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9691         [$(build-shared) = yes].
9692         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9693         $(common-objpfx)nptl/libpthread.so.
9694         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9695         $(common-objpfx)math/libm.so$(libm.so-version) or
9696         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9697         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9698         $(common-objpfx)dlfcn/libdl.so.
9699         * setjmp/Makefile (link-libm): Remove variable.
9700         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9701         * stdio-common/Makefile (link-libm): Remove variable.
9702         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9703         * stdlib/Makefile (link-libm): Remove variable.
9704         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9705         ($(objpfx)tst-strtod-round): Likewise.
9706         ($(objpfx)tst-tininess): Likewise.
9707         ($(objpfx)tst-strtod-underflow): Likewise.
9708         ($(objpfx)tst-strtod6): Likewise.
9709         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9710         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9711         $(common-objpfx)dlfcn/libdl.so.
9713 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9715         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9716         BSD terminal modes definitions.
9718 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9720         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9721         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9723         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9724         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9725         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9726         Don't do #include_next.
9727         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9728         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9729         Don't do #include_next.
9730         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9731         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9732         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9733         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9735 2014-05-16  Allan McRae  <allan@archlinux.org>
9737         * po/sv.po: Update Swedish translation from translation project.
9739         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9740         in sed expression.
9742 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
9744         [BZ #16917]
9745         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9746         errno if the TIOCGPTN ioctl fails with an error different than
9747         EINVAL.
9748         * login/tst-ptsname.c: New file.
9749         * login/Makefile (tests): Add tst-ptsname.
9751         [BZ #16943]
9752         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9753         and prlimit64.
9755 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9757         [BZ #16849]
9758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9759         herrno to return EAI_AGAIN.
9761 2014-05-14  Roland McGrath  <roland@hack.frob.com>
9763         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9764         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9765         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9766         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9767         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9768         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9769         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9770         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9771         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9772         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9773         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9774         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9775         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9776         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9777         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9778         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9779         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9780         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9781         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9782         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9783         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9784         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9785         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9786         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9787         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9788         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9789         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9790         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9791         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9792         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9793         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9794         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9796         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9797         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9798         Moved ...
9799         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9800         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9801         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9803         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9804         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9805         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9806         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9807         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9809         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9811         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9812         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9813         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9815         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9816         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9817         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9819         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9823         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9824         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9825         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9826         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9827         Moved ...
9828         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9830         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9831         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9832         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9833         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9834         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9836         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9838         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9840         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9842         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9844         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9846         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9848         Moved ...
9849         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9850         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9851         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9853         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9854         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9855         (libpthread-sysdep_routines): Add elision-related stuff here instead.
9856         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9857         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9858         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9859         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9860         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9861         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9862         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9863         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9864         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9865         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9866         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9867         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9868         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9869         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9870         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9871         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9872         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9873         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9874         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9875         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9876         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9877         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9878         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9879         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9880         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9881         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9882         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9883         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9885         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9886         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9888         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9889         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9890         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9891         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9892         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9893         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9894         Moved ...
9895         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9896         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9897         Moved ...
9898         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9899         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9900         Moved ...
9901         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9902         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9903         Moved ...
9904         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9905         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9906         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9907         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9908         Moved ...
9909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9910         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9911         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9912         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9913         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9914         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9915         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9916         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9917         Moved ...
9918         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9919         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9920         Moved ...
9921         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9922         ... here.
9923         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9924         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9925         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9926         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9927         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9928         Moved ...
9929         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9930         ... here.
9931         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9932         Moved ...
9933         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9934         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9935         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9936         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9937         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9938         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9939         Moved ...
9940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9941         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9942         Moved ...
9943         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9944         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9945         Moved ...
9946         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9947         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9948         Moved ...
9949         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9950         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9951         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9952         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9953         Moved ...
9954         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9955         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9956         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9957         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9958         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9959         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9960         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9961         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9962         Moved ...
9963         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9964         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9965         Moved ...
9966         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9967         ... here.
9968         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9969         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9970         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9971         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9972         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9973         Moved ...
9974         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9975         ... here.
9976         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9977         Moved ...
9978         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9979         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9980         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9981         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9982         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9983         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9984         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9985         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9986         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9987         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9988         Moved ...
9989         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9990         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9991         Moved ...
9992         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9993         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9994         Moved ...
9995         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9996         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9997         Moved ...
9998         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9999         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10000         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10001         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10002         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10003         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10004         Moved ...
10005         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10006         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10007         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10008         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10009         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10010         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10011         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10012         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10013         Moved ...
10014         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10015         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10016         Moved ...
10017         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10018         ... here.
10019         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10020         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10021         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10022         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10023         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10024         Moved ...
10025         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10026         ... here.
10027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10028         Moved ...
10029         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10030         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10031         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10032         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10033         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10034         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10035         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10036         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10037         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10038         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10039         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10041         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10042         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10044         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10045         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10047         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10048         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10049         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10050         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10051         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10052         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10053         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10054         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10055         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10056         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10057         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10058         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10059         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10060         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10061         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10062         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10063         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10064         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10065         Moved ...
10066         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10067         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10068         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10069         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10070         Moved ...
10071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10072         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10074         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10075         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10076         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10077         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10078         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10079         Moved ...
10080         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10081         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10082         Moved ...
10083         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10084         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10085         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10086         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10087         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10088         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10089         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10090         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10091         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10092         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10093         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10094         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10095         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10096         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10097         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10098         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10099         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10101         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10102         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10103         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10104         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10105         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10107         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10108         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10109         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10110         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10111         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10112         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10113         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10114         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10115         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10116         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10121         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10122         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10123         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10124         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10125         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10126         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10127         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10128         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10129         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10130         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10131         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10132         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10133         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10134         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10136         Update #include.
10137         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10138         Likewise.
10139         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10140         Likewise.
10141         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10142         Likewise.
10143         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10144         Likewise.
10145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10146         Likewise.
10147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10148         Likewise.
10149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10150         Likewise.
10151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10152         Likewise.
10153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10154         Likewise.
10155         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10156         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10159         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10161         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10162         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10163         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10164         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10165         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10166         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10167         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10168         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10169         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10171         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10172         that was previously under [RESET_PID].
10173         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10174         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10175         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10177         * sysdeps/i386/nptl/Implies: New file.
10178         * sysdeps/x86_64/nptl/Implies: New file.
10179         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10180         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10181         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10182         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10184         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10185         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10186         (__libc_vfork): New strong alias.
10187         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10188         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10190         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10191         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10192         (__libc_vfork): New strong alias.
10193         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10194         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10196         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10197         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10198         (__libc_vfork): New strong alias.
10199         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10200         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10201         * nptl/pt-vfork.c: New file.
10202         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10203         (libpthread: GLIBC_2.20): New version set (empty).
10205 2014-05-14  Will Newton  <will.newton@linaro.org>
10207         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10208         rather than #if.
10210 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10212         [BZ #16564]
10213         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10214         arguments with exponent 65 or above.
10215         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10216         arguments 0x1p113L or above.
10217         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10218         to arguments 0x1p107L or above.
10219         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10220         positive arguments with exponent 65 or above.
10221         * math/auto-libm-test-in: Add more tests of log1p.
10222         * math/auto-libm-test-out: Regenerated.
10224         [BZ #16928]
10225         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10226         non-finite arguments is +0.
10227         * math/s_cacosf.c (__cacosf): Likewise.
10228         * math/s_cacosl.c (__cacosl): Likewise.
10229         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10230         * sysdeps/i386/fpu/libm-test-ulps: Update.
10231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10233         [BZ #16927]
10234         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10235         value.
10236         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10237         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10238         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10239         for explicit high bit of mantissa when testing for argument equal
10240         to 1.
10241         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10242         * sysdeps/i386/fpu/libm-test-ulps: Update.
10243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10245         [BZ #16516]
10246         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10247         (__erf): Scale by 16 instead of 8 in potentially underflowing
10248         case.  Ensure exception if result actually underflows.
10249         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10250         (__erff): Scale by 16 instead of 8 in potentially underflowing
10251         case.  Ensure exception if result actually underflows.
10252         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10253         (efx8): Remove variable.
10254         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10255         case.  Ensure exception if result actually underflows.
10256         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10257         (efx8): Remove variable.
10258         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10259         case.  Ensure exception if result actually underflows.
10260         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10261         (efx8): Remove variable.
10262         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10263         case.  Ensure exception if result actually underflows.
10264         * math/auto-libm-test-in: Add more tests of erf.
10265         * math/auto-libm-test-out: Regenerated.
10267 2014-05-14  Andreas Schwab  <schwab@suse.de>
10269         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10270         Remove code conditionalized on USE___THREAD.
10272         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10273         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10274         not definedness.
10276 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10278         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10279         Define unconditionally.
10280         (__ASSUME_O_CLOEXEC): Likewise.
10281         (__ASSUME_SOCK_CLOEXEC): Likewise.
10282         (__ASSUME_IN_NONBLOCK): Likewise.
10283         (__ASSUME_PIPE2): Likewise.
10284         (__ASSUME_EVENTFD2): Likewise.
10285         (__ASSUME_SIGNALFD4): Likewise.
10286         (__ASSUME_DUP3): Likewise.
10287         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10288         (__ASSUME_DUP3): Do not define.
10289         (__ASSUME_EVENTFD2): Likewise.
10290         (__ASSUME_IN_NONBLOCK): Likewise.
10291         (__ASSUME_O_CLOEXEC): Likewise.
10292         (__ASSUME_PIPE2): Likewise.
10293         (__ASSUME_SIGNALFD4): Likewise.
10294         (__ASSUME_SOCK_CLOEXEC): Likewise.
10295         (__ASSUME_UTIMES): Undefine.
10296         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10297         (__ASSUME_UTIMES): Do not define.
10298         (__ASSUME_O_CLOEXEC): Likewise.
10299         (__ASSUME_SOCK_CLOEXEC): Likewise.
10300         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10301         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10302         0x020621].
10303         (__ASSUME_PIPE2): Likewise.
10304         (__ASSUME_EVENTFD2): Likewise.
10305         (__ASSUME_SIGNALFD4): Likewise.
10306         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10307         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10308         Do not define.
10309         (__ASSUME_EVENTFD2): Likewise.
10310         (__ASSUME_SIGNALFD4): Likewise.
10311         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10312         (__ASSUME_32BITUIDS): Likewise.
10313         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10314         (__ASSUME_IPC64): Likewise.
10315         (__ASSUME_ST_INO_64_BIT): Likewise.
10316         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10317         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10318         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10319         (__ASSUME_UTIMES): Do not define.
10320         (__ASSUME_PSELECT): Likewise.
10321         (__ASSUME_PPOLL): Likewise.
10322         (__ASSUME_O_CLOEXEC): Likewise.
10323         (__ASSUME_SOCK_CLOEXEC): Likewise.
10324         (__ASSUME_IN_NONBLOCK): Likewise.
10325         (__ASSUME_PIPE2): Likewise.
10326         (__ASSUME_EVENTFD2): Likewise.
10327         (__ASSUME_SIGNALFD4): Likewise.
10328         (__ASSUME_DUP3): Likewise.
10329         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10330         (__ASSUME_UTIMES): Likewise.
10331         (__ASSUME_O_CLOEXEC): Likewise.
10332         (__ASSUME_SOCK_CLOEXEC): Likewise.
10333         (__ASSUME_IN_NONBLOCK): Likewise.
10334         (__ASSUME_PIPE2): Likewise.
10335         (__ASSUME_EVENTFD2): Likewise.
10336         (__ASSUME_SIGNALFD4): Likewise.
10337         (__ASSUME_DUP3): Likewise.
10338         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10339         (__ASSUME_UTIMES): Likewise.
10340         (__ASSUME_O_CLOEXEC): Likewise.
10341         (__ASSUME_SOCK_CLOEXEC): Likewise.
10342         (__ASSUME_IN_NONBLOCK): Likewise.
10343         (__ASSUME_PIPE2): Likewise.
10344         (__ASSUME_EVENTFD2): Likewise.
10345         (__ASSUME_SIGNALFD4): Likewise.
10346         (__ASSUME_DUP3): Likewise.
10347         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10348         Likewise.
10349         (__ASSUME_UTIMES): Likewise.
10350         (__ASSUME_EVENTFD2): Likewise.
10351         (__ASSUME_SIGNALFD4): Likewise.
10352         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10353         (__ASSUME_O_CLOEXEC): Likewise.
10354         (__ASSUME_SOCK_CLOEXEC): Likewise.
10355         (__ASSUME_IN_NONBLOCK): Likewise.
10356         (__ASSUME_PIPE2): Likewise.
10357         (__ASSUME_EVENTFD2): Likewise.
10358         (__ASSUME_SIGNALFD4): Likewise.
10359         (__ASSUME_DUP3): Likewise.
10360         (__ASSUME_UTIMES): Undefine.
10362         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10363         feclearexcept.  Remove symbol versioning code.
10364         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10365         symbol versioning code.
10366         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10367         symbol versioning code.
10368         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10369         feupdateenv.  Remove symbol versioning code.
10370         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10371         fegetexceptflag.  Remove symbol versioning code.
10372         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10373         fesetexceptflag.  Remove symbol versioning code.
10374         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10375         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10376         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10377         (__posix_fadvise64_l32): Remove prototype.
10378         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10379         code.
10381 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10383         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10384         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10385         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10386         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10388 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10390         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10391         current working directory
10393 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10395         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10396         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10397         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10398         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10399         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10400         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10401         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10402         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10403         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10404         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10405         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10406         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10407         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10408         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10409         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10410         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10411         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10412         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10413         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10414         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10415         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10416         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10417         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10418         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10419         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10420         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10421         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10422         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10423         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10424         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10425         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10426         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10427         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10428         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10429         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10430         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10431         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10432         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10433         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10434         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10435         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10436         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10438         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10439         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10441         * sysdeps/unix/sysv/linux/arm/Makefile
10442         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10443         Add rt-aeabi_unwind_cpp_pr1.
10444         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10445         Add nptl-aeabi_unwind_cpp_pr1.
10446         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10447         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10448         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10449         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10450         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10451         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10453         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10454         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10455         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10456         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10458         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10459         Deconditionalize the code that was previously under [RESET_PID].
10460         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10462         * sysdeps/generic/exit-thread.h: New file.
10463         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10464         * include/unistd.h (__exit_thread): Remove declaration.
10465         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10466         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10467         * csu/libc-start.c: Include <exit-thread.h>.
10468         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10469         * nptl/pthread_create.c: Include <exit-thread.h>.
10470         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10471         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10472         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10473         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10474         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10475         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10476         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10477         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10478         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10479         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10480         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10481         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10482         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10483         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10484         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10485         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10486         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10488 2014-05-13  Andreas Schwab  <schwab@suse.de>
10490         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10492 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10494         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10495         (__ASSUME_UTIMES): Do not condition on kernel version.
10496         (__ASSUME_PSELECT): Define unconditionally.
10497         (__ASSUME_PPOLL): Likewise.
10498         (__ASSUME_ATFCTS): Likewise.
10499         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10500         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10501         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10502         (__ASSUME_UTIMENSAT): Define unconditionally.
10503         (__ASSUME_PRIVATE_FUTEX): Likewise.
10504         (__ASSUME_FALLOCATE): Likewise.
10505         (__ASSUME_O_CLOEXEC): Likewise.
10506         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10507         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10508         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10509         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10510         (__ASSUME_IN_NONBLOCK): Likewise.
10511         (__ASSUME_PIPE2): Likewise.
10512         (__ASSUME_EVENTFD2): Likewise.
10513         (__ASSUME_SIGNALFD4): Likewise.
10514         (__ASSUME_DUP3): Likewise.
10515         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10516         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10517         (__ASSUME_AT_RANDOM): Likewise.
10518         (__ASSUME_PREADV): Likewise.
10519         (__ASSUME_PWRITEV): Likewise.
10520         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10521         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10522         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10523         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10524         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10525         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10526         (__ASSUME_O_CLOEXEC): Define unconditionally.
10527         (__ASSUME_PSELECT): Do not undefine conditionally.
10528         (__ASSUME_PPOLL): Likewise.
10529         (__ASSUME_ATFCTS): Likewise.
10530         (__ASSUME_SET_ROBUST_LIST): Likewise.
10531         (__ASSUME_UTIMENSAT): Likewise.
10532         (__ASSUME_FDATASYNC): Define unconditionally.
10533         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10534         (__ASSUME_SIGFRAME_V2): Likewise.
10535         )__ASSUME_EVENTFD2): Likewise.
10536         (__ASSUME_SIGNALFD4): Likewise.
10537         (__ASSUME_PSELECT): Do not undefine conditionally.
10538         (__ASSUME_PPOLL): Likewise.
10539         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10540         (__ASSUME_PSELECT): Define unconditionally.
10541         (__ASSUME_PPOLL): Likewise.
10542         (__ASSUME_O_CLOEXEC): Likewise.
10543         (__ASSUME_SOCK_CLOEXEC): Likewise.
10544         (__ASSUME_IN_NONBLOCK): Likewise.
10545         (__ASSUME_PIPE2): Likewise.
10546         (__ASSUME_EVENTFD2): Likewise.
10547         (__ASSUME_SIGNALFD4): Likewise.
10548         (__ASSUME_DUP3): Likewise.
10549         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10550         (__ASSUME_O_CLOEXEC): Likewise.
10551         (__ASSUME_SOCK_CLOEXEC): Likewise.
10552         (__ASSUME_IN_NONBLOCK): Likewise.
10553         (__ASSUME_PIPE2): Likewise.
10554         (__ASSUME_EVENTFD2): Likewise.
10555         (__ASSUME_SIGNALFD4): Likewise.
10556         (__ASSUME_DUP3): Likewise.
10557         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10558         (__ASSUME_EVENTFD2): Likewise.
10559         (__ASSUME_SIGNALFD4): Likewise.
10560         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10562 2014-05-12  Andreas Schwab  <schwab@suse.de>
10564         [BZ #16932]
10565         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10566         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10567         than maximum RPC packet size.
10568         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10569         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10570         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10571         (_nss_nis_getservbyport_r): Likewise.
10573 2014-05-12  Will Newton  <will.newton@linaro.org>
10575         * malloc/Makefile (tests): Add tst-mallopt.
10576         * malloc/tst-mallopt.c: New file.
10578 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10580         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10581         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10583 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10585         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10586         (tst-tlsmod6.so): Likewise.
10588 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10590         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10592 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10594         [BZ #16064]
10595         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10596         and <dl-procinfo.h>.
10597         (__fegetenv): Save SSE state in envp->__eip if supported.
10598         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10599         envp->__eip if supported.
10600         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10601         and <dl-procinfo.h>.
10602         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10603         __data_offset and __data_selector in environment to 0.  Set SSE
10604         state if supported.
10605         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10606         test-fenv-sse.
10607         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10608         -mfpmath=sse.
10609         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10611 2014-05-09  Will Newton  <will.newton@linaro.org>
10613         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10614         and libc_relro_required for ARM.
10615         * sysdeps/arm/preconfigure: Regenerate.
10617 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10618             Stefan Liebler  <stli@linux.vnet.ibm.com>
10620         * config.make.in (enable-lock-elision): New Makefile variable.
10621         * configure.ac: Likewise.
10622         * configure: Regenerate.
10623         * sysdeps/s390/configure.ac:
10624         Add check for gcc transactions support.
10625         * sysdeps/s390/configure: Regenerate.
10626         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10627         Build elision files if enabled.
10628         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10629         Add lock elision support for s390.
10630         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10631         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10632         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10633         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10634         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10635         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10636         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10637         Likewise.
10638         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10639         Likewise.
10640         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10641         Likewise.
10642         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10643         Likewise.
10644         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10645         (__lll_timedlock_elision, __lll_lock_elision)
10646         (__lll_unlock_elision, __lll_trylock_elision)
10647         (lll_timedlock_elision, lll_lock_elision)
10648         (lll_unlock_elision, lll_trylock_elision): Add.
10649         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10650         (pthread_mutex_t): Add lock elision support for s390.
10652 2014-05-14  Wilco  <wdijkstr@arm.com>
10654         * sysdeps/arm/fclrexcpt.c: Cleanup.
10655         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10656         * sysdeps/arm/feenablxcpt.c: Cleanup.
10657         * sysdeps/arm/fegetenv.c: Cleanup.
10658         * sysdeps/arm/fegetexcept.c: Cleanup.
10659         * sysdeps/arm/fegetround.c: Cleanup.
10660         * sysdeps/arm/feholdexcpt.c: Cleanup.
10661         * sysdeps/arm/fesetenv.c: Cleanup.
10662         * sysdeps/arm/fesetround.c: Cleanup.
10663         * sysdeps/arm/feupdateenv.c: Cleanup.
10664         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10665         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10666         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10667         * sysdeps/arm/ftestexcept.c: Cleanup.
10668         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10669         * sysdeps/arm/setfpucw.c: Cleanup.
10671 2014-05-09  Will Newton  <will.newton@linaro.org>
10673         * sysdeps/arm/armv7/strcmp.S: New file.
10674         * NEWS: Mention addition of ARMv7 optimized strcmp.
10676 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10678         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10679         look for %.ac rather than %.in.
10681         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10682         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10683         * sysdeps/mach/hurd/configure: Regenerated.
10684         * sysdeps/unix/sysv/linux/configure: Regenerated.
10686         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10688 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10690         [BZ# 16922]
10691         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10692         (LONG_SUB): Ditto.
10693         (PTR_SUB): Ditto.
10695 2014-05-07  Andreas Schwab  <schwab@suse.de>
10697         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10698         when skipping over non-matching result from nscd.
10700 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10702         [BZ #16876]
10703         * nptl/sockperf.c (client): Check socket return value.
10705         [BZ #16877]
10706         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10707         nscd security class.
10709 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10711         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10712         * sysdeps/arm/unwind.h: ... here.
10714 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10716         [BZ# 16916]
10717         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10718         Define.
10720 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10722         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10723         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10724         multiarch strncpy for PPC64.
10725         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10726         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10728         multiarch optimizations.
10729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10730         (__libc_ifunc_impl_list): Likewise.
10731         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10732         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10733         multiarch stpncpy for PPC64.
10734         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10735         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10737 2014-05-06  Andreas Schwab  <schwab@suse.de>
10739         [BZ #16912]
10740         * gmon/mcount.c (_MCOUNT_DECL): Use
10741         atomic_compare_and_exchange_bool_acq instead of
10742         catomic_compare_and_exchange_bool_acq.
10744 2014-05-05  Roland McGrath  <roland@hack.frob.com>
10746         * elf/Makefile (others, install-bin): Remove pldd.
10747         (pldd-modules): Variable removed.
10748         ($(objpfx)pldd): Target removed.
10749         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10750         (others, install-bin): Append pldd here.
10751         ($(objpfx)pldd): New target.
10753         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10754         to 0, so the first #if test emitted later doesn't see it undefined.
10755         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10756         * sysdeps/gnu/errlist.c: Regenerated.
10758 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10760         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10761         [libc_hidden_builtin_def]: Define to empty value.
10762         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10763         [libc_hidden_builtin_def]: Likewise.
10764         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10765         [libc_hidden_builtin_def]: Likewise.
10766         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10767         [libc_hidden_builtin_def]: Likewise.
10768         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10769         __redirect_memcpy and define ifunc as default hidden symbol.
10770         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10771         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10773 2014-05-04  Adam Conrad  <adconrad@0c3.net>
10775         * locale/iso-4217.def: Reintroduce XDR currency.
10777 2014-05-04  Allan McRae  <allan@archlinux.org>
10779         * po/eo.po: Update Esperanto translation from translation project.
10781 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
10783         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10784         and FEATURE_INDEX_MAX to 1.
10785         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10787 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10789         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10790         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10791         * iconvdata/big5.c (ONE_DIRECTION): Define.
10792         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10793         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10794         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10795         * iconvdata/cp932.c (ONE_DIRECTION): Define.
10796         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10797         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10798         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10799         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10800         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10801         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10802         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10803         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10804         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10805         * iconvdata/gbk.c (ONE_DIRECTION): Define.
10806         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10807         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10808         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10809         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10810         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10811         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10812         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10813         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10814         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10815         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10816         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10817         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10818         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10819         * iconvdata/iso646.c (ONE_DIRECTION): Define.
10820         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10821         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10822         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10823         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10824         * iconvdata/johab.c (ONE_DIRECTION): Define.
10825         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10826         * iconvdata/sjis.c (ONE_DIRECTION): Define.
10827         * iconvdata/t.61.c (ONE_DIRECTION): Define.
10828         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10829         * iconvdata/tscii.c (ONE_DIRECTION): Define.
10830         * iconvdata/uhc.c (ONE_DIRECTION): Define.
10831         * iconvdata/unicode.c (ONE_DIRECTION): Define.
10832         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10833         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10834         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10836 2014-05-01  Roland McGrath  <roland@hack.frob.com>
10838         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10839         (_IO_JUMPS_OFFSET): Define to 0.
10841         * nptl/sysdeps/pthread/bits/libc-lock.h
10842         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10843         (__libc_lock_define_initialized_recursive): Always define using
10844         initializer.  Modern compilers treat uninitialized (implicit zero) and
10845         explicit zero initializers the same (i.e. put the datum in bss).
10847 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10849         * nscd/nscd-client.h: Include <string.h>.
10851 2014-05-01  David S. Miller  <davem@davemloft.net>
10853         [BZ #16885]
10854         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10855         multiple zero bytes exist at the end of a string.
10856         Reported by Aurelien Jarno <aurelien@aurel32.net>
10858         * string/test-strcmp.c (check): Add explicit test for situations where
10859         there are multiple zero bytes after the first.
10861 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10863         [BZ #16890]
10864         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10865         when compiling wprintf.
10866         * stdio-common/tstdiomisc.c (t3): New function.
10867         (main): Call it.
10869 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10871         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10872         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10873         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10874         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10876 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10878         * stdlib/longlong.h: Updated from GCC.
10880 2014-05-01  Will Newton  <will.newton@linaro.org>
10881             Bernard Ogden  <bernie.ogden@linaro.org>
10883         * NEWS: Update fixed bug list.
10885         [BZ #15119]
10886         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10888 2014-04-30  David S. Miller  <davem@davemloft.net>
10890         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10891         (libc_feholdexcept_setround_sparc_ctx): New function.
10892         (libc_fesetenv_sparc_ctx): Likewise.
10893         (libc_feupdateenv_sparc_ctx): Likewise.
10894         (libc_feholdsetround_sparc_ctx): Likewise.
10895         (libc_feholdexcept_setround_ctx): Define.
10896         (libc_feholdexcept_setroundf_ctx): Likewise.
10897         (libc_feholdexcept_setroundl_ctx): Likewise.
10898         (libc_fesetenv_ctx): Likewise.
10899         (libc_fesetenvf_ctx): Likewise.
10900         (libc_fesetenvl_ctx): Likewise.
10901         (libc_feupdateenv_ctx): Likewise.
10902         (libc_feupdateenvf_ctx): Likewise.
10903         (libc_feupdateenvl_ctx): Likewise.
10904         (libc_feresetround_ctx): Likewise.
10905         (libc_feresetroundf_ctx): Likewise.
10906         (libc_feresetroundl_ctx): Likewise.
10907         (libc_feholdsetround_ctx): Likewise.
10908         (libc_feholdsetroundf_ctx): Likewise.
10909         (libc_feholdsetroundl_ctx): Likewise.
10911         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10912         with __USE_GNU instead of XOPEN cpp guards.
10914         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10915         0.
10917         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10918         with XOPEN cpp guards.
10920 2014-04-30  Julian Brown  <julian@codesourcery.com>
10922         [BZ #16888]
10923         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10924         handling.
10926 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
10928         [BZ #9894]
10929         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10930         Change to 2.6.32.
10931         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10932         * sysdeps/unix/sysv/linux/configure: Regenerated.
10933         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10934         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10935         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10936         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10937         * README: Update reference to required Linux kernel version.
10938         * manual/install.texi (Linux): Update reference to required Linux
10939         kernel headers version.
10940         * INSTALL: Regenerated.
10942         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10943         header inclusion.
10944         [POSIX] (limits.h): Likewise.
10945         [POSIX] (math.h): Likewise.
10946         [POSIX] (sys/wait.h): Likewise.
10947         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10948         function.
10949         [POSIX] (stddef.h): Do not allow header inclusion.
10951 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10953         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10955 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
10957         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10958         Return immediately after lll_futex_wake.
10960 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10962         [BZ #16791]
10963         * nscd/nscd-client.h (datahead_init_common): Initialize entire
10964         structure.
10965         (datahead_init_pos): Call datahead_init_common early.
10966         (datahead_init_neg): Likewise.
10968         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10969         datahead_init_neg): New functions.
10970         * nscd/aicache.c (addhstaiX): Use them.
10971         * nscd/grpcache.c (cache_addgr): Likewise.
10972         * nscd/hstcache.c (cache_addhst): Likewise.
10973         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10974         * nscd/netgroupcache.c (do_notfound): Likewise.
10975         (addgetnetgrentX): Likewise.
10976         (addinnetgrX): Likewise.
10977         * nscd/pwdcache.c (cache_addpw): Likewise.
10978         * nscd/servicescache.c (cache_addserv): Likewise.
10980 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10981             Atsushi Onoe  <atsushi@onoe.org>
10983         [BZ #14308]
10984         [BZ #12994]
10985         [BZ #13651]
10986         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10987         one response is valid.
10988         * resolv/res_send.c (send_dg): Check for validity of other
10989         response if the current response is a referral.
10991 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10993         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10995 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10997         [BZ #16823]
10998         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10999         Always divide by positive zero when computing -Inf result.
11000         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11001         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11003 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11005         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11006         FPSCR if value do not change.
11007         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11008         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11009         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11010         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11011         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11012         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11013         function.
11015 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11017         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11018         * sysdeps/unix/sysv/linux/hppa: Move directory from
11019         ports/systeps/unix/sysv/linux/hppa.
11020         * README: Update listing for hppa-*-linux-gnu.
11022 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11024         [BZ #16754]
11025         * manual/stdio.texi (Hook functions): Fix types of stream hook
11026         functions.
11027         [BZ #16854]
11028         * socket/sys/socket.h: Fix typo in comment.
11030 2014-04-28  Wilco  <wdijkstr@arm.com>
11032         * sysdeps/arm/fenv_private.h: New file.
11033         * sysdeps/arm/math_private.h: New file.
11034         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11036 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11038         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11039         with __int128_t.
11040         (La_x86_64_retval): Likewise.
11042 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11044         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11045         fpsr if value didn't change.
11046         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11047         to fpcr if value didn't change.
11048         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11049         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11050         fpsr or fpcr if value didn't change.
11051         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11052         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11053         fpcr if value didn't change.
11054         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11055         to fpsr if value didn't change.
11057 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11059         * nptl/tst-sem3.c: Use test-skeleton.c
11060         (main): Rename to do_test.  Use return instead of
11061         exit.
11062         * nptl/tst-sem4.c: Use test-skeleton.c
11063         (main): Rename to do_test.
11065 2014-04-22  David S. Miller  <davem@davemloft.net>
11067         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11068         (struct sigaction): New struct member __glibc_reserved0, change
11069         type of sa_flags to int.
11071 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11073         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11074         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11076 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11078         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11079         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11081 2014-04-22  Will Newton  <will.newton@linaro.org>
11082             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11084         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11085         (__longjmp): Add longjmp and longjmp_target SystemTap
11086         probes.
11087         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11088         (__sigsetjmp): Add setjmp SystemTap probe.
11090 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11092         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11093         match manual order.
11095 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11097         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11099         * sysdeps/powerpc/fpu/fenv_private.h
11100         (libc_feholdexcept_setroundl_ctx): Define to
11101         libc_feholdexcept_setround_ppc_ctx.
11102         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11103         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11104         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11105         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11107 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11109         * sysdeps/aarch64/math-tests.h: New file.
11111 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11113         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11114         New.
11115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11116         Check and set bit_AVX2_Usable.
11117         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11118         macro.
11119         (bit_AVX2): Likewise.
11120         (index_AVX2_Usable): Likewise.
11121         (CPUID_AVX2): Likewise.
11122         (HAS_AVX2): Likewise.
11124 2014-04-17  Will Newton  <will.newton@linaro.org>
11126         * manual/setjmp.texi (System V contexts): Add note that
11127         calling setcontext on a context created by a call to a
11128         signal handler is undefined.  Update text to note that
11129         setcontext from a signal handler is possible but not
11130         recommended.
11132         [BZ #16629]
11133         * stdlib/tst-setcontext.c: Include signal.h.
11134         (main): Check that the signal stack before and
11135         after swapcontext is the same.
11137         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11138         Re-implement to restore registers in user code and avoid
11139         rt_sigreturn system call.
11141 2014-04-17  Wilco  <wdijkstr@arm.com>
11143         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11144         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11145         * math/test-fenv.c: Skip exception trap tests on targets which only
11146         support non-stop mode.
11148 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11149             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11151         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11152         (libc_feholdsetround_aarch64_ctx)
11153         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11154         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11155         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11156         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11157         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11158         (libc_feresetround_noexl_ctx): Define.
11160 2014-04-16  Richard Henderson  <rth@redhat.com>
11162         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11164         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11165         unwind tables.
11167         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11168         const from the non-libc, non-ldso copy.
11170         * sysdeps/alpha/libm-test-ulps: Regenerate.
11172 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11173             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11175         * sysdeps/aarch64/fpu/math_private.h: New file.
11177 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11179         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11181 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11183         [BZ #16275]
11184         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11185         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11186         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11187         Intel MPX bound registers before _dl_profile_fixup.
11188         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11189         registers after _dl_profile_fixup.  Save and restore bound
11190         registers bnd0/bnd1 when calling _dl_call_pltexit.
11191         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11192         (LR_BND_OFFSET): Likewise.
11193         (LRV_BND0_OFFSET): Likewise.
11194         (LRV_BND1_OFFSET): Likewise.
11196 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11198         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11199         to...
11200         * sysdeps/mach/hurd/i386/tls.h: ... here.
11201         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11202         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11203         fields.
11205 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11207         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11209 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11211         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11213 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11215         [BZ #14770]
11216         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11217         * sysdeps/s390/configure: Regenerate.
11219         [BZ #16824]
11220         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11221         Set round-to-nearest internally to reduce error accumulation.
11223 2014-04-16  Alan Modra  <amodra@gmail.com>
11225         [BZ #16740]
11226         [BZ #16619]
11227         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11228         * math/libm-test.inc (frexp_test_data): Add tests.
11229         * NEWS: Update fixed bug list.
11231 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11233         * benchtests/Makefile: Depend on libraries in build directory.
11234         (bench-math): Separate out math tests.
11235         (bench-pthread): Separate out pthread tests.
11236         (bench): Include math and pthread tests.
11238 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11240         [BZ #16831]
11241         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11242         _dl_debug_initialize.
11244         * configure.ac: Remove SELinux header check.
11245         * configure: Regenerate.
11246         * nscd/selinux.c (perms): Array of const char* to permission names.
11247         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11248         default policy. Call string_to_security_class and string_to_av_perm to
11249         translate strings. Enforce default policy and call avs_has_perm with
11250         results of translated strings.
11252 2014-04-13  David S. Miller  <davem@davemloft.net>
11254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11256 2014-04-12  Allan McRae  <allan@archlinux.org>
11258         [BZ #16838]
11259         * manual/string.texi (Collation Functions): Fix qsort argument
11260         order in example.
11261         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11263 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11265         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11266         Make the test a no-op if there are no exceptions defined.
11268 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11270         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11271         enable-hardcoded-path-in-tests
11273 2014-04-11  Will Newton  <will.newton@linaro.org>
11275         * benchtests/Makefile (extra-objs): Add json-lib.o.
11276         (bench-func): Tidy up JSON output.
11277         * benchtests/bench-skeleton.c: Include json-lib.h.
11278         (main): Use JSON library functions to do output of
11279         benchmark results.
11280         * benchtests/bench-timing-type.c (main): Output the
11281         timing type simply, leaving formatting to the user.
11282         * benchtests/json-lib.c: New file.
11283         * benchtests/json-lib.h: Likewise.
11285 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11287         [BZ #15215]
11288         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11289         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11290         memory barriers.  Add comments.
11291         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11292         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11293         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11294         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11295         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11296         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11298 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11300         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11301         * sysdeps/s390/s390-64/configure.ac: ... this ...
11302         * sysdeps/s390/configure.ac: ... to here.
11303         * sysdeps/s390/s390-32/configure: Delete file.
11304         * sysdeps/s390/s390-64/configure: Delete file.
11305         * sysdeps/s390/configure: Regenerate.
11307 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11309         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11311 2014-04-11  Will Newton  <will.newton@linaro.org>
11313         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11314         to zero if it is not defined elsewhere.  (mtrim): Test
11315         the value of MALLOC_DEBUG with #if rather than #ifdef.
11317 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11319         * benchtests/pthread_once-inputs: New file.
11320         * benchtests/pthread_once-source.c: New file.
11321         * benchtests/README: Update documentation.
11323 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11324             H.J. Lu  <hongjiu.lu@intel.com>
11326         [BZ #16275]
11327         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11328         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11329         * sysdeps/x86_64/configure: Regenerated.
11330         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11331         macro.
11332         (REGISTER_SAVE_RAX): Likewise.
11333         (REGISTER_SAVE_RCX): Likewise.
11334         (REGISTER_SAVE_RDX): Likewise.
11335         (REGISTER_SAVE_RSI): Likewise.
11336         (REGISTER_SAVE_RDI): Likewise.
11337         (REGISTER_SAVE_R8): Likewise.
11338         (REGISTER_SAVE_R9): Likewise.
11339         (REGISTER_SAVE_BND0): Likewise.
11340         (REGISTER_SAVE_BND1): Likewise.
11341         (REGISTER_SAVE_BND2): Likewise.
11342         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11343         bound registers when calling _dl_fixup.
11345 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11347         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11348         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11349         of its definition.
11350         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11351         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11352         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11353         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11354         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11355         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11356         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11358 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11360         [BZ #15514]
11361         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11362         pathconf(_PC_NAME_MAX).
11364 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11366         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11367         Remove macro usage.
11368         (__PTHREAD_SPINS): Move definition to ...
11369         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11370         (__PTHREAD_SPINS): ... here.
11371         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11372         (__PTHREAD_SPIN): Likewise.
11373         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11374         (__PTHREAD_SPIN): Likewise.
11375         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11376         (__PTHREAD_SPIN): Likewise.
11377         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11378         (__PTHREAD_SPIN): Likewise.
11379         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11380         (__PTHREAD_SPIN): Likewise.
11381         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11382         (__PTHREAD_SPIN): Likewise.
11383         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11384         (__PTHREAD_SPIN): Likewise.
11385         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11386         (__PTHREAD_SPIN): Likewise.
11387         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11388         (__PTHREAD_SPIN): Likewise.
11389         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11390         (__PTHREAD_SPIN): Likewise.
11391         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11392         (__PTHREAD_SPIN): Likewise.
11393         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11394         (__PTHREAD_SPIN): Likewise.
11396         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11397         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11398         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11399         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11400         imply folder.
11401         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11402         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11403         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11404         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11405         correct imply path.
11406         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11407         strlen symbol for non multi-arch builds.
11408         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11409         missing hidden_def and weak_alias.
11411 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11413         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11415 2014-04-07  Will Newton  <will.newton@linaro.org>
11417         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11418         and contents.  [!_LIBC] Remove #ifndef and contents.
11419         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11420         * string/memccpy.c (__memccpy): Use ANSI prototype.
11421         * string/memfrob.c (memfrob): Likewise.
11422         * string/strcoll.c (STRCOLL): Likewise.
11423         * string/strlen.c (strlen): Likewise.
11424         * string/strtok.c (STRTOK): Likewise.
11425         * string/strcat.c: Remove unused #include of memcopy.h.
11426         (strcat): Use ANSI prototype.
11427         * string/strchr.c: Remove unused #include of memcopy.h.
11428         (strchr): Use ANSI prototype.
11429         * string/strcmp.c: Remove unused #include of memcopy.h.
11430         (strcmp): Use ANSI prototype.
11431         * string/strcpy.c: Remove unused #include of memcopy.h.
11432         (strcpy): Use ANSI prototype.
11434 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11436         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11437         * config.make.in (config-extra-cppflags): Set it from
11438         libc_extra_cppflags.
11439         * configure.ac (libc_extra_cflags): Make it accumulate over
11440         configure fragments.
11441         (libc_extra_cppflags): New flag.
11442         * configure. Regenerate.
11443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11444         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11445         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11448         [BZ #16815]
11449         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11450         result for FE_DOWNWARD rounding mode.
11451         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11452         Likewise.
11453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11455 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11457         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11458         in function argument name.
11460 2014-04-03  David Svoboda  <svoboda@cert.org>
11462         [BZ #5666]
11463         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11464         explicitly.
11466 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11468         * elf/dl-unmap-segments.h: New file.
11469         * sysdeps/generic/ldsodefs.h
11470         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11471         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11472         * elf/dl-fptr.c: Likewise.
11473         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11474         * sysdeps/aarch64/tlsdesc.c: Likewise.
11475         * sysdeps/arm/tlsdesc.c: Likewise.
11476         * sysdeps/i386/tlsdesc.c: Likewise.
11477         * sysdeps/tile/dl-runtime.c: Likewise.
11478         * sysdeps/x86_64/tlsdesc.c: Likewise.
11479         * elf/dl-load.h: New file.
11480         * elf/dl-load.c: Include it.
11481         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11482         Macros moved to dl-load.h.
11483         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11484         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11485         Use _dl_unmap_segments in place of __munmap.
11486         Break out segment-mapping loop into ...
11487         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11489 2014-04-03  Will Newton  <will.newton@linaro.org>
11491         * elf/dl-lookup.c (do_lookup_x): Remove comment
11492         referring to nested function and move variable
11493         declarations down to before first use.
11495 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11497         [BZ #16799]
11498         [BZ #16800]
11499         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11500         with 0 numerator.
11501         * math/s_catanf.c (__catanf): Likewise.
11502         * math/s_catanh.c (__catanh): Likewise.
11503         * math/s_catanhf.c (__catanhf): Likewise.
11504         * math/s_catanhl.c (__catanhl): Likewise.
11505         * math/s_catanl.c (__catanl): Likewise.
11506         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11507         by positive zero when computing -Inf result.
11508         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11509         (catanh_test): Likewise.
11510         * sysdeps/i386/fpu/libm-test-ulps: Update.
11511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11513         [BZ #16789]
11514         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11515         instead of using underflowing value in computing result.
11516         * math/s_clog10.c (__clog10): Likewise.
11517         * math/s_clog10f.c (__clog10f): Likewise.
11518         * math/s_clog10l.c (__clog10l): Likewise.
11519         * math/s_clogf.c (__clogf): Likewise.
11520         * math/s_clogl.c (__clogl): Likewise.
11521         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11522         (clog10_test): Likewise.
11523         * sysdeps/i386/fpu/libm-test-ulps: Update.
11524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11526 2014-04-02  Alan Modra  <amodra@gmail.com>
11528         [BZ #16739]
11529         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11530         output when value is near a power of two.  Use int64_t for lx and
11531         remove casts.  Use decimal rather than hex exponent constants.
11532         Don't use long double multiplication when double will suffice.
11533         * math/libm-test.inc (nextafter_test_data): Add tests.
11534         * NEWS: Add 16739 and 16786 to bug list.
11536         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11538         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11540 2014-04-01  Will Newton  <will.newton@linaro.org>
11542         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11543         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11545 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11547         [BZ #13347]
11548         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11549         * nptl/tst-setuid2.c: New file.
11550         * nptl/Makefile (xtests): Add tst-setuid2.
11552 2014-04-01  Alan Modra  <amodra@gmail.com>
11554         [BZ #16786]
11555         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11557 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11559         [BZ #6803]
11560         [BZ #6804]
11561         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11562         set errno as appropriate.
11563         * math/w_scalbf.c (__scalbf): Likewise.
11564         * math/w_scalbl.c (__scalbl): Likewise.
11565         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11566         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11567         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11568         Add more NaN tests.
11570         [BZ #16349]
11571         * math/w_atan2.c: Include <errno.h>.
11572         (__atan2): Set errno for result underflowing to zero.
11573         * math/w_atan2f.c: Include <errno.h>.
11574         (__atan2f): Set errno for result underflowing to zero.
11575         * math/w_atan2l.c: Include <errno.h>.
11576         (__atan2l): Set errno for result underflowing to zero.
11577         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11578         tests.
11579         * math/auto-libm-test-out: Regenerated.
11581 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11583         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11584         Encode instruction correctly in little endian.
11585         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11586         Likewise.
11587         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11588         Likewise.
11589         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11590         Likewise.
11591         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11592         Likewise.
11594 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11596         [BZ #9894]
11597         * sysdeps/unix/sysv/linux/kernel-features.h
11598         [__sparc__ && !__arch64__ && !__sparc_v9__]
11599         (__ASSUME_SET_ROBUST_LIST): Do not define.
11600         [__sparc__ && !__arch64__ && !__sparc_v9__]
11601         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11602         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11603         Likewise.
11604         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11605         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11606         (__ASSUME_REQUEUE_PI): Likewise.
11607         (__ASSUME_SET_ROBUST_LIST): Likewise.
11608         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11609         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11610         Undefine.
11611         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11612         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11613         Likewise.
11614         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11615         Likewise.
11616         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11617         Likewise.
11618         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11619         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11620         Undefine.
11621         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11622         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11623         Likewise.
11625         [BZ #16648]
11626         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11627         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11628         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11630 2014-03-31  Will Newton  <will.newton@linaro.org>
11632         * benchtests/Makefile (bench): Add ffs and ffsll to list
11633         of tests.
11634         * benchtests/ffs-inputs: New file.
11635         * benchtests/ffsll-inputs: Likewise.
11637 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11639         [BZ #16770]
11640         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11641         too large before casting to int.
11642         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11643         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11644         * math/libm-test.inc (scalb_test_data): Add more tests.
11646 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11648         * benchtests/Makefile (DETAILED_OPT): New make option.
11649         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11650         set.
11651         * benchtests/bench-skeleton.c: Include stdbool.h.
11652         (main): Store and print timings per input.
11653         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11654         member to each argument value.
11655         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11656         (_print_arg_data): Initialize per-input timing to 0.
11658         * benchtests/Makefile (timing-type): New binary.
11659         (bench-clean): Also remove bench-timing-type.
11660         (bench): New target for timing-type.
11661         (bench-func): Print output in JSON format.
11662         * benchtests/bench-skeleton.c (main): Print output in JSON
11663         format.
11664         * benchtests/bench-timing-type.c: New file.
11665         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11666         (TIMING_PRINT_STATS): Remove.
11667         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11668         name separately.
11670         * benchtests/bench-modf.c: Remove.
11671         * benchtests/modf-inputs: New inputs file.
11673 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11675         [BZ #16362]
11676         * math/s_clog10.c (M_PI_LOG10E): New macro.
11677         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11678         imaginary parts are 0.
11679         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11680         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11681         imaginary parts are 0.
11682         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11683         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11684         imaginary parts are 0.
11685         * math/libm-test.inc (clog10_test_data): Update expected results
11686         for when real and imaginary parts are 0.
11688 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11690         * elf/dl-load.c: Finish conversion of __builtin_expect into
11691         __glibc_{un}likely.
11693 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11695         [BZ #16348]
11696         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11697         1+x for argument with exponent below -67.
11698         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11699         Likewise.
11700         * math/auto-libm-test-in: Add more tests of exp.
11701         * math/auto-libm-test-out: Regenerated.
11703 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11705         [BZ #16759]
11706         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11707         (nscd_getnetgrent): Use it.
11709         [BZ #16760]
11710         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11711         of stpcpy.
11713 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11715         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11716         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11717         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11718         (lll_robust_unlock): Remove out of line section. Use cfi
11719         intrinsics.
11720         (LLL_STUB_UNWIND_INFO*): Remove.
11721         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11722         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11723         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11724         (lll_robust_unlock): Remove out of line section. Use cfi
11725         intrinsics.
11726         (LLL_STUB_UNWIND_INFO*): Remove.
11728 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11730         [BZ #16758]
11731         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11732         blank values.
11734 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11736         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11738 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11740         [BZ #16198]
11741         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11742         fnstenv.
11743         * math/test-fenv-preserve.c: New file.
11744         * math/Makefile (tests): Add test-fenv-preserve.
11746 2014-03-26  Will Newton <will.newton@linaro.org>
11748         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11750 2014-03-25  Roland McGrath  <roland@hack.frob.com>
11752         * scripts/versionlist.awk: Partition the version sets and emit all
11753         GLIBC_* (sorted) before all others (sorted).
11755 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11757         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11758         GLIBC_2.2.5 version.
11760 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11762         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11763         calls.
11765         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11766         previous change.
11768         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11770 2014-03-25  Andreas Schwab  <schwab@suse.de>
11772         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11773         label to be used after in6ailist is initialized.
11775 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11777         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11778         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11780 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11782         [BZ #16357]
11783         [BZ #16599]
11784         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11785         min_plus_half.
11786         (fp_formats): Update initializers.
11787         (init_fp_formats): Initialize new field.
11788         (output_for_one_input_case): Allow underflow for results up to
11789         min_plus_half.
11790         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11791         * math/auto-libm-test-in: Don't mark some underflows from asin and
11792         atanh as spurious.
11793         * math/auto-libm-test-out: Regenerated.
11794         * sysdeps/i386/fpu/libm-test-ulps: Update.
11795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11797 2014-03-25  Andreas Schwab  <schwab@suse.de>
11799         * libio/Makefile (tst-ftell-partial-wide-ENV)
11800         (tst-ftell-active-handler-ENV): Define.
11802 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
11804         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11806 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11808         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11810 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11812         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11813         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11814         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11816 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11818         [BZ #16634]
11819         * elf/dl-load.c (open_verify): Add mode parameter.
11820         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11821         (open_path): Change from boolean 'secure' to complete flag 'mode'
11822         (_dl_map_object): Adjust.
11823         * elf/Makefile (tests): Add tst-dlopen-aout.
11824         * elf/tst-dlopen-aout.c: New test.
11826 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
11828         [BZ #16714]
11829         * sysdeps/unix/sysv/linux/s390/bits/stat.h
11830         (struct stat): Rename member pad0 to __glibc_reserved0.
11832         [BZ #16712]
11833         * sysdeps/s390/s390-32/bits/wordsize.h
11834         (__WORDSIZE32_SIZE_ULONG): New define.
11835         * sysdeps/s390/s390-64/bits/wordsize.h
11836         (__WORDSIZE32_SIZE_ULONG): Likewise.
11837         * sysdeps/generic/stdint.h (SIZE_MAX):
11838         Define as UL if __WORDSIZE32_SIZE_ULONG.
11840         [BZ #16713]
11841         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11842         (__glibc_reserved0): New variable.
11843         (sa_flags): Change type to int.
11845         * posix/Makefile (before-compile): Use += before-compile instead
11846         of a :=.
11848         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11849         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11851 2014-03-20  Andreas Schwab  <schwab@suse.de>
11853         [BZ #16743]
11854         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11855         non-matching result from nscd.
11857 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11859         * scripts/bench.py: Moved to ...
11860         * benchtests/scripts/bench.py: ... here.
11861         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11863 2014-03-24  Andreas Schwab  <schwab@suse.de>
11865         [BZ #16002]
11866         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11867         alloca_account and account alloca use for struct in6ailist.
11869 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11871         [BZ #16284]
11872         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11873         rounding mode to recompute results that overflow to infinity or
11874         underflow to zero.
11875         * math/auto-libm-test-in: Don't mark tests as expected to fail for
11876         bug 16284.
11877         * math/auto-libm-test-out: Regenerated.
11878         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11879         (ccosh_test): Likewise.
11880         (csin_test_data): Use plus_oflow.
11881         (csin_test): Use ALL_RM_TEST.
11882         (csinh_test_data): Use plus_oflow.
11883         (csinh_test): Use ALL_RM_TEST.
11884         * sysdeps/i386/fpu/libm-test-ulps: Update.
11885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11887 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
11889         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11890         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11891         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11893         [BZ #16731]
11894         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11895         when x - 1 is zero.
11896         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11897         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11898         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11899         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11900         argument is 1.
11901         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11902         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11903         zero.
11904         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11905         * sysdeps/i386/fpu/libm-test-ulps: Update.
11906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11908 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11910         * scripts/bench.pl: Remove file.
11911         * scripts/bench.py: New benchmark script.
11912         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11913         * benchtests/README: Mention python dependency.
11914         * scripts/pylintrc: New file.
11915         * scripts/pylint: New file.
11917         * bits/mathdef.h: Use #ifdef instead of #if.
11918         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11919         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11920         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11921         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11922         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11923         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11925 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11926             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11928         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11930         and strpbrk-ppc64 objects.
11931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11932         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11933         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11934         multiarch strpbrk for POWER7.
11935         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11936         multiarch strpbrk for PPC64.
11937         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11938         ifunc selector.
11939         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11940         strpbrk for POWER7.
11942 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11944         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11945         (atan_test): Likewise.
11946         (atanh_test_data): Use NO_TEST_INLINE for two tests.
11947         (atanh_test): Use ALL_RM_TEST.
11948         (atan2_test_data): Likewise.
11949         (cabs_test): Likewise.
11950         (cacosh_test): Likewise.
11951         (carg_test): Likewise.
11952         (casin_test): Likewise.
11953         (casinh_test): Likewise.
11954         (cbrt_test): Likewise.
11955         (csqrt_test): Likewise.
11956         (erf_test): Likewise.
11957         (erfc_test): Likewise.
11958         (pow10_test): Likewise.
11959         (exp2_test): Likewise.
11960         (hypot_test): Likewise.
11961         (j0_test): Likewise.
11962         (j1_test): Likewise.
11963         (lgamma_test): Likewise.
11964         (gamma_test): Likewise.
11965         (sincos_test): Likewise.
11966         (tanh_test): Likewise.
11967         (y0_test): Likewise.
11968         (y1_test): Likewise.
11969         * sysdeps/i386/fpu/libm-test-ulps: Update.
11970         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11972 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11974         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11975         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11976         and strcspn-ppc64 objects.
11977         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11978         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11979         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11980         multiarch strcspn for POWER7.
11981         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11982         multiarch strcspn for PPC64.
11983         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11984         ifunc selector.
11985         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11986         strcspn for POWER7.
11988 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11990         * math/gen-libm-test.pl (generate_testfile): Expect only function
11991         name as argument to AUTO_TESTS_* and pass results for all rounding
11992         modes to parse_args.
11993         (parse_auto_input): Separate inputs of automatic tests from
11994         outputs before storing in %auto_tests.
11995         * math/libm-test.inc (acos_test_data): Update call to
11996         AUTO_TESTS_f_f.
11997         (acos_test): Use ALL_RM_TEST.
11998         (acos_tonearest_test_data): Remove.
11999         (acos_test_tonearest): Likewise.
12000         (acos_towardzero_test_data): Likewise.
12001         (acos_test_towardzero): Likewise.
12002         (acos_downward_test_data): Likewise.
12003         (acos_test_downward): Likewise.
12004         (acos_upward_test_data): Likewise.
12005         (acos_test_upward): Likewise.
12006         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12007         (asin_test_data): Likewise.
12008         (asin_test): Use ALL_RM_TEST.
12009         (asin_tonearest_test_data): Remove.
12010         (asin_test_tonearest): Likewise.
12011         (asin_towardzero_test_data): Likewise.
12012         (asin_test_towardzero): Likewise.
12013         (asin_downward_test_data): Likewise.
12014         (asin_test_downward): Likewise.
12015         (asin_upward_test_data): Likewise.
12016         (asin_test_upward): Likewise.
12017         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12018         (atan_test_data): Likewise.
12019         (atanh_test_data): Likewise.
12020         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12021         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12022         (carg_test_data): Likewise.
12023         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12024         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12025         (ccosh_test_data): Likewise.
12026         (cexp_test_data): Likewise.
12027         (clog_test_data): Likewise.
12028         (clog10_test_data): Likewise.
12029         (cos_test_data): Update call to AUTO_TESTS_f_f.
12030         (cos_test): Use ALL_RM_TEST.
12031         (cos_tonearest_test_data): Remove.
12032         (cos_test_tonearest): Likewise.
12033         (cos_towardzero_test_data): Likewise.
12034         (cos_test_towardzero): Likewise.
12035         (cos_downward_test_data): Likewise.
12036         (cos_test_downward): Likewise.
12037         (cos_upward_test_data): Likewise.
12038         (cos_test_upward): Likewise.
12039         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12040         (cosh_test): Use ALL_RM_TEST.
12041         (cosh_tonearest_test_data): Remove.
12042         (cosh_test_tonearest): Likewise.
12043         (cosh_towardzero_test_data): Likewise.
12044         (cosh_test_towardzero): Likewise.
12045         (cosh_downward_test_data): Likewise.
12046         (cosh_test_downward): Likewise.
12047         (cosh_upward_test_data): Likewise.
12048         (cosh_test_upward): Likewise.
12049         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12050         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12051         (ctan_test_data): Likewise.
12052         (ctan_test): Use ALL_RM_TEST.
12053         (ctan_tonearest_test_data): Remove.
12054         (ctan_test_tonearest): Likewise.
12055         (ctan_towardzero_test_data): Likewise.
12056         (ctan_test_towardzero): Likewise.
12057         (ctan_downward_test_data): Likewise.
12058         (ctan_test_downward): Likewise.
12059         (ctan_upward_test_data): Likewise.
12060         (ctan_test_upward): Likewise.
12061         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12062         (ctanh_test): Use ALL_RM_TEST.
12063         (ctanh_tonearest_test_data): Remove.
12064         (ctanh_test_tonearest): Likewise.
12065         (ctanh_towardzero_test_data): Likewise.
12066         (ctanh_test_towardzero): Likewise.
12067         (ctanh_downward_test_data): Likewise.
12068         (ctanh_test_downward): Likewise.
12069         (ctanh_upward_test_data): Likewise.
12070         (ctanh_test_upward): Likewise.
12071         (erf_test_data): Update call to AUTO_TESTS_f_f.
12072         (erfc_test_data): Likewise.
12073         (exp_test_data): Likewise.
12074         (exp_test): Use ALL_RM_TEST.
12075         (exp_tonearest_test_data): Remove.
12076         (exp_test_tonearest): Likewise.
12077         (exp_towardzero_test_data): Likewise.
12078         (exp_test_towardzero): Likewise.
12079         (exp_downward_test_data): Likewise.
12080         (exp_test_downward): Likewise.
12081         (exp_upward_test_data): Likewise.
12082         (exp_test_upward): Likewise.
12083         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12084         (exp10_test): Use ALL_RM_TEST.
12085         (exp10_tonearest_test_data): Remove.
12086         (exp10_test_tonearest): Likewise.
12087         (exp10_towardzero_test_data): Likewise.
12088         (exp10_test_towardzero): Likewise.
12089         (exp10_downward_test_data): Likewise.
12090         (exp10_test_downward): Likewise.
12091         (exp10_upward_test_data): Likewise.
12092         (exp10_test_upward): Likewise.
12093         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12094         (expm1_test_data): Likewise.
12095         (expm1_test): Use ALL_RM_TEST.
12096         (expm1_tonearest_test_data): Remove.
12097         (expm1_test_tonearest): Likewise.
12098         (expm1_towardzero_test_data): Likewise.
12099         (expm1_test_towardzero): Likewise.
12100         (expm1_downward_test_data): Likewise.
12101         (expm1_test_downward): Likewise.
12102         (expm1_upward_test_data): Likewise.
12103         (expm1_test_upward): Likewise.
12104         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12105         (fma_test): Use ALL_RM_TEST.
12106         (fma_towardzero_test_data): Remove.
12107         (fma_test_towardzero): Likewise.
12108         (fma_downward_test_data): Likewise.
12109         (fma_test_downward): Likewise.
12110         (fma_upward_test_data): Likewise.
12111         (fma_test_upward): Likewise.
12112         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12113         (j0_test_data): Update call to AUTO_TESTS_f_f.
12114         (j1_test_data): Likewise.
12115         (jn_test_data): Update call to AUTO_TESTS_if_f.
12116         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12117         (log_test_data): Update call to AUTO_TESTS_f_f.
12118         (log10_test_data): Likewise.
12119         (log1p_test_data): Likewise.
12120         (log2_test_data): Likewise.
12121         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12122         (pow_tonearest_test_data): Likewise.
12123         (sin_test_data): Update call to AUTO_TESTS_f_f.
12124         (sin_test): Use ALL_RM_TEST.
12125         (sin_tonearest_test_data): Remove.
12126         (sin_test_tonearest): Likewise.
12127         (sin_towardzero_test_data): Likewise.
12128         (sin_test_towardzero): Likewise.
12129         (sin_downward_test_data): Likewise.
12130         (sin_test_downward): Likewise.
12131         (sin_upward_test_data): Likewise.
12132         (sin_test_upward): Likewise.
12133         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12134         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12135         (sinh_test): Use ALL_RM_TEST.
12136         (sinh_tonearest_test_data): Remove.
12137         (sinh_test_tonearest): Likewise.
12138         (sinh_towardzero_test_data): Likewise.
12139         (sinh_test_towardzero): Likewise.
12140         (sinh_downward_test_data): Likewise.
12141         (sinh_test_downward): Likewise.
12142         (sinh_upward_test_data): Likewise.
12143         (sinh_test_upward): Likewise.
12144         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12145         (sqrt_test): Use ALL_RM_TEST.
12146         (sqrt_tonearest_test_data): Remove.
12147         (sqrt_test_tonearest): Likewise.
12148         (sqrt_towardzero_test_data): Likewise.
12149         (sqrt_test_towardzero): Likewise.
12150         (sqrt_downward_test_data): Likewise.
12151         (sqrt_test_downward): Likewise.
12152         (sqrt_upward_test_data): Likewise.
12153         (sqrt_test_upward): Likewise.
12154         (tan_test_data): Update call to AUTO_TESTS_f_f.
12155         (tan_test): Use ALL_RM_TEST.
12156         (tan_tonearest_test_data): Remove.
12157         (tan_test_tonearest): Likewise.
12158         (tan_towardzero_test_data): Likewise.
12159         (tan_test_towardzero): Likewise.
12160         (tan_downward_test_data): Likewise.
12161         (tan_test_downward): Likewise.
12162         (tan_upward_test_data): Likewise.
12163         (tan_test_upward): Likewise.
12164         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12165         (tgamma_test_data): Likewise.
12166         (y0_test_data): Likewise.
12167         (y1_test_data): Likewise.
12168         (yn_test_data): Update call to AUTO_TESTS_if_f.
12169         (main): Do not call removed functions.
12171 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12173         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12174         (ldexp_test_data): Remove.
12175         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12176         scalbn_test_data.
12177         (scalb_test): Use ALL_RM_TEST.
12179 2014-03-19  Andreas Schwab  <schwab@suse.de>
12181         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12183 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12185         [BZ #16649]
12186         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12187         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12188         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12189         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12190         (__ASSUME_PREADV): Undefine.
12191         (__ASSUME_PWRITEV): Likewise.
12193 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12195         * bits/mman-linux.h: Add comment about non-Linux use.
12196         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12197         bits/mman-linux.h resting place.
12199         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12200         * bits/mman-linux.h: ... here.
12202 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12204         * conform/conformtest.pl: Add standard definition when calling C
12205         preprocessor on data files.
12206         (checknamespace): Remove unused variable.
12208 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12210         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12211         minus_oflow, plus_uflow and minus_uflow in expected results.
12212         * math/libm-test.inc (scalbn_test_data): Add more tests of
12213         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12214         minus_uflow.
12215         (scalbn_test): Use ALL_RM_TEST.
12216         (scalbln_test_data): Add more tests of negative arguments.  Use
12217         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12218         (scalbln_test): Use ALL_RM_TEST.
12220 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12222         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12224 2014-03-18  Will Newton  <will.newton@linaro.org>
12226         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12227         inaccurate comment.
12229 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12231         * Makerules [!subdir] (check-abi): Exit with error status if a
12232         test failed.
12234 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12236         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12237         for rint.  Include results for all rounding modes.
12238         (nearbyint_test): Use ALL_RM_TEST.
12239         (rint_test_data): Include all tests used for nearbyint.
12241 2014-03-17  Will Newton  <will.newton@linaro.org>
12243         * nptl/sysdeps/pthread/pthread.h: Revert previous
12244         change.
12246         * sysdeps/generic/ldsodefs.h: Revert previous
12247         change.
12249         * libio/genops.c: Revert previous change.
12250         * libio/libioP.h: Likewise.
12251         * stdio-common/vfprintf.c: Likewise.
12253         * sysdeps/generic/math_private.h: Revert previous
12254         change.
12256         * sysdeps/generic/math_private.h: Check whether
12257         HAVE_RM_CTX is defined with #ifdef rather
12258         than #if.
12260         * argp/argp-fmtstream.h: Check whether
12261         __STRICT_ANSI__ is defined with #ifdef rather
12262         than #if.
12263         * argp/argp.h: Likewise.
12265         * libio/genops.c: Check whether
12266         _IO_JUMPS_OFFSET is defined with #ifdef rather
12267         than #if.
12268         * libio/libioP.h: Likewise.
12269         * stdio-common/vfprintf.c: Likewise.
12271         * sysdeps/generic/ldsodefs.h: Check whether
12272         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12273         than #if.
12275         * nptl/sysdeps/pthread/pthread.h: Check
12276         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12277         its value.
12279 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12281         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12282         setting O_APPEND.
12283         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12284         test case.
12286         [BZ #16680]
12287         * libio/fileops.c (_IO_file_open): Seek to end of file but
12288         don't cache the offset.
12289         (get_file_offset): Remove function.
12290         (do_ftell): Use cached offset when available.
12291         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12292         don't cache the offset.
12293         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12294         case.
12295         (do_one_test): Call it.
12296         (do_ftell_test): Fix up expected old offset for a+ mode.
12297         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12298         available.
12300         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12301         up test status with function return status.
12302         (do_write_test): Likewise.
12303         (do_append_test): Likewise.
12305         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12306         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12307         Remove.
12309 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12311         * math/gen-libm-test.pl (parse_args): Handle results specified for
12312         each rounding mode separately.
12313         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12314         tests and results from lrint_tonearest_test_data,
12315         lrint_towardzero_test_data, lrint_downward_test_data and
12316         lrint_upward_test_data.
12317         (lrint_test): Use ALL_RM_TEST.
12318         (lrint_tonearest_test_data): Remove.
12319         (lrint_test_tonearest): Likewise.
12320         (lrint_towardzero_test_data): Likewise.
12321         (lrint_test_towardzero): Likewise.
12322         (lrint_downward_test_data): Likewise.
12323         (lrint_test_downward): Likewise.
12324         (lrint_upward_test_data): Likewise.
12325         (lrint_test_upward): Likewise.
12326         (llrint_test_data): Merge in per-rounding-mode tests and results
12327         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12328         llrint_downward_test_data and llrint_upward_test_data.
12329         (llrint_test): Use ALL_RM_TEST.
12330         (llrint_tonearest_test_data): Remove.
12331         (llrint_test_tonearest): Likewise.
12332         (llrint_towardzero_test_data): Likewise.
12333         (llrint_test_towardzero): Likewise.
12334         (llrint_downward_test_data): Likewise.
12335         (llrint_test_downward): Likewise.
12336         (llrint_upward_test_data): Likewise.
12337         (llrint_test_upward): Likewise.
12338         (rint_test_data): Merge in per-rounding-mode tests and results
12339         from rint_tonearest_test_data, rint_towardzero_test_data,
12340         rint_downward_test_data and rint_upward_test_data.  Add
12341         per-rounding-mode results for tests not in those arrays.
12342         (rint_test): Use ALL_RM_TEST.
12343         (rint_tonearest_test_data): Remove.
12344         (rint_test_tonearest): Likewise.
12345         (rint_towardzero_test_data): Likewise.
12346         (rint_test_towardzero): Likewise.
12347         (rint_downward_test_data): Likewise.
12348         (rint_test_downward): Likewise.
12349         (rint_upward_test_data): Likewise.
12350         (rint_test_upward): Likewise.
12351         (main): Don't call removed functions.
12353 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12355         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12356         "Compiled on ..." crapola.  It is anti-useful.
12358 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12360         * scripts/evaluate-test.sh: Handle fourth argument to determine
12361         whether test run should stop on failure.
12362         * Makeconfig (stop-on-test-failure): New variable.
12363         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12364         $(stop-on-test-failure).
12365         * Makefile (tests): Give a summary of results from testing and
12366         exit with failure status if they include an ERROR or FAIL.
12367         (xtests): Likewise.
12368         * manual/install.texi (Configuring and compiling): Mention
12369         stop-on-test-failure=y.
12370         * INSTALL: Regenerated.
12372 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12374         * scripts/versionlist.awk: New file.
12375         * Makerules [$(build-shared) = yes]
12376         (postclean-generated): Add Versions.def, not Versions.def.v and
12377         Versions.def.v.i.
12378         ($(common-objpfx)Versions.def.v.i): Target removed.
12379         ($(common-objpfx)Versions.def): New target.
12380         ($(common-objpfx)Versions.all): Depend on that rather that
12381         $(common-objpfx)Versions.def.v.
12382         * Versions.def: File removed.
12384         * Makeconfig (+gccwarn): Add -Wundef.
12385         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12386         a dl-sysdep.h breaking its contract.
12387         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12388         * include/stackinfo.h: New file.
12389         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12390         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12391         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12392         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12393         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12394         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12395         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12396         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12397         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12398         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12399         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12400         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12401         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12402         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12403         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12405 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12407         [BZ #16707]
12408         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12409         implementation.
12410         * math/libm-test.inc (round_test_data): Add more tests.
12412         [BZ #16706]
12413         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12414         implementation.
12415         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12417         [BZ #16701]
12418         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12419         implementation.
12420         * math/libm-test.inc (ceil_test_data): Add more tests.
12422         * math/libm-test.inc (trunc_test_data): Add more tests related to
12423         BZ#16414.
12425 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12427         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12428         with #if rather than #ifdef.
12429         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12431 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12433         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12434         first.  Disable AVX-512 GCC support if assembler doesn't support
12435         it.
12436         * sysdeps/x86_64/configure: Regenerated.
12438 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12440         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12441         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12442         (__old_pthread_attr_setstack): Likewise.
12443         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12444         [!_STACK_GROWS_DOWN]: Likewise.
12446 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12448         * config.make.in (have-bash2): Delete.
12449         * configure.ac (libc_cv_have_bash2): Delete.
12450         * configure: Regenerate.
12451         * elf/Makefile (common-ldd-rewrite): Rename to ...
12452         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12453         (sh-ldd-rewrite): Delete.
12454         (bash-ldd-rewrite): Delete.
12455         (have-bash2): Delete checks.
12456         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12457         ldd-rewrite.
12459         * config.make.in (have-ksh): Delete.
12460         (KSH): Delete.
12461         * configure.ac (libc_cv_have_ksh): Delete.
12462         * configure: Regenerate.
12464         * elf/Makefile: Delete $(have-ksh) check.
12465         ($(objpfx)sotruss): Change KSH to BASH.
12466         * elf/sotruss.ksh: Rename to ...
12467         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12468         function style to match POSIX.  Drop ksh vim mode setting.
12470         * manual/time.texi (Specifying the Time Zone with TZ): Change
12471         Tuesday to Thursday.
12473         * debug/tst-longjmp_chk2.c: Update header comment.
12474         (stackoverflow_handler): Add comment.  Call assert on pass value.
12476 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12478         [BZ #16194]
12479         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12480         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12481         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12482         (La_x86_64_vector): Add zmm.
12483         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12484         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12485         ($(objpfx)tst-audit10): New target.
12486         ($(objpfx)tst-audit10.out): Likewise.
12487         (tst-audit10-ENV): New.
12488         (AVX512-CFLAGS): Likewise.
12489         (CFLAGS-tst-audit10.c): Likewise.
12490         (CFLAGS-tst-auditmod10a.c): Likewise.
12491         (CFLAGS-tst-auditmod10b.c): Likewise.
12492         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12493         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12494         * sysdeps/x86_64/configure: Regenerated.
12495         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12496         AVX-512 zmm register support.
12497         (_dl_x86_64_save_sse): Likewise.
12498         (_dl_x86_64_restore_sse): Likewise.
12499         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12500         size vector registers.
12501         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12502         (ZMM_SIZE): Likewise.
12503         * sysdeps/x86_64/tst-audit10.c: New file.
12504         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12505         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12507 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12509         * configure.ac (HAVE_EHDR_START): New check.
12510         * configure: Regenerated.
12511         * config.h.in (HAVE_EHDR_START): New #undef.
12512         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12513         assuming the lowest-addressed segment maps the start of the file.
12515 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12517         * INSTALL: Regenerated.
12519 2014-03-13  Will Newton  <will.newton@linaro.org>
12521         * manual/setjmp.texi (System V contexts): Improve
12522         clarity and grammar of documentation.
12524 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12526         [BZ #16381]
12527         * elf/Makefile (tests): Add tst-pie2.
12528         (tests-pie): Add tst-pie2.
12529         * elf/tst-pie2.c: New file.
12530         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12531         for ET_EXEC.
12532         * elf/rtld.c (map_doit): Load executable as lt_executable.
12533         (dl_main): Likewise.
12535 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12537         [BZ #16642]
12538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12539         (__ASSUME_PSELECT): Undefine.
12541 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12543         [BZ #16689]
12544         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12545         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12546         static build.
12547         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12548         selector for static builds.
12550 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12552         [BZ #16695]
12553         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12554         key in the buffer.
12556 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12558         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12559         IFUNC selector for static builds.
12561 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12563         * sysdeps/mips/math_private.h [__mips_hard_float]
12564         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12565         libc_feresetround_mips_ctx.
12566         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12567         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12568         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12570         [BZ #16677]
12571         * math/s_nextafter.c (__nextafter): Do not return value from
12572         overflowing computation.
12573         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12574         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12575         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12576         Likewise.
12577         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12578         Likewise.
12579         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12580         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12582 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12584         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12585         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12586         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12587         the new mov targetting sp.
12589 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12591         [BZ #16683]
12592         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12593         Define it for static builds as well.
12594         (NO_BZERO_IMPL): Likewise.
12596 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12598         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12599         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12600         multiarch strspn for PPC64.
12601         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12602         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12604         (__libc_ifunc_impl_list): Likewise.
12605         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12606         multiarch optimizations
12607         * string/strspn.c (strspn): Using macro to redefine symbol name.
12609 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12610             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12612         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12613         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12614         multiarch strncat for PPC64.
12615         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12616         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12618         (__libc_ifunc_impl_list): Likewise.
12619         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12620         multiarch optimizations
12622 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12624         [BZ #16639]
12625         * nscd/nscd.service: Make service type forking.
12627 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12629         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12630         sign in non default rounding modes.
12631         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12633 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12635         * math/libm-test.inc (ALL_RM_TEST): New macro.
12636         (ceil_test): Use ALL_RM_TEST.
12637         (cimag_test): Likewise.
12638         (conj_test): Likewise.
12639         (copysign_test): Likewise.
12640         (cproj_test): Likewise.
12641         (creal_test): Likewise.
12642         (fabs_test): Likewise.
12643         (floor_test): Likewise.
12644         (fmax_test): Likewise.
12645         (fmin_test): Likewise.
12646         (fmod_test): Likewise.
12647         (fpclassify_test): Likewise.
12648         (frexp_test): Likewise.
12649         (ilogb_test): Likewise.
12650         (isfinite_test): Likewise.
12651         (finite_test): Likewise.
12652         (isgreater_test): Likewise.
12653         (isgreaterequal_test): Likewise.
12654         (isinf_test): Likewise.
12655         (isless_test): Likewise.
12656         (islessequal_test): Likewise.
12657         (islessgreater_test): Likewise.
12658         (isnan_test): Likewise.
12659         (isnormal_test): Likewise.
12660         (issignaling_test): Likewise.
12661         (isunordered_test): Likewise.
12662         (logb_test): Likewise.
12663         (logb_downward_test_data): Remove.
12664         (logb_test_downward): Likewise.
12665         (lround_test): Use ALL_RM_TEST.
12666         (llround_test): Likewise.
12667         (modf_test): Likewise.
12668         (nexttoward_test): Likewise.
12669         (remainder_test): Likewise.
12670         (drem_test): Likewise.
12671         (remainder_tonearest_test_data): Likewise.
12672         (remainder_test_tonearest): Likewise.
12673         (drem_test_tonearest): Likewise.
12674         (remainder_towardzero_test_data): Likewise.
12675         (remainder_test_towardzero): Likewise.
12676         (drem_test_towardzero): Likewise.
12677         (remainder_downward_test_data): Likewise.
12678         (remainder_test_downward): Likewise.
12679         (drem_test_downward): Likewise.
12680         (remainder_upward_test_data): Likewise.
12681         (remainder_test_upward): Likewise.
12682         (drem_test_upward): Likewise.
12683         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12684         (round_test): Use ALL_RM_TEST.
12685         (signbit_test): Likewise.
12686         (trunc_test): Likewise.
12687         (significand_test): Likewise.
12688         (main): Don't call removed functions.
12690 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12692         [BZ #16674]
12693         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12694         || __USE_XOPEN2K8].
12695         (ILL_ILLOPN): Likewise.
12696         (ILL_ILLADR): Likewise.
12697         (ILL_ILLTRP): Likewise.
12698         (ILL_PRVOPC): Likewise.
12699         (ILL_PRVREG): Likewise.
12700         (ILL_COPROC): Likewise.
12701         (ILL_BADSTK): Likewise.
12702         (FPE_INTDIV): Likewise.
12703         (FPE_INTOVF): Likewise.
12704         (FPE_FLTDIV): Likewise.
12705         (FPE_FLTOVF): Likewise.
12706         (FPE_FLTUND): Likewise.
12707         (FPE_FLTRES): Likewise.
12708         (FPE_FLTINV): Likewise.
12709         (FPE_FLTSUB): Likewise.
12710         (SEGV_MAPERR): Likewise.
12711         (SEGV_ACCERR): Likewise.
12712         (BUS_ADRALN): Likewise.
12713         (BUS_ADRERR): Likewise.
12714         (BUS_OBJERR): Likewise.
12715         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12716         (TRAP_TRACE): Likewise.
12717         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12718         __USE_XOPEN2K8].
12719         (CLD_KILLED): Likewise.
12720         (CLD_DUMPED): Likewise.
12721         (CLD_TRAPPED): Likewise.
12722         (CLD_STOPPED): Likewise.
12723         (CLD_CONTINUED): Likewise.
12724         (POLL_IN): Likewise.
12725         (POLL_OUT): Likewise.
12726         (POLL_MSG): Likewise.
12727         (POLL_ERR): Likewise.
12728         (POLL_PRI): Likewise.
12729         (POLL_HUP): Likewise.
12730         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12731         Likewise.
12732         (ILL_ILLOPN): Likewise.
12733         (ILL_ILLADR): Likewise.
12734         (ILL_ILLTRP): Likewise.
12735         (ILL_PRVOPC): Likewise.
12736         (ILL_PRVREG): Likewise.
12737         (ILL_COPROC): Likewise.
12738         (ILL_BADSTK): Likewise.
12739         (FPE_INTDIV): Likewise.
12740         (FPE_INTOVF): Likewise.
12741         (FPE_FLTDIV): Likewise.
12742         (FPE_FLTOVF): Likewise.
12743         (FPE_FLTUND): Likewise.
12744         (FPE_FLTRES): Likewise.
12745         (FPE_FLTINV): Likewise.
12746         (FPE_FLTSUB): Likewise.
12747         (SEGV_MAPERR): Likewise.
12748         (SEGV_ACCERR): Likewise.
12749         (BUS_ADRALN): Likewise.
12750         (BUS_ADRERR): Likewise.
12751         (BUS_OBJERR): Likewise.
12752         (BUS_MCEERR_AR): Likewise.
12753         (BUS_MCEERR_AO): Likewise.
12754         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12755         (TRAP_TRACE): Likewise.
12756         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12757         __USE_XOPEN2K8].
12758         (CLD_KILLED): Likewise.
12759         (CLD_DUMPED): Likewise.
12760         (CLD_TRAPPED): Likewise.
12761         (CLD_STOPPED): Likewise.
12762         (CLD_CONTINUED): Likewise.
12763         (POLL_IN): Likewise.
12764         (POLL_OUT): Likewise.
12765         (POLL_MSG): Likewise.
12766         (POLL_ERR): Likewise.
12767         (POLL_PRI): Likewise.
12768         (POLL_HUP): Likewise.
12769         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12770         (ILL_ILLOPN): Likewise.
12771         (ILL_ILLADR): Likewise.
12772         (ILL_ILLTRP): Likewise.
12773         (ILL_PRVOPC): Likewise.
12774         (ILL_PRVREG): Likewise.
12775         (ILL_COPROC): Likewise.
12776         (ILL_BADSTK): Likewise.
12777         (FPE_INTDIV): Likewise.
12778         (FPE_INTOVF): Likewise.
12779         (FPE_FLTDIV): Likewise.
12780         (FPE_FLTOVF): Likewise.
12781         (FPE_FLTUND): Likewise.
12782         (FPE_FLTRES): Likewise.
12783         (FPE_FLTINV): Likewise.
12784         (FPE_FLTSUB): Likewise.
12785         (SEGV_MAPERR): Likewise.
12786         (SEGV_ACCERR): Likewise.
12787         (BUS_ADRALN): Likewise.
12788         (BUS_ADRERR): Likewise.
12789         (BUS_OBJERR): Likewise.
12790         (BUS_MCEERR_AR): Likewise.
12791         (BUS_MCEERR_AO): Likewise.
12792         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12793         (TRAP_TRACE): Likewise.
12794         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12795         __USE_XOPEN2K8].
12796         (CLD_KILLED): Likewise.
12797         (CLD_DUMPED): Likewise.
12798         (CLD_TRAPPED): Likewise.
12799         (CLD_STOPPED): Likewise.
12800         (CLD_CONTINUED): Likewise.
12801         (POLL_IN): Likewise.
12802         (POLL_OUT): Likewise.
12803         (POLL_MSG): Likewise.
12804         (POLL_ERR): Likewise.
12805         (POLL_PRI): Likewise.
12806         (POLL_HUP): Likewise.
12807         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12808         Likewise.
12809         (ILL_ILLOPN): Likewise.
12810         (ILL_ILLADR): Likewise.
12811         (ILL_ILLTRP): Likewise.
12812         (ILL_PRVOPC): Likewise.
12813         (ILL_PRVREG): Likewise.
12814         (ILL_COPROC): Likewise.
12815         (ILL_BADSTK): Likewise.
12816         (ILL_BADIADDR): Likewise.
12817         (ILL_BREAK): Likewise.
12818         (FPE_INTDIV): Likewise.
12819         (FPE_INTOVF): Likewise.
12820         (FPE_FLTDIV): Likewise.
12821         (FPE_FLTOVF): Likewise.
12822         (FPE_FLTUND): Likewise.
12823         (FPE_FLTRES): Likewise.
12824         (FPE_FLTINV): Likewise.
12825         (FPE_FLTSUB): Likewise.
12826         (FPE_DECOVF): Likewise.
12827         (FPE_DECDIV): Likewise.
12828         (FPE_DECERR): Likewise.
12829         (FPE_INVASC): Likewise.
12830         (FPE_INVDEC): Likewise.
12831         (SEGV_MAPERR): Likewise.
12832         (SEGV_ACCERR): Likewise.
12833         (SEGV_PSTKOVF): Likewise.
12834         (BUS_ADRALN): Likewise.
12835         (BUS_ADRERR): Likewise.
12836         (BUS_OBJERR): Likewise.
12837         (BUS_MCEERR_AR): Likewise.
12838         (BUS_MCEERR_AO): Likewise.
12839         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12840         (TRAP_TRACE): Likewise.
12841         (TRAP_BRANCH): Likewise.
12842         (TRAP_HWBKPT): Likewise.
12843         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12844         __USE_XOPEN2K8].
12845         (CLD_KILLED): Likewise.
12846         (CLD_DUMPED): Likewise.
12847         (CLD_TRAPPED): Likewise.
12848         (CLD_STOPPED): Likewise.
12849         (CLD_CONTINUED): Likewise.
12850         (POLL_IN): Likewise.
12851         (POLL_OUT): Likewise.
12852         (POLL_MSG): Likewise.
12853         (POLL_ERR): Likewise.
12854         (POLL_PRI): Likewise.
12855         (POLL_HUP): Likewise.
12856         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12857         (ILL_ILLOPN): Likewise.
12858         (ILL_ILLADR): Likewise.
12859         (ILL_ILLTRP): Likewise.
12860         (ILL_PRVOPC): Likewise.
12861         (ILL_PRVREG): Likewise.
12862         (ILL_COPROC): Likewise.
12863         (ILL_BADSTK): Likewise.
12864         (FPE_INTDIV): Likewise.
12865         (FPE_INTOVF): Likewise.
12866         (FPE_FLTDIV): Likewise.
12867         (FPE_FLTOVF): Likewise.
12868         (FPE_FLTUND): Likewise.
12869         (FPE_FLTRES): Likewise.
12870         (FPE_FLTINV): Likewise.
12871         (FPE_FLTSUB): Likewise.
12872         (SEGV_MAPERR): Likewise.
12873         (SEGV_ACCERR): Likewise.
12874         (BUS_ADRALN): Likewise.
12875         (BUS_ADRERR): Likewise.
12876         (BUS_OBJERR): Likewise.
12877         (BUS_MCEERR_AR): Likewise.
12878         (BUS_MCEERR_AO): Likewise.
12879         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12880         (TRAP_TRACE): Likewise.
12881         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12882         __USE_XOPEN2K8].
12883         (CLD_KILLED): Likewise.
12884         (CLD_DUMPED): Likewise.
12885         (CLD_TRAPPED): Likewise.
12886         (CLD_STOPPED): Likewise.
12887         (CLD_CONTINUED): Likewise.
12888         (POLL_IN): Likewise.
12889         (POLL_OUT): Likewise.
12890         (POLL_MSG): Likewise.
12891         (POLL_ERR): Likewise.
12892         (POLL_PRI): Likewise.
12893         (POLL_HUP): Likewise.
12894         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12895         (ILL_ILLOPN): Likewise.
12896         (ILL_ILLADR): Likewise.
12897         (ILL_ILLTRP): Likewise.
12898         (ILL_PRVOPC): Likewise.
12899         (ILL_PRVREG): Likewise.
12900         (ILL_COPROC): Likewise.
12901         (ILL_BADSTK): Likewise.
12902         (FPE_INTDIV): Likewise.
12903         (FPE_INTOVF): Likewise.
12904         (FPE_FLTDIV): Likewise.
12905         (FPE_FLTOVF): Likewise.
12906         (FPE_FLTUND): Likewise.
12907         (FPE_FLTRES): Likewise.
12908         (FPE_FLTINV): Likewise.
12909         (FPE_FLTSUB): Likewise.
12910         (SEGV_MAPERR): Likewise.
12911         (SEGV_ACCERR): Likewise.
12912         (BUS_ADRALN): Likewise.
12913         (BUS_ADRERR): Likewise.
12914         (BUS_OBJERR): Likewise.
12915         (BUS_MCEERR_AR): Likewise.
12916         (BUS_MCEERR_AO): Likewise.
12917         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12918         (TRAP_TRACE): Likewise.
12919         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12920         __USE_XOPEN2K8].
12921         (CLD_KILLED): Likewise.
12922         (CLD_DUMPED): Likewise.
12923         (CLD_TRAPPED): Likewise.
12924         (CLD_STOPPED): Likewise.
12925         (CLD_CONTINUED): Likewise.
12926         (POLL_IN): Likewise.
12927         (POLL_OUT): Likewise.
12928         (POLL_MSG): Likewise.
12929         (POLL_ERR): Likewise.
12930         (POLL_PRI): Likewise.
12931         (POLL_HUP): Likewise.
12932         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12933         (ILL_ILLOPN): Likewise.
12934         (ILL_ILLADR): Likewise.
12935         (ILL_ILLTRP): Likewise.
12936         (ILL_PRVOPC): Likewise.
12937         (ILL_PRVREG): Likewise.
12938         (ILL_COPROC): Likewise.
12939         (ILL_BADSTK): Likewise.
12940         (FPE_INTDIV): Likewise.
12941         (FPE_INTOVF): Likewise.
12942         (FPE_FLTDIV): Likewise.
12943         (FPE_FLTOVF): Likewise.
12944         (FPE_FLTUND): Likewise.
12945         (FPE_FLTRES): Likewise.
12946         (FPE_FLTINV): Likewise.
12947         (FPE_FLTSUB): Likewise.
12948         (SEGV_MAPERR): Likewise.
12949         (SEGV_ACCERR): Likewise.
12950         (BUS_ADRALN): Likewise.
12951         (BUS_ADRERR): Likewise.
12952         (BUS_OBJERR): Likewise.
12953         (BUS_MCEERR_AR): Likewise.
12954         (BUS_MCEERR_AO): Likewise.
12955         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12956         (TRAP_TRACE): Likewise.
12957         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12958         __USE_XOPEN2K8].
12959         (CLD_KILLED): Likewise.
12960         (CLD_DUMPED): Likewise.
12961         (CLD_TRAPPED): Likewise.
12962         (CLD_STOPPED): Likewise.
12963         (CLD_CONTINUED): Likewise.
12964         (POLL_IN): Likewise.
12965         (POLL_OUT): Likewise.
12966         (POLL_MSG): Likewise.
12967         (POLL_ERR): Likewise.
12968         (POLL_PRI): Likewise.
12969         (POLL_HUP): Likewise.
12970         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12971         (ILL_ILLOPN): Likewise.
12972         (ILL_ILLADR): Likewise.
12973         (ILL_ILLTRP): Likewise.
12974         (ILL_PRVOPC): Likewise.
12975         (ILL_PRVREG): Likewise.
12976         (ILL_COPROC): Likewise.
12977         (ILL_BADSTK): Likewise.
12978         (ILL_DBLFLT): Likewise.
12979         (ILL_HARDWALL): Likewise.
12980         (FPE_INTDIV): Likewise.
12981         (FPE_INTOVF): Likewise.
12982         (FPE_FLTDIV): Likewise.
12983         (FPE_FLTOVF): Likewise.
12984         (FPE_FLTUND): Likewise.
12985         (FPE_FLTRES): Likewise.
12986         (FPE_FLTINV): Likewise.
12987         (FPE_FLTSUB): Likewise.
12988         (SEGV_MAPERR): Likewise.
12989         (SEGV_ACCERR): Likewise.
12990         (BUS_ADRALN): Likewise.
12991         (BUS_ADRERR): Likewise.
12992         (BUS_OBJERR): Likewise.
12993         (BUS_MCEERR_AR): Likewise.
12994         (BUS_MCEERR_AO): Likewise.
12995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12996         (TRAP_TRACE): Likewise.
12997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12998         __USE_XOPEN2K8].
12999         (CLD_KILLED): Likewise.
13000         (CLD_DUMPED): Likewise.
13001         (CLD_TRAPPED): Likewise.
13002         (CLD_STOPPED): Likewise.
13003         (CLD_CONTINUED): Likewise.
13004         (POLL_IN): Likewise.
13005         (POLL_OUT): Likewise.
13006         (POLL_MSG): Likewise.
13007         (POLL_ERR): Likewise.
13008         (POLL_PRI): Likewise.
13009         (POLL_HUP): Likewise.
13010         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13011         (ILL_ILLOPN): Likewise.
13012         (ILL_ILLADR): Likewise.
13013         (ILL_ILLTRP): Likewise.
13014         (ILL_PRVOPC): Likewise.
13015         (ILL_PRVREG): Likewise.
13016         (ILL_COPROC): Likewise.
13017         (ILL_BADSTK): Likewise.
13018         (FPE_INTDIV): Likewise.
13019         (FPE_INTOVF): Likewise.
13020         (FPE_FLTDIV): Likewise.
13021         (FPE_FLTOVF): Likewise.
13022         (FPE_FLTUND): Likewise.
13023         (FPE_FLTRES): Likewise.
13024         (FPE_FLTINV): Likewise.
13025         (FPE_FLTSUB): Likewise.
13026         (SEGV_MAPERR): Likewise.
13027         (SEGV_ACCERR): Likewise.
13028         (BUS_ADRALN): Likewise.
13029         (BUS_ADRERR): Likewise.
13030         (BUS_OBJERR): Likewise.
13031         (BUS_MCEERR_AR): Likewise.
13032         (BUS_MCEERR_AO): Likewise.
13033         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13034         (TRAP_TRACE): Likewise.
13035         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13036         __USE_XOPEN2K8].
13037         (CLD_KILLED): Likewise.
13038         (CLD_DUMPED): Likewise.
13039         (CLD_TRAPPED): Likewise.
13040         (CLD_STOPPED): Likewise.
13041         (CLD_CONTINUED): Likewise.
13042         (POLL_IN): Likewise.
13043         (POLL_OUT): Likewise.
13044         (POLL_MSG): Likewise.
13045         (POLL_ERR): Likewise.
13046         (POLL_PRI): Likewise.
13047         (POLL_HUP): Likewise.
13048         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13049         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13051         [BZ #16670]
13052         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13053         before #include of <time.h>.
13054         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13055         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13056         (test-xfail-UNIX98/sched.h/conform): Likewise.
13058 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13060         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13061         error absence of trapping exception support.
13062         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13064 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13066         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13067         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13068         * timezone/Makefile (testdata): Move definition above include of
13069         Rules.
13070         (test-zones): New variable.
13071         (tests-special): Add zone files.
13072         (build-testdata): Use $(evaluate-test).
13074         * elf/Makefile (tests-special): Rename tests to end with .out.
13075         ($(objpfx)noload-mem): Likewise.
13076         ($(objpfx)tst-leaks1-mem): Likewise.
13077         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13078         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13079         $(objpfx)test-iconvconfig.out.
13080         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13081         set -e inside subshell and redirect output to file.
13082         * iconvdata/Makefile (generated): Rename tests to end with .out.
13083         Correct type.
13084         (tests-special): Rename tests to end with .out.
13085         ($(objpfx)mtrace-tst-loading): Likewise.
13086         * intl/Makefile (generated): Likewise.
13087         (tests-special): Likewise.
13088         ($(objpfx)mtrace-tst-gettext): Likewise.
13089         * misc/Makefile (generated): Likewise.
13090         (tests-special): Likewise.
13091         ($(objpfx)tst-error1-mem): Likewise.
13092         * nptl/Makefile (tests-special): Likewise.
13093         ($(objpfx)tst-stack3-mem): Likewise.
13094         (generated): Likewise.
13095         * posix/Makefile (generated): Likewise.
13096         (tests-special): Likewise.
13097         (xtests-special): Likewise.
13098         ($(objpfx)tst-fnmatch-mem): Likewise.
13099         ($(objpfx)bug-regex2-mem): Likewise.
13100         ($(objpfx)bug-regex14-mem): Likewise.
13101         ($(objpfx)bug-regex21-mem): Likewise.
13102         ($(objpfx)bug-regex31-mem): Likewise.
13103         ($(objpfx)tst-vfork3-mem): Likewise.
13104         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13105         ($(objpfx)tst-pcre-mem): Likewise.
13106         ($(objpfx)tst-boost-mem): Likewise.
13107         ($(objpfx)bug-ga2-mem): Likewise.
13108         ($(objpfx)bug-glob2-mem): Likewise.
13109         * resolv/Makefile (generate): Likewise.
13110         (tests-special): Likewise.
13111         (xtests-special): Likewise.
13112         (generated): Likewise.
13113         ($(objpfx)mtrace-tst-leaks): Likewise.
13114         ($(objpfx)mtrace-tst-leaks2): Likewise.
13116         * scripts/merge-test-results.sh: New file.
13117         * Makefile (tests-special-notdir): New variable.
13118         (tests): Run merge-test-results.sh.
13119         (xtests): Likewise.
13120         * Rules (tests-special-notdir): New variable.
13121         (xtests-special-notdir): Likewise.
13122         (tests): Run merge-test-results.sh
13123         (xtests): Likewise.
13125         * Makeconfig (test-xfail-name): New variable.
13126         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13127         compute variable name for expected failures.
13128         * conform/Makefile (conformtest-headers-data): New variable.
13129         (conformtest-standards): Likewise.
13130         (conformtest-headers-ISO): Likewise.
13131         (conformtest-headers-ISO99): Likewise.
13132         (conformtest-headers-ISO11): Likewise.
13133         (conformtest-headers-POSIX): Likewise.
13134         (conformtest-headers-XPG3): Likewise.
13135         (conformtest-headers-XPG4): Likewise.
13136         (conformtest-headers-UNIX98): Likewise.
13137         (conformtest-headers-XOPEN2K): Likewise.
13138         (conformtest-headers-POSIX2008): Likewise.
13139         (conformtest-headers-XOPEN2K8): Likewise.
13140         (conformtest-header-list-base): Likewise.
13141         (conformtest-header-list-tests): Likewise.
13142         (conformtest-header-base): Likewise.
13143         (conformtest-header-tests): Likewise.
13144         (tests-special): Add $(conformtest-header-list-tests).  If
13145         [$(fast-check) && !$(cross-compiling)], add
13146         $(conformtest-header-tests) instead of
13147         $(objpfx)run-conformtest.out.
13148         (generated): Add $(conformtest-header-list-base).  If
13149         [$(fast-check) && !$(cross-compiling)], add
13150         $(conformtest-header-base).  Remove previous setting.
13151         ($(conformtest-header-list-tests)): New target.
13152         (test-xfail-run-conformtest): Remove variable.
13153         ($(objpfx)run-conformtest.out): Remove target.
13154         (test-xfail-ISO11/complex.h/conform): New variable.
13155         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13156         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13157         (test-xfail-XPG3/varargs.h/conform): Likewise.
13158         (test-xfail-XPG4/varargs.h/conform): Likewise.
13159         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13160         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13161         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13162         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13163         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13164         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13165         (test-xfail-XPG3/ftw.h/conform): Likewise.
13166         (test-xfail-XPG3/grp.h/conform): Likewise.
13167         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13168         (test-xfail-XPG3/limits.h/conform): Likewise.
13169         (test-xfail-XPG3/pwd.h/conform): Likewise.
13170         (test-xfail-XPG3/search.h/conform): Likewise.
13171         (test-xfail-XPG3/signal.h/conform): Likewise.
13172         (test-xfail-XPG3/stdio.h/conform): Likewise.
13173         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13174         (test-xfail-XPG3/string.h/conform): Likewise.
13175         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13176         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13177         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13178         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13179         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13180         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13181         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13182         (test-xfail-XPG3/termios.h/conform): Likewise.
13183         (test-xfail-XPG3/time.h/conform): Likewise.
13184         (test-xfail-XPG3/unistd.h/conform): Likewise.
13185         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13186         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13187         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13188         (test-xfail-XPG4/netdb.h/conform): Likewise.
13189         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13190         (test-xfail-XPG4/signal.h/conform): Likewise.
13191         (test-xfail-XPG4/stdio.h/conform): Likewise.
13192         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13193         (test-xfail-XPG4/stropts.h/conform): Likewise.
13194         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13195         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13196         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13197         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13198         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13199         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13200         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13201         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13202         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13203         (test-xfail-XPG4/termios.h/conform): Likewise.
13204         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13205         (test-xfail-XPG4/unistd.h/conform): Likewise.
13206         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13207         (test-xfail-POSIX/sched.h/conform): Likewise.
13208         (test-xfail-POSIX/signal.h/conform): Likewise.
13209         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13210         (test-xfail-POSIX/tar.h/conform): Likewise.
13211         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13212         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13213         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13214         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13215         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13216         (test-xfail-UNIX98/sched.h/conform): Likewise.
13217         (test-xfail-UNIX98/signal.h/conform): Likewise.
13218         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13219         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13220         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13221         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13222         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13223         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13224         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13225         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13226         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13227         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13228         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13229         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13230         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13231         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13232         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13233         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13234         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13235         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13236         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13237         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13238         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13239         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13240         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13241         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13242         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13243         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13244         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13245         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13246         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13247         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13248         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13249         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13250         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13251         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13252         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13253         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13254         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13255         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13256         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13257         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13258         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13259         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13260         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13261         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13262         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13263         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13264         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13265         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13266         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13267         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13268         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13269         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13270         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13271         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13272         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13273         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13274         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13275         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13276         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13277         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13278         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13279         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13280         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13281         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13282         (conformtest-cc-flags): Likewise.
13283         ($(conformtest-header-tests): New target.
13284         * conform/check-header-lists.sh: New file.
13285         * conform/run-conformtest.sh: Remove.
13287         * conform/conformtest.pl: Allow ' and \ in values given for
13288         constants.
13289         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13290         inclusion.
13291         [POSIX] (sys/types.h): Likewise.
13292         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13293         inclusion.
13294         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13295         inclusion.
13296         * conform/data/signal.h-data (SIGIO): Remove expectation.
13297         [XPG3] (SIGBUS): Do not expect.
13298         [POSIX || XPG3] (SIGPOLL): Likewise.
13299         [POSIX || XPG3] (SIGPROF): Likewise.
13300         [POSIX || XPG3] (SIGSYS): Likewise.
13301         [XPG3] (SIGTRAP): Likewise.
13302         [POSIX || XPG3] (SIGURG): Likewise.
13303         [POSIX || XPG3] (SIGVTALRM): Likewise.
13304         [POSIX || XPG3] (SIGXCPU): Likewise.
13305         [POSIX || XPG3] (SIGXFSZ): Likewise.
13306         [POSIX] (SA_SIGINFO): Expect.
13307         [XPG3] (siginfo_t): Do not expect type or contents.
13308         [POSIX] (si_pid): Do not expect element.
13309         [POSIX] (si_uid): Likewise.
13310         [POSIX] (si_addr): Likewise.
13311         [POSIX] (si_status): Likewise.
13312         [POSIX] (si_band): Likewise.
13313         [XPG4] (si_value): Likewise.
13314         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13315         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13316         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13317         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13318         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13319         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13320         [POSIX || XPG3] (ILL_COPROC): Likewise.
13321         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13322         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13323         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13324         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13325         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13326         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13327         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13328         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13329         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13330         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13331         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13332         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13333         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13334         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13335         [POSIX || XPG3] (CLD_EXITED): Likewise.
13336         [POSIX || XPG3] (CLD_KILLED): Likewise.
13337         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13338         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13339         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13340         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13341         [POSIX || XPG3] (POLL_IN): Likewise.
13342         [POSIX || XPG3] (POLL_OUT): Likewise.
13343         [POSIX || XPG3] (POLL_MSG): Likewise.
13344         [POSIX || XPG3] (POLL_ERR): Likewise.
13345         [POSIX || XPG3] (POLL_PRI): Likewise.
13346         [POSIX || XPG3] (POLL_HUP): Likewise.
13347         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13348         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13349         (SIG*): Do not allow.
13350         [XPG3] (si_*): Likewise.
13351         [XPG3] (SI_*): Likewise.
13352         [XPG3 || XPG4] (sigev_*): Likewise.
13353         [XPG3 || XPG4] (SIGEV_*): Likewise.
13354         [XPG3 || XPG4] (sival_*): Likewise.
13355         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13356         [POSIX || XPG3] (BUS_*): Likewise.
13357         [POSIX || XPG3] (CLD_*): Likewise.
13358         [POSIX || XPG3] (FPE_*): Likewise.
13359         [POSIX || XPG3] (ILL_*): Likewise.
13360         [POSIX || XPG3] (POLL_*): Likewise.
13361         [POSIX || XPG3] (SEGV_*): Likewise.
13362         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13363         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13364         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13365         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13366         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13367         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13368         Specify type and value.
13369         (TVERSLEN): Likewise.
13370         (REGTYPE): Likewise.
13371         (AREGTYPE): Likewise.
13372         (LNKTYPE): Likewise.
13373         (SYMTYPE): Likewise.
13374         (CHRTYPE): Likewise.
13375         (BLKTYPE): Likewise.
13376         (DIRTYPE): Likewise.
13377         (FIFOTYPE): Likewise.
13378         (CONTTYPE): Likewise.
13379         (TSUID): Likewise.
13380         (TSGID): Likewise.
13381         (TSVTX): Likewise.
13382         (TUREAD): Likewise.
13383         (TUWRITE): Likewise.
13384         (TUEXEC): Likewise.
13385         (TGREAD): Likewise.
13386         (TGWRITE): Likewise.
13387         (TGEXEC): Likewise.
13388         (TOREAD): Likewise.
13389         (TOWRITE): Likewise.
13390         (TOEXEC): Likewise.
13391         [POSIX] (TSVTX): Expect constant.
13393 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13395         * Makefile (tests): Change dependencies to ....
13396         (tests-special): ... additions to this variable.
13397         (tests): Depend on $(tests-special).
13398         * Makerules (check-abi-list): New variable.
13399         (check-abi): Depend on $(check-abi-list).
13400         [$(subdir) = elf] (tests-special): Add
13401         $(objpfx)check-abi-libc.out.
13402         [$(build-shared) = yes && subdir] (tests-special): Add
13403         $(check-abi-list).
13404         [$(build-shared) = yes && subdir] (tests): Do not depend on
13405         check-abi.
13406         * Rules (tests): Depend on $(tests-special).
13407         (xtests): Depend on $(xtests-special).
13408         * catgets/Makefile (tests): Change dependencies to ....
13409         (tests-special): ... additions to this variable.
13410         * conform/Makefile (tests): Change dependencies to ....
13411         (tests-special): ... additions to this variable.
13412         * elf/Makefile (tests): Change dependencies to ....
13413         (tests-special): ... additions to this variable.
13414         * grp/Makefile (tests): Change dependencies to ....
13415         (tests-special): ... additions to this variable.
13416         * iconv/Makefile (xtests): Change dependencies to ....
13417         (xtests-special): ... additions to this variable.
13418         * iconvdata/Makefile (tests): Change dependencies to ....
13419         (tests-special): ... additions to this variable.
13420         * intl/Makefile (tests): Change dependencies to ....
13421         (tests-special): ... additions to this variable.  Also add
13422         $(objpfx)tst-gettext.out.
13423         * io/Makefile (tests): Change dependencies to ....
13424         (tests-special): ... additions to this variable.
13425         * libio/Makefile (tests): Change dependencies to ....
13426         (tests-special): ... additions to this variable.
13427         * malloc/Makefile (tests): Change dependencies to ....
13428         (tests-special): ... additions to this variable.
13429         * misc/Makefile (tests): Change dependencies to ....
13430         (tests-special): ... additions to this variable.
13431         * nptl/Makefile (tests): Change dependencies to ....
13432         (tests-special): ... additions to this variable.
13433         * nptl_db/Makefile (tests): Change dependencies to ....
13434         (tests-special): ... additions to this variable.
13435         * posix/Makefile (tests): Change dependencies to ....
13436         (tests-special): ... additions to this variable.
13437         (xtests): Change dependencies to ....
13438         (xtests-special): ... additions to this variable.
13439         * resolv/Makefile (tests): Change dependencies to ....
13440         (tests-special): ... additions to this variable.
13441         (xtests): Change dependencies to ....
13442         (xtests-special): ... additions to this variable.
13443         * stdio-common/Makefile (tests): Change dependencies to ....
13444         (tests-special): ... additions to this variable.
13445         (do-tst-unbputc): Remove target.
13446         (do-tst-printf): Likewise.
13447         * stdlib/Makefile (tests): Change dependencies to ....
13448         (tests-special): ... additions to this variable.
13449         * string/Makefile (tests): Change dependencies to ....
13450         (tests-special): ... additions to this variable.
13451         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13452         (tests-special): ... additions to this variable.
13454         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13455         whole file.
13456         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13457         whole file.
13458         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13459         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13461         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13462         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13463         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13464         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13465         * conform/data/libgen.h-data [XPG3]: Likewise.
13466         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13467         * conform/data/ndbm.h-data [XPG3]: Likewise.
13468         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13469         * conform/data/netdb.h-data [XPG3]: Likewise.
13470         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13471         * conform/data/poll.h-data [XPG3]: Likewise.
13472         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13473         * conform/data/strings.h-data [XPG3]: Likewise.
13474         * conform/data/stropts.h-data [XPG3]: Likewise.
13475         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13476         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13477         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13478         Likewise.
13479         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13480         * conform/data/sys/time.h-data [XPG3]: Likewise.
13481         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13482         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13483         * conform/data/sys/un.h-data [XPG3]: Likewise.
13484         * conform/data/syslog.h-data [XPG3]: Likewise.
13485         * conform/data/ucontext.h-data [XPG3]: Likewise.
13486         * conform/data/utmpx.h-data [XPG3]: Likewise.
13487         * conform/data/varargs.h-data [UNIX98]: Enable file.
13489         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13491         * math/libm-test.inc (struct test_f_f_data): Move expected results
13492         into structure for each rounding mode.
13493         (struct test_ff_f_data): Likewise.
13494         (struct test_ff_f_data_nexttoward): Likewise.
13495         (struct test_fi_f_data): Likewise.
13496         (struct test_fl_f_data): Likewise.
13497         (struct test_if_f_data): Likewise.
13498         (struct test_fff_f_data): Likewise.
13499         (struct test_c_f_data): Likewise.
13500         (struct test_f_f1_data): Likewise.
13501         (struct test_fF_f1_data): Likewise.
13502         (struct test_ffI_f1_data): Likewise.
13503         (struct test_c_c_data): Likewise.
13504         (struct test_cc_c_data): Likewise.
13505         (struct test_f_i_data): Likewise.
13506         (struct test_ff_i_data): Likewise.
13507         (struct test_f_l_data): Likewise.
13508         (struct test_f_L_data): Likewise.
13509         (struct test_fFF_11_data): Likewise.
13510         (RM_): New macro.
13511         (RM_FE_DOWNWARD): Likewise.
13512         (RM_FE_TONEAREST): Likewise.
13513         (RM_FE_TOWARDZERO): Likewise.
13514         (RM_FE_UPWARD): Likewise.
13515         (RUN_TEST_LOOP_f_f): Update references to expected results.
13516         (RUN_TEST_LOOP_2_f): Likewise.
13517         (RUN_TEST_LOOP_fff_f): Likewise.
13518         (RUN_TEST_LOOP_c_f): Likewise.
13519         (RUN_TEST_LOOP_f_f1): Likewise.
13520         (RUN_TEST_LOOP_fF_f1): Likewise.
13521         (RUN_TEST_LOOP_fI_f1): Likewise.
13522         (RUN_TEST_LOOP_ffI_f1): Likewise.
13523         (RUN_TEST_LOOP_c_c): Likewise.
13524         (RUN_TEST_LOOP_cc_c): Likewise.
13525         (RUN_TEST_LOOP_f_i): Likewise.
13526         (RUN_TEST_LOOP_f_i_tg): Likewise.
13527         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13528         (RUN_TEST_LOOP_f_b): Likewise.
13529         (RUN_TEST_LOOP_f_b_tg): Likewise.
13530         (RUN_TEST_LOOP_f_l): Likewise.
13531         (RUN_TEST_LOOP_f_L): Likewise.
13532         (RUN_TEST_LOOP_fFF_11): Likewise.
13533         * math/gen-libm-test.pl (parse_args): Output four copies of
13534         expected results for each test.
13536         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13537         (__ASSUME_UTIMES): Remove.
13538         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13539         (__ASSUME_UTIMES): Likewise.
13541         * math/gen-auto-libm-tests.c: Update comment on output format.
13542         (output_for_one_input_case): Generate before-rounding and
13543         after-rounding information as conditions on output flags not
13544         floating-point format.
13545         * math/auto-libm-test-out: Regenerated.
13546         * math/gen-libm-test.pl (cond_value): New function.
13547         (or_cond_value): Use cond_value.
13548         (generate_testfile): Handle conditional exceptions.
13550 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13552         * math/libm-test.inc (max_valid_error): New variable.
13553         (init_max_error): Take new argument specifying whether function
13554         results are exactly determined.  Set max_valid_error and bound
13555         other variables for errors based on this argument.
13556         (set_max_error): Do not record results above max_valid_error.
13557         (check_float_internal): Only accept errors of up to 0.5ulps if
13558         also at most max_valid_error.
13559         (START): Take new argument EXACT and pass it to init_max_error.
13560         (acos_test): Update call to START.
13561         (acos_test_tonearest): Likewise.
13562         (acos_test_towardzero): Likewise.
13563         (acos_test_downward): Likewise.
13564         (acos_test_upward): Likewise.
13565         (acosh_test): Likewise.
13566         (asin_test): Likewise.
13567         (asin_test_tonearest): Likewise.
13568         (asin_test_towardzero): Likewise.
13569         (asin_test_downward): Likewise.
13570         (asin_test_upward): Likewise.
13571         (asinh_test): Likewise.
13572         (atan_test): Likewise.
13573         (atanh_test): Likewise.
13574         (atan2_test): Likewise.
13575         (cabs_test): Likewise.
13576         (cacos_test): Likewise.
13577         (cacosh_test): Likewise.
13578         (carg_test): Likewise.
13579         (casin_test): Likewise.
13580         (casinh_test): Likewise.
13581         (catan_test): Likewise.
13582         (catanh_test): Likewise.
13583         (cbrt_test): Likewise.
13584         (ccos_test): Likewise.
13585         (ccosh_test): Likewise.
13586         (ceil_test): Likewise.
13587         (cexp_test): Likewise.
13588         (cimag_test): Likewise.
13589         (clog_test): Likewise.
13590         (clog10_test): Likewise.
13591         (conj_test): Likewise.
13592         (copysign_test): Likewise.
13593         (cos_test): Likewise.
13594         (cos_test_tonearest): Likewise.
13595         (cos_test_towardzero): Likewise.
13596         (cos_test_downward): Likewise.
13597         (cos_test_upward): Likewise.
13598         (cosh_test): Likewise.
13599         (cosh_test_tonearest): Likewise.
13600         (cosh_test_towardzero): Likewise.
13601         (cosh_test_downward): Likewise.
13602         (cosh_test_upward): Likewise.
13603         (cpow_test): Likewise.
13604         (cproj_test): Likewise.
13605         (creal_test): Likewise.
13606         (csin_test): Likewise.
13607         (csinh_test): Likewise.
13608         (csqrt_test): Likewise.
13609         (ctan_test): Likewise.
13610         (ctan_test_tonearest): Likewise.
13611         (ctan_test_towardzero): Likewise.
13612         (ctan_test_downward): Likewise.
13613         (ctan_test_upward): Likewise.
13614         (ctanh_test): Likewise.
13615         (ctanh_test_tonearest): Likewise.
13616         (ctanh_test_towardzero): Likewise.
13617         (ctanh_test_downward): Likewise.
13618         (ctanh_test_upward): Likewise.
13619         (erf_test): Likewise.
13620         (erfc_test): Likewise.
13621         (exp_test): Likewise.
13622         (exp_test_tonearest): Likewise.
13623         (exp_test_towardzero): Likewise.
13624         (exp_test_downward): Likewise.
13625         (exp_test_upward): Likewise.
13626         (exp10_test): Likewise.
13627         (exp10_test_tonearest): Likewise.
13628         (exp10_test_towardzero): Likewise.
13629         (exp10_test_downward): Likewise.
13630         (exp10_test_upward): Likewise.
13631         (pow10_test): Likewise.
13632         (exp2_test): Likewise.
13633         (expm1_test): Likewise.
13634         (expm1_test_tonearest): Likewise.
13635         (expm1_test_towardzero): Likewise.
13636         (expm1_test_downward): Likewise.
13637         (expm1_test_upward): Likewise.
13638         (fabs_test): Likewise.
13639         (fdim_test): Likewise.
13640         (floor_test): Likewise.
13641         (fma_test): Likewise.
13642         (fma_test_towardzero): Likewise.
13643         (fma_test_downward): Likewise.
13644         (fma_test_upward): Likewise.
13645         (fmax_test): Likewise.
13646         (fmin_test): Likewise.
13647         (fmod_test): Likewise.
13648         (fpclassify_test): Likewise.
13649         (frexp_test): Likewise.
13650         (hypot_test): Likewise.
13651         (ilogb_test): Likewise.
13652         (isfinite_test): Likewise.
13653         (finite_test): Likewise.
13654         (isgreater_test): Likewise.
13655         (isgreaterequal_test): Likewise.
13656         (isinf_test): Likewise.
13657         (isless_test): Likewise.
13658         (islessequal_test): Likewise.
13659         (islessgreater_test): Likewise.
13660         (isnan_test): Likewise.
13661         (isnormal_test): Likewise.
13662         (issignaling_test): Likewise.
13663         (isunordered_test): Likewise.
13664         (j0_test): Likewise.
13665         (j1_test): Likewise.
13666         (jn_test): Likewise.
13667         (ldexp_test): Likewise.
13668         (lgamma_test): Likewise.
13669         (gamma_test): Likewise.
13670         (lrint_test): Likewise.
13671         (lrint_test_tonearest): Likewise.
13672         (lrint_test_towardzero): Likewise.
13673         (lrint_test_downward): Likewise.
13674         (lrint_test_upward): Likewise.
13675         (llrint_test): Likewise.
13676         (llrint_test_tonearest): Likewise.
13677         (llrint_test_towardzero): Likewise.
13678         (llrint_test_downward): Likewise.
13679         (llrint_test_upward): Likewise.
13680         (log_test): Likewise.
13681         (log10_test): Likewise.
13682         (log1p_test): Likewise.
13683         (log2_test): Likewise.
13684         (logb_test): Likewise.
13685         (logb_test_downward): Likewise.
13686         (lround_test): Likewise.
13687         (llround_test): Likewise.
13688         (modf_test): Likewise.
13689         (nearbyint_test): Likewise.
13690         (nextafter_test): Likewise.
13691         (nexttoward_test): Likewise.
13692         (pow_test): Likewise.
13693         (pow_test_tonearest): Likewise.
13694         (pow_test_towardzero): Likewise.
13695         (pow_test_downward): Likewise.
13696         (pow_test_upward): Likewise.
13697         (remainder_test): Likewise.
13698         (drem_test): Likewise.
13699         (remainder_test_tonearest): Likewise.
13700         (drem_test_tonearest): Likewise.
13701         (remainder_test_towardzero): Likewise.
13702         (drem_test_towardzero): Likewise.
13703         (remainder_test_downward): Likewise.
13704         (drem_test_downward): Likewise.
13705         (remainder_test_upward): Likewise.
13706         (drem_test_upward): Likewise.
13707         (remquo_test): Likewise.
13708         (rint_test): Likewise.
13709         (rint_test_tonearest): Likewise.
13710         (rint_test_towardzero): Likewise.
13711         (rint_test_downward): Likewise.
13712         (rint_test_upward): Likewise.
13713         (round_test): Likewise.
13714         (scalb_test): Likewise.
13715         (scalbn_test): Likewise.
13716         (scalbln_test): Likewise.
13717         (signbit_test): Likewise.
13718         (sin_test): Likewise.
13719         (sin_test_tonearest): Likewise.
13720         (sin_test_towardzero): Likewise.
13721         (sin_test_downward): Likewise.
13722         (sin_test_upward): Likewise.
13723         (sincos_test): Likewise.
13724         (sinh_test): Likewise.
13725         (sinh_test_tonearest): Likewise.
13726         (sinh_test_towardzero): Likewise.
13727         (sinh_test_downward): Likewise.
13728         (sinh_test_upward): Likewise.
13729         (sqrt_test): Likewise.
13730         (sqrt_test_tonearest): Likewise.
13731         (sqrt_test_towardzero): Likewise.
13732         (sqrt_test_downward): Likewise.
13733         (sqrt_test_upward): Likewise.
13734         (tan_test): Likewise.
13735         (tan_test_tonearest): Likewise.
13736         (tan_test_towardzero): Likewise.
13737         (tan_test_downward): Likewise.
13738         (tan_test_upward): Likewise.
13739         (tanh_test): Likewise.
13740         (tgamma_test): Likewise.
13741         (trunc_test): Likewise.
13742         (y0_test): Likewise.
13743         (y1_test): Likewise.
13744         (yn_test): Likewise.
13745         (significand_test): Likewise.
13747         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13748         individual tests in comment.
13749         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13750         (prev_max_error): New variable.
13751         (prev_real_max_error): Likewise.
13752         (prev_imag_max_error): Likewise.
13753         (compare_ulp_data): Don't refer to test names in comment.
13754         (find_test_ulps): Remove function.
13755         (find_function_ulps): Likewise.
13756         (find_complex_function_ulps): Likewise.
13757         (init_max_error): Take function name as argument.  Look up ulps
13758         for that function.
13759         (print_ulps): Remove function.
13760         (print_max_error): Use prev_max_error instead of calling
13761         find_function_ulps.
13762         (print_complex_max_error): Use prev_real_max_error and
13763         prev_imag_max_error instead of calling find_complex_function_ulps.
13764         (check_float_internal): Take max_ulp parameter instead of calling
13765         find_test_ulps.  Don't call print_ulps.
13766         (check_float): Update call to check_float_internal.
13767         (check_complex): Update calls to check_float_internal.
13768         (START): Pass argument to init_max_error.
13769         * math/gen-libm-test.pl (%results): Don't include "kind"
13770         information.
13771         (parse_ulps): Don't handle ulps of individual tests.
13772         (print_ulps_file): Likewise.
13773         (output_ulps): Likewise.
13774         * math/README.libm-test: Update.
13775         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13776         individual tests.
13777         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13778         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13779         * sysdeps/arm/libm-test-ulps: Likewise.
13780         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13781         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13782         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13783         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13784         * sysdeps/microblaze/libm-test-ulps: Likewise.
13785         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13786         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13787         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13788         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13789         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13790         * sysdeps/sh/libm-test-ulps: Likewise.
13791         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13792         * sysdeps/tile/libm-test-ulps: Likewise.
13793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13795 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
13797         * math/libm-test.inc (print_complex_max_error): Check separately
13798         whether real and imaginary errors are within allowed range and
13799         pass 0 to print_complex_function_ulps instead of value within
13800         allowed range.
13802 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13804         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13805         formatting.
13806         (get_handles_fopen): Likewise.
13807         (do_write_test): Likewise.
13809         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13811         * libio/fileops.c (do_ftell): Use cached offset when
13812         available.
13813         * libio/iofwide.c (do_ftell_wide): Likewise.
13814         * libio/iofdopen.c (_IO_new_fdopen): Don't use
13815         _IO_file_attach.
13816         * libio/wfileops.c (_IO_fwide): Don't cache offset.
13818         [BZ #16532]
13819         * libio/libioP.h (get_file_offset): New function.
13820         * libio/fileops.c (get_file_offset): Likewise.
13821         (do_ftell): Likewise.
13822         (_IO_new_file_seekoff): Split out ftell logic.
13823         * libio/wfileops.c (do_ftell_wide): Likewise.
13824         (_IO_wfile_seekoff): Split out ftell logic.
13825         * libio/tst-ftell-active-handler.c: New test case.
13826         * libio/Makefile (tests): Add it.
13828 2014-03-03  Roland McGrath  <roland@hack.frob.com>
13830         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13831         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13833 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13835         [BZ #16639]
13836         * nscd/connections.c (nscd_init): Call do_exit.
13837         (start_threads): Call do_exit and notify_parent.
13838         (begin_drop_privileges): Call do_exit.
13839         (finish_drop_privileges): Likewise.
13840         * nscd/selinux.c (preserve_capabilities): Likewise.
13841         (install_real_capabilities): Likewise.
13842         (nscd_selinux_enabled): Likewise.
13843         (avc_create_thread): Likewise.
13844         (avc_alloc_lock): Likewise.
13845         (nscd_avc_init): Likewise.
13846         * nscd/nscd.c (parent_fd): New static variable.
13847         (main): Create a pipe between parent and child processes.
13848         Skip closing parent_fd.
13849         (monitor_child): New function.
13850         (do_exit): Likewise.
13851         (notify_parent): Likewise.
13852         * nscd/nscd.h (notify_parent): Likewise.
13853         (do_exit): Likewise.
13855 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
13857         * malloc/malloc.c (__libc_calloc): Revert last change.
13859 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13863 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13865         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13867         implementation.
13868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13869         (__libc_ifunc_impl_list): Likewise.
13870         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13871         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13872         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13873         * string/strrchr.c: Define STRRCHR.
13875 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
13877         * benchtest/bench-strtok.c (simple_strtok): Delete.
13878         (strtok_string): Use as benchmark.
13879         * string/strtok (STRTOK): New macro.
13881 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
13883         * manual/threads.texi: Add header and standard comments to all
13884         functions.
13886         * elf/dl-lookup.c (check_match): New function.
13887         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13888         (do_lookup_x): Remove nested function check_match. Use non-nested
13889         function check_match.
13891 2014-02-28  Roland McGrath  <roland@hack.frob.com>
13893         * csu/Makefile (generated, before-compile): Use += rather than =.
13894         * catgets/Makefile (generated, generated-dirs): Likewise.
13895         * debug/Makefile (generated): Likewise.
13896         * dlfcn/Makefile (generated): Likewise.
13897         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13898         * iconvdata/Makefile (before-compile, generated): Likewise.
13899         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13900         * libio/Makefile (generated): Likewise.
13901         * malloc/Makefile (generated): Likewise.
13902         * manual/Makefile (generated, generated-dirs): Likewise.
13903         * misc/Makefile (generated): Likewise.
13904         * posix/Makefile (generated): Likewise.
13905         * resolv/Makefile (generated): Likewise.
13906         * sunrpc/Makefile (generated, generated-dirs): Likewise.
13907         * timezone/Makefile (generated, generated-dirs): Likewise.
13909         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13911 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13914         power8 implementation.
13915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13916         file: POWER8 llround ifunc implementation.
13917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13918         (__lllround): Add POWER8 implementation.
13919         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13920         POWER8 llround implementation.
13922         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13923         power8 implementation.
13924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13925         file: POWER8 llrint ifunc implementation.
13926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13927         Add POWER8 implementation.
13928         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13929         POWER8 llrint implementation.
13931         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13932         power8 implementation.
13933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13934         file: POWER8 finite ifunc implementation.
13935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13936         Add POWER8 implementation.
13937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13938         Likewise.
13939         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13940         POWER8 finite implementation.
13941         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13943         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13944         power8 implementation.
13945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13946         file: POWER8 isinf ifunc implementation.
13947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13948         POWER8 implementation.
13949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13950         Likewise.
13951         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13952         isinf implementation.
13953         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13955         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13956         (INIT_ARCH): Add hwcap2 initialization.
13957         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13958         power8 implementation.
13959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13960         file: POWER8 isnan ifunc implementation.
13961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13962         POWER8 implementation.
13963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13964         Likewise.
13965         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13966         isnan implementation.
13967         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13969 2014-02-27  Joey Ye  <joey.ye@arm.com>
13971         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13972         (_FP_NANFRAC_Q): Set to zero.
13974 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13976         [BZ #16623]
13977         * math/auto-libm-test-in: New test inputs.
13978         * math/auto-libm-test-out: Regenerate.
13979         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13980         and DA.
13981         (__cos): Likewise.
13982         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13984 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13986         * scripts/evaluate-test.sh: Take new argument indicating whether
13987         failure is expected.
13988         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13989         indicating whether failure is expected.
13990         * conform/Makefile (test-xfail-run-conformtest): New variable.
13991         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13992         level.
13993         * posix/Makefile (test-xfail-annexc): New variable.
13994         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13996 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13998         * argp/Makefile: Include Makeconfig immediately after defining
13999         subdir.
14000         * assert/Makefile: Likewise.
14001         * benchtests/Makefile: Likewise.
14002         * catgets/Makefile: Likewise.
14003         * conform/Makefile: Likewise.
14004         * crypt/Makefile: Likewise.
14005         * csu/Makefile: Likewise.
14006         (all): Remove target.
14007         * ctype/Makefile: Include Makeconfig immediately after defining
14008         subdir.
14009         * debug/Makefile: Likewise.
14010         * dirent/Makefile: Likewise.
14011         * dlfcn/Makefile: Likewise.
14012         * gmon/Makefile: Likewise.
14013         * gnulib/Makefile: Likewise.
14014         * grp/Makefile: Likewise.
14015         * gshadow/Makefile: Likewise.
14016         * hesiod/Makefile: Likewise.
14017         * hurd/Makefile: Likewise.
14018         (all): Remove target.
14019         * iconvdata/Makefile: Include Makeconfig immediately after
14020         defining subdir.
14021         * inet/Makefile: Likewise.
14022         * intl/Makefile: Likewise.
14023         * io/Makefile: Likewise.
14024         * libio/Makefile: Likewise.
14025         (all): Remove target.
14026         * locale/Makefile: Include Makeconfig immediately after defining
14027         subdir.
14028         * login/Makefile: Likewise.
14029         * mach/Makefile: Likewise.
14030         (all): Remove target.
14031         * malloc/Makefile: Include Makeconfig immediately after defining
14032         subdir.
14033         (all): Remove target.
14034         * manual/Makefile: Include Makeconfig immediately after defining
14035         subdir.
14036         * math/Makefile: Likewise.
14037         * misc/Makefile: Likewise.
14038         * nis/Makefile: Likewise.
14039         * nss/Makefile: Likewise.
14040         * po/Makefile: Likewise.
14041         (all): Remove target.
14042         * posix/Makefile: Include Makeconfig immediately after defining
14043         subdir.
14044         * pwd/Makefile: Likewise.
14045         * resolv/Makefile: Likewise.
14046         * resource/Makefile: Likewise.
14047         * rt/Makefile: Likewise.
14048         * setjmp/Makefile: Likewise.
14049         * shadow/Makefile: Likewise.
14050         * signal/Makefile: Likewise.
14051         * socket/Makefile: Likewise.
14052         * soft-fp/Makefile: Likewise.
14053         * stdio-common/Makefile: Likewise.
14054         * stdlib/Makefile: Likewise.
14055         * streams/Makefile: Likewise.
14056         * string/Makefile: Likewise.
14057         * sunrpc/Makefile: Likewise.
14058         (all): Remove target.
14059         * sysvipc/Makefile: Include Makeconfig immediately after defining
14060         subdir.
14061         * termios/Makefile: Likewise.
14062         * time/Makefile: Likewise.
14063         * timezone/Makefile: Likewise.
14064         (all): Remove target.
14065         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14066         subdir.
14067         * wctype/Makefile: Likewise.
14069 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14071         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14072         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14073         (libc_feholdexcept_setround_mips): Ditto.
14074         (libc_feholdsetround): New.
14075         (libc_feholdsetroundf): New.
14076         (libc_feholdsetroundl): New.
14077         (libc_feupdateenv_test_mips): New.
14078         (libc_feupdateenv_test): New.
14079         (libc_feupdateenv_testf): New.
14080         (libc_feupdateenv_testl): New.
14081         (libc_feresetround): New.
14082         (libc_feresetroundf): New.
14083         (libc_feresetroundl): New.
14084         (libc_fetestexcept_mips): New.
14085         (libc_fetestexcept): New.
14086         (libc_fetestexceptf): New.
14087         (libc_fetestexceptl): New.
14088         (HAVE_RM_CTX): New.
14089         (libc_feholdexcept_setround_mips_ctx): New.
14090         (libc_feholdexcept_setround_ctx): New.
14091         (libc_feholdexcept_setroundf_ctx): New.
14092         (libc_feholdexcept_setroundl_ctx): New.
14093         (libc_fesetenv_mips_ctx): New.
14094         (libc_fesetenv_ctx): New.
14095         (libc_fesetenv_ctxf): New.
14096         (libc_fesetenv_ctxl): New.
14097         (libc_feupdateenv_mips_ctx): New.
14098         (libc_feupdateenv_ctx): New.
14099         (libc_feupdateenvf_ctx): New.
14100         (libc_feupdateenvl_ctx): New.
14101         (libc_feholdsetround_mips_ctx): New.
14102         (libc_feholdsetround_ctx): New.
14103         (libc_feholdsetroundf_ctx): New.
14104         (libc_feholdsetroundl_ctx): New.
14105         (libc_feresetround_mips_ctx): New.
14106         (libc_feresetround_ctx): New.
14107         (libc_feresetroundf_ctx): New.
14108         (libc_feresetroundl_ctx): New.
14110 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14112         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14114         * manual/ipc.texi: New file.
14115         * manual/Makefile (chapters): Add ipc.
14116         * manual/job.texi: Add "Inter-Process Communication" to next.
14117         * manual/process.texi: Add "Inter-Process Communication" to prev.
14119 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14123 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14125         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14127         * manual/arith.texi: Fix spaces after sentences.
14128         * manual/charset.texi: Likewise.
14129         * manual/errno.texi: Likewise.
14130         * manual/install.texi: Likewise.
14131         * manual/llio.texi: Likewise.
14132         * manual/locale.texi: Likewise.
14133         * manual/maint.texi: Likewise.
14134         * manual/math.texi: Likewise.
14135         * manual/memory.texi: Likewise.
14136         * manual/message.texi: Likewise.
14137         * manual/probes.texi: Likewise.
14138         * manual/resource.texi: Likewise.
14139         * manual/signal.texi: Likewise.
14140         * manual/socket.texi: Likewise.
14141         * manual/stdio.texi: Likewise.
14142         * manual/string.texi: Likewise.
14143         * manual/time.texi: Likewise.
14144         * manual/users.texi: Likewise.
14146 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14148         [BZ #16632]
14149         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14150         _DEFAULT_SOURCE is defined.
14152 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14153             Carlos O'Donell  <carlos@redhat.com>
14155         [BZ #16613]
14156         * elf/dl-tls.c (_dl_count_modids): New function.
14157         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14158         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14159         audit library and increment generation counter.
14160         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14161         * elf/tst-audit9.c: New file.
14162         * elf/tst-auditmod9a.c: New file.
14163         * elf/tst-auditmod9b.c: New file.
14164         * elf/Makefile: Add rules to build and run tst-audit9.
14166 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14168         [BZ #15347]
14169         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14171 2014-02-25  Will Newton  <will.newton@linaro.org>
14173         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14174         (__longjmp): Restore sp and lr before restoring callee
14175         saved registers.  Add longjmp and longjmp_target
14176         SystemTap probe point.
14177         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14178         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14179         Define to zero to match jmpbuf layout.
14180         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14181         (__sigsetjmp): Save sp and lr before saving callee
14182         saved registers.  Add setjmp SystemTap probe point.
14184 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14186         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14188 2014-02-24  Andreas Schwab  <schwab@suse.de>
14190         [BZ #15804]
14191         * elf/pldd.c (wait_for_ptrace_stop): New function.
14192         (main): Call it after attaching.
14194 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14196         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14197         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14198         Versions files is now verboten.
14199         * hurd/Versions (libc: GLIBC_2.0):
14200         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14201         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14202         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14203         * mach/Versions: Likewise.
14205         * csu/Versions: Remove unused %include.
14206         * resolv/Versions: Likewise.
14208 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14210         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14211         ($(objpfx)check-local-headers.out): Likewise.
14212         ($(objpfx)begin-end-check.out): Likewise.
14213         * Makerules (check-abi-%.out): Likewise.
14214         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14215         ($(objpfx)test2.cat): Likewise.
14216         ($(objpfx)de/libc.cat): Likewise.
14217         ($(objpfx)test-gencat.out): Likewise.
14218         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14219         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14220         ($(objpfx)noload-mem): Likewise.
14221         ($(objpfx)tst-pathopt.out): Likewise.
14222         ($(objpfx)tst-rtld-load-self.out): Likewise.
14223         ($(objpfx)tst-array1-cmp.out): Likewise.
14224         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14225         ($(objpfx)tst-array2-cmp.out): Likewise.
14226         ($(objpfx)tst-array3-cmp.out): Likewise.
14227         ($(objpfx)tst-array4-cmp.out): Likewise.
14228         ($(objpfx)tst-array5-cmp.out): Likewise.
14229         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14230         ($(objpfx)check-textrel.out): Likewise.
14231         ($(objpfx)check-execstack.out): Likewise.
14232         ($(objpfx)check-localplt.out): Likewise.
14233         ($(objpfx)order2-cmp.out): Likewise.
14234         ($(objpfx)tst-leaks1-mem): Likewise.
14235         ($(objpfx)tst-leaks1-static-mem): Likewise.
14236         ($(objpfx)tst-initorder-cmp.out): Likewise.
14237         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14238         ($(objpfx)tst-unused-dep.out): Likewise.
14239         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14240         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14241         * iconv/Makefile (test-iconvconfig): Likewise.
14242         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14243         ($(objpfx)iconv-test.out): Likewise.
14244         ($(objpfx)tst-tables.out): Likewise.
14245         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14246         ($(objpfx)tst-gettext.out): Likewise.
14247         ($(objpfx)tst-translit.out): Likewise.
14248         ($(objpfx)tst-gettext2.out): Likewise.
14249         ($(objpfx)tst-gettext4.out): Likewise.
14250         ($(objpfx)tst-gettext6.out): Likewise.
14251         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14252         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14253         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14254         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14255         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14256         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14257         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14258         ($(objpfx)wordexp-tst.out): Likewise.
14259         ($(objpfx)annexc.out): Likewise.
14260         ($(objpfx)tst-fnmatch-mem): Likewise.
14261         ($(objpfx)bug-regex2-mem): Likewise.
14262         ($(objpfx)bug-regex14-mem): Likewise.
14263         ($(objpfx)bug-regex21-mem): Likewise.
14264         ($(objpfx)bug-regex31-mem): Likewise.
14265         ($(objpfx)tst-vfork3-mem): Likewise.
14266         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14267         ($(objpfx)tst-pcre-mem): Likewise.
14268         ($(objpfx)tst-boost-mem): Likewise.
14269         ($(objpfx)tst-getconf.out): Likewise.
14270         ($(objpfx)bug-ga2-mem): Likewise.
14271         ($(objpfx)bug-glob2-mem): Likewise.
14272         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14273         ($(objpfx)mtrace-tst-leaks2): Likewise.
14274         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14275         ($(objpfx)tst-printf.out): Likewise.
14276         ($(objpfx)tst-setvbuf1.out): Likewise.
14277         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14278         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14279         ($(objpfx)tst-fmtmsg.out): Likewise.
14280         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14281         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14283         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14284         * bits/sigaction.h [__USE_MISC]: Likewise.
14285         * bits/waitstatus.h: Update #endif comments.
14286         * ctype/ctype.h: Likewise.
14287         * dirent/dirent.h: Likewise.
14288         [__USE_MISC]: Remove redundant conditionals.
14289         * grp/grp.h: Update #endif comments.
14290         [__USE_GNU]: Remove redundant conditionals.
14291         [__USE_MISC]: Likewise.
14292         * inet/netinet/in.h [__USE_GNU]: Likewise.
14293         * io/sys/stat.h [__USE_MISC]: Likewise.
14294         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14295         * libio/bits/stdio.h: Update #endif comments.
14296         [__USE_MISC]: Remove redundant conditionals.
14297         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14298         * libio/stdio.h: Update #endif comments.
14299         [__USE_MISC]: Remove redundant conditionals.
14300         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14301         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14302         * math/math.h: Update #else and #endif comments.
14303         [__USE_MISC]: Remove redundant conditionals.
14304         * misc/sys/uio.h: Update #endif comments.
14305         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14306         * posix/glob.h [__USE_MISC]: Likewise.
14307         * posix/sys/types.h: Update #endif comments.
14308         [__USE_MISC]: Remove redundant conditionals.
14309         * posix/sys/wait.h: Update #endif comments.
14310         [__USE_MISC]: Remove redundant conditionals.
14311         * posix/unistd.h: Update #endif comments.
14312         [__USE_MISC]: Remove redundant conditionals.
14313         * pwd/pwd.h [__USE_GNU]: Likewise.
14314         [__USE_MISC]: Likewise.
14315         * resolv/netdb.h [__USE_GNU]: Likewise.
14316         * signal/signal.h: Update #endif comments.
14317         [__USE_MISC]: Remove redundant conditionals.
14318         * stdlib/stdlib.h: Update #else and #endif comments.
14319         [__USE_MISC]: Remove redundant conditionals.
14320         [__USE_GNU]: Likewise.
14321         * string/bits/string2.h [__USE_MISC]: Likewise.
14322         * string/string.h: Update #endif comments.
14323         [__USE_MISC]: Remove redundant conditionals.
14324         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14325         Likewise.
14326         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14327         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14328         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14329         Likewise.
14330         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14331         Likewise.
14332         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14333         comments.
14334         [__USE_MISC]: Remove redundant conditionals.
14335         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14336         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14337         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14338         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14339         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14340         Likewise.
14341         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14342         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14343         Likewise.
14344         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14345         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14346         Likewise.
14347         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14348         Likewise.
14349         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14350         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14351         Likewise.
14352         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14353         Likewise.
14354         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14355         * sysdeps/x86/bits/string.h: Update #endif comments.
14356         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14357         conditionals.
14358         * time/sys/time.h: Update #endif comments.
14359         * time/time.h: Likewise.
14360         [__USE_MISC]: Remove redundant conditionals.
14362 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14364         [BZ #16600]
14365         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14367 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14369         * Versions.def (librt): Add GLIBC_2.17.
14371 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14373         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14374         synonym for _SYS_AUXV_H to allow direct inclusion.
14375         * sysdeps/sparc/bits/hwcap.h: Likewise.
14376         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14377         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14378         * sysdeps/sparc/sysdep.h: Likewise.
14380 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14382         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14384 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14386         * benchtests/bench-strrchr.c: Print length instead of position.
14388 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14390         [BZ #16611]
14391         * sysdeps/unix/sysv/linux/kernel-features.h
14392         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14393         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14394         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14395         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14396         Likewise.
14397         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14398         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14399         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14400         (__ASSUME_SENDMMSG): Define instead of using previous
14401         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14402         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14403         (__ASSUME_SENDMMSG_SYSCALL): Define.
14404         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14405         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14406         Likewise.
14407         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14408         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14409         Likewise.
14410         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14411         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14412         Likewise.
14413         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14414         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14415         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14416         [__ASSUME_SENDMMSG]: Change conditionals to
14417         [__ASSUME_SENDMMSG_SOCKETCALL].
14418         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14419         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14420         Define.
14421         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14422         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14423         Likewise.
14424         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14425         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14426         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14427         [!__ASSUME_SENDMMSG]: Change conditional to
14428         [!__ASSUME_SENDMMSG_SOCKETCALL].
14429         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14430         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14431         Define.
14433         [BZ #16610]
14434         * sysdeps/unix/sysv/linux/kernel-features.h
14435         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14436         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14437         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14438         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14439         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14440         [__i386__ || __sparc__]
14441         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14442         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14443         (__ASSUME_RECVMMSG): Define instead of using previous
14444         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14445         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14446         (__ASSUME_RECVMMSG_SYSCALL): Define.
14447         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14448         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14449         Likewise.
14450         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14451         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14452         Likewise.
14453         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14454         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14455         Likewise.
14456         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14457         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14458         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14459         [__ASSUME_RECVMMSG]: Change condition to
14460         [__ASSUME_RECVMMSG_SOCKETCALL].
14461         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14462         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14463         Define.
14464         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14465         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14466         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14467         Likewise.
14468         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14469         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14470         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14471         [!__ASSUME_RECVMMSG]: Change condition to
14472         [!__ASSUME_RECVMMSG_SOCKETCALL].
14473         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14474         (__ASSUME_RECVMMSG_SYSCALL): Define.
14476         [BZ #16609]
14477         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14478         __powerpc__ || __s390__ || __sh__ || __sparc__]
14479         (__ASSUME_SOCKETCALL): Define.
14480         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14481         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14482         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14483         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14484         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14485         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14486         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14487         (__ASSUME_ACCEPT4): Define instead of using previous
14488         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14489         __powerpc__ || __sparc__ || __s390__)] condition.
14490         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14491         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14492         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14493         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14494         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14495         [!__ASSUME_ACCEPT4]: Change condition to
14496         [!__ASSUME_ACCEPT4_SOCKETCALL].
14497         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14498         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14499         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14500         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14501         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14502         __ASSUME_ACCEPT4_SYSCALL.
14503         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14504         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14505         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14506         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14507         __ASSUME_ACCEPT4_SYSCALL.
14508         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14509         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14510         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14511         [__ASSUME_ACCEPT4]: Change condition to
14512         [__ASSUME_ACCEPT4_SOCKETCALL].
14513         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14514         (__ASSUME_SOCKETCALL): Define.
14515         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14516         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14517         (__ASSUME_SOCKETCALL): Define.
14518         (__ASSUME_ACCEPT4): Remove.
14519         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14520         Define.
14521         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14522         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14523         Likewise.
14524         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14525         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14527         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14528         macro.
14529         (HWCAP_ARM_LPAE): Likewise.
14530         (HWCAP_ARM_EVTSTRM): Likewise.
14531         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14532         Add vpfd32, lpae and evtstrm.
14533         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14534         Increase to 22.
14536 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14538         * math/auto-libm-test-in: Add tests of clog10.
14539         * math/auto-libm-test-out: Regenerated.
14540         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14541         * sysdeps/i386/fpu/libm-test-ulps: Update.
14542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14544 2014-02-18  Andreas Schwab  <schwab@suse.de>
14546         [BZ #16574]
14547         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14548         Store non-zero if the second buffer was newly allocated.
14549         (send_dg): Likewise.
14550         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14551         to send_vc and send_dg.
14552         (res_nsend): Pass NULL for ansp2_malloced.
14553         * resolv/res_query.c (__libc_res_nquery): Add parameter
14554         answerp2_malloced and pass it down to __libc_res_nsend.
14555         (res_nquery): Pass additional NULL to __libc_res_nquery.
14556         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14557         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14558         second answer buffer if answerp2_malloced was set.
14559         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14560         (__libc_res_nquerydomain): Add parameter
14561         answerp2_malloced and pass it down to __libc_res_nquery.
14562         (res_nquerydomain): Pass additional NULL to
14563         __libc_res_nquerydomain.
14564         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14565         additional NULL to __libc_res_nsend and __libc_res_nquery.
14566         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14567         additional NULL to __libc_res_nsearch.
14568         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14569         parameter of __libc_res_nsearch to check for separately allocated
14570         second buffer.
14571         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14572         __libc_res_nquery.
14573         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14574         additional NULL to __libc_res_nquery.
14575         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14576         __libc_res_nsearch.
14577         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14578         * include/resolv.h: Update prototypes of __libc_res_nquery,
14579         __libc_res_nsearch, __libc_res_nsend.
14581 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14583         * math/auto-libm-test-in: Add tests of fma.
14584         * math/auto-libm-test-out: Regenerated.
14585         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14586         (fma_towardzero_test_data): Likewise.
14587         (fma_downward_test_data): Likewise.
14588         (fma_upward_test_data): Likewise.
14589         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14590         mpc_mode.
14591         (rounding_modes): Add values for new field.
14592         (func_calc_method): Add value mpfr_fff_f.
14593         (func_calc_desc): Add mpfr_fff_f union field.
14594         (test_function): Add field exact_args.
14595         (FUNC): Add macro argument EXACT_ARGS.
14596         (FUNC_mpfr_f_f): Update call to FUNC.
14597         (FUNC_mpfr_f_f): Likewise.
14598         (FUNC_mpfr_ff_f): Likewise.
14599         (FUNC_mpfr_if_f): Likewise.
14600         (FUNC_mpc_c_f): Likewise.
14601         (FUNC_mpc_c_c): Likewise.
14602         (test_functions): Add fma.  Update calls to FUNC.
14603         (handle_input_arg): Add argument exact_args.
14604         (add_test): Update call to handle_input_arg.
14605         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14606         (output_for_one_input_case): Update call to calc_generic_results.
14607         Recalculate exact zero results in each rounding mode.
14609         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14610         non-negative before setting low bit.
14611         * math/auto-libm-test-in: Mark one asin test possibly having
14612         spurious underflow.
14613         * math/auto-libm-test-out: Regenerated.
14614         * sysdeps/i386/fpu/libm-test-ulps: Update.
14615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14617 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14619         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14620         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14621         ports/sysdeps/unix/sysv/linux/microblaze.
14622         * README: Add missing listing for microblaze*-*-linux-gnu.
14624 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14626         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14627         duplicate code
14629 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14631         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14632         * sysdeps/unix/sysv/linux/ia64: Move directory from
14633         ports/sysdeps/unix/sysv/linux/ia64.
14634         * README: Update listing for ia64-*-linux-gnu.
14636 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14637             Joseph Myers  <joseph@codesourcery.com>
14639         * Makeconfig (test-name): New variable.
14640         (evaluate-test): Likewise.
14641         * Makerules (do-test-clean): Remove .test-result files.
14642         (common-mostlyclean): Likewise.
14643         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14644         * scripts/evaluate-test.sh: New file.
14646 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14648         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14649         separate $(objpfx)tst-fopenloc-cmp.out and
14650         $(objpfx)tst-fopenloc-mem.out targets.
14651         (tests): Update dependencies.
14652         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14653         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14654         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14655         (tst-rxspencer-no-utf8-ARGS): New variable.
14656         (tst-rxspencer-no-utf8-ENV): Likewise.
14657         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14658         instead of $(objpfx)tst-rxspencer-mem.
14659         ($(objpfx)tst-rxspencer-mem): Change target to
14660         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14661         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14662         * posix/tst-rxspencer-no-utf8.c: New file.
14664         * elf/Makefile ($(objpfx)order.out): Remove rule.
14665         [$(run-built-tests) = yes] (tests): Depend on
14666         $(objpfx)order-cmp.out.
14667         ($(objpfx)order-cmp.out): New rule.
14668         [$(run-built-tests) = yes] (tests): Depend on
14669         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14670         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14671         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14672         $(objpfx)tst-array5-static-cmp.out.
14673         ($(objpfx)tst-array1.out): Remove rule.
14674         ($(objpfx)tst-array1-cmp.out): New rule.
14675         ($(objpfx)tst-array1-static.out): Remove rule.
14676         ($(objpfx)tst-array1-static-cmp.out): New rule.
14677         ($(objpfx)tst-array2.out): Remove rule.
14678         ($(objpfx)tst-array2-cmp.out): New rule.
14679         ($(objpfx)tst-array3.out): Remove rule.
14680         ($(objpfx)tst-array3-cmp.out): New rule.
14681         ($(objpfx)tst-array4.out): Remove rule.
14682         ($(objpfx)tst-array4-cmp.out): New rule.
14683         ($(objpfx)tst-array5.out): Remove rule.
14684         ($(objpfx)tst-array5-cmp.out): New rule.
14685         ($(objpfx)tst-array5-static.out): Remove rule.
14686         ($(objpfx)tst-array5-static-cmp.out): New rule.
14687         [$(run-built-tests) = yes] (tests): Depend on
14688         $(objpfx)order2-cmp.out.
14689         ($(objpfx)order2.out): Remove rule.
14690         ($(objpfx)order2-cmp.out): New rule.
14691         ($(objpfx)tst-initorder.out): Remove rule.
14692         [$(run-built-tests) = yes] (tests): Depend on
14693         $(objpfx)tst-initorder-cmp.out.
14694         ($(objpfx)tst-initorder-cmp.out): New rule.
14695         ($(objpfx)tst-initorder2.out): Remove rule.
14696         [$(run-built-tests) = yes] (tests): Depend on
14697         $(objpfx)tst-initorder2-cmp.out.
14698         ($(objpfx)tst-initorder2-cmp.out): New rule.
14699         [$(run-built-tests) = yes] (tests): Depend on
14700         $(objpfx)tst-unused-dep-cmp.out.
14701         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14702         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14703         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14704         on $(objpfx)tst-setvbuf1-cmp.out.
14705         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14706         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14707         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14708         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14709         ($(objpfx)tst-svc.out): Remove rule.
14710         ($(objpfx)tst-svc-cmp.out): New rule.
14712 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14714         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14715         * ctype/ctype.h [__USE_MISC]: Likewise.
14716         * dirent/dirent.h [__USE_MISC]: Likewise.
14717         * grp/grp.h [__USE_MISC]: Likewise.
14718         * io/fcntl.h [__USE_MISC]: Likewise.
14719         * io/sys/stat.h [__USE_MISC]: Likewise.
14720         * libio/stdio.h [__USE_MISC]: Likewise.
14721         * posix/unistd.h [__USE_MISC]: Likewise.
14722         * pwd/pwd.h [__USE_MISC]: Likewise.
14723         * stdlib.h [__USE_MISC]: Likewise.
14724         * string/bits/string2.h [__USE_MISC]: Likewise.
14725         * string/string.h [__USE_MISC]: Likewise.
14726         * time/time.h [__USE_MISC]: Likewise.
14728 2014-02-13  Andreas Schwab  <schwab@suse.de>
14730         [BZ #16574]
14731         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14732         second answer buffer if it was separately allocated.
14734 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14736         * sysdeps/mips/math-tests.h: Include <features.h>.
14737         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14738         (ROUNDING_TESTS_long_double): Do not define.
14739         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14740         (EXCEPTION_TESTS_long_double): Likewise.
14741         * sysdeps/mips/mips64/libm-test-ulps: Update.
14743         * include/features.h (__USE_BSD): Remove macro definitions.
14744         (__USE_SVID): Likewise.
14745         (_BSD_SOURCE): Likewise.
14746         (_SVID_SOURCE): Likewise.
14747         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14748         from definition of _DEFAULT_SOURCE.
14749         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14750         [_DEFAULT_SOURCE].
14751         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14752         * bits/mman.h [__USE_BSD]: Likewise.
14753         * bits/termios.h [__USE_BSD]: Likewise.
14754         * bits/waitstatus.h [__USE_BSD]: Likewise.
14755         * ctype/ctype.h [__USE_SVID]: Likewise.
14756         * dirent/dirent.h [__USE_BSD]: Likewise.
14757         * grp/grp.h [__USE_SVID]: Likewise.
14758         [__USE_BSD]: Likewise.
14759         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14760         * io/fcntl.h [__USE_BSD]: Likewise.
14761         * io/ftw.h [__USE_BSD]: Likewise.
14762         * io/sys/stat.h [__USE_BSD]: Likewise.
14763         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14764         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14765         * libio/stdio.h [__USE_SVID]: Likewise.
14766         [__USE_BSD]: Likewise.
14767         * math/math.h [__USE_SVID]: Likewise.
14768         [__USE_BSD]: Likewise.
14769         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14770         * misc/bits/syslog.h [__USE_BSD]: Likewise.
14771         * misc/search.h [__USE_SVID]: Likewise.
14772         * misc/sys/mman.h [__USE_BSD]: Likewise.
14773         * misc/sys/syslog.h [__USE_BSD]: Likewise.
14774         * misc/sys/uio.h [__USE_BSD]: Likewise.
14775         * posix/bits/unistd.h [__USE_BSD]: Likewise.
14776         * posix/glob.h [__USE_BSD]: Likewise.
14777         * posix/regex.h [__USE_BSD]: Likewise.
14778         * posix/sys/types.h [__USE_BSD]: Likewise.
14779         [__USE_SVID]: Likewise.
14780         * posix/sys/utsname.h [__USE_SVID]: Likewise.
14781         * posix/sys/wait.h [__USE_BSD]: Likewise.
14782         [__USE_SVID]: Likewise.
14783         * posix/unistd.h [__USE_BSD]: Likewise.
14784         [__USE_SVID]: Likewise.
14785         * pwd/pwd.h [__USE_SVID]: Likewise.
14786         * resolv/netdb.h [__USE_BSD]: Likewise.
14787         * setjmp/setjmp.h [__USE_BSD]: Likewise.
14788         * signal/signal.h [__USE_BSD]: Likewise.
14789         [__USE_SVID]: Likewise.
14790         * socket/sys/socket.h [__USE_BSD]: Likewise.
14791         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14792         * stdlib/stdlib.h [__USE_BSD]: Likewise.
14793         [__USE_SVID]: Likewise.
14794         * string/bits/string2.h [__USE_BSD]: Likewise.
14795         [__USE_SVID]: Likewise.
14796         * string/bits/string3.h [__USE_BSD]: Likewise.
14797         * string/endian.h [__USE_BSD]: Likewise.
14798         * string/string.h [__USE_SVID]: Likewise.
14799         [__USE_BSD]: Likewise.
14800         * string/strings.h [__USE_BSD]: Likewise.
14801         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14802         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14803         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14804         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14805         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14806         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14807         Likewise.
14808         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14809         Likewise.
14810         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14811         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14812         Likewise.
14813         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14814         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14815         Likewise.
14816         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14817         Likewise.
14818         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14819         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14820         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14821         Likewise.
14822         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14823         Likewise.
14824         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14825         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14826         * termios/termios.h [__USE_BSD]: Likewise.
14827         * time/sys/time.h [__USE_BSD]: Likewise.
14828         * time/time.h [__USE_BSD]: Likewise.
14829         [__USE_SVID]: Likewise.
14831         * Makefile (subdir_targets): Remove subdir_lint.out.
14833         * stdio-common/Makefile (do-tst-unbputc): Remove target.
14834         (do-tst-printf): Likewise.
14835         (tests): Depend directly on $(objpfx)tst-unbputc.out and
14836         $(objpfx)tst-printf.out.
14838         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14840         * Makerules (check-abi-%): Change target to
14841         $(objpfx)check-abi-%.out.
14842         (check-abi target): Update dependencies.
14843         (check-abi-pattern variable): Redirect output of diff to $@.
14844         (check-abi variable): Likewise.
14845         * elf/Makefile (check-abi): Update dependencies.
14847         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14848         unused.
14849         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14850         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14851         subnormal range.
14852         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14853         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14854         value has largest subnormal exponent.
14855         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14856         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14857         * sysdeps/aarch64/soft-fp/sfp-machine.h
14858         (_FP_TININESS_AFTER_ROUNDING): New macro.
14859         * sysdeps/alpha/soft-fp/sfp-machine.h
14860         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14861         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14862         Likewise.
14863         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14864         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14865         * sysdeps/mips/soft-fp/sfp-machine.h
14866         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14867         * sysdeps/powerpc/soft-fp/sfp-machine.h
14868         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14869         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14870         Likewise.
14871         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14872         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14873         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14874         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14875         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14876         Likewise.
14878 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
14880         [BZ #16545]
14881         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14882         model 1.
14884 2014-02-12  Richard Henderson  <rth@redhat.com>
14886         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14887         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14888         * sysdeps/unix/sysv/linux/alpha: Move directory from
14889         ports/sysdeps/unix/sysv/linux/alpha.
14890         * README: Update listing for alpha-*-linux-gnu.
14892 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
14894         * include/features.h: Update comment documenting feature test
14895         macros.
14896         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
14897         _DEFAULT_SOURCE.
14898         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14899         (_SVID_SOURCE): Likewise.
14900         (_DEFAULT_SOURCE): Update description of default features.
14901         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14902         with _GNU_SOURCE.
14903         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14904         (S_ISVTX): Likewise.
14905         * manual/math.texi (Mathematical Constants): Likewise.
14906         * manual/signal.texi (Interrupted Primitives): Likewise.
14907         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14908         * math/test-matherr.c (_SVID_SOURCE): Do not define.
14909         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14910         Don't refer to _SVID_SOURCE in warning text.
14912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14914         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14915         already defined.
14916         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14917         * sysdeps/mips/dl-lookup.c: Remove.
14918         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14920 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14922         [BZ #16447]
14923         * math/auto-libm-test-in: Add testcase for expl.
14924         * math/auto-libm-test-out: Regenerate.
14925         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14926         calculation of unsafe.
14927         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14929 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14931         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14932         * sysdeps/unix/sysv/linux/aarch64: Move directory from
14933         ports/sysdeps/unix/sysv/linux/aarch64.
14934         * README: Update listing for aarch64*-*-linux-gnu.
14936 2014-02-11  Will Newton  <will.newton@linaro.org>
14938         * manual/probes.texi (Mathematical Function Probes): Use
14939         "triggered" instead of "hit".
14941         * manual/probes.texi (Internal Probes): Add documentation
14942         of setjmp, longjmp and longjmp_target probes.
14944         * include/stap-probe.h: Add comment about probe argument
14945         format.
14947         * malloc/mtrace.c (attribute_hidden): Remove unused macro
14948         definition.  (tr_where, tr_freehook, tr_mallochook,
14949         tr_reallochook, tr_memalignhook): Use ANSI protoype.
14951 2014-02-11  David S. Miller  <davem@davemloft.net>
14953         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14954         processing int_tests.
14956 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
14958         * sysdeps/mips: Move directory from ports/sysdeps/mips.
14959         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14960         * sysdeps/unix/sysv/linux/mips: Move directory from
14961         ports/sysdeps/unix/sysv/linux/mips.
14962         * README: Update listing for mips-*-linux-gnu and
14963         mips64-*-linux-gnu.
14965 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
14967         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14968         * sysdeps/unix/sysv/linux/m68k: Move directory from
14969         ports/sysdeps/unix/sysv/linux/m68k.
14970         * README: Update listing for m68k-*-linux-gnu.
14972 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
14974         * sysdeps/tile: Move directory from ports/sysdeps/tile.
14975         * sysdeps/unix/sysv/linux/generic: Move directory from
14976         ports/sysdeps/unix/sysv/linux/generic.
14977         * sysdeps/unix/sysv/linux/tile: Move directory from
14978         ports/sysdeps/unix/sysv/linux/tile.
14979         * README: Update listing for tile*-*-linux-gnu.
14981 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14983         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14984         __builtin_expect.
14985         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14986         * catgets/open_catalog.c (__open_catalog): Likewise.
14987         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14988         * debug/confstr_chk.c: Likewise.
14989         * debug/fread_chk.c (__fread_chk): Likewise.
14990         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14991         * debug/getgroups_chk.c: Likewise.
14992         * debug/mbsnrtowcs_chk.c: Likewise.
14993         * debug/mbsrtowcs_chk.c: Likewise.
14994         * debug/mbstowcs_chk.c: Likewise.
14995         * debug/memcpy_chk.c: Likewise.
14996         * debug/memmove_chk.c: Likewise.
14997         * debug/mempcpy_chk.c: Likewise.
14998         * debug/memset_chk.c: Likewise.
14999         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15000         * debug/strcat_chk.c (__strcat_chk): Likewise.
15001         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15002         * debug/strncat_chk.c (__strncat_chk): Likewise.
15003         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15004         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15005         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15006         * debug/wcpncpy_chk.c: Likewise.
15007         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15008         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15009         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15010         * debug/wcsncpy_chk.c: Likewise.
15011         * debug/wcsnrtombs_chk.c: Likewise.
15012         * debug/wcsrtombs_chk.c: Likewise.
15013         * debug/wcstombs_chk.c: Likewise.
15014         * debug/wmemcpy_chk.c: Likewise.
15015         * debug/wmemmove_chk.c: Likewise.
15016         * debug/wmempcpy_chk.c: Likewise.
15017         * debug/wmemset_chk.c: Likewise.
15018         * dirent/scandirat.c (SCANDIRAT): Likewise.
15019         * dlfcn/dladdr1.c (dladdr1): Likewise.
15020         * dlfcn/dladdr.c (dladdr): Likewise.
15021         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15022         * dlfcn/dlerror.c (__dlerror): Likewise.
15023         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15024         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15025         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15026         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15027         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15028         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15029         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15030         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15031         Likewise.
15032         * elf/dl-conflict.c: Likewise.
15033         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15034         * elf/dl-dst.h: Likewise.
15035         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15036         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15037         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15038         * elf/dl-init.c (call_init, _dl_init): Likewise.
15039         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15040         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15041         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15042         Likewise.
15043         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15044         Likewise.
15045         * elf/dl-minimal.c (__libc_memalign): Likewise.
15046         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15047         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15048         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15049         * elf/dl-sym.c (do_sym): Likewise.
15050         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15051         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15052         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15053         * elf/dl-writev.h (_dl_writev): Likewise.
15054         * elf/ldconfig.c (search_dir): Likewise.
15055         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15056         (dl_main): Likewise.
15057         * elf/setup-vdso.h (setup_vdso): Likewise.
15058         * grp/compat-initgroups.c (compat_call): Likewise.
15059         * grp/fgetgrent.c (fgetgrent): Likewise.
15060         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15061         * grp/putgrent.c (putgrent): Likewise.
15062         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15063         Likewise.
15064         * hurd/hurdinit.c: Likewise.
15065         * iconvdata/8bit-gap.c (struct): Likewise.
15066         * iconvdata/ansi_x3.110.c : Likewise.
15067         * iconvdata/big5.c : Likewise.
15068         * iconvdata/big5hkscs.c : Likewise.
15069         * iconvdata/cp1255.c: Likewise.
15070         * iconvdata/cp1258.c : Likewise.
15071         * iconvdata/cp932.c : Likewise.
15072         * iconvdata/euc-cn.c: Likewise.
15073         * iconvdata/euc-jisx0213.c : Likewise.
15074         * iconvdata/euc-jp.c: Likewise.
15075         * iconvdata/euc-jp-ms.c : Likewise.
15076         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15077         * iconvdata/gb18030.c : Likewise.
15078         * iconvdata/gbbig5.c (const): Likewise.
15079         * iconvdata/gbgbk.c: Likewise.
15080         * iconvdata/gbk.c : Likewise.
15081         * iconvdata/ibm1364.c : Likewise.
15082         * iconvdata/ibm930.c : Likewise.
15083         * iconvdata/ibm932.c: Likewise.
15084         * iconvdata/ibm933.c : Likewise.
15085         * iconvdata/ibm935.c : Likewise.
15086         * iconvdata/ibm937.c : Likewise.
15087         * iconvdata/ibm939.c : Likewise.
15088         * iconvdata/ibm943.c: Likewise.
15089         * iconvdata/iso_11548-1.c: Likewise.
15090         * iconvdata/iso-2022-cn.c : Likewise.
15091         * iconvdata/iso-2022-cn-ext.c : Likewise.
15092         * iconvdata/iso-2022-jp-3.c: Likewise.
15093         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15094         * iconvdata/iso-2022-kr.c : Likewise.
15095         * iconvdata/iso646.c (gconv_end): Likewise.
15096         * iconvdata/iso_6937-2.c : Likewise.
15097         * iconvdata/iso_6937.c : Likewise.
15098         * iconvdata/iso8859-1.c: Likewise.
15099         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15100         * iconvdata/shift_jisx0213.c : Likewise.
15101         * iconvdata/sjis.c : Likewise.
15102         * iconvdata/t.61.c : Likewise.
15103         * iconvdata/tcvn5712-1.c : Likewise.
15104         * iconvdata/tscii.c: Likewise.
15105         * iconvdata/uhc.c : Likewise.
15106         * iconvdata/unicode.c (gconv_end): Likewise.
15107         * iconvdata/utf-16.c (gconv_end): Likewise.
15108         * iconvdata/utf-32.c (gconv_end): Likewise.
15109         * iconvdata/utf-7.c (base64): Likewise.
15110         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15111         * iconv/gconv_close.c (__gconv_close): Likewise.
15112         * iconv/gconv_open.c (__gconv_open): Likewise.
15113         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15114         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15115         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15116         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15117         (ucs4le_internal_loop_single): Likewise.
15118         * iconv/iconv.c (iconv): Likewise.
15119         * iconv/iconv_close.c: Likewise.
15120         * iconv/loop.c (SINGLE): Likewise.
15121         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15122         * include/atomic.h: Likewise.
15123         * inet/inet6_option.c (option_alloc): Likewise.
15124         * intl/bindtextdom.c (set_binding_values): Likewise.
15125         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15126         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15127         * intl/localealias.c (read_alias_file): Likewise.
15128         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15129         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15130         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15131         * libio/fmemopen.c (fmemopen): Likewise.
15132         * libio/iofgets.c (_IO_fgets): Likewise.
15133         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15134         * libio/iofgetws.c (fgetws): Likewise.
15135         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15136         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15137         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15138         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15139         * locale/findlocale.c (_nl_find_locale): Likewise.
15140         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15141         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15142         Likewise.
15143         * locale/setlocale.c (setlocale): Likewise.
15144         * login/programs/pt_chown.c (main): Likewise.
15145         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15146         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15147         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15148         (mmap, mmap64, mremap, munmap): Likewise.
15149         * math/e_exp2l.c: Likewise.
15150         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15151         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15152         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15153         * math/s_catan.c (__catan): Likewise.
15154         * math/s_catanf.c (__catanf): Likewise.
15155         * math/s_catanh.c (__catanh): Likewise.
15156         * math/s_catanhf.c (__catanhf): Likewise.
15157         * math/s_catanhl.c (__catanhl): Likewise.
15158         * math/s_catanl.c (__catanl): Likewise.
15159         * math/s_ccosh.c (__ccosh): Likewise.
15160         * math/s_ccoshf.c (__ccoshf): Likewise.
15161         * math/s_ccoshl.c (__ccoshl): Likewise.
15162         * math/s_cexp.c (__cexp): Likewise.
15163         * math/s_cexpf.c (__cexpf): Likewise.
15164         * math/s_cexpl.c (__cexpl): Likewise.
15165         * math/s_clog10.c (__clog10): Likewise.
15166         * math/s_clog10f.c (__clog10f): Likewise.
15167         * math/s_clog10l.c (__clog10l): Likewise.
15168         * math/s_clog.c (__clog): Likewise.
15169         * math/s_clogf.c (__clogf): Likewise.
15170         * math/s_clogl.c (__clogl): Likewise.
15171         * math/s_csin.c (__csin): Likewise.
15172         * math/s_csinf.c (__csinf): Likewise.
15173         * math/s_csinh.c (__csinh): Likewise.
15174         * math/s_csinhf.c (__csinhf): Likewise.
15175         * math/s_csinhl.c (__csinhl): Likewise.
15176         * math/s_csinl.c (__csinl): Likewise.
15177         * math/s_csqrt.c (__csqrt): Likewise.
15178         * math/s_csqrtf.c (__csqrtf): Likewise.
15179         * math/s_csqrtl.c (__csqrtl): Likewise.
15180         * math/s_ctan.c (__ctan): Likewise.
15181         * math/s_ctanf.c (__ctanf): Likewise.
15182         * math/s_ctanh.c (__ctanh): Likewise.
15183         * math/s_ctanhf.c (__ctanhf): Likewise.
15184         * math/s_ctanhl.c (__ctanhl): Likewise.
15185         * math/s_ctanl.c (__ctanl): Likewise.
15186         * math/w_pow.c: Likewise.
15187         * math/w_powf.c: Likewise.
15188         * math/w_powl.c: Likewise.
15189         * math/w_scalb.c (sysv_scalb): Likewise.
15190         * math/w_scalbf.c (sysv_scalbf): Likewise.
15191         * math/w_scalbl.c (sysv_scalbl): Likewise.
15192         * misc/error.c (error_tail): Likewise.
15193         * misc/pselect.c (__pselect): Likewise.
15194         * nis/nis_callback.c (__nis_create_callback): Likewise.
15195         * nis/nis_call.c (__nisfind_server): Likewise.
15196         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15197         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15198         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15199         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15200         * nis/nis_lookup.c (nis_lookup): Likewise.
15201         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15202         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15203         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15204         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15205         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15206         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15207         * nis/nss_compat/compat-initgroups.c (add_group)
15208         (internal_getgrent_r): Likewise.
15209         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15210         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15211         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15212         (internal_getspnam_r): Likewise.
15213         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15214         (_nss_nis_getaliasbyname_r): Likewise.
15215         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15216         (_nss_nis_getntohost_r): Likewise.
15217         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15218         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15219         (_nss_nis_getgrgid_r): Likewise.
15220         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15221         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15222         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15223         (_nss_nis_gethostbyname4_r): Likewise.
15224         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15225         (initgroups_netid): Likewise.
15226         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15227         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15228         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15229         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15230         (_nss_nis_getprotobynumber_r): Likewise.
15231         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15232         (_nss_nis_getsecretkey): Likewise.
15233         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15234         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15235         (_nss_nis_getpwuid_r): Likewise.
15236         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15237         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15238         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15239         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15240         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15241         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15242         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15243         Likewise.
15244         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15245         (_nss_nisplus_getntohost_r): Likewise.
15246         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15247         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15248         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15249         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15250         Likewise.
15251         * nis/nss_nisplus/nisplus-initgroups.c
15252         (_nss_nisplus_initgroups_dyn): Likewise.
15253         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15254         (_nss_nisplus_getnetbyaddr_r): Likewise.
15255         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15256         (_nss_nisplus_getprotobynumber_r): Likewise.
15257         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15258         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15259         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15260         Likewise.
15261         * nis/nss_nisplus/nisplus-service.c
15262         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15263         (_nss_nisplus_getservbyport_r): Likewise.
15264         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15265         (_nss_nisplus_getspnam_r): Likewise.
15266         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15267         Likewise.
15268         * nscd/aicache.c (addhstaiX): Likewise.
15269         * nscd/cache.c (cache_search, prune_cache): Likewise.
15270         * nscd/connections.c (register_traced_file, send_ro_fd)
15271         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15272         (main_loop_epoll): Likewise.
15273         * nscd/grpcache.c (addgrbyX): Likewise.
15274         * nscd/hstcache.c (addhstbyX): Likewise.
15275         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15276         * nscd/mem.c (gc, mempool_alloc): Likewise.
15277         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15278         (addinnetgrX): Likewise.
15279         * nscd/nscd-client.h (__nscd_acquire_maplock)
15280         (__nscd_drop_map_ref): Likewise.
15281         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15282         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15283         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15284         Likewise.
15285         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15286         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15287         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15288         (__nscd_get_map_ref): Likewise.
15289         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15290         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15291         Likewise.
15292         * nscd/pwdcache.c (addpwbyX): Likewise.
15293         * nscd/selinux.c (preserve_capabilities): Likewise.
15294         * nscd/servicescache.c (addservbyX): Likewise.
15295         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15296         * posix/fnmatch.c (fnmatch): Likewise.
15297         * posix/getopt.c (_getopt_internal_r): Likewise.
15298         * posix/glob.c (glob, glob_in_dir): Likewise.
15299         * posix/wordexp.c (exec_comm_child): Likewise.
15300         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15301         (getanswer_r, gaih_getanswer_slice): Likewise.
15302         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15303         * resolv/res_init.c: Likewise.
15304         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15305         * resolv/res_query.c (__libc_res_nquery): Likewise.
15306         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15307         Likewise.
15308         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15309         * stdio-common/perror.c (perror): Likewise.
15310         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15311         * stdio-common/tmpnam.c (tmpnam): Likewise.
15312         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15313         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15314         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15315         Likewise.
15316         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15317         * stdlib/putenv.c (putenv): Likewise.
15318         * stdlib/setenv.c (__add_to_environ): Likewise.
15319         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15320         * stdlib/strtol_l.c (INTERNAL): Likewise.
15321         * string/memmem.c (memmem): Likewise.
15322         * string/strerror.c (strerror): Likewise.
15323         * string/strnlen.c (__strnlen): Likewise.
15324         * string/test-memmem.c (simple_memmem): Likewise.
15325         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15326         * sunrpc/pm_getport.c (__get_socket): Likewise.
15327         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15328         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15329         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15330         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15331         Likewise.
15332         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15333         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15334         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15335         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15336         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15337         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15338         Likewise.
15339         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15340         Likewise.
15341         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15342         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15343         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15344         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15345         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15347         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15348         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15349         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15350         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15351         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15352         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15353         Likewise.
15354         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15355         Likewise.
15356         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15357         Likewise.
15358         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15359         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15360         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15361         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15362         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15363         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15364         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15365         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15366         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15367         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15368         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15369         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15370         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15371         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15372         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15373         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15374         Likewise.
15375         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15376         Likewise.
15377         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15378         Likewise.
15379         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15380         Likewise.
15381         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15382         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15383         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15384         Likewise.
15385         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15386         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15387         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15388         * sysdeps/posix/sleep.c: Likewise.
15389         * sysdeps/posix/tempname.c: Likewise.
15390         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15391         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15392         Likewise.
15393         * sysdeps/powerpc/powerpc32/dl-machine.h
15394         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15395         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15396         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15397         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15398         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15399         Likewise.
15400         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15401         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15402         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15403         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15404         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15405         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15406         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15407         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15408         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15409         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15410         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15411         (elf_machine_lazy_rel): Likewise.
15412         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15413         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15414         (elf_machine_lazy_rel): Likewise.
15415         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15416         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15417         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15418         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15419         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15420         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15421         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15422         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15423         Likewise.
15424         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15425         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15426         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15427         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15428         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15429         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15430         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15431         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15432         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15433         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15434         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15435         Likewise.
15436         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15437         (__posix_fallocate64_l64): Likewise.
15438         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15439         (posix_fallocate): Likewise.
15440         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15441         Likewise.
15442         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15443         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15444         (getifaddrs_internal): Likewise.
15445         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15446         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15447         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15448         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15449         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15450         (__posix_fallocate64_l64): Likewise.
15451         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15452         Likewise.
15453         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15454         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15455         (__get_clockfreq): Likewise.
15456         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15457         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15458         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15459         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15461         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15462         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15463         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15464         Likewise.
15465         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15466         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15467         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15468         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15469         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15470         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15471         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15472         Likewise.
15473         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15474         (posix_fallocate): Likewise.
15475         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15476         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15477         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15478         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15479         (elf_machine_rela, elf_machine_rela_relative)
15480         (elf_machine_lazy_rel): Likewise.
15481         * time/asctime.c (asctime_internal): Likewise.
15482         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15483         * time/tzset.c (__tzset_parse_tz): Likewise.
15484         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15485         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15486         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15487         * wcsmbs/wcsmbsload.h: Likewise.
15489         [BZ #15894]
15490         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15492         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15493         (arena_get2): Remove THREAD_STATS conditionals.
15494         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15495         (__malloc_stats, int): Likewise.
15497 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15499         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15500         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15502         * manual/setjmp.texi: Fix typos/grammar errors.
15504         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15505         Only return early when n is <= 0.  Delete unused return statement.
15507         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15508         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15509         * debug/tst-longjmp_chk3.c: New file.
15511         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15512         (test_main): Replace code with set_fortify_handler call.
15513         * debug/test-strcpy_chk.c: Likewise.
15514         * debug/tst-chk1.c: Likewise.
15515         * debug/tst-longjmp_chk.c: Likewise.
15516         * test-skeleton.c: Include fcntl.h & paths.h
15517         (set_fortify_handler): Define.
15519         * debug/tst-longjmp_chk.c: Add header comment and include
15520         ../test-skeleton.c.
15521         (do_test): Mark static.
15522         (TEST_FUNCTION): Define.
15524         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15525         (IP_PMTUDISC_INTERFACE): Likewise.
15526         (IP_MULTICAST_IF): Likewise.
15527         (IP_MULTICAST_TTL): Likewise.
15528         (IP_MULTICAST_LOOP): Likewise.
15529         (IP_ADD_MEMBERSHIP): Likewise.
15530         (IP_DROP_MEMBERSHIP): Likewise.
15531         (IP_UNBLOCK_SOURCE): Likewise.
15532         (IP_BLOCK_SOURCE): Likewise.
15533         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15534         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15535         (IP_MSFILTER): Likewise.
15536         (MCAST_JOIN_GROUP): Likewise.
15537         (MCAST_BLOCK_SOURCE): Likewise.
15538         (MCAST_UNBLOCK_SOURCE): Likewise.
15539         (MCAST_LEAVE_GROUP): Likewise.
15540         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15541         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15542         (MCAST_MSFILTER): Likewise.
15543         (IP_MULTICAST_ALL): Likewise.
15544         (IP_UNICAST_IF): Likewise.
15546         * timezone/Makefile: Delete $(have-ksh) check.
15547         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15548         * timezone/tzselect.ksh: Add +x mode bits.
15550         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15551         (ANON_INODE_FS_MAGIC): Likewise.
15552         (BDEVFS_MAGIC): Likewise.
15553         (BINFMTFS_MAGIC): Likewise.
15554         (BTRFS_TEST_MAGIC): Likewise.
15555         (CRAMFS_MAGIC_WEND): Likewise.
15556         (DEBUGFS_MAGIC): Likewise.
15557         (ECRYPTFS_SUPER_MAGIC): Likewise.
15558         (EXT3_SUPER_MAGIC): Likewise.
15559         (EXT4_SUPER_MAGIC): Likewise.
15560         (FUTEXFS_SUPER_MAGIC): Likewise.
15561         (HOSTFS_SUPER_MAGIC): Likewise.
15562         (HUGETLBFS_MAGIC): Likewise.
15563         (MINIX3_SUPER_MAGIC): Likewise.
15564         (MTD_INODE_FS_MAGIC): Likewise.
15565         (NILFS_SUPER_MAGIC): Likewise.
15566         (OPENPROM_SUPER_MAGIC): Likewise.
15567         (PIPEFS_MAGIC): Likewise.
15568         (PSTOREFS_MAGIC): Likewise.
15569         (QNX6_SUPER_MAGIC): Likewise.
15570         (RAMFS_MAGIC): Likewise.
15571         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15572         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15573         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15574         (SECURITYFS_MAGIC): Likewise.
15575         (SELINUX_MAGIC): Likewise.
15576         (SMACK_MAGIC): Likewise.
15577         (SOCKFS_MAGIC): Likewise.
15578         (SQUASHFS_MAGIC): Likewise.
15579         (STACK_END_MAGIC): Likewise.
15580         (TMPFS_MAGIC): Likewise.
15581         (USBDEVICE_SUPER_MAGIC): Likewise.
15582         (V9FS_MAGIC): Likewise.
15583         (XENFS_SUPER_MAGIC): Likewise.
15584         (CRAMFS_MAGIC): Fix typo in comment.
15585         (EXT2_SUPER_MAGIC): Update comment.
15586         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15588 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15590         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15591         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15592         * sysdeps/unix/sysv/linux/arm: Move directory from
15593         ports/sysdeps/unix/sysv/linux/arm.
15594         * README: Update listing for arm-*-linux-gnueabi.
15596         * README: Remove mention of am33.
15598 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15600         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15601         than the comma operator, to avoid "rhs of comma has no effect"
15602         compiler warnings.
15603         (__sigfillset, __sigandset, __sigorset): Likewise.
15604         * include/signal.h (__sigemptyset): Likewise.
15605         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15607 2014-02-07  Allan McRae  <allan@archlinux.org>
15609         * version.h (RELEASE): Set to "development".
15610         (VERSION): Set to "2.19.90"
15611         * NEWS: Add 2.20 section.
15613 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15615         [BZ #16529]
15616         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15618 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15620         * manual/contrib.texi: Update entry for Carlos O'Donell,
15621         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15623 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15625         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15627         * sysdeps/unix/sysv/linux/kernel-features.h
15628         [__LINUX_KERNEL_VERSION >= 0x020621]
15629         (__ASSUME_PROC_PID_TASK_COMM): Define.
15631 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15633         [BZ #16398]
15634         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15635         conversion when destination buffer does not have enough space.
15636         * libio/tst-ftell-partial-wide.c: New test case.
15637         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15639         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15640         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15641         Leonard and Allan McRae.
15643 2014-02-04  David S. Miller  <davem@davemloft.net>
15645         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15646         32-bit.
15648 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15651         New file
15652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15653         New file
15654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15655         New file.
15656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15657         New file.
15658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15659         New file.
15660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15661         New file.
15662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15663         New file.
15664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15665         New file.
15666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15667         New file.
15668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15669         New file.
15670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15671         New file.
15672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15673         New file.
15674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15675         New file.
15677 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15679         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15680         * shlib-versions: Likewise.
15682 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15683             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15685         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15686         (abilist-pattern): New variable, set to %-le.abilist.
15688         * Makerules (abilist-pattern): New variable.
15689         (vpath): Use $(abilist-pattern) in place of %.abilist.
15690         (check-abi-% pattern rule): Likewise.
15691         (check-abi, update-abi): Likewise.
15693 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15695         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15697 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15699         * manual/startup.texi: Add next, previous, and top entries for
15700         the `Program Arguments' and `Environment Variables' nodes.
15702 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15704         * manual/macros.texi: Add comments before MTASC-safety macros.
15706         * manual/users.texi: Document MTASC-safety properties.
15708         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15709         (pthread_getspecific, pthread_setspecific): Format with
15710         @deftypefun, and add @safety note.
15711         * manual/signal.texi: Move comments that analyze the above
15712         functions to their home place.
15714 2014-02-03  Allan McRae  <allan@archlinux.org>
15716         * po/sl.po: Update Slovenian translation from translation project.
15718 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15720         * manual/time.texi (timegm): Add missing blank after @c.
15721         Reported by Joseph Myers <joseph@codesourcery.com>.
15723 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15725         * manual/check-safety.sh: New.
15726         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15728         * manual/terminal.texi: Document MTASC-safety properties.
15730         * manual/filesys.texi: Document MTASC-safety properties.
15732         * manual/errno.texi: Document MTASC-safety properties.
15734         * manual/intro.texi: Document safety identifiers and
15735         conditionals.
15737         * manual/string.texi (wcstok): Fix prototype.
15738         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15740         * manual/time.texi: Document MTASC-safety properties.
15742         * manual/string.texi: Document MTASC-safety properties.
15744         * manual/threads.texi: Document MTASC-safety properties.
15746         * manual/stdio.texi: Document MTASC-safety properties.
15748         * manual/syslog.texi: Document MTASC-safety properties.
15750         * manual/sysinfo.texi: Document MTASC-safety properties.
15752         * manual/startup.texi: Document MTASC-safety properties.
15754         * manual/socket.texi: Document MTASC-safety properties.
15756         * manual/signal.texi: Document MTASC-safety properties.
15758 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
15760         * manual/setjmp.texi: Document MTASC-safety properties.
15762         * manual/search.texi: Document MTASC-safety properties.
15764         * manual/resource.texi: Document MTASC-safety properties.
15766         * manual/process.texi: Document MTASC-safety properties.
15768         * manual/platform.texi: Document MTASC-safety properties.
15770         * manual/pipe.texi: Document MTASC-safety properties.
15772         * manual/pattern.texi: Document MTASC-safety properties.
15774         * manual/message.texi: Document MTASC-safety properties.
15776         [BZ #12751]
15777         * manual/memory.texi: Document MTASC-safety properties.
15779         * manual/math.texi: Document MTASC-safety properties.
15781         * manual/locale.texi: Document MTASC-safety properties.
15783         * manual/llio.texi: Document MTASC-safety properties.
15785         * manual/libdl.texi: New.
15787         * manual/lang.texi: Document MTASC-safety properties.
15789         * manual/job.texi: Document MTASC-safety properties.
15791         * manual/getopt.texi: Document MTASC-safety properties.
15793         * manual/ctype.texi: Document MTASC-safety properties.
15795 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
15797         [BZ #16046]
15798         * csu/libc-tls.c (static_map): Remove variable.
15799         (__libc_setup_tls): Use main executable's link map for TLS data.
15800         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15801         casing for LM_ID_BASE and GL(dl_nns).
15802         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15803         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
15804         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15805         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15806         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15807         member.
15808         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15809         l_phnum members.
15811 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
15813         * manual/debug.texi: Document MTASC-safety properties.
15815 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
15817         [BZ #16510]
15818         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15819         of __x86_64__ when disabling x87 inline functions.
15821 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
15823         * manual/charset.texi: Document MTASC-safety properties.
15825         * manual/crypt.texi: Document MTASC-safety properties.
15827         * manual/conf.texi: Document MTASC-safety properties.
15829         * manual/arith.texi: Document MTASC-safety properties.
15831         * manual/argp.texi: Document MTASC-safety properties.
15833         * manual/macros.texi: Introduce macros to document multi
15834         thread, asynchronous signal and asynchronous cancellation
15835         safety properties.
15836         * manual/intro.texi: Introduce the properties themselves.
15838 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15840         * sysdeps/sh/sh4/Makefile: New file.
15842 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
15844         * math/gen-libm-test.pl ($srcdir): New variable.
15845         ($auto_input): Use it.
15847 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15849         [BZ #16506]
15850         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15851         access beyond array bounds when parsing netgroups file.
15853         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15854         the old buffer before realloc.
15856 2014-01-27  Allan McRae  <allan@archlinux.org>
15858         * po/fr.po: Update French translation from translation project.
15860 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15862         * sysdeps/sh/libm-test-ulps: Regenerate.
15864 2014-01-24  David S. Miller  <davem@davemloft.net>
15866         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15868 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15870         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15871         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15873 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15875         [BZ #16474]
15876         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15877         string pointers after reallocation.
15879 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15881         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15882         __SH4A__ instead of __SH_FPU_ANY__.
15884 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15886         * sysdeps/sh/fpu_control.h: New file.
15887         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15888         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15889         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15890         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15891         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15892         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15893         * sysdeps/sh/sys/ucontext.h: Remove.
15894         * sysdeps/sh/sys: Remove directory.
15896 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15898         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15899         s390/sys/ucontext.h.
15900         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15901         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15903 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
15905         [BZ #15605]
15906         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15908 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15910         [BZ#16431]
15911         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15912         Adjust the vDSO correctly for internal calls.
15913         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15915 2014-01-20  Allan McRae  <allan@archlinux.org>
15917         * po/ca.po: Update Catalan translation from translation project.
15919 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
15921         * sysdeps/s390/sotruss-lib.c: New file.
15923 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15925         [BZ#16430]
15926         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15927         (__GI___gettimeofday): Alias for a different internal symbol to avoid
15928         local calls issues by not having a PLT stub required for IFUNC calls.
15929         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15931 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
15933         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15934         * math/test-fpucw-static.c: Likewise.
15936 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15938         [BZ #16453]
15939         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15941 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15943         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15944         implementation for powerpc.
15946 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
15948         [BZ #14782]
15949         * sysdeps/posix/system.c (__libc_system): Do not enable
15950         asynchronous cancellation.
15952 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15954         [BZ #16427]
15955         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15956         handling only for numbers special also in the IEEE case.
15958 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15960         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15962 2014-01-11  Allan McRae  <allan@archlinux.org>
15964         * po/bg.po: Update Bulgarian translation from translation project.
15966         * po/de.po: Update German translation from translation project.
15968 2014-01-10  Roland McGrath  <roland@hack.frob.com>
15970         * sysdeps/generic/gcc-compat.h: New file.
15972 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15974         * benchtests/asin-inputs: Correct slow inputs.
15975         * benchtests/acos-inputs: Likewise.
15977 2014-01-10  Allan McRae  <allan@archlinux.org>
15979         * po:sv.po: Update Swedish translation from translation project.
15981         * po/vi.po: Update Vietnamese translation from translation project.
15983         * po/eo.po: Update Esperanto translation from translation project.
15985         * po/cs.po: Update Czech translation from translation project.
15987         * po/nl.po: Update Dutch translation from translation project.
15989         * po/pl.po: Update Polish translation from translation project.
15991         * po/ru.po: Update Russian translation from translation project.
15993         * po/uk.po: Update Ukrainian translation from translation project.
15995 2014-01-08  Brooks Moses  <bmoses@google.com>
15997         * elf/dl-load.c: Fix comment typo.
15999 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16001         * po/header.pot: Rename to...
16002         * po/pot.header: ... this.
16003         * po/Makefile: Use pot.header.
16005 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16006             Maxim Kuvyrkov  <maxim@kugelworks.com>
16008         [BZ #16394]
16009         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16010         SRC and DEST against LEN.
16012 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16014         [BZ #16414]
16015         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16016         implementation.
16017         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16019 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16023 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16025         [BZ #16408]
16026         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16027         for large positive arguments.
16029 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16031         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16033         * math/auto-libm-test-in: Mark various tests with
16034         xfail-rounding:ldbl-128ibm.
16035         * math/auto-libm-test-out: Regenerated.
16037         [BZ #16407]
16038         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16039         Increase overflow threshold.
16041 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16043         [BZ #14286]
16044         * stdio-common/vfprintf.c: Check for integer overflow.
16046 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16048         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16049         the first argument and return value of __tls_get_addr_internal.
16051 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16053         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16054         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16056 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16058         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16059         * sysdeps/s390/rtld-global-offsets.sym: New file.
16060         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16061         GLIBC_2.19 symbol.
16062         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16063         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16064         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16065         ... this.
16066         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16067         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16068         ... this.
16069         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16070         Regenerate.
16071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16072         Regenerate.
16073         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16074         halfs of GPRs for high_gprs contexts.
16075         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16076         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16077         field.
16078         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16079         uc_flags field.
16080         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16081         64 bit versions:
16082         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16083         for high GPRs (uc_high_gprs) and for future extensions
16084         (__reserved).
16085         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16086         for future extensions (__reserved).
16087         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16088         64 bit versions:
16089         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16090         SC_HIGHGPRS offset definition.
16091         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16092         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16094         * Versions.def: Add GLIBC_2.19 for libpthread.
16095         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16096         siglongjmp for libpthread with GLIBC_2.19 symver.
16097         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16098         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16099         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16100         * sysdeps/s390/__longjmp.c: New file.
16101         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16102         * sysdeps/s390/longjmp.c: New file.
16103         * sysdeps/s390/setjmp.S: New file.
16104         * sysdeps/s390/sigjmp.S: New file.
16105         * sysdeps/s390/v1-longjmp.c: New file.
16106         * sysdeps/s390/v1-setjmp.h: New file.
16107         * sysdeps/s390/v1-sigjmp.c: New file.
16108         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16109         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16110         GLIBC_2.19 version.
16111         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16112         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16113         versioned symbols for ____longjmp_chk.
16114         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16115         Likewise.
16116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16117         Regenerate.
16118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16119         Regenerate.
16120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16121         Regenerate.
16122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16123         Regenerate.
16124         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16125         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16126         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16127         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16128         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16129         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16130         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16131         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16132         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16133         * sysdeps/s390/rtld-__longjmp.c: New file.
16134         * sysdeps/s390/rtld-setjmp.S: New file.
16136 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16138         [BZ #16400]
16139         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16140         Return -__logl (x) for small positive arguments without evaluating
16141         a polynomial.
16143 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16145         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16146         Rename to ...
16147         (__ptrace_peeksiginfo_args): ... this.
16148         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16149         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16150         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16152 2014-01-06  Allan McRae  <allan@archlinux.org>
16154         * inet/netinet/in.h: Fix typo in comment.
16156 2014-01-05  Andreas Jaeger  <aj@suse.de>
16158         * sysdeps/i386/fpu/libm-test-ulps: Update.
16160 2014-01-05  Allan McRae  <allan@archlinux.org>
16162         * po/libc.pot: Regenerated.
16164         * malloc/memusagestat.c: Fix gettext call formatting.
16166 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16168         * nscd/nscd.c: Improve usage() output.
16170 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16172         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16173         * sysdeps/unix/sysv/linux/configure: Regenerated.
16174         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16175         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16177 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16179         [BZ #16390]
16180         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16181         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16183 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16185         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16186         extra tokens at end of #undef directive.
16187         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16188         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16189         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16191 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16193         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16195         * math/auto-libm-test-in: Mark various tests with
16196         xfail-rounding:ldbl-128ibm.
16197         * math/auto-libm-test-out: Regenerated.
16199 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16201         [BZ #16386]
16202         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16203         numbers with subnormal high part when calculating exponent.
16205         [BZ #16385]
16206         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16207         fabs.
16209         [BZ #16384]
16210         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16211         M_LN2l.
16212         (__ieee754_acoshl): Use __log1pl not __log1p.
16214 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16216         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16217         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16218         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16219         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16220         (reused_arena, arena_get2): Convert to GNU style.
16221         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16222         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16223         (memalign_check, __malloc_set_state): Likewise.
16224         * malloc/mallocbug.c (main): Likewise.
16225         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16226         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16227         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16228         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16229         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16230         (__posix_memalign, malloc_info): Likewise.
16231         * malloc/malloc.h: Likewise.
16232         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16233         (mallochook, memalignhook, reallochook, mabort): Likewise.
16234         * malloc/mcheck.h: Likewise.
16235         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16236         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16237         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16238         * malloc/morecore.c (__default_morecore): Likewise.
16239         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16240         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16241         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16242         (print_and_abort): Likewise.
16243         * malloc/obstack.h: Likewise.
16244         * malloc/set-freeres.c (__libc_freeres): Likewise.
16245         * malloc/tst-mallocstate.c (main): Likewise.
16246         * malloc/tst-mtrace.c (main): Likewise.
16247         * malloc/tst-realloc.c (do_test): Likewise.
16249 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16251         [BZ #16366]
16252         * nscd/netgroupcache.c (do_notfound): New function.
16253         (addgetnetgrentX): Use it.
16255         [BZ # 16365]
16256         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16257         NSS_STATUS_NOTFOUND.
16259 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16261         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16264 2014-01-01  Allan McRae  <allan@archlinux.org>
16266         * scripts/update-copyrights: Update configure input file suffix.
16268         * NEWS: Update copyright year.
16269         * catgets/gencat.c: Likewise.
16270         * csu/version.c: Likewise.
16271         * debug/catchsegv.sh: Likewise.
16272         * debug/pcprofiledump.c: Likewise.
16273         * debug/xtrace.sh: Likewise.
16274         * elf/ldconfig.c: Likewise.
16275         * elf/ldd.bash.in: Likewise.
16276         * elf/pldd.c: Likewise.
16277         * elf/sotruss.ksh: Likewise.
16278         * elf/sprof.c: Likewise.
16279         * iconv/iconv_prog.c: Likewise.
16280         * iconv/iconvconfig.c: Likewise.
16281         * locale/programs/locale.c: Likewise.
16282         * locale/programs/localedef.c: Likewise.
16283         * login/programs/pt_chown.c: Likewise.
16284         * malloc/memusage.sh: Likewise.
16285         * malloc/memusagestat.c: Likewise.
16286         * malloc/mtrace.pl: Likewise.
16287         * manual/libc.texinfo: Likewise.
16288         * nscd/nscd.c: Likewise.
16289         * nss/getent.c: Likewise.
16290         * nss/makedb.c: Likewise.
16291         * posix/getconf.c: Likewise.
16292         * scripts/test-installation.pl: Likewise.
16294         * All files with FSF copyright notices: Update copyright dates
16295         using scripts/update-copyrights.
16296         * intl/plural.c: Regenerated.
16297         * locale/programs/charmap-kw.h: Likewise.
16298         * locale/programs/locfile-kw.h: Likewise.
16300 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16302         * sysdeps/unix/sysv/linux/configure: Regenerated.
16303         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16304         the linux/fanotify.h header.
16305         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16306         HAVE_LINUX_FANOTIFY_H is defined.
16308 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16310         * benchtests/cos-inputs: New inputs.
16311         * benchtests/sin-inputs: Likewise.
16313         * benchtests/atan-inputs: New inputs. Fix name of multiple
16314         precision fallback inputs.
16316         * benchtests/atanh-inputs: New inputs.
16317         * benchtests/tanh-inputs: Likewise.
16319         * benchtests/acosh-inputs: New inputs.
16320         * benchtests/asinh-inputs: Likewise.
16322         * benchtests/cosh-inputs: New inputs.
16323         * benchtests/sinh-inputs: Likewise.
16325         * benchtests/acos-inputs: Add more inputs.
16326         * benchtests/asin-inputs: Likewise.
16328 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16330         [BZ #16375]
16331         * manual/arith.texi: Fix spelling.
16332         * manual/charset.texi: Likewise.
16333         * manual/errno.texi: Likewise.
16334         * manual/filesys.texi: Likewise.
16335         * manual/lang.texi: Likewise.
16336         * manual/llio.texi: Likewise.
16337         * manual/locale.texi: Likewise.
16338         * manual/message.texi: Likewise.
16339         * manual/resource.texi: Likewise.
16340         * manual/search.texi: Likewise.
16341         * manual/setjmp.texi: Likewise.
16342         * manual/stdio.texi: Likewise.
16343         * manual/string.texi: Likewise.
16344         * manual/sysinfo.texi: Likewise.
16345         * manual/time.texi: Likewise.
16347 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16349         * po/sl.po: New file.
16351 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16353         * .gitignore: Add core/.gdbinit/.gdb_history.
16355 2013-12-27  Allan McRae  <allan@archlinux.org>
16357         [BZ #16369]
16358         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16359         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16361 2013-12-24  Brooks Moses  <bmoses@google.com>
16363         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16364         all compilers that claim C++98 compliance, not just GCC.
16365         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16366         Likewise.
16368 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16370         * NEWS: Restore accidentally deleted bug-fix entries.
16372 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16373             Ondřej Bílka  <neleai@seznam.cz>
16375         [BZ #15073]
16376         * malloc/malloc.c (_int_free): Perform sanity check only if we
16377         have_lock.
16379 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16381         [BZ #12986]
16382         * manual/stdio.texi (String Input Conversions): Clarify that character
16383         classes are not supported.
16385 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16389 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16391         [BZ #16337]
16392         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16393         Calculate results for small negative arguments directly rather
16394         than using reflection formula with special underflow handling.
16396         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16397         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16398         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16399         (fchflags): Likewise.
16400         (revoke): Likewise.
16401         (setlogin): Likewise.
16402         (sigaltstack): Likewise.
16403         (wait4): Likewise.
16404         (sigblock): Remove.
16405         (sigsetmask): Likewise.
16406         (wait3): Likewise.
16407         (waitpid): Likewise.
16408         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16409         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16410         file.
16411         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16412         * sysdeps/unix/bsd/Makefile: ... here.
16413         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16414         * sysdeps/unix/bsd/Versions: ... here.
16415         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16416         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16417         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16418         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16419         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16420         * sysdeps/unix/bsd/sigblock.c: ... here.
16421         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16422         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16423         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16424         * sysdeps/unix/bsd/sigvec.c: ... here.
16425         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16426         * sysdeps/unix/bsd/tcdrain.c: ... here.
16427         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16428         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16429         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16430         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16431         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16432         * sysdeps/unix/bsd/wait.c: ... here.
16433         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16434         * sysdeps/unix/bsd/wait3.c: ... here.
16435         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16436         * sysdeps/unix/bsd/waitpid.c: ... here.
16438 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16440         [BZ #16356]
16441         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16442         round-to-nearest for [!USE_AS_EXPM1L].
16443         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16444         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16445         more tests of exp and exp10.  Expect some exp10 tests to miss
16446         exceptions or fail in directed rounding modes.
16447         * math/auto-libm-test-out: Regenerated.
16448         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16449         (exp10_test_tonearest): New function.
16450         (exp10_towardzero_test_data): New array.
16451         (exp10_test_towardzero): New function.
16452         (exp10_downward_test_data): New array.
16453         (exp10_test_downward): New function.
16454         (exp10_upward_test_data): New array.
16455         (exp10_test_upward): New function.
16456         (main): Call the new functions.
16457         * sysdeps/i386/fpu/libm-test-ulps: Update.
16458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16460 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16462         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16463         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16464         * math/auto-libm-test-out: Regenerated.
16465         * math/libm-test.inc (acosh_test_data): Add more tests.
16466         (atanh_test_data): Likewise.
16467         (ceil_test_data): Likewise.
16468         (copysign_test_data): Likewise.
16469         * sysdeps/i386/fpu/libm-test-ulps: Update.
16470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16472         * timezone/checktab.awk: Update from tzcode 2013i.
16473         * timezone/private.h: Likewise.
16474         * timezone/scheck.c: Likewise.
16475         * timezone/tzfile.h: Likewise.
16476         * timezone/tzselect.ksh: Likewise.
16477         * timezone/zdump.c: Likewise.
16478         * timezone/zic.c: Likewise.
16480         * math/auto-libm-test-in: Add tests of cpow.
16481         * math/auto-libm-test-out: Regenerated.
16482         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16483         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16484         mpc_cc_c.
16485         (func_calc_desc): Add mpc_cc_c union field.
16486         (test_functions): Add cpow.
16487         (special_fill_2pi): New function.
16488         (special_real_inputs): Add 2pi.
16489         (calc_generic_results): Handle mpc_cc_c.
16490         * sysdeps/i386/fpu/libm-test-ulps: Update.
16491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16493         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16494         csqrt, ctan and ctanh.
16495         * math/auto-libm-test-out: Regenerated.
16496         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16497         (TEST_COND_x86): Likewise.
16498         (ccos_test_data): Use AUTO_TESTS_c_c.
16499         (ccosh_test_data): Likewise.
16500         (cexp_test_data): Likewise.
16501         (clog_test_data): Likewise.
16502         (csqrt_test_data): Likewise.
16503         (ctan_test_data): Likewise.
16504         (ctan_tonearest_test_data): Likewise.
16505         (ctan_towardzero_test_data): Likewise.
16506         (ctan_downward_test_data): Likewise.
16507         (ctan_upward_test_data): Likewise.
16508         (ctanh_test_data): Likewise.
16509         (ctanh_tonearest_test_data): Likewise.
16510         (ctanh_towardzero_test_data): Likewise.
16511         (ctanh_downward_test_data): Likewise.
16512         (ctanh_upward_test_data): Likewise.
16513         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16514         mpc_c_c.
16515         (func_calc_desc): Add mpc_c_c union field.
16516         (FUNC_mpc_c_c): New macro.
16517         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16518         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16519         ctanh.
16520         (special_fill_min_subnorm_p120): New function.
16521         (special_real_inputs): Add min_subnorm_p120.
16522         (calc_generic_results): Handle mpc_c_c.
16523         * sysdeps/i386/fpu/libm-test-ulps: Update.
16524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16526 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16528         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16529         (do_sin_slow): New functions.
16530         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16531         (cslow2, csloww1, csloww2): Use the new functions.
16533         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16534         Use M to change sign of result instead of X.  Assume X is
16535         positive.
16536         (csloww1): Likewise.
16537         (__sin): Adjust.
16538         (__cos): Adjust.
16540         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16541         arguments A and DA.
16542         (__sin): Adjust.
16543         (__cos): Likewise.
16545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16546         (__cos): Likewise.
16547         (sloww1): Don't adjust sign of DX.
16548         (csloww1): Likewise.
16549         (sloww2): Use X directly and don't adjust sign of DX.
16550         (csloww2): Likewise.
16552 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16554         * math/auto-libm-test-in: Add tests of cabs and carg.
16555         * math/auto-libm-test-out: Regenerated.
16556         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16557         (carg_test_data): Likewise.
16558         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16559         mpc_c_f.
16560         (func_calc_desc): Add mpc_c_f union field.
16561         (test_functions): Add cabs and carg.
16562         (calc_generic_results): Handle mpc_c_f.
16564         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16565         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16566         as a macro and a compat symbol.
16567         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16568         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16569         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16570         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16571         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16572         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16573         not use .hidden.
16574         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16575         Likewise.
16576         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16577         Likewise.
16578         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16579         Likewise.
16580         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16581         Likewise.
16582         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16583         Likewise.
16584         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16585         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16586         from GLIBC_2.3.2.
16588 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16592 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16594         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16595         trailing whitespace removed.
16596         * scripts/config.guess: Update to version 2013-11-29.
16597         * scripts/config.sub: Update to version 2013-10-01.
16599         * math/auto-libm-test-in: Add tests of sincos.
16600         * math/auto-libm-test-out: Regenerated.
16601         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16602         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16603         mpfr_f_11.
16604         (func_calc_desc): Add mpfr_f_11 union field.
16605         (test_functions): Add sincos.
16606         (calc_generic_results): Handle mpfr_f_11.
16607         * sysdeps/i386/fpu/libm-test-ulps: Update.
16608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16610 2013-12-19  Andreas Schwab  <schwab@suse.de>
16612         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16613         CALL_MCOUNT.
16614         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16615         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16616         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16618 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16620         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16621         * sysdeps/i386/fpu/libm-test-ulps: Update.
16622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16624         [BZ #16293]
16625         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16626         round-to-nearest mode when using frndint.
16627         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16628         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16629         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16630         Likewise.
16631         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16632         sinh test to fail.
16633         * math/auto-libm-test-out: Regenerated.
16634         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16635         (TEST_COND_x86): Likewise.
16636         (expm1_tonearest_test_data): New array.
16637         (expm1_test_tonearest): New function.
16638         (expm1_towardzero_test_data): New array.
16639         (expm1_test_towardzero): New function.
16640         (expm1_downward_test_data): New array.
16641         (expm1_test_downward): New function.
16642         (expm1_upward_test_data): New array.
16643         (expm1_test_upward): New function.
16644         (main): Run the new test functions.
16645         * sysdeps/i386/fpu/libm-test-ulps: Update.
16646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16648         * include/features.h: Update comment documenting feature test
16649         macros.  Mention _DEFAULT_SOURCE in comment.
16650         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16651         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16652         _BSD_SOURCE and _SVID_SOURCE.
16653         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16654         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16655         !_SVID_SOURCE]: Likewise.
16656         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16657         (__USE_POSIX_IMPLICITLY): Define.
16658         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16659         (_POSIX_SOURCE): Undefine and redefine.
16660         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16661         (_POSIX_C_SOURCE): Likewise.
16662         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16663         (Feature Test Macros): Update documentation of default features.
16665 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16667         * benchtests/Makefile: Add bench-strtok.
16668         * benchtests/bench-strtok.c: New file: strtok benchtest.
16670 2013-12-19  Allan McRae  <allan@archlinux.org>
16672         * manual/install.texi: Suppress menu for plain text output.
16673         * INSTALL: Regenerated.
16675 2013-12-18  Brooks Moses  <bmoses@google.com>
16677         [BZ #15846]
16678         * misc/getauxval.c: Include errno.h.
16679         (__getauxval): Set errno to ENOENT if the requested type is not
16680         found.
16681         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16682         don't declare with __attribute_const__.
16683         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16684         * manual/startup.texi: Document that getauxval sets errno.
16686 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16688         * math/auto-libm-test-in: Add tests of jn and yn.
16689         * math/auto-libm-test-out: Regenerated.
16690         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16691         (yn_test_data): Likewise.
16692         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16693         mpfr_if_f.
16694         (func_calc_desc): Add mpfr_if_f union field.
16695         (FUNC_mpfr_if_f): New macro.
16696         (test_functions): Add jn and yn.
16697         (calc_generic_results): Assert type of second input for
16698         mpfr_ff_f.  Handle mpfr_if_f.
16699         (output_for_one_input_case): Disable all checking for arguments
16700         fitting floating-point types in case of an integer argument.
16701         * sysdeps/i386/fpu/libm-test-ulps: Update.
16702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16705         Don't expect fegetround reference in libm.so.
16707 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16709         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16710         $(config-cflags-nofma).
16712 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16714         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16715         * math/auto-libm-test-out: Regenerated.
16717         [BZ #16338]
16718         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16719         to determine exponent and adjust argument to have exponent of -1.
16720         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16721         log2.
16722         * math/auto-libm-test-out: Regenerated.
16723         * sysdeps/i386/fpu/libm-test-ulps: Update.
16724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16726 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16728         * manual/probes.texi: Remove cases when per-thread arenas are
16729         disabled.
16731 2013-12-18  Andreas Schwab  <schwab@suse.de>
16733         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16734         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16735         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16736         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16737         * sysdeps/i386/i686/multiarch/Makefile: Update.
16738         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16740 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16742         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16743         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16745 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
16747         [BZ #15968]
16748         Support TZ transition times < 00:00:00.
16749         This is needed for version-3 tz-format files; it supports time
16750         stamps past 2037 for America/Godthab (the only entry in the tz
16751         database for which this change is relevant).
16752         * manual/time.texi (TZ Variable): Document transition times
16753         from -167:59:59 through -00:00:01.
16754         * time/tzset.c (tz_rule): Time of day is now signed.
16755         (__tzset_parse_tz): Parse negative time of day.
16757         Document TZ transition times >= 25:00:00.
16758         * manual/time.texi (TZ Variable): Document transition times from
16759         25:00:00 through 167:59:59.  These are already supported, and this
16760         support will help with version-3 tz-format files.
16762         * manual/time.texi (TZ Variable): Modernize North America example
16763         to reflect current (i.e., 2007-and-later) daylight saving rules.
16765         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16767 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16769         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16770         * sysdeps/unix/bsd/bits/stat.h: Likewise.
16771         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16772         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16773         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16774         * sysdeps/unix/bsd/bsdstat.h: Likewise.
16775         * sysdeps/unix/bsd/clock.c: Likewise.
16776         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16777         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16778         * sysdeps/unix/bsd/init-posix.c: Likewise.
16779         * sysdeps/unix/bsd/poll.c: Likewise.
16780         * sysdeps/unix/bsd/ptsname.c: Likewise.
16781         * sysdeps/unix/bsd/seekdir.c: Likewise.
16782         * sysdeps/unix/bsd/setegid.c: Likewise.
16783         * sysdeps/unix/bsd/seteuid.c: Likewise.
16784         * sysdeps/unix/bsd/setgid.c: Likewise.
16785         * sysdeps/unix/bsd/setrgid.c: Likewise.
16786         * sysdeps/unix/bsd/setruid.c: Likewise.
16787         * sysdeps/unix/bsd/setsid.c: Likewise.
16788         * sysdeps/unix/bsd/setuid.c: Likewise.
16789         * sysdeps/unix/bsd/sigaction.c: Likewise.
16790         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16791         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16792         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16793         * sysdeps/unix/bsd/telldir.c: Likewise.
16794         * sysdeps/unix/bsd/times.c: Likewise.
16795         * sysdeps/unix/bsd/usleep.c: Likewise.
16797         * misc/Makefile (install-lib): Remove libbsd-compat.a.
16798         ($(objpfx)libbsd-compat.a): Remove rule.
16800         * include/features.h (__FAVOR_BSD): Do not define.
16801         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16802         features conflicting with POSIX.
16803         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16804         (_BSD_SOURCE): Remove description of not being a subset of other
16805         feature test macros.
16806         * manual/job.texi (getpgrp): Do not document BSD version.
16807         (getpgid): Do not document by reference to BSD getpgrp.
16808         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16809         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16810         * signal/signal.h [__FAVOR_BSD]: Likewise.
16811         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16812         instead of making contents conditional on [__FAVOR_BSD].
16813         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16815 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16819 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16821         [BZ #16314]
16822         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16823         values below 2**-450, not 2**-500.
16824         * math/auto-libm-test-in: Don't allow spurious underflow from
16825         hypot.
16826         * math/auto-libm-test-out: Regenerated.
16828         [BZ #16316]
16829         [BZ #16330]
16830         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16831         values of ha and hb and sort them after adjusting subnormal
16832         arguments.
16833         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16834         Likewise.
16835         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16836         values of ea and eb and sort them after adjusting subnormal
16837         arguments.
16838         * math/auto-libm-test-in: Do not expect some hypot tests of
16839         subnormals to fail.  Add more hypot tests.
16840         * math/auto-libm-test-out: Regenerated.
16842 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16844         [BZ #13304]
16845         * sysdeps/sh/s_fma.c: New file.
16846         * sysdeps/sh/s_fmaf.c: New file.
16847         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
16848         version.
16849         * sysdeps/sh/Implies: Add sh/soft-fp.
16851 2013-12-16  Roland McGrath  <roland@hack.frob.com>
16853         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
16854         level of indirection to members `objname', `errstring', `malloced'.
16855         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16856         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
16857         it as the __longjmp argument (just pass 1 instead).
16858         (_dl_catch_error): Initialize C with argument pointers and address of
16859         volatile local ERRCODE rather than copying values out of C at return.
16861 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
16863         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16864         * math/auto-libm-test-out: Regenerated.
16865         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16866         (hypot_test_data): Likewise.
16867         (pow_test_data): Likewise.
16868         (pow_tonearest_test_data): Likewise.
16869         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16870         mpfr_ff_f.
16871         (func_calc_desc): Add mpfr_ff_f union field.
16872         (FUNC_mpfr_ff_f): New macro.
16873         (test_functions): Add atan2, hypot and pow.
16874         (special_fill_min): New function.
16875         (special_fill_minus_min): Likewise.
16876         (special_fill_min_subnorm): Likewise.
16877         (special_fill_minus_min_subnorm): Likewise.
16878         (special_real_inputs): Add min, -min, min_subnorm and
16879         -min_subnorm.
16880         (calc_generic_results): Handle mpfr_ff_f.
16881         * sysdeps/i386/fpu/libm-test-ulps: Update.
16882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16884 2013-12-16  Will Newton  <will.newton@linaro.org>
16886         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16887         (Aligned Memory Blocks): Add documentation for aligned_alloc
16888         and suggest it as an alternative to posix_memalign.
16889         (Hooks for Malloc): Document __memalign_hook is also called
16890         for aligned_alloc.  (Summary of Malloc): Add summary for
16891         aligned alloc.  Document __memalign_hook is also called
16892         for aligned_alloc.
16894 2013-12-16  Will Newton  <will.newton@linaro.org>
16896         * manual/memory.texi (Malloc Examples): Clarify default
16897         alignment documentation.  Suggest posix_memalign rather
16898         than memalign or valloc.
16899         (Aligned Memory Blocks): Remove suggestion to use memalign
16900         or valloc.  Remove obsolete comment about BSD.
16901         Document memalign errno values and mark the function obsolete.
16902         Document posix_memalign returned error codes.  Mark valloc
16903         as obsolete.  (Hooks for Malloc): __memalign_hook is also
16904         called for posix_memalign and valloc.
16905         (Summary of Malloc): Add posix_memalign to function summary.
16906         __memalign_hook is also called for posix_memalign and valloc.
16908 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16910         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16911         TAYLOR_SIN.
16912         (__sin): Adjust.
16913         (__cos): Likewise.
16914         (sloww): Use mynumber union.  Expand ternary operator into
16915         if-else statements.
16916         (cslow): use mynumber union.
16918 2013-12-16  Allan McRae  <allan@archlinux.org>
16920         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16921         * configure: Regenerated.
16923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16925         [BZ #14120]
16926         * configure.ac: Added --enable-maintainer-mode. Check for
16927         autoconf when enabled.
16928         * configure: Regenerated.
16930         * nscd/nscd.service: New file.
16931         * nscd/nscd.tmpfiles: New file.
16933 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
16935         [BZ #12100]
16936         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16937         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16938         * sysdeps/x86_64/multiarch/strstr.c: ... here.
16939         (strstr): Add __strstr_sse2_unaligned ifunc.
16940         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16941         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16942         (strcasestr): Remove __strcasestr_sse42 ifunc.
16943         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16944         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16945         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16947 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16949         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16950         * sysdeps/sh/bits/fenv.h: ... here.
16951         * sysdeps/sh/sh4/fpu/bits: Remove directory.
16953 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16955         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16957         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16958         hypotf multiarch implementations.
16959         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16960         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16961         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16962         multiarch hypot for PPC64.
16963         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16964         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16965         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16966         multiarch hypotf for PPC64.
16968         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16969         modff multiarch implementations.
16970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16973         multiarch modf for PPC64.
16974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16977         multiarch modff for PPC64.
16979         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16980         and logl multiarch implementations.
16981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16984         multiarch logb for PPC64.
16985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16988         multiarch logb for PPC64.
16989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16990         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16992         multiarch logb for PPC64.
16994         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16995         isinff multiarch implementation.
16996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16997         file.
16998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17000         multiarch isinf for PPC64.
17001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17002         file.
17003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17004         multiarch isinff for PPC64.
17006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17007         finitef multiarch implementation.
17008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17009         file.
17010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17012         multiarch finite for PPC64.
17013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17014         file.
17015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17016         multiarch finitef for PPC64.
17018         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17019         lrint multiarch implementation.
17020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17021         file.
17022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17024         multiarch llrint for PPC64.
17025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17026         multiarch lrint for PPC64.
17028         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17029         copysignf multiarch implementation.
17030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17031         file.
17032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17033         file.
17034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17035         multiarch copysign for PPC64.
17036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17037         multiarch copysignf for PPC64.
17039         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17040         multiarch implementation.
17041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17042         file.
17043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17044         file.
17045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17046         file.
17047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17048         file.
17049         multiarch llround for PPC64.
17050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17051         multiarch trunc for PPC64.
17052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17053         multiarch truncf for PPC64.
17055         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17056         multiarch implementation.
17057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17058         file.
17059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17060         file.
17061         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17062         file.
17063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17064         file.
17065         multiarch llround for PPC64.
17066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17067         multiarch round for PPC64.
17068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17069         multiarch roundf for PPC64.
17071         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17072         multiarch implementation.
17073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17074         file.
17075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17076         file.
17077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17078         file.
17079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17080         file.
17081         multiarch llround for PPC64.
17082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17083         multiarch floor for PPC64.
17084         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17085         multiarch floorf for PPC64.
17087         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17088         multiarch implementation.
17089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17090         file.
17091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17092         file.
17093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17094         file.
17095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17096         file.
17097         multiarch llround for PPC64.
17098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17099         multiarch ceil for PPC64.
17100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17101         multiarch ceilf for PPC64.
17103         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17104         multiarch implementation.
17105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17106         file.
17107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17108         file.
17109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17110         file.
17111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17112         multiarch llround for PPC64.
17113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17114         multiarch lround for PPC64.
17116         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17117         multiarch implementation.
17118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17121         file.
17122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17125         multiarch isnan for PPC64.
17126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17127         multiarch isnanf for PPC64.
17129         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17130         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17131         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17132         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17133         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17136         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17137         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17138         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17139         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17142         multiarch implementations.
17143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17144         (__libc_ifunc_impl_list): Likewise.
17145         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17146         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17147         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17148         multiarch stpcpy for PPC64.
17150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17151         multiarch implementations.
17152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17153         (__libc_ifunc_impl_list): Likewise.
17154         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17155         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17156         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17157         multiarch strcpy for PPC64.
17159         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17160         redefine function name.
17161         (_wordcopy_fwd_dest_aligned): Likewise.
17162         (_wordcopy_bwd_aligned): Likewise.
17163         (_wordcopy_bwd_dest_aligned): Likewise.
17164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17165         multiarch implementations.
17166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17167         (__libc_ifunc_impl_list): Likewise.
17168         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17169         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17170         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17171         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17172         multiarch wcscpy for PPC64.
17174         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17175         multiarch implementations.
17176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17177         (__libc_ifunc_impl_list): Likewise.
17178         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17179         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17180         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17181         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17182         multiarch wcscpy for PPC64.
17184         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17185         multiarch implementations.
17186         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17187         (__libc_ifunc_impl_list): Likewise.
17188         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17189         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17190         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17191         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17192         multiarch wcsrchr for PPC64.
17194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17195         multiarch implementations.
17196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17197         (__libc_ifunc_impl_list): Likewise.
17198         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17199         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17200         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17201         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17202         multiarch wcschr for PPC64.
17204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17205         multiarch implementations.
17206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17207         (__libc_ifunc_impl_list): Likewise.
17208         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17209         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17210         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17211         multiarch strchrnul for PPC64.
17213         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17214         implementations.
17215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17216         (__libc_ifunc_impl_list): Likewise.
17217         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17218         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17219         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17220         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17221         strchr for PPC64.
17223         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17224         implementations.
17225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17226         (__libc_ifunc_impl_list): Likewise.
17227         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17228         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17229         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17230         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17231         strncmp for PPC64.
17233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17234         multiarch implementations.
17235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17236         (__libc_ifunc_impl_list): Likewise.
17237         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17238         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17239         strncasecmp for PPC64.
17240         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17241         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17242         multiarch strncasecmp_l for PPC64.
17244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17245         multiarch implementations.
17246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17247         (__libc_ifunc_impl_list): Likewise.
17248         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17249         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17250         multiarch strcasecmp for PPC64.
17251         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17252         file.
17253         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17254         multiarch strcasecmp_l for PPC64.
17256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17257         implementations.
17258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17259         (__libc_ifunc_impl_list): Likewise.
17260         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17261         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17262         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17263         strnlen for PPC64.
17265         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17266         implementations.
17267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17268         (__libc_ifunc_impl_list): Likewise.
17269         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17270         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17271         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17272         strlen for PPC64.
17274         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17275         implementations.
17276         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17277         (__libc_ifunc_impl_list): Likewise.
17278         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17279         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17280         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17281         rawmemrchr for PPC64.
17283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17284         implementation.
17285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17286         (__libc_ifunc_impl_list): Likewise.
17287         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17288         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17289         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17290         memrchr for PPC64.
17292         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17293         implementation.
17294         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17295         (__libc_ifunc_impl_list): Likewise.
17296         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17297         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17298         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17299         memchr for PPC64.
17301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17302         implementation.
17303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17304         (__libc_ifunc_impl_list): Likewise.
17305         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17306         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17307         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17308         mempcpy for PPC64.
17310         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17311         avoid cretion of __bzero symbol.
17312         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17313         Likewise.
17314         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17315         Likewise.
17316         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17317         Likewise.
17318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17319         multiarch implementations.
17320         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17321         (__libc_ifunc_impl_list): Likewise.
17322         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17323         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17324         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17325         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17326         bzero for PPC32.
17327         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17328         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17329         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17330         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17331         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17332         memset for PPC64.
17333         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17335         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17337         implementations.
17338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17339         (__libc_ifunc_impl_list): Likewise.
17340         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17341         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17342         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17343         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17344         memcmp for PPC64.
17346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17347         multiarch for POWER/PPC64.
17348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17349         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17350         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17351         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17352         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17353         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17354         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17355         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17356         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17357         memcpy for PPC64.
17359         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17360         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17361         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17362         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17363         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17364         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17365         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17366         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17367         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17368         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17369         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17370         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17371         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17372         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17373         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17382 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17384         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17386 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17388         * benchtests/Makefile (bench): Add exp2 and log2.
17389         (LDLIBS-bench-exp2): Add -lm.
17390         (LDLIBS-bench-log2): Likewise.
17391         * benchtests/exp2-inputs: New inputs file.
17392         * benchtests/log2-inputs: New inputs file.
17393         * benchtests/log-inputs: Add new inputs.
17394         * benchtests/tan-inputs: Likewise.
17396 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17398         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17399         definition...
17400         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17401         (csloww2): ... from here.
17403         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17404         instead of structures.
17405         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17406         (POLYNOMIAL): Likewise.
17407         (TAYLOR_SLOW): Likewise.
17408         (__sin): Likewise.
17409         (__cos): Likewise.
17410         (slow1): Likewise.
17411         (slow2): Likewise.
17412         (sloww): Likewise.
17413         (sloww1); Likewise.
17414         (sloww2): Likewise.
17415         (bsloww1): Likewise.
17416         (bsloww2): Likewise.
17417         (cslow2): Likewise.
17418         (csloww): Likewise.
17419         (csloww1): Likewise.
17420         (csloww2): Likewise.
17422 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17424         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17425         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17426         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17427         * malloc/hooks.c (realloc_check): Likewise.
17429         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17430         * malloc/arena.c: Remove PER_THREAD conditional.
17431         [!PER_THREAD]: Remove code.
17432         (ptmalloc_unlock_all2): Likewise.
17433         (ptmalloc_init): Likewise.
17434         (_int_new_arena): Likewise.
17435         (arena_get2): Likewise.
17436         * malloc/hooks.c (__malloc_get_state): Likewise.
17437         (__malloc_set_state): Likewise.
17438         * malloc/malloc.c: Likewise.
17439         (struct malloc_state): Likewise.
17440         (struct malloc_par): Likewise.
17441         (__libc_realloc): Likewise.
17442         (__libc_mallopt): Likewise.
17444 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17446         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17448 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17450         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17451         macro to a function.  Check for zero perturb_byte.
17452         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17454         * malloc/malloc.c: (force_reg): Remove.
17455         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17456         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17457         force_reg by atomic_forced_read.
17458         * malloc/arena.c (ptmalloc_init): Likewise.
17459         * malloc/hooks.c (top_check): Likewise.
17461 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17465 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17467         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17469 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17471         * math/auto-libm-test-in: Add tests of lgamma.
17472         * math/auto-libm-test-out: Regenerated.
17473         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17474         (M_LOG_2_SQRT_PIl): Likewise.
17475         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17476         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17477         mpfr_f_f1.
17478         (func_calc_desc): Add mpfr_f_f1 union field.
17479         (ARGS1): New macro.
17480         (ARGS2): Likewise.
17481         (ARGS3): Likewise.
17482         (ARGS4): Likewise.
17483         (RET1): Likewise.
17484         (RET2): Likewise.
17485         (CALC): Likewise.
17486         (FUNC): Likewise.
17487         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17488         (test_functions): Add lgamma.
17489         (calc_generic_results): Handle mpfr_f_f1.
17490         * sysdeps/i386/fpu/libm-test-ulps: Update.
17491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17493 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17495         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17496         __mpn_add_n for PowerPC64/POWER7.
17497         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17498         __mpn_sub_n for PowerPC64/POWER7.
17500         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17501         __mpn_addmul_1 for PowerPC64.
17502         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17503         __mpn_submul_1 for PowerPC64.
17504         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17505         for PowerPC64.
17506         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17507         for PowerPC64.
17509 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17511         [BZ #15089]
17512         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17514 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17516         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17518         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17519         add multiarch folders.
17520         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17521         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17522         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17523         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17524         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17525         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17526         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17527         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17528         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17529         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17530         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17539         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17541         New file.
17542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17543         New file.
17544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17545         multiarch __ieee754_hypot for PowerPC32.
17546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17547         New file.
17548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17549         New file.
17550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17551         multiarch __ieee754_hypotf for PowerPC32.
17553         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17554         long_double_symbol only if __logbl is defined.
17555         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17556         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17557         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17558         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17559         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17560         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17561         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17562         path for implementation.
17563         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17564         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17566         logb, and logbl multiarch implementations for PowerPC32.
17567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17568         file.
17569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17570         file.
17571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17572         multiarch logb for PowerPC32.
17573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17574         file.
17575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17576         file.
17577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17578         multiarch logbf for PowerPC32.
17579         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17581         file.
17582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17583         multiarch logbl implementation for PowerPC32.
17585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17586         and modff multiarch implementations.
17587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17588         New file.
17589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17590         New file.
17591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17592         multiarch modf for PowerPC32.
17593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17594         New file.
17595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17596         New file.
17597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17598         multiarch modff for PowerPC32.
17600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17601         and lrintf multiarch implementations.
17602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17603         New file.
17604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17605         New file.
17606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17607         multiarch lrint for PowerPC32.
17608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17609         file: multiarch lrintf for PowerPC32.
17611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17612         and lroundf multiarch implementations.
17613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17614         New file.
17615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17616         New file.
17617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17618         New file.
17619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17620         multiarch lround for PowerPC32.
17621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17622         file: multiarch lroundf for PowerPC32.
17624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17625         copysign and copysignf multiarch implementations.
17626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17627         New file.
17628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17629         New file.
17630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17631         file: multiarch copysign for PowerPC32.
17632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17633         file: multiarch copysignf for PowerPC32.
17635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17636         and truncf multiarch implementations.
17637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17638         New file.
17639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17640         file.
17641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17642         multiarch trunc for PowerPC32.
17643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17644         New file.
17645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17646         New file.
17647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17648         multiarch truncf for PowerPC32.
17650         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17651         and roundf multiarch implementations.
17652         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17653         New file.
17654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17655         file.
17656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17657         multiarch round for PowerPC32.
17658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17659         New file.
17660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17661         New file.
17662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17663         multiarch roundf for PowerPC32.
17665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17666         and floorf multiarch implementations.
17667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17668         New file.
17669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17670         file.
17671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17672         multiarch floor for PowerPC32.
17673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17674         New file.
17675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17676         New file.
17677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17678         multiarch floorf for PowerPC32.
17680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17681         and ceilf multiarch implementations.
17682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17683         New file.
17684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17685         file.
17686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17687         multiarch ceil for PowerPC32.
17688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17689         New file.
17690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17691         file.
17692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17693         multiarch ceilf for PowerPC32.
17695         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17696         is defined.
17697         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17698         FINITEF is defined.
17699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17700         and finitef multiarch implementations.
17701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17702         New file.
17703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17704         file.
17705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17706         multiarch finite for PowerPC32.
17707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17708         New file.
17709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17710         file: multiarch finitef for PowerPC32.
17712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17713         and isinff multiarch implementations.
17714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17715         file.
17716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17717         file.
17718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17719         multiarch isinf for PowerPC32.
17720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17721         New file.
17722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17723         multiarch isinff for PowerPC32.
17725         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17726         alias when __isnan is defined.
17727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17728         and isnanf multiarch implementations.
17729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17730         file.
17731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17732         file.
17733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17734         file.
17735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17736         file.
17737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17738         multiarch isnan for PowerPC32.
17739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17740         New file.
17741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17742         New file.
17743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17744         multiarch isnanf for PowerPC32.
17746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17747         and sqrtf multiarch implementations.
17748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17749         file.
17750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17751         file.
17752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17753         multiarch sqrt for PowerPC32.
17754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17755         file.
17756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17757         file.
17758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17759         multiarch sqrtf for PowerPC32.
17761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17762         and llroundf multiarch implementations.
17763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17764         New file.
17765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17766         New file.
17767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17768         New file.
17769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17770         file: multiarch llround for PowerPC32.
17771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17772         file: multiarch llroundf for PowerPC32.
17774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17775         multiarch PowerPC32 fpu implementations.
17776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17777         New file.
17778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17779         New file.
17780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17781         multiarch llrint for PowerPC32.
17782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17783         New file.
17784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17785         New file.
17786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17787         file.
17789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17791         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17792         file.
17793         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17794         file.
17795         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17796         file.
17797         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17798         multiarch wordcopy for PPC32.
17799         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17800         wordcopy objects.
17801         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17802         (__libc_ifunc_impl_list): Likewise.
17803         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17804         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17805         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17806         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17807         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17808         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17810         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17811         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17812         file.
17813         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17814         file.
17815         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17816         file.
17817         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17818         multiarch wcscpy for PPC32.
17819         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17820         multiarch objects.
17821         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17822         (__libc_ifunc_impl_list): Likewise.
17823         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17824         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17825         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17826         sysdeps/powerpc/power6/wcscpy.c.
17828         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17829         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17830         file.
17831         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17832         file.
17833         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17834         file.
17835         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17836         multiarch wcsrchr for PPC32.
17837         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17838         multiarch objects.
17839         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17840         (__libc_ifunc_impl_list): Likewise.
17841         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17842         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17843         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17844         sysdeps/powerpc/power6/wcsrchr.c.
17846         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17847         file.
17848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17849         file.
17850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17852         multiarch wcschr for PPc32.
17853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17854         multiarch objects.
17855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17856         (__libc_ifunc_impl_list): Likewise.
17857         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17858         * sysdeps/powerpc/power6/wcschr.c: ... to here.
17859         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17860         sysdeps/powerpc/power6/wcschr.c.
17862         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17863         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17864         file.
17865         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17866         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17867         file: multiarch strchr for PPC32.
17868         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17869         multiarch objects.
17870         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17871         (__libc_ifunc_impl_list): Likewise.
17873         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17874         name.
17875         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17876         file.
17877         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17878         file.
17879         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17880         multiarch strchrnul for PPC32.
17881         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17882         multiarch objects.
17883         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17884         (__libc_ifunc_impl_list): Likewise.
17886         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17887         file.
17888         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17889         multiarch strncasecmp for PPC32.
17890         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17891         file.
17892         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17893         multiarch strncasecmp_l for PPC32.
17894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17895         strncasecmp multiarch objects.
17896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17897         (__libc_ifunc_impl_list): Likewise.
17899         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17900         file.
17901         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17902         multiarch strncasecmp for PPC32.
17903         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17904         New file.
17905         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17906         multiarch strcasecmp_l for PPC32.
17907         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17908         multiarch objects.
17909         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17910         (__libc_ifunc_impl_list): Likewise.
17912         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17913         file.
17914         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17915         file.
17916         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17917         multiarch strncmp for PPC32.
17918         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17919         multiarch objects.
17920         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17921         (__libc_ifunc_impl_list): Likewise.
17923         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17924         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17925         file.
17926         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17927         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17929         multiarch objects.
17930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17931         (__libc_ifunc_impl_list): Likewise.
17933         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17934         file.
17935         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17936         file.
17937         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17938         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17939         multiarch objects.
17940         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17941         (__libc_ifunc_impl_list): Likewise.
17943         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17944         file.
17945         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17946         file.
17947         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17948         multiarch rawmemchr for PPC32.
17949         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17950         multiarch objects.
17951         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17952         (__libc_ifunc_impl_list): Likewise.
17954         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17955         file.
17956         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17957         file.
17958         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17959         file: memrchr multiarch for PPC32.
17960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17961         multiarch objects.
17962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17963         (__libc_ifunc_impl_list): Likewise.
17965         * string/memchr.c (__memchr): Using macro to redefine symbol name.
17966         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17967         file.
17968         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17969         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17970         multiarch memchr for PPC32.
17971         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17972         multiarch objects.
17973         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17974         (__libc_ifunc_impl_list): Likewise.
17976         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17977         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17978         file.
17979         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17980         file.
17981         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17982         file: multiarch mempcpy for PPC32.
17983         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17984         multiarch objects.
17985         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17986         (__libc_ifunc_impl_list): Likewise.
17988         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17989         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17990         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17991         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17992         multiarch bzero for PPC32.
17993         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17994         file.
17995         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17996         file.
17997         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17998         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17999         file: multiarch memset for PPC32.
18000         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18002         memset multiarch objects.
18003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18004         (__libc_ifunc_impl_list): Likewise.
18006         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18007         file.
18008         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18009         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18010         memcmp for PPC32.
18011         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18013         multiarch objects.
18014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18015         (__libc_ifunc_impl_list): Likewise.
18017         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18018         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18019         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18020         file.
18021         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18022         file.
18023         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18024         file.
18025         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18026         multiarch memcpy for PPC32.
18027         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18028         multiarch objects.
18029         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18030         (__libc_ifunc_impl_list): Likewise.
18032         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18033         support multiarch for POWER/PPC32.
18034         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18035         Likewise.
18036         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18038         Implies file to make multiarch folder appers before the fpu and
18039         default folder for power4 configuration.
18041 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18043         * scripts/bench.pl: Append volatile keyword to type.
18045 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18047         * sysdeps/sh/sotruss-lib.c: New file.
18048         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18050 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18054 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18056         [BZ #6810]
18057         * math/w_tgamma.c: Include <errno.h>.
18058         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18059         * math/w_tgammaf.c: Include <errno.h>.
18060         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18061         * math/w_tgammal.c: Include <errno.h>.
18062         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18063         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18064         underflow.  Add more tgamma tests.
18065         * math/auto-libm-test-out: Regenerated.
18066         * sysdeps/i386/fpu/libm-test-ulps: Update.
18067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18069         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18070         sin, sinh, tan, tanh, tgamma, y0 and y1.
18071         * math/auto-libm-test-out: Regenerated.
18072         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18073         (TEST_COND_x86): Likewise.
18074         (M_E2l): Remove macro.
18075         (M_E3l): Likewise.
18076         (M_2_SQRT_PIl): Likewise.
18077         (M_SQRT_PIl): Likewise.
18078         (M_1_DIV_El): Likewise.
18079         (log_test_data): Use AUTO_TESTS_f_f.
18080         (log10_test_data): Likewise.
18081         (log1p_test_data): Likewise.
18082         (log2_test_data): Likewise.
18083         (sin_test_data): Likewise.
18084         (sin_tonearest_test_data): Likewise.
18085         (sin_towardzero_test_data): Likewise.
18086         (sin_downward_test_data): Likewise.
18087         (sin_upward_test_data): Likewise.
18088         (sinh_test_data): Likewise.
18089         (sinh_tonearest_test_data): Likewise.
18090         (sinh_towardzero_test_data): Likewise.
18091         (sinh_downward_test_data): Likewise.
18092         (sinh_upward_test_data): Likewise.
18093         (tan_test_data): Likewise.
18094         (tan_tonearest_test_data): Likewise.
18095         (tan_towardzero_test_data): Likewise.
18096         (tan_downward_test_data): Likewise.
18097         (tan_upward_test_data): Likewise.
18098         (tanh_test_data): Likewise.
18099         (tgamma_test_data): Likewise.
18100         (y0_test_data): Likewise.
18101         (y1_test_data): Likewise.
18102         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18103         (special_real_inputs): Add pi/4.
18104         * sysdeps/i386/fpu/libm-test-ulps: Update.
18105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18107 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18109         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18110         "longjmp_target" static probes.
18111         (__longjmp): Rename to __longjmp_symbol.
18112         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18113         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18114         on which longjmp to generate.
18115         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18116         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18117         probe.
18118         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18119         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18120         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18121         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18122         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18123         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18125         __longjmp_symbol based on which __longjmp to generate.
18126         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18127         probe.
18128         (setjmp): Rename to setjmp_symbol.
18129         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18130         (_setjmp): Rename to _setjmp_symbol.
18131         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18132         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18133         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18134         which setjmp to generate.
18135         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18136         "longjmp_target" static probes.
18138 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18140         * benchtests/README: Add note about output arguments.
18141         * benchtests/bench-sincos.c: Remove file.
18142         * benchtests/sincos-inputs: New file.
18143         * scripts/bench.pl: Identify output arguments and define
18144         static variables for them.
18146         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18148         [BZ #15941]
18149         * Makefile (INSTALL): Add install-plain.texi as the primary
18150         dependency.
18151         * manual/install-plain.texi: New file.
18152         * manual/install.texi: Include node directive only for
18153         non-plaintext output.
18155 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18157         * stdlib/longlong.h: Update from GCC.
18159         [BZ #6807]
18160         [BZ #15901]
18161         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18162         * math/w_j0f.c (y0f): Likewise.
18163         * math/w_j0l.c (__y0l): Likewise.
18164         * math/w_j1.c (y1): Likewise.
18165         * math/w_j1f.c (y1f): Likewise.
18166         * math/w_j1l.c (__y1l): Likewise
18167         * math/w_jn.c (yn): Likewise.
18168         * math/w_jnf.c (ynf): Likewise.
18169         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18170         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18171         value for Bessel function domain errors outside _SVID_ mode.
18172         Adjust sign of return value for yn (negative integer, 0).
18173         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18174         by zero in return for negative x and set sign appropriately for
18175         negative n.
18176         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18177         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18178         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18179         expectations in error cases.
18180         (y1_test_data): Likewise.
18181         (yn_test_data): Likewise.
18182         * sysdeps/i386/fpu/libm-test-ulps: Update.
18183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18185 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18187         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18188         "64" to "64-v1".  Add "64-v2".
18189         (abi-64-options): Rename to ...
18190         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18191         (abi-64-condition): Rename to ...
18192         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18193         (abi-64-ld-soname): Rename to ...
18194         (abi-64-v1-ld-soname): ... this.
18195         (abi-64-v2-options): Define.
18196         (abi-64-v2-condition): Likewise.
18197         (abi-64-v2-ld-soname): Likewise.
18198         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18199         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18204 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18205             Alan Modra  <amodra@gmail.com>
18207         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18208         New versions for use with the ELFv2 ABI.
18209         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18210         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18211         declaration.
18212         (struct La_ppc64v2_retval): Likewise.
18213         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18214         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18215         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18216         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18217         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18218         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18219         Do not save or restore CR.
18220         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18221         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18222         return values for ELFv2 ABI.  Fix location of FPR return registers.
18223         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18224         updated values for _CALL_ELF == 2.
18225         (La_regs, La_retval, int_retval): Likewise.
18227 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18229         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18230         (FRAME_MIN_SIZE_PARM): Likewise.
18231         (FRAME_BACKCHAIN): Likewise.
18232         (FRAME_CR_SAVE): Likewise.
18233         (FRAME_LR_SAVE): Likewise.
18234         (FRAME_TOC_SAVE): Likewise.
18235         (FRAME_PARM_SAVE): Likewise.
18236         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18237         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18238         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18239         (call_mcount_parm_offset): New macro.
18240         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18241         (PROF): Use symbolic stack frame offsets.
18242         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18243         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18244         Redefine in terms of FRAME_MIN_SIZE.
18245         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18246         (_dl_profile_resolve): Likewise.  Update comment.
18247         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18248         symbols stack frame offsets.
18249         (__sigsetjmp): Likewise.
18250         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18251         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18252         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18253         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18256         (FRAME_BACKCHAIN): Remove.
18257         (FRAME_CR_SAVE): Likewise.
18258         (FRAME_LR_SAVE): Likewise.
18259         (FRAME_COMPILER_DW): Likewise.
18260         (FRAME_LINKER_DW): Likewise.
18261         (FRAME_TOC_SAVE): Likewise.
18262         (FRAME_PARM_SAVE): Likewise.
18263         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18264         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18265         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18267         (CHECK_SP): Use symbolic stack frame offsets.
18268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18269         zone" instead of caller's parameter save area for temp storage.
18270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18271         Likewise.  Also, use symbolic stack frame offsets.
18272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18273         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18274         our own stack frame instead of the caller's.
18275         (__socket): Use symbolic stack frame offsets.
18277 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18278             Alan Modra  <amodra@gmail.com>
18280         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18281         Define.
18282         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18283         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18284         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18285         New function.
18286         (elf_machine_fixup_plt): Call it.
18287         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18288         reloc arguments.
18289         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18290         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18291         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18292         r2 before calling target.
18294 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18295             Alan Modra  <amodra@gmail.com>
18297         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18298         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18299         versions of macros to support ELFv2 ABI.
18300         (LOCALENTRY): New macro.
18301         (ENTRY, EALIGN): Use it.
18302         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18303         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18304         fall through into ENTRY entry point.
18305         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18306         Only define if _CALL_ELF != 2.
18308         (elf_machine_matches_host): Verify ABI version matches.
18309         (RTLD_START): Use LOCALENTRY.
18310         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18311         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18312         (PLT_ENTRY_WORDS): New macro.
18313         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18314         (elf_machine_runtime_setup): Support ELFv2 ABI.
18315         (elf_machine_fixup_plt): Likewise.
18316         (elf_machine_plt_conflict): Likewise.
18317         (resolve_ifunc): Likewise.
18318         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18319         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18320         Likewise.
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18322         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18324         (makecontext): Support ELFv2 ABI.
18325         * elf/elf.h (EF_PPC64_ABI): Define.
18327 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18329         * sysdeps/powerpc/powerpc64/sysdep.h
18330         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18331         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18332         (ENTRY) [ASSEMBLER]: ... but instead here ...
18333         (EALIGN) [ASSEMBLER]: ... and here.
18334         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18335         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18336         (ENTRY_2) [!ASSEMBLER]: Use it.
18337         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18338         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18339         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18340         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18341         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18343         Use PPC64_LOAD_FUNCPTR.
18345         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18347 2013-12-04  Alan Modra  <amodra@gmail.com>
18349         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18350         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18351         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18352         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18354         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18355         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18356         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18357         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18358         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18359         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18361 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18364         (__makecontext): Fix incorrect CFI when backtracing out of
18365         context created via makecontext.
18366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18367         (__setcontext): Fix incorrect CFI during switch to new context.
18368         (__novec_setcontext): Likewise.
18370 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18372         [BZ #4772]
18373         * time/strptime_l.c (__strptime_internal): Allow modifiers
18374         in strptime.
18375         * time/tst-strptime.c (day_tests): Add testcase.
18377 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18379         * scripts/bench.pl: Skip over blank lines.
18381 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18383         [BZ #926]
18384         * manual/time.texi (Calendar Time): Clarify what timezone functions
18385         use.
18387 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18391 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18393         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18394         implementation.
18395         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18396         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18397         * debug/memset_chk.c (__memset_chk): Likewise.
18398         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18399         * debug/strncpy_chk.c: Likewise.
18401 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18403         [BZ #15268]
18404         [BZ #15425]
18405         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18406         (__ieee754_exp): For possibly underflowing results, check size of
18407         result and force underflow exception if required.
18408         * math/auto-libm-test-in: Add more tests of exp.
18409         * math/auto-libm-test-out: Regenerated.
18410         * sysdeps/i386/fpu/libm-test-ulps: Update.
18411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18413         [BZ #16283]
18414         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18415         * math/w_exp2f.c (__exp2f): Likewise.
18416         * math/w_exp2l.c (__exp2l): Likewise.
18417         * math/auto-libm-test-in: Do not allow missing errno on exp2
18418         underflow.
18419         * math/auto-libm-test-out: Regenerated.
18421 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18423         [BZ #16274]
18424         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18425         handle filename validation.
18426         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18427         (do_open): Delete.
18429 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18431         [BZ #6786]
18432         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18433         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18434         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18435         <float.h>.
18436         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18437         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18438         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18439         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18440         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18441         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18442         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18443         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18444         Add more erfc tests.
18445         * math/auto-libm-test-out: Regenerated.
18446         * sysdeps/i386/fpu/libm-test-ulps: Update.
18447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18449         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18450         exp2, expm1, j0 and j1.
18451         * math/auto-libm-test-out: Regenerated.
18452         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18453         (erfc_test_data): Likewise.
18454         (exp_test_data): Likewise.
18455         (exp_tonearest_test_data): Likewise.
18456         (exp_towardzero_test_data): Likewise.
18457         (exp_downward_test_data): Likewise.
18458         (exp_upward_test_data): Likewise.
18459         (exp10_test_data): Likewise.
18460         (exp2_test_data): Likewise.
18461         (expm1_test_data): Likewise.
18462         (j0_test_data): Likewise.
18463         (j1_test_data): Likewise.
18464         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18465         (input_flag_type): Add flag_xfail_rounding.
18466         (input_flags): Add xfail-rounding.
18467         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18468         (output_for_one_input_case): Handle flag_xfail_rounding.
18469         * sysdeps/i386/fpu/libm-test-ulps: Update.
18470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18472 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18474         [BZ #16289]
18475         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18476         division by 0.
18478 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18480         [BZ #16195]
18481         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18482         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18483         (STAP_PROBE0): New macro.
18484         (STAP_PROBE1): Likewise.
18485         (STAP_PROBE2): Likewise.
18486         (STAP_PROBE3): Likewise.
18487         (STAP_PROBE4): Likewise.
18489 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18491         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18493 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18495         * benchtests/Makefile (bench): Add sqrt.
18496         (LDLIBS-bench-sqrt): New.
18497         * benchtests/sqrt-input: New.
18499 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18501         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18502         (GAIH_EAI): Likewise.
18503         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18504         (gaih_inet): Likewise.
18505         (getaddrinfo): Don't use GAIH_EAI.
18507         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18508         (struct gaih): Remove definition.
18510 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18512         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18513         Use HERRNOP directly.
18515 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18519 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18521         * math/gen-auto-libm-tests.c (test_functions): Add more
18522         single-argument functions.
18523         (special_fill_pi_2): New function.
18524         (special_fill_minus_pi_2): Likewise.
18525         (special_fill_pi_6): Likewise.
18526         (special_fill_minus_pi_6): Likewise.
18527         (special_fill_pi_3): Likewise.
18528         (special_fill_2pi_3): Likewise.
18529         (special_fill_e): Likewise.
18530         (special_fill_1_e): Likewise.
18531         (special_fill_e_minus_1): Likewise.
18532         (special_real_inputs): Add more special inputs.
18533         (output_for_one_input_case): Do not require ERANGE on underflow to
18534         zero if round-to-nearest result does not underflow to zero, unless
18535         exact results required.
18536         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18537         atan, atanh, cbrt, cos and cosh.
18538         * math/auto-libm-test-out: Regenerated.
18539         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18540         (acos_tonearest_test_data): Likewise.
18541         (acos_towardzero_test_data): Likewise.
18542         (acos_downward_test_data): Likewise.
18543         (acos_upward_test_data): Likewise.
18544         (acosh_test_data): Likewise.
18545         (asin_test_data): Likewise.
18546         (asin_tonearest_test_data): Likewise.
18547         (asin_towardzero_test_data): Likewise.
18548         (asin_upward_test_data): Likewise.
18549         (asinh_test_data): Likewise.
18550         (atan_test_data): Likewise.
18551         (atanh_test_data): Likewise.
18552         (cbrt_test_data): Likewise.
18553         (cos_test_data): Likewise.
18554         (cos_tonearest_test_data): Likewise.
18555         (cos_towardzero_test_data): Likewise.
18556         (cos_downward_test_data): Likewise.
18557         (cos_upward_test_data): Likewise.
18558         (cosh_test_data): Likewise.
18559         (cosh_tonearest_test_data): Likewise.
18560         (cosh_towardzero_test_data): Likewise.
18561         (cosh_downward_test_data): Likewise.
18562         (cosh_upward_test_data): Likewise.
18563         * sysdeps/i386/fpu/libm-test-ulps: Update.
18564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18566 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18568         [BZ #6787]
18569         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18570         * math/w_exp10f.c (__exp10f): Likewise.
18571         * math/w_exp10l.c (__exp10l): Likewise.
18572         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18573         errno settings in existing tests.
18575         [BZ #14032]
18576         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18577         precision control set to double precision.
18578         * sysdeps/i386/fpu/w_sqrt.c: New file.
18579         * math/auto-libm-test-in: Add more tests.
18580         * math/auto-libm-test-out: Update.
18582         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18583         (sqrt_test_tonearest): New function.
18584         (sqrt_towardzero_test_data): New variable.
18585         (sqrt_test_towardzero): New function.
18586         (sqrt_downward_test_data): New variable.
18587         (sqrt_test_downward): New function.
18588         (sqrt_upward_test_data): New variable.
18589         (sqrt_test_upward): New function.
18590         (main): Call the new functions.
18592         * math/gen-auto-libm-tests.c: New file.
18593         * math/auto-libm-test-in: Likewise.
18594         * math/auto-libm-test-out: New generated file.
18595         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18596         variables.
18597         (%beautify): Add generated representations of zero.
18598         (top level): Set $auto_input and call parse_auto_input.
18599         (beautify): Remove trailing "f" from hex float constants.
18600         (parse_args): Handle XFAIL_TEST.
18601         (convert_condition): New function.
18602         (or_value): Likewise.
18603         (or_cond_value): Likewise.
18604         (generate_testfile): Handle AUTO_TESTS_* lines.
18605         (parse_auto_input): New function.
18606         * math/libm-test.inc (XFAIL_TEST): New macro.
18607         (ERRNO_UNCHANGED): Update value.
18608         (ERRNO_EDOM): Likewise.
18609         (ERRNO_ERANGE): Likewise.
18610         (IGNORE_RESULT): Likewise.
18611         (TEST_COND_flt_32): New macro.
18612         (TEST_COND_dbl_64): Likewise.
18613         (TEST_COND_ldbl_96_intel): Likewise.
18614         (TEST_COND_ldbl_96_m68k): Likewise.
18615         (TEST_COND_ldbl_128): Likewise.
18616         (TEST_COND_ldbl_128ibm): Likewise.
18617         (TEST_COND_long32): Likewise.
18618         (TEST_COND_long64): Likewise.
18619         (TEST_COND_before_rounding): Likewise.
18620         (TEST_COND_after_rounding): Likewise.
18621         (enable_test): Handle XFAIL_TEST flag.
18622         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18623         with finite results.
18624         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18625         auto-libm-test-out.
18627 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18628             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18630         [BZ #16214]
18631         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18632         __tls_get_addr_internal instead of __tls_get_offset in order to
18633         avoid GOT pointer dependency.  Make rtld export
18634         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18635         __tls_get_addr since we are a __tls_get_offset platform.
18636         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18637         GOT pointer being set up before.
18638         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18640 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18642         * manual/math.texi (Errors in Math Functions): Document accuracy
18643         goals.
18645         [BZ #15004]
18646         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18647         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18648         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18649         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18650         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18651         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18652         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18653         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18654         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18655         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18656         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18657         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18658         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18659         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18660         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18661         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18663         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18664         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18665         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18666         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18667         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18668         Likewise.
18669         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18670         Likewise.
18671         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18672         Likewise.
18673         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18674         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18675         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18676         atomic-feupdateenv and flt-rounds.
18677         * sysdeps/powerpc/nofpu/Versions (libc): Add
18678         __atomic_feholdexcept, __atomic_feclearexcept,
18679         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18680         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18681         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18682         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18683         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18684         here.
18685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18686         Update.
18688         * manual/arith.texi (FP Exceptions): Document that exceptions may
18689         not be raised when matherr is used.
18690         (Math Error Reporting): Document overflow in directed rounding
18691         modes.  Document that errno may not be set when finite values are
18692         returned on overflow.  Document intent to set errno on underflow
18693         only for underflow to zero.
18695         [BZ #16271]
18696         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18697         round-to-nearest then adjust result for other rounding modes.
18698         * include/fenv.h (fegetround): Use libm_hidden_proto.
18699         * math/fegetround.c (fegetround): Use libm_hidden_def.
18700         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18701         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18702         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18703         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18704         Likewise.
18705         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18706         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18707         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18708         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18710 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18712         [BZ #16077]
18713         * nss/Versions (libnss_files): Add
18714         _nss_files_gethostbyname3_r.
18715         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18716         New function.
18717         (HOST_DB_LOOKUP): Remove macro.
18718         (_nss_files_gethostbyname_r): Implement function without the
18719         HOST_DB_LOOKUP macro.
18720         (_nss_files_gethostbyname2_r): Likewise.
18722 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18724         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18726 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18728         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18729         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18730         warning.
18732 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18734         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18735         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18736         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18737         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18738         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18739         __fe_nomask_env_priv and attribute_hidden.
18740         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18741         (libc_feupdateenv_test_ppc): Likewise.
18742         (libc_feresetround_ppc): Likewise.
18743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18744         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18745         compat_symbol macro.
18746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18747         (__fe_nomask_env): Likewise.
18748         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18750 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18752         * string/Makefile: Remove ifunc tests.
18753         * string/test-string.h: Define TEST_IFUNC.
18754         * string/test-bcopy-ifunc.c: Remove.
18755         * string/test-bzero-ifunc.c: Likewise.
18756         * string/test-memccpy-ifunc.c: Likewise.
18757         * string/test-memchr-ifunc.c: Likewise.
18758         * string/test-memcmp-ifunc.c: Likewise.
18759         * string/test-memcpy-ifunc.c: Likewise.
18760         * string/test-memmem-ifunc.c: Likewise.
18761         * string/test-memmove-ifunc.c: Likewise.
18762         * string/test-mempcpy-ifunc.c: Likewise.
18763         * string/test-memrchr-ifunc.c: Likewise.
18764         * string/test-memset-ifunc.c: Likewise.
18765         * string/test-rawmemchr-ifunc.c: Likewise.
18766         * string/test-stpcpy-ifunc.c: Likewise.
18767         * string/test-stpncpy-ifunc.c: Likewise.
18768         * string/test-strcasecmp-ifunc.c: Likewise.
18769         * string/test-strcasestr-ifunc.c: Likewise.
18770         * string/test-strcat-ifunc.c: Likewise.
18771         * string/test-strchr-ifunc.c: Likewise.
18772         * string/test-strchrnul-ifunc.c: Likewise.
18773         * string/test-strcmp-ifunc.c: Likewise.
18774         * string/test-strcpy-ifunc.c: Likewise.
18775         * string/test-strcspn-ifunc.c: Likewise.
18776         * string/test-strlen-ifunc.c: Likewise.
18777         * string/test-strncasecmp-ifunc.c: Likewise.
18778         * string/test-strncat-ifunc.c: Likewise.
18779         * string/test-strncmp-ifunc.c: Likewise.
18780         * string/test-strncpy-ifunc.c: Likewise.
18781         * string/test-strnlen-ifunc.c: Likewise.
18782         * string/test-strpbrk-ifunc.c: Likewise.
18783         * string/test-strrchr-ifunc.c: Likewise.
18784         * string/test-strspn-ifunc.c: Likewise.
18785         * string/test-strstr-ifunc.c: Likewise.
18787 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18789         * benchtests/Makefile: Remove ifunc tests.
18790         * benchtests/bench-string.h: Define TEST_IFUNC.
18791         * benchtests/bench-bcopy-ifunc.c: Remove.
18792         * benchtests/bench-bzero-ifunc.c: Likewise.
18793         * benchtests/bench-memccpy-ifunc.c: Likewise.
18794         * benchtests/bench-memchr-ifunc.c: Likewise.
18795         * benchtests/bench-memcmp-ifunc.c: Likewise.
18796         * benchtests/bench-memcpy-ifunc.c: Likewise.
18797         * benchtests/bench-memmem-ifunc.c: Likewise.
18798         * benchtests/bench-memmove-ifunc.c: Likewise.
18799         * benchtests/bench-mempcpy-ifunc.c: Likewise.
18800         * benchtests/bench-memrchr-ifunc.c: Likewise.
18801         * benchtests/bench-memset-ifunc.c: Likewise.
18802         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18803         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18804         * benchtests/bench-stpcpy-ifunc.c: Likewise.
18805         * benchtests/bench-stpncpy-ifunc.c: Likewise.
18806         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18807         * benchtests/bench-strcasestr-ifunc.c: Likewise.
18808         * benchtests/bench-strcat-ifunc.c: Likewise.
18809         * benchtests/bench-strchr-ifunc.c: Likewise.
18810         * benchtests/bench-strchrnul-ifunc.c: Likewise.
18811         * benchtests/bench-strcmp-ifunc.c: Likewise.
18812         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18813         * benchtests/bench-strcpy-ifunc.c: Likewise.
18814         * benchtests/bench-strcspn-ifunc.c: Likewise.
18815         * benchtests/bench-strlen-ifunc.c: Likewise.
18816         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18817         * benchtests/bench-strncat-ifunc.c: Likewise.
18818         * benchtests/bench-strncmp-ifunc.c: Likewise.
18819         * benchtests/bench-strncpy-ifunc.c: Likewise.
18820         * benchtests/bench-strnlen-ifunc.c: Likewise.
18821         * benchtests/bench-strpbrk-ifunc.c: Likewise.
18822         * benchtests/bench-strrchr-ifunc.c: Likewise.
18823         * benchtests/bench-strsep-ifunc.c: Likewise.
18824         * benchtests/bench-strspn-ifunc.c: Likewise.
18825         * benchtests/bench-strstr-ifunc.c: Likewise.
18827 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18829         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18831 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18833         * resolv/netdb.h: Use __glibc_reserved instead __unused.
18834         * rt/aio.h: Likewise.
18835         * sysdeps/gnu/bits/utmp.h: Likewise.
18836         * sysdeps/gnu/bits/utmpx.h: Likewise.
18837         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18838         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18839         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18840         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18841         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18842         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18843         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18844         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18845         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18846         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18847         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18848         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18849         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18851         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18852         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18853         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18854         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18855         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18856         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18857         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18858         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18859         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18860         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18861         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18862         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18863         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18864         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18865         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18866         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18867         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18868         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18869         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18870         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18871         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18872         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18873         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18874         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18875         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18876         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18877         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18878         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18880 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
18882         [BZ #16245]
18883         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18884         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18886 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
18888         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18889         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18890         Likewise.
18892 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18894         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18895         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18896         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18897         (__fesetround): Remove define.
18898         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18899         rounding and exceptions handling.
18900         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18901         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18902         (__fe_nomask_env): Likewise.
18903         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18904         __fegetround instead of fegetround.
18905         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18906         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18908 2013-11-21  Roland McGrath  <roland@hack.frob.com>
18910         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18911         it's there.
18913         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18915 2013-11-21  Meador Inge  <meadori@codesourcery.com>
18917         [BZ #11157]
18918         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18919         (encrypt_r): Likewise.
18920         * malloc/obstack.h (obstack_free): Likewise.
18921         * posix/unistd.h (encrypt): Likewise.
18923 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
18925         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18926         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18927         DL_CALL_DT_FINI() that call the functions directly.
18928         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18929         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18930         * elf/dl-fini.c: Likewise.
18932 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
18934         * malloc/hooks.c (memalign_check): Add alignment rounding.
18935         * malloc/malloc.c (_mid_memalign): New function.
18936         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18937         Implement by calling _mid_memalign.
18938         * manual/probes.texi (Memory Allocation Probes): Remove
18939         memory_valloc_retry and memory_pvalloc_retry.
18941 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18943         * locale/programs/locarchive.c (open_archive): Add const
18944         qualifier to ARCHIVEFNAME and copy default fname to
18945         DEFAULT_FNAME.
18947         [BZ #15601]
18948         * libio/tst-widetext.input: Rename Oriya to Odia.
18949         * locale/iso-639.def: Likewise.
18951         * manual/probes.texi (Mathematical Function Probes): Add
18952         documentation for sin, cos, asin and acos probes.
18953         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18954         (__sin32): Add slowasin probe.
18955         (__cos32): Add slowacos probe.
18956         (__mpsin): Add slowsin probe.
18957         (__mpcos): Add slowcos probe.
18959 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
18961         [BZ #15483]
18962         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18963         thread-local __sim_exceptions_thread and global
18964         __sim_exceptions_global.
18965         (__sim_disabled_exceptions): Change to thread-local
18966         __sim_disabled_exceptions_thread and global
18967         __sim_disabled_exceptions_global.
18968         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18969         and global __sim_round_mode_global.
18970         (__simulate_exceptions): Use thread-local floating-point state and
18971         set global state from it as needed.
18972         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18973         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18974         __sim_round_mode_thread.
18975         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18976         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18977         and global __sim_exceptions_global.
18978         (__sim_disabled_exceptions): Change to thread-local
18979         __sim_disabled_exceptions_thread and global
18980         __sim_disabled_exceptions_global.
18981         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18982         and global __sim_round_mode_global.
18983         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18984         (SIM_SET_GLOBAL): Likewise.
18985         * sysdeps/powerpc/soft-fp/sfp-machine.h
18986         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18987         __sim_round_mode_thread.
18988         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18989         __sim_disabled_exceptions_thread.
18990         (__sim_exceptions): Change to __sim_exceptions_thread.
18991         (__sim_disabled_exceptions): Change to
18992         __sim_disabled_exceptions_thread.
18993         (__sim_round_mode): Change to __sim_round_mode_thread.
18994         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18995         thread-local floating-point state and set global state from it as
18996         needed.
18997         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18998         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18999         (__sim_disabled_exceptions): Remove extern declaration.
19000         (feenableexcept): Use thread-local floating-point state and set
19001         global state from it as needed.
19002         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19003         extern declaration.
19004         (__sim_disabled_exceptions): Likewise.
19005         (__sim_round_mode): Likewise.
19006         (__fegetenv): Use thread-local floating-point state.
19007         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19008         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19009         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19010         floating-point state and set global state from it as needed.
19011         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19012         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19013         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19014         Likewise.
19015         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19016         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19017         Likewise.
19018         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19019         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19020         Use __sim_round_mode_thread.
19021         * math/test-fenv-tls.c: New file.
19022         * math/Makefile (tests): Add test-fenv-tls.
19023         ($(objpfx)test-fenv-tls): Depend on
19024         $(common-objpfx)nptl/libpthread.so.
19026 2013-11-19  Andreas Schwab  <schwab@suse.de>
19028         * locale/programs/locale.c (show_info): Decode wordarray elements.
19029         * locale/categories.def (LC_MONETARY): Add element for
19030         _NL_MONETARY_CRNCYSTR.
19031         * locale/C-monetary.c (conversion_rate): New variable.
19032         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19033         element.
19035 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19037         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19038         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19040 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19042         * elf/Makefile (tst-auxv): New test.
19043         * elf/tst-auxv.c: New
19044         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19046 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19048         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19049         (hidden_proto): Caller changed.
19050         (hidden_tls_proto): New macro.
19051         (libc_hidden_tls_proto): Likewise.
19052         (rtld_hidden_tls_proto): Likewise.
19053         (libm_hidden_tls_proto): Likewise.
19054         (libresolv_hidden_tls_proto): Likewise.
19055         (librt_hidden_tls_proto): Likewise.
19056         (libdl_hidden_tls_proto): Likewise.
19057         (libnss_files_hidden_tls_proto): Likewise.
19058         (libnsl_hidden_tls_proto): Likewise.
19059         (libnss_nisplus_hidden_tls_proto): Likewise.
19060         (libutil_hidden_tls_proto): Likewise.
19062 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19064         [BZ #10253]
19065         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19066         (decompose_rpath): Defer expansion to fillin_rpath.
19067         (_dl_init_paths): Pass linkmap to fillin_rpath.
19069 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19071         * benchtests/Makefile: Add strsep.
19072         * benchtests/bench-strsep.c: New file: strsep benchtest.
19073         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19075 2013-11-18  Andreas Schwab  <schwab@suse.de>
19077         * locale/programs/locale.c (show_info) [case byte]: Check for
19078         '\377' instead of '\177'.
19079         * locale/C-monetary.c (not_available): Always use "\377".
19080         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19081         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19082         detect unavailable sign_posn locale elements.
19083         * locale/localeconv.c (__localeconv): For grouping and
19084         mon_grouping handle "\177" and "\377" like no grouping.
19085         (INT_ELEM): New macro.  Use it to set all numeric members.
19086         * locale/programs/ld-monetary.c (monetary_read)
19087         <tok_mon_grouping>: Normalize single -1 to the empty string.
19088         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19089         Likewise.
19091 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19093         [BZ #16055]
19094         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19095         when we match (nil).
19096         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19098 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19100         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19101         (NO_TEST_INLINE): Update value.
19102         (ERRNO_UNCHANGED): Likewise.
19103         (ERRNO_EDOM): Likewise.
19104         (ERRNO_ERANGE): Likewise.
19105         (IGNORE_RESULT): Likewise.
19106         (check_float_internal): Check signs of NaN results if
19107         TEST_NAN_SIGN used.
19108         (check_complex): Pass TEST_NAN_SIGN flag through to second
19109         check_float_internal call.
19110         (copysign_test_data): Add tests with quiet NaNs as second
19111         argument.  Use TEST_NAN_SIGN.
19112         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19113         TEST_NAN_SIGN.
19114         (signbit_test_data): Add tests of quiet NaN argument.
19115         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19117         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19118         $ignore_result.
19119         (parse_args): Handle function results specified as IGNORE.
19120         * math/libm-test.inc (IGNORE_RESULT): New macro.
19121         (check_float_internal): Do not check numerical result if flag
19122         IGNORE_RESULT set.
19123         (check_complex): Pass through IGNORE_RESULT to second
19124         check_float_internal call.
19125         (check_int): Do not check numerical result if flag IGNORE_RESULT
19126         set.
19127         (check_long): Likewise.
19128         (check_bool): Likewise.
19129         (check_longlong): Likewise.
19130         (lrint_test_data): Add tests of infinite and NaN arguments.
19131         (lrint_tonearest_test_data): Likewise.
19132         (lrint_towardzero_test_data): Likewise.
19133         (lrint_downward_test_data): Likewise.
19134         (lrint_upward_test_data): Likewise.
19135         (llrint_test_data): Likewise.
19136         (llrint_tonearest_test_data): Likewise.
19137         (llrint_towardzero_test_data): Likewise.
19138         (llrint_downward_test_data): Likewise.
19139         (llrint_upward_test_data): Likewise.
19140         (lround_test_data): Likewise.
19141         (llround_test_data): Likewise.
19143         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19144         (ERRNO_UNCHANGED): Update value.
19145         (ERRNO_EDOM): Likewise.
19146         (ERRNO_ERANGE): Likewise.
19147         (NO_TEST_INLINE_FLOAT): New macro.
19148         (NO_TEST_INLINE_DOUBLE): Likewise.
19149         (enable_test): New function.
19150         (RUN_TEST_f_f): Check enable_test before running test.
19151         (RUN_TEST_2_f): Likewise.
19152         (RUN_TEST_fff_f): Likewise.
19153         (RUN_TEST_c_f): Likewise.
19154         (RUN_TEST_f_f1): Likewise.
19155         (RUN_TEST_fF_f1): Likewise.
19156         (RUN_TEST_fI_f1): Likewise.
19157         (RUN_TEST_ffI_f1): Likewise.
19158         (RUN_TEST_c_c): Likewise.
19159         (RUN_TEST_cc_c): Likewise.
19160         (RUN_TEST_f_i): Likewise.
19161         (RUN_TEST_f_i_tg): Likewise.
19162         (RUN_TEST_ff_i_tg): Likewise.
19163         (RUN_TEST_f_b): Likewise.
19164         (RUN_TEST_f_b_tg): Likewise.
19165         (RUN_TEST_f_l): Likewise.
19166         (RUN_TEST_f_L): Likewise.
19167         (RUN_TEST_fFF_11): Likewise.
19168         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19169         conditionals.
19170         (cosh_test_data): Likewise.
19171         (exp_test_data): Likewise.
19172         (expm1_test_data): Likewise.
19173         (hypot_test_data): Likewise.
19174         (pow_test_data): Likewise.
19175         (sinh_test_data): Likewise.
19176         (tanh_test_data): Likewise.
19177         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19178         flags argument.
19180         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19181         tests with quiet NaN input and output.
19182         (acosh_test_data): Likewise.
19183         (asin_test_data): Likewise.
19184         (asinh_test_data): Likewise.
19185         (atan_test_data): Likewise.
19186         (atanh_test_data): Likewise.
19187         (atan2_test_data): Likewise.
19188         (cbrt_test_data): Likewise.
19189         (cos_test_data): Likewise.
19190         (cosh_test_data): Likewise.
19191         (erf_test_data): Likewise.
19192         (erfc_test_data): Likewise.
19193         (exp_test_data): Likewise.
19194         (exp10_test_data): Likewise.
19195         (exp2_test_data): Likewise.
19196         (expm1_test_data): Likewise.
19197         (hypot_test_data): Likewise.
19198         (j0_test_data): Likewise.
19199         (j1_test_data): Likewise.
19200         (jn_test_data): Likewise.
19201         (lgamma_test_data): Likewise.
19202         (log_test_data): Likewise.
19203         (log10_test_data): Likewise.
19204         (log1p_test_data): Likewise.
19205         (log2_test_data): Likewise.
19206         (pow_test_data): Likewise.
19207         (scalb_test_data): Likewise.
19208         (sin_test_data): Likewise.
19209         (sincos_test_data): Likewise.
19210         (sinh_test_data): Likewise.
19211         (tan_test_data): Likewise.
19212         (tanh_test_data): Likewise.
19213         (tgamma_test_data): Likewise.
19214         (y0_test_data): Likewise.
19215         (y1_test_data): Likewise.
19216         (yn_test_data): Likewise.
19218         [BZ #16167]
19219         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19220         argument being NaN and avoid computations with second argument in
19221         that case.
19222         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19223         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19224         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19226 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19228         * locale/iso-639.def: Add Chitwani Tharu (the).
19230 2013-11-14  Andreas Schwab  <schwab@suse.de>
19232         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19233         word instead of empty string.
19235 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19238         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19240         (__fe_nomask_env): Likewise.
19242 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19244         * benchtests/bench-timing.h: Include time.h.
19246 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19248         [BZ #15997]
19249         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19250         to 3.4.0 for x32.
19251         * sysdeps/unix/sysv/linux/configure: Regenerated.
19253 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19255         [BZ #16151]
19256         * stdlib/strtod_l.c (round_and_return): Do not consider
19257         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19258         exponent one less than half the least subnormal exponent.
19259         * stdlib/test-strtod-round-data: Add more tests.
19260         * stdlib/tst-strtod-round.c (tests): Regenerated.
19262 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19264         [BZ #14143]
19265         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19266         (__fe_mask_env): Likewise.
19267         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19268         libm_hidden_proto and add function prototype.
19269         (__fe_mask_env): Add function prototype.
19270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19271         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19273         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19275         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19277 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19279         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19280         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19282 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19284         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19285         of htab_find_slot().
19287 2013-11-11  David S. Miller  <davem@davemloft.net>
19289         [BZ #16150]
19290         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19291         symbol in the non-vis3 case in static builds.
19292         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19293         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19294         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19295         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19297 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19299         [BZ #387]
19300         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19301         it is empty.
19303 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19305         * benchtests/Makefile: Add bench-strtod.
19306         * benchtests/bench-strtod.c: New file: strtod benchtest
19308 2013-11-11  Andreas Schwab  <schwab@suse.de>
19310         [BZ #16153]
19311         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19312         terminating NUL in key length.
19314 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19316         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19317         Add artificial ODP entry for vDSO symbol for PPC64.
19318         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19319         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19321 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19323         [BZ #15374]
19324         * nss/getent.c (services_keys): Recognize services starting with digit.
19326 2013-11-06  David S. Miller  <davem@davemloft.net>
19328         [BZ #15985]
19329         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19330         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19332 2013-11-06  Will Newton  <will.newton@linaro.org>
19334         * manual/memory.texi (Malloc Examples): Remove register
19335         keyword from examples.
19337 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19339         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19341 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19343         [BZ #6981]
19344         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19345         depending on [__GCC_IEC_559 > 0].
19346         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19347         depending on [__GCC_IEC_559_COMPLEX > 0].
19349 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19351         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19352         to iso-639.def.
19354 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19356         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19358 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19360         [BZ #16112]
19361         * malloc/malloc (malloc_info): Do not handle first bin as
19362         special case.
19364 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19366         * locale/iso-639.def: Add Central Nahuatl (nhn).
19368 2013-11-01  Bruno Haible  <bruno@clisp.org>
19370         [BZ #7003]
19371         * manual/math.texi (BSD Random): Specify range upper bound as
19372         in POSIX.
19374 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19376         * locale/iso-639.def: Add Meadow Mari (mhr).
19378 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19380         [BZ #14752], [BZ #15763]
19381         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19382         Validate name.
19383         * rt/tst_shm.c: Add test for escaping directory.
19385 2013-10-31  Andreas Schwab  <schwab@suse.de>
19387         [BZ #15917]
19388         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19389         followed by 'x' as part of digit sequence.
19390         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19392 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19394         [BZ #16037]
19395         * configure.ac: allow GNU Make 4.0 and greater.
19396         * configure: Regenerated.
19398 2013-10-30  Will Newton  <will.newton@linaro.org>
19400         [BZ #16038]
19401         * malloc/hooks.c (memalign_check): Limit alignment to the
19402         maximum representable power of two.
19403         * malloc/malloc.c (__libc_memalign): Likewise.
19404         * malloc/tst-memalign.c (do_test): Add test for very
19405         large alignment values.
19406         * malloc/tst-posix_memalign.c (do_test): Likewise.
19408 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19410         [BZ #11087]
19411         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19412         (munmap_chunk): Likewise.
19413         (mremap_chunk): Likewise.
19415 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19417         [BZ #15799]
19418         * stdlib/div.c (div): Remove obsolete code.
19419         * stdlib/ldiv.c (ldiv): Likewise.
19420         * stdlib/lldiv.c (lldiv): Likewise.
19422 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19424         [BZ #16071]
19425         * nss/nss_files/files-XXX.c (get_contents_ret): New
19426         enumerator.
19427         (get_contents): New function.
19428         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19430 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19432         * configure.in: Moved to ...
19433         * configure.ac: ... here. Change reference to configure.in
19434         to configure.ac.
19435         * sysdeps/arm/preconfigure.ac: ... here.
19436         configure.in to configure.ac.
19437         * sysdeps/gnu/configure.in: Moved to ...
19438         * sysdeps/gnu/configure.ac: ... here.
19439         * sysdeps/i386/configure.in: Moved to ...
19440         * sysdeps/i386/configure.ac: ... here.
19441         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19442         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19443         * sysdeps/mach/configure.in: Moved to ...
19444         * sysdeps/mach/configure.ac: ... here.
19445         * sysdeps/mach/hurd/configure.in: Moved to ...
19446         * sysdeps/mach/hurd/configure.ac: ... here.
19447         * sysdeps/powerpc/configure.in: Moved to ...
19448         * sysdeps/powerpc/configure.ac: ... here.
19449         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19450         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19451         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19452         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19453         * sysdeps/s390/s390-32/configure.in: Moved to ...
19454         * sysdeps/s390/s390-32/configure.ac: ... here.
19455         * sysdeps/s390/s390-64/configure.in: Moved to ...
19456         * sysdeps/s390/s390-64/configure.ac: ... here.
19457         * sysdeps/sh/configure.in: Moved to ...
19458         * sysdeps/sh/configure.ac: ... here.
19459         * sysdeps/sparc/configure.in: Moved to ...
19460         * sysdeps/sparc/configure.ac: ... here.
19461         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19462         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19463         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19464         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19465         * sysdeps/x86_64/configure.in: Moved to ...
19466         * sysdeps/x86_64/configure.ac: ... here.
19467         * sysdeps/x86_64/preconfigure.in: Moved to ...
19468         * sysdeps/x86_64/preconfigure.ac: ... here.
19469         * aclocal.m4: Change reference to configure.in to configure.ac.
19470         * config.h.in: Likewise.
19471         * manual/install.texi: Likewise.
19472         * manual/maint.texi: Likewise.
19473         * Makefile: Likewise.
19474         * malloc/Makefile: Likewise.
19475         * nscd/Makefile: Likewise.
19476         * Makeconfig: Change reference to configure.in and
19477         preconfigure.in to configure.ac and preconfigure.ac
19478         respectively.
19479         * INSTALL: Regenerated.
19480         * configure: Likewise.
19481         * sysdeps/gnu/configure: Likewise.
19482         * sysdeps/i386/configure: Likewise.
19483         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19484         * sysdeps/mach/configure: Likewise.
19485         * sysdeps/mach/hurd/configure: Likewise.
19486         * sysdeps/powerpc/configure: Likewise.
19487         * sysdeps/powerpc/powerpc32/configure: Likewise.
19488         * sysdeps/powerpc/powerpc64/configure: Likewise.
19489         * sysdeps/s390/s390-32/configure: Likewise.
19490         * sysdeps/s390/s390-64/configure: Likewise.
19491         * sysdeps/sh/configure: Likewise.
19492         * sysdeps/sparc/configure: Likewise.
19493         * sysdeps/unix/sysv/linux/configure: Likewise.
19494         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19495         * sysdeps/x86_64/configure: Likewise.
19496         * sysdeps/x86_64/preconfigure: Likewise.
19498 2013-10-29  Andreas Schwab  <schwab@suse.de>
19500         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19502 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19504         * benchtests/pow-inputs: Add new inputs.
19506         * benchtests/exp-inputs: Add new inputs.
19508         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19509         conditional check for return value.
19510         (__cos32): Likewise.
19512 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19514         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19515         to provide a boost for large inputs with word alignment.
19516         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19517         implementation based on optimized PPC64 strcpy.
19518         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19519         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19520         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19521         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19523 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19525         [BZ #2801]
19526         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19528 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19530         [BZ #14876]
19531         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19532         * time/tst-strptime.c (day_tests): Add testcase.
19534 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19536         [BZ #14029]
19537         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19539 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19541         [BZ #16074]
19542         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19543         MAP_FAILED on error.
19545 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19547         [BZ #16072]
19548         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19549         heap for large requests.
19551 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19553         [BZ #9954]
19554         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19555         result if the result has no associated interface.
19556         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19557         interface for all 127.X.Y.Z addresses.
19559 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19561         * locale/iso-639.def: Add Ligurian (lij)
19563 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19565         [BZ #15825]
19566         * sunrpc/rpc_main.c: Document rpcgen -5.
19568 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19570         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19572 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19574         [BZ #10278]
19575         * posix/glob.c: Match only directories when trailing slash is present.
19576         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19577         (main): Add testcase.
19579 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19581         [BZ #15670]
19582         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19584 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19586         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19587         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19588         AUTH_DES and cindex for FIPS 140-2.
19589         (DES Encryption): Add cindex FIPS 46-3.
19591         * locale/locarchive.h (struct locarhandle): Add fname.
19592         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19593         if an optional argument was specified to --list-archive,
19594         otherwise NULL.
19595         * locale/programs/locarchive.c (show_archive_content): Take new
19596         argument fname and pass it via ah.fname to open_archive.
19597         * locale/programs/localedef.h: Update decl.
19598         (open_archive): If AH->fname is non-null, open that file
19599         rather than the default file name, and don't ignore ENOENT.
19600         (create_archive): Set AH.fname to NULL.
19601         (delete_locales_from_archive): Likewise.
19602         (add_locales_to_archive): Likewise.
19603         * locale/programs/locfile.c (write_all_categories): Likewise.
19605 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19606             Aldy Hernandez  <aldyh@redhat.com>
19608         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19609         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19610         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19611         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19612         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19613         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19614         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19615         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19616         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19617         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19618         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19619         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19620         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19621         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19622         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19623         Likewise.
19624         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19625         Likewise.
19626         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19627         Likewise.
19628         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19629         Likewise.
19630         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19631         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19632         Likewise.
19633         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19634         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19635         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19636         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19637         Likewise.
19638         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19639         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19640         * sysdeps/powerpc/preconfigure: Likewise.
19641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19642         Likewise.
19643         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19644         Replace contents of file by #include of <fenv_libc.h>.
19645         * sysdeps/powerpc/soft-fp/sfp-machine.h
19646         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19647         and <sys/prctl.h>.
19648         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19649         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19650         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19651         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19652         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19653         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19654         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19655         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19656         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19657         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19658         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19659         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19661         Allow copysignl PLT reference to be missing.
19663 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19664             Joseph Myers  <joseph@codesourcery.com
19666         [BZ #15948]
19667         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19668         single character.
19669         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19671 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19673         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19674         * elf/tst-tls1.c: Likewise.
19675         * elf/tst-tls10.h: Likewise.
19676         * elf/tst-tls14.c: Likewise.
19677         * elf/tst-tls2.c: Likewise.
19678         * elf/tst-tls3.c: Likewise.
19679         * elf/tst-tls4.c: Likewise.
19680         * elf/tst-tls5.c: Likewise.
19681         * elf/tst-tls6.c: Likewise.
19682         * elf/tst-tls7.c: Likewise.
19683         * elf/tst-tls8.c: Likewise.
19684         * elf/tst-tls9.c: Likewise.
19685         * elf/tst-tlsmod1.c: Likewise.
19686         * elf/tst-tlsmod13.c: Likewise.
19687         * elf/tst-tlsmod13a.c: Likewise.
19688         * elf/tst-tlsmod14a.c: Likewise.
19689         * elf/tst-tlsmod16a.c: Likewise.
19690         * elf/tst-tlsmod16b.c: Likewise.
19691         * elf/tst-tlsmod2.c: Likewise.
19692         * elf/tst-tlsmod3.c: Likewise.
19693         * elf/tst-tlsmod4.c: Likewise.
19694         * elf/tst-tlsmod5.c: Likewise.
19695         * elf/tst-tlsmod6.c: Likewise.
19697 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19699         [BZ #12486]
19700         * malloc/malloc.c: remove checks for statistics.
19702 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19704         [BZ #15277]
19705         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19706         * inet/tst-network.c: Add testcase.
19708 2013-10-17  Andreas Schwab  <schwab@suse.de>
19710         [BZ #15218]
19711         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19712         to determine canonical name.
19714 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19716         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19717         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19718         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19719         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19721         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19722         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19723         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19724         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19725         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19726         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19727         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19728         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19729         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19730         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19731         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19732         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19733         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19734         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19735         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19736         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19737         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19738         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19739         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19740         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19741         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19742         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19743         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19744         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19745         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19746         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19747         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19748         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19749         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19750         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19751         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19752         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19753         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19754         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19755         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19756         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19757         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19758         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19759         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19760         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19761         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19762         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19763         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19764         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19765         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19766         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19767         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19768         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19769         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19770         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19771         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19773         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19775 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
19777         [BZ #16041]
19778         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19779         make result into a quiet NaN.
19781 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
19783         * soft-fp/adddf3.c: Fix horizontal whitespace.
19784         * soft-fp/addsf3.c: Likewise.
19785         * soft-fp/addtf3.c: Likewise.
19786         * soft-fp/divdf3.c: Likewise.
19787         * soft-fp/divsf3.c: Likewise.
19788         * soft-fp/divtf3.c: Likewise.
19789         * soft-fp/double.h: Likewise.
19790         * soft-fp/eqdf2.c: Likewise.
19791         * soft-fp/eqsf2.c: Likewise.
19792         * soft-fp/eqtf2.c: Likewise.
19793         * soft-fp/extenddftf2.c: Likewise.
19794         * soft-fp/extended.h: Likewise.
19795         * soft-fp/extendsfdf2.c: Likewise.
19796         * soft-fp/extendsftf2.c: Likewise.
19797         * soft-fp/extendxftf2.c: Likewise.
19798         * soft-fp/fixdfdi.c: Likewise.
19799         * soft-fp/fixdfsi.c: Likewise.
19800         * soft-fp/fixdfti.c: Likewise.
19801         * soft-fp/fixsfdi.c: Likewise.
19802         * soft-fp/fixsfsi.c: Likewise.
19803         * soft-fp/fixsfti.c: Likewise.
19804         * soft-fp/fixtfdi.c: Likewise.
19805         * soft-fp/fixtfsi.c: Likewise.
19806         * soft-fp/fixtfti.c: Likewise.
19807         * soft-fp/fixunsdfdi.c: Likewise.
19808         * soft-fp/fixunsdfsi.c: Likewise.
19809         * soft-fp/fixunsdfti.c: Likewise.
19810         * soft-fp/fixunssfdi.c: Likewise.
19811         * soft-fp/fixunssfsi.c: Likewise.
19812         * soft-fp/fixunssfti.c: Likewise.
19813         * soft-fp/fixunstfdi.c: Likewise.
19814         * soft-fp/fixunstfsi.c: Likewise.
19815         * soft-fp/fixunstfti.c: Likewise.
19816         * soft-fp/floatdidf.c: Likewise.
19817         * soft-fp/floatdisf.c: Likewise.
19818         * soft-fp/floatditf.c: Likewise.
19819         * soft-fp/floatsidf.c: Likewise.
19820         * soft-fp/floatsisf.c: Likewise.
19821         * soft-fp/floatsitf.c: Likewise.
19822         * soft-fp/floattidf.c: Likewise.
19823         * soft-fp/floattisf.c: Likewise.
19824         * soft-fp/floattitf.c: Likewise.
19825         * soft-fp/floatundidf.c: Likewise.
19826         * soft-fp/floatundisf.c: Likewise.
19827         * soft-fp/floatunditf.c: Likewise.
19828         * soft-fp/floatunsidf.c: Likewise.
19829         * soft-fp/floatunsisf.c: Likewise.
19830         * soft-fp/floatunsitf.c: Likewise.
19831         * soft-fp/floatuntidf.c: Likewise.
19832         * soft-fp/floatuntisf.c: Likewise.
19833         * soft-fp/floatuntitf.c: Likewise.
19834         * soft-fp/fmadf4.c: Likewise.
19835         * soft-fp/fmasf4.c: Likewise.
19836         * soft-fp/fmatf4.c: Likewise.
19837         * soft-fp/gedf2.c: Likewise.
19838         * soft-fp/gesf2.c: Likewise.
19839         * soft-fp/getf2.c: Likewise.
19840         * soft-fp/ledf2.c: Likewise.
19841         * soft-fp/lesf2.c: Likewise.
19842         * soft-fp/letf2.c: Likewise.
19843         * soft-fp/muldf3.c: Likewise.
19844         * soft-fp/mulsf3.c: Likewise.
19845         * soft-fp/multf3.c: Likewise.
19846         * soft-fp/negdf2.c: Likewise.
19847         * soft-fp/negsf2.c: Likewise.
19848         * soft-fp/negtf2.c: Likewise.
19849         * soft-fp/op-1.h: Likewise.
19850         * soft-fp/op-2.h: Likewise.
19851         * soft-fp/op-4.h: Likewise.
19852         * soft-fp/op-8.h: Likewise.
19853         * soft-fp/op-common.h: Likewise.
19854         * soft-fp/quad.h: Likewise.
19855         * soft-fp/single.h: Likewise.
19856         * soft-fp/soft-fp.h: Likewise.
19857         * soft-fp/sqrtdf2.c: Likewise.
19858         * soft-fp/sqrtsf2.c: Likewise.
19859         * soft-fp/sqrttf2.c: Likewise.
19860         * soft-fp/subdf3.c: Likewise.
19861         * soft-fp/subsf3.c: Likewise.
19862         * soft-fp/subtf3.c: Likewise.
19863         * soft-fp/truncdfsf2.c: Likewise.
19864         * soft-fp/trunctfdf2.c: Likewise.
19865         * soft-fp/trunctfsf2.c: Likewise.
19866         * soft-fp/trunctfxf2.c: Likewise.
19867         * soft-fp/unorddf2.c: Likewise.
19868         * soft-fp/unordsf2.c: Likewise.
19869         * soft-fp/unordtf2.c: Likewise.
19871 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
19873         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19874         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19876 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
19878         * elf/dl-libc.c: Clear initfini list after freeing.
19880 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
19882         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19883         * soft-fp/addsf3.c: Likewise.
19884         * soft-fp/addtf3.c: Likewise.
19885         * soft-fp/divdf3.c: Likewise.
19886         * soft-fp/divsf3.c: Likewise.
19887         * soft-fp/divtf3.c: Likewise.
19888         * soft-fp/double.h: Likewise.
19889         * soft-fp/eqdf2.c: Likewise.
19890         * soft-fp/eqsf2.c: Likewise.
19891         * soft-fp/eqtf2.c: Likewise.
19892         * soft-fp/extenddftf2.c: Likewise.
19893         * soft-fp/extended.h: Likewise.
19894         * soft-fp/extendsfdf2.c: Likewise.
19895         * soft-fp/extendsftf2.c: Likewise.
19896         * soft-fp/extendxftf2.c: Likewise.
19897         * soft-fp/fixdfdi.c: Likewise.
19898         * soft-fp/fixdfsi.c: Likewise.
19899         * soft-fp/fixdfti.c: Likewise.
19900         * soft-fp/fixsfdi.c: Likewise.
19901         * soft-fp/fixsfsi.c: Likewise.
19902         * soft-fp/fixsfti.c: Likewise.
19903         * soft-fp/fixtfdi.c: Likewise.
19904         * soft-fp/fixtfsi.c: Likewise.
19905         * soft-fp/fixtfti.c: Likewise.
19906         * soft-fp/fixunsdfdi.c: Likewise.
19907         * soft-fp/fixunsdfsi.c: Likewise.
19908         * soft-fp/fixunsdfti.c: Likewise.
19909         * soft-fp/fixunssfdi.c: Likewise.
19910         * soft-fp/fixunssfsi.c: Likewise.
19911         * soft-fp/fixunssfti.c: Likewise.
19912         * soft-fp/fixunstfdi.c: Likewise.
19913         * soft-fp/fixunstfsi.c: Likewise.
19914         * soft-fp/fixunstfti.c: Likewise.
19915         * soft-fp/floatdidf.c: Likewise.
19916         * soft-fp/floatdisf.c: Likewise.
19917         * soft-fp/floatditf.c: Likewise.
19918         * soft-fp/floatsidf.c: Likewise.
19919         * soft-fp/floatsisf.c: Likewise.
19920         * soft-fp/floatsitf.c: Likewise.
19921         * soft-fp/floattidf.c: Likewise.
19922         * soft-fp/floattisf.c: Likewise.
19923         * soft-fp/floattitf.c: Likewise.
19924         * soft-fp/floatundidf.c: Likewise.
19925         * soft-fp/floatundisf.c: Likewise.
19926         * soft-fp/floatunsidf.c: Likewise.
19927         * soft-fp/floatunsisf.c: Likewise.
19928         * soft-fp/floatuntidf.c: Likewise.
19929         * soft-fp/floatuntisf.c: Likewise.
19930         * soft-fp/floatuntitf.c: Likewise.
19931         * soft-fp/fmadf4.c: Likewise.
19932         * soft-fp/fmasf4.c: Likewise.
19933         * soft-fp/fmatf4.c: Likewise.
19934         * soft-fp/gedf2.c: Likewise.
19935         * soft-fp/gesf2.c: Likewise.
19936         * soft-fp/getf2.c: Likewise.
19937         * soft-fp/ledf2.c: Likewise.
19938         * soft-fp/lesf2.c: Likewise.
19939         * soft-fp/letf2.c: Likewise.
19940         * soft-fp/muldf3.c: Likewise.
19941         * soft-fp/mulsf3.c: Likewise.
19942         * soft-fp/multf3.c: Likewise.
19943         * soft-fp/negdf2.c: Likewise.
19944         * soft-fp/negsf2.c: Likewise.
19945         * soft-fp/negtf2.c: Likewise.
19946         * soft-fp/op-1.h: Likewise.
19947         * soft-fp/op-2.h: Likewise.
19948         * soft-fp/op-4.h: Likewise.
19949         * soft-fp/op-8.h: Likewise.
19950         * soft-fp/op-common.h: Likewise.
19951         * soft-fp/quad.h: Likewise.
19952         * soft-fp/single.h: Likewise.
19953         * soft-fp/soft-fp.h: Likewise.
19954         * soft-fp/sqrtdf2.c: Likewise.
19955         * soft-fp/sqrtsf2.c: Likewise.
19956         * soft-fp/sqrttf2.c: Likewise.
19957         * soft-fp/subdf3.c: Likewise.
19958         * soft-fp/subsf3.c: Likewise.
19959         * soft-fp/subtf3.c: Likewise.
19960         * soft-fp/truncdfsf2.c: Likewise.
19961         * soft-fp/trunctfdf2.c: Likewise.
19962         * soft-fp/trunctfsf2.c: Likewise.
19963         * soft-fp/trunctfxf2.c: Likewise.
19964         * soft-fp/unorddf2.c: Likewise.
19965         * soft-fp/unordsf2.c: Likewise.
19966         * soft-fp/unordtf2.c: Likewise.
19968 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
19970         [BZ #15672]
19971         * misc/error.c (error_tail): Fix possible buffer overflow.
19973 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
19975         [BZ #13028]
19976         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19977         address.
19979 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19981         [BZ #832]
19982         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19983         testing pipefail option.
19985 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19987         * soft-fp/double.h: Indent preprocessor directives inside #if.
19988         * soft-fp/extended.h: Likewise.
19989         * soft-fp/op-2.h: Likewise.
19990         * soft-fp/op-4.h: Likewise.
19991         * soft-fp/op-common.h: Likewise.
19992         * soft-fp/quad.h: Likewise.
19993         * soft-fp/single.h: Likewise.
19994         * soft-fp/soft-fp.h: Likewise.
19996 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19998         * iconv/iconv_prog.c: Fix typos.
19999         * stdio-common/psiginfo-data.h: Likewise.
20001 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20003         [BZ #15764]
20004         * locale/setlocale.c: Fix typo.
20006 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20008         [BZ #16036]
20009         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20010         signaling NaN arguments.
20011         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20012         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20014         [BZ #14910]
20015         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20016         unordered operands.
20017         * soft-fp/gesf2.c (__gesf2): Likewise.
20018         * soft-fp/getf2.c (__getf2): Likewise.
20019         * soft-fp/ledf2.c (__ledf2): Likewise.
20020         * soft-fp/lesf2.c (__lesf2): Likewise.
20021         * soft-fp/letf2.c (__letf2): Likewise.
20023         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20024         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20025         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20026         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20027         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20028         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20029         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20030         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20031         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20032         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20033         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20034         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20035         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20036         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20037         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20038         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20039         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20040         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20041         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20042         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20043         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20044         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20045         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20046         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20047         * soft-fp/floattidf.c (__floattidf): Likewise.
20048         * soft-fp/floattisf.c (__floattisf): Likewise.
20049         * soft-fp/floattitf.c (__floattitf): Likewise.
20050         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20051         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20052         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20053         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20054         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20055         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20056         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20057         * soft-fp/gesf2.c (__gesf2): Likewise.
20058         * soft-fp/getf2.c (__getf2): Likewise.
20059         * soft-fp/ledf2.c (__ledf2): Likewise.
20060         * soft-fp/lesf2.c (__lesf2): Likewise.
20061         * soft-fp/letf2.c (__letf2): Likewise.
20063         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20064         Undefine and redefine.
20065         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20066         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20067         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20068         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20069         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20070         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20071         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20072         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20073         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20074         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20075         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20076         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20077         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20078         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20079         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20081         [BZ #16032]
20082         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20083         without decrementing exponent if mantissa >= that for the
20084         denominator, not >.
20085         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20086         denominator, not >.  Decrement exponent in < case instead of
20087         incrementing in >= case.
20088         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20089         without decrementing exponent if mantissa >= that for the
20090         denominator, not >.
20092         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20093         computing saturated result for unsigned overflow.
20095 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20096             Jeff Law  <law@redhat.com>
20098         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20099         (atan2Mp): Add systemtap probe marker.
20100         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20101         (__ieee754_log): Add systemtap probe marker.
20102         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20103         (atanMp): Add systemtap probe marker.
20104         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20105         (tanMp): Add systemtap probe marker.
20106         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20107         (__slowexp): Add systemtap probe marker.
20108         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20109         (__slowpow): Add systemtap probe marker.
20110         * manual/probes.texi: Document probes.
20112 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20114         [BZ #15362]
20115         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20116         written.
20117         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20118         written.
20119         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20120         written to buffer but not flushed.
20121         * libio/iofwrite_u.c:  Likewise.
20122         * libio/iopadn.c:  Return bytes returned even if EOF was
20123         encountered.
20124         * libio/iowpadn.c:  Likewise.
20125         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20126         if _IO_padn does not write the whole buffer.
20127         [!COMPILE_WPRINTF] (PAD): Likewise.
20129 2013-10-10  David S. Miller  <davem@davemloft.net>
20131         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20132         directory block.
20134 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20136         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20137         instead of FSF address.
20138         * soft-fp/fixdfti.c: Likewise.
20139         * soft-fp/fixsfti.c: Likewise.
20140         * soft-fp/fixtfti.c: Likewise.
20141         * soft-fp/fixunsdfti.c: Likewise.
20142         * soft-fp/fixunssfti.c: Likewise.
20143         * soft-fp/fixunstfti.c: Likewise.
20144         * soft-fp/floattidf.c: Likewise.
20145         * soft-fp/floattisf.c: Likewise.
20146         * soft-fp/floattitf.c: Likewise.
20147         * soft-fp/floatuntidf.c: Likewise.
20148         * soft-fp/floatuntisf.c: Likewise.
20149         * soft-fp/floatuntitf.c: Likewise.
20150         * soft-fp/trunctfxf2.c: Likewise.
20152         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20153         * soft-fp/fixdfti.c: Likewise.
20154         * soft-fp/fixsfti.c: Likewise.
20155         * soft-fp/fixtfti.c: Likewise.
20156         * soft-fp/fixunsdfti.c: Likewise.
20157         * soft-fp/fixunssfti.c: Likewise.
20158         * soft-fp/fixunstfti.c: Likewise.
20159         * soft-fp/floattidf.c: Likewise.
20160         * soft-fp/floattisf.c: Likewise.
20161         * soft-fp/floattitf.c: Likewise.
20162         * soft-fp/floatuntidf.c: Likewise.
20163         * soft-fp/floatuntisf.c: Likewise.
20164         * soft-fp/floatuntitf.c: Likewise.
20165         * soft-fp/trunctfxf2.c: Likewise.
20167 2013-10-10  David S. Miller  <davem@davemloft.net>
20169         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20171 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20173         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20174         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20175         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20176         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20177         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20178         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20179         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20181         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20182         for NaNs before doing comparisons on argument.
20183         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20184         Likewise.
20186 2013-10-10  Will Newton  <will.newton@linaro.org>
20188         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20189         passed to _int_memalign does not overflow.
20191 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20193         * scripts/bench.pl: Add include-sources directive.
20194         * benchtests/README: Update documentation.
20196 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20198         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20199         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20200         instead of FP_INIT_ROUNDMODE.
20201         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20202         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20204         [BZ #16034]
20205         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20206         copy class of input value.
20207         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20208         not handle exceptions.
20209         * soft-fp/negsf2.c (__negsf2): Likewise.
20210         * soft-fp/negtf2.c (__negtf2): Likewise.
20211         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20213 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20215         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20216         semicolon.  From Linux kernel.
20218 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20220         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20222 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20224         [BZ #156]
20225         * manual/socket.texi: Added statement about buffer
20226         for gethostbyname2_r.
20228 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20230         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20231         Use .p2align directive instead, throughout.
20232         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20233         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20234         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20235         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20236         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20237         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20238         * sysdeps/x86_64/strchr.S: Likewise.
20239         * sysdeps/x86_64/strrchr.S: Likewise.
20241 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20243         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20245         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20247         * sysdeps/generic/math_private.h (__mpsin1): Remove
20248         declaration.
20249         (__mpcos1): Likewise.
20250         (__mpsin): New argument __range_reduce.
20251         (__mpcos): Likewise.
20252         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20253         (slow): Use __mpsin and __mpcos.
20254         (slow1): Likewise.
20255         (slow2): Likewise.
20256         (sloww): Likewise.
20257         (sloww1): Likewise.
20258         (sloww2): Likewise.
20259         (bsloww): Likewise.
20260         (bsloww1): Likewise.
20261         (bsloww2): Likewise.
20262         (cslow2): Likewise.
20263         (csloww): Likewise.
20264         (csloww1): Likewise.
20265         (csloww2): Likewise.
20266         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20267         range_reduce.  Merge in __mpsin1.
20268         (__mpcos): Likewise.
20269         (__mpsin1): Remove.
20270         (__mpcos1): Likewise.
20272 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20274         * locale/loadlocale.c (_nl_intern_locale_data): Use
20275         LOCFILE_ALIGNED_P.
20276         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20277         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20278         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20279         obstack data is appropriately aligned.
20280         (obstack_int32_grow_fast): Likewise.
20281         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20282         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20283         (add_locale_uint32_array): Likewise.
20285 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20287         * benchtests/Makefile: Remove ARGLIST and RET variables.
20288         ($(objpfx)bench-%.c): Pass only function name to the script.
20289         * benchtests/README: Update documentation.
20290         * benchtests/acos-inputs: Add new directives.
20291         * benchtests/acosh-inputs: Likewise.
20292         * benchtests/asin-inputs: Likewise.
20293         * benchtests/asinh-inputs: Likewise.
20294         * benchtests/atan-inputs: Likewise.
20295         * benchtests/atanh-inputs: Likewise.
20296         * benchtests/cos-inputs: Likewise.
20297         * benchtests/cosh-inputs: Likewise.
20298         * benchtests/exp-inputs: Likewise.
20299         * benchtests/log-inputs: Likewise.
20300         * benchtests/pow-inputs: Likewise.
20301         * benchtests/rint-inputs: Likewise.
20302         * benchtests/sin-inputs: Likewise.
20303         * benchtests/sinh-inputs: Likewise.
20304         * benchtests/tan-inputs: Likewise.
20305         * benchtests/tanh-inputs: Likewise.
20306         * scripts/bench.pl: Add support for new directives.
20308 2013-10-07  Alan Modra  <amodra@gmail.com>
20310         * README: Fix careless merge.
20312 2013-10-05  Alan Modra  <amodra@gmail.com>
20314         * NEWS: Mention powerpc64le support and bugs fixed.
20315         * README: Both big-endian and little-endian powerpc64 supported.
20317 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20319         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20320         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20321         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20322         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20324 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20326         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20327         match prototype.
20329 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20331         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20332         Move -mhard-float appending from
20333         ports/sysdeps/powerpc/powerpc32/Makefile.
20334         [$(with-fp) = yes] (ASFLAGS): Likewise.
20335         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20336         * sysdeps/powerpc/nofpu: Move directory from
20337         ports/sysdeps/powerpc/nofpu.
20338         * sysdeps/powerpc/soft-fp: Move directory from
20339         ports/sysdeps/powerpc/soft-fp.
20340         * sysdeps/powerpc/powerpc32/405: Move directory from
20341         ports/sysdeps/powerpc/powerpc32/405.
20342         * sysdeps/powerpc/powerpc32/440: Move directory from
20343         ports/sysdeps/powerpc/powerpc32/440.
20344         * sysdeps/powerpc/powerpc32/464: Move directory from
20345         ports/sysdeps/powerpc/powerpc32/464.
20346         * sysdeps/powerpc/powerpc32/476: Move directory from
20347         ports/sysdeps/powerpc/powerpc32/476.
20348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20349         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20351         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20353         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20355         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20357         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20358         * README: Update for powerpc-*-linux-gnu software floating point
20359         support in libc.
20361         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20362         case to powerpc/powerpc32*.
20363         * sysdeps/unix/sysv/linux/configure: Regenerated.
20365         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20366         (_FPU_MASK_OM): Define as 0x04.
20367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20369         0x00c10080.
20370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20371         0x0000003c.
20372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20375         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20376         getcontext_e500.
20377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20378         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20379         setcontext_e500.
20380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20381         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20382         and setcontext_e500.
20384 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20386         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20388 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20390         * manual/threads.texi (Default Thread Attributes): Fix typo.
20392 2013-10-04  Will Newton  <will.newton@linaro.org>
20394         * malloc/Makefile: Add tst-memalign.
20395         * malloc/tst-memalign.c: New file.
20397         * malloc/tst-posix_memalign.c: Add comments.
20398         (do_test): Add comments and call free on all potentially
20399         allocated pointers. Add space after cast.
20401         * malloc/tst-pvalloc.c: Add comments.
20402         (do_test): Add comments and call free on all potentially
20403         allocated pointers. Remove duplicate check for NULL pointer.
20404         Add space after cast.
20406         * malloc/tst-valloc.c: Add comments.
20407         (do_test): Add comments and call free on all potentially
20408         allocated pointers. Remove duplicate check for NULL pointer.
20409         Add space after cast.
20411 2013-10-04  Alan Modra  <amodra@gmail.com>
20413         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20414         Use stdint types in rather than __attribute__((mode())).
20415         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20417 2013-10-04  Alan Modra  <amodra@gmail.com>
20419         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20420         Correct handling of unaligned relocs for little-endian.
20421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20423 2013-10-04  Alan Modra  <amodra@gmail.com>
20425         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20426         * configure: Regenerate.
20427         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20428         * shlib-versions: Likewise.
20430 2013-10-04  Alan Modra  <amodra@gmail.com>
20432         * string/tester.c (test_memrchr): Increment reported test cycle.
20434 2013-10-04  Alan Modra  <amodra@gmail.com>
20436         * string/test-memcpy.c (do_one_test): When reporting errors, print
20437         string address and don't overrun end of string.
20439 2013-10-04  Alan Modra  <amodra@gmail.com>
20441         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20442         insrdi.  Make better use of reg selection to speed exit slightly.
20443         Schedule entry path a little better.  Remove useless "are we done"
20444         checks on entry to main loop.  Handle wrapping around zero address.
20445         Correct main loop count.  Handle single left-over word from main
20446         loop inline rather than by using loop_small.  Remove extra word
20447         case in loop_small caused by wrong loop count.  Add little-endian
20448         support.
20449         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20450         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20451         cache hint.
20452         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20453         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20454         support.  Avoid rlwimi.
20455         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20457 2013-10-04  Alan Modra  <amodra@gmail.com>
20459         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20460         insrdi.  Formatting.
20461         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20462         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20463         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20464         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20465         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20466         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20468 2013-10-04  Alan Modra  <amodra@gmail.com>
20470         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20471         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20472         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20473         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20474         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20475         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20476         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20477         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20478         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20479         use of regs.  Use power7 mtocrf.  Tidy function tails.
20481 2013-10-04  Alan Modra  <amodra@gmail.com>
20483         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20484         Formatting.  Consistently use rXXX register defines or rN defines.
20485         Use early exit labels that avoid restoring unused non-volatile regs.
20486         Make cr field use more consistent with rWORDn compares.  Rename
20487         regs used as shift registers for unaligned loop, using rN defines
20488         for short lifetime/multiple use regs.
20489         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20490         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20491         addi 1,1,64 to pop stack frame.  Simplify return value code.
20492         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20494 2013-10-04  Alan Modra  <amodra@gmail.com>
20496         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20497         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20498         rather than rlwimi.
20499         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20500         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20501         little-endian support.  Correct typos.
20502         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20503         rather than rlwimi.
20504         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20505         in loop and entry code to keep "and." results.
20506         (strchr): Add little-endian support.  Comment.  Move cntlzd
20507         earlier in tail.
20508         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20510 2013-10-04  Alan Modra  <amodra@gmail.com>
20512         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20513         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20514         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20515         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20517 2013-10-04  Alan Modra  <amodra@gmail.com>
20519         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20520         (rTMP): Define as r11.
20521         (strcmp): Add little-endian support.  Optimise tail.
20522         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20523         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20524         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20525         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20526         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20527         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20528         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20530 2013-10-04  Alan Modra  <amodra@gmail.com>
20532         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20533         little-endian support.  Remove unnecessary "are we done" tests.
20534         Handle "s" wrapping around zero and extremely large "size".
20535         Correct main loop count.  Handle single left-over word from main
20536         loop inline rather than by using small_loop.  Correct comments.
20537         Delete "zero" tail, use "end_max" instead.
20538         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20540 2013-10-04  Alan Modra  <amodra@gmail.com>
20542         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20543         support.  Don't branch over align.
20544         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20545         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20546         support.  Rearrange tmp reg use to suit.  Comment.
20547         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20549 2013-10-04  Alan Modra  <amodra@gmail.com>
20551         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20553 2013-10-04  Alan Modra  <amodra@gmail.com>
20555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20556         conditional form of branch and link when obtaining pc.
20557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20559 2013-10-04  Alan Modra  <amodra@gmail.com>
20561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20562         HIWORD/LOWORD.
20563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20566 2013-10-04  Alan Modra  <amodra@gmail.com>
20568         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20569         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20570         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20571         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20572         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20573         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20574         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20575         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20576         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20577         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20579 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20580             Alistair Popple <alistair@ozlabs.au.ibm.com>
20581             Alan Modra <amodra@gmail.com>
20583         [BZ #15723]
20584         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20585         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20586         _dl_hwcap access for little-endian.
20587         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20588         destroy vmx regs when saving unaligned.
20589         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20590         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20591         destroy vmx regs when saving unaligned.
20593 2013-10-04  Alan Modra  <amodra@gmail.com>
20595         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20596         Don't use a union to pack hi/low value.
20598 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20600         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20601         for little-endian.
20602         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20603         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20604         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20605         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20606         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20608 2013-10-04  Alan Modra  <amodra@gmail.com>
20610         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20611         constants to usual value for .cst8 section, and remove redundant
20612         high address load.
20613         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20614         constant for 0x1p52.  Load little-endian words of double from
20615         correct stack offsets.
20617 2013-10-04  Alan Modra  <amodra@gmail.com>
20619         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20620         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20621         words of double from correct stack offsets.
20622         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20623         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20624         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20625         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20626         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20627         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20628         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20629         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20630         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20631         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20632         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20633         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20634         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20635         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20636         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20637         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20638         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20640 2013-10-04  Alan Modra  <amodra@gmail.com>
20642         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20643         64-bit int/double union.
20644         (_FPU_SETCW): Likewise.
20645         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20646         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20648 2013-10-04  Alan Modra  <amodra@gmail.com>
20650         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20651         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20653 2013-10-04  Alan Modra  <amodra@gmail.com>
20655         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20656         use vector int constants.
20657         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20659 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20661         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20662         array with long long.
20663         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20664         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20665         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20666         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20667         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20668         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20669         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20670         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20671         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20672         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20673         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20674         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20675         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20677 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20679         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20680         (__signbit): Likewise.  Correct for little-endian.
20681         (__signbitl): Call __signbit.
20682         (lrint): Correct for little-endian.
20683         (lrintf): Call lrint.
20685 2013-10-04  Alan Modra  <amodra@gmail.com>
20687         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20688         union 32-bit int array member with 64-bit int array.
20689         (t515, tm256): Double rather than long double.
20690         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20692 2013-10-04  Alan Modra  <amodra@gmail.com>
20694         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20695         Delete.
20696         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20697         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20698         version of math_ldbl.h.
20700 2013-10-04  Alan Modra  <amodra@gmail.com>
20702         [BZ #15734], [BZ #15735]
20703         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20704         all uses of ieee875 long double macros and unions.  Simplify test
20705         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20706         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20707         normalize after ldbl_extract_mantissa, and don't add hidden bit
20708         already handled.  Don't treat low word of ieee854 mantissa like
20709         low word of IBM long double and mask off bit when testing for
20710         zero.
20711         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20712         all uses of ieee875 long double macros and unions.  Simplify tests
20713         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20714         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20715         two1022, instead use their values.  Recognise that tests for large
20716         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20717         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20718         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20719         test for 0.0L and nan.  Correct negation.
20720         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20721         ieee875 long double macros and unions.  Correct output for large
20722         magnitude x.  Correct absolute value calculation.
20723         (__erfcl): Likewise.
20724         * math/libm-test.inc: Add tests for errors discovered in IBM long
20725         double versions of fmodl, remainderl, erfl and erfcl.
20727 2013-10-04  Alan Modra  <amodra@gmail.com>
20729         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20730         all uses of ieee854 long double macros and unions.  Simplify tests
20731         for long doubles that are fully specified by the high double.
20732         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20733         Likewise.
20734         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20735         Remove dead code too.
20736         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20737         (__ieee754_ynl): Likewise.
20738         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20739         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20740         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20741         Remove dead code too.
20742         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20743         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20744         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20745         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20746         Simplify.
20747         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20748         Simplify.
20749         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20750         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20751         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20752         Comment on variable precision.
20753         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20754         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20755         Likewise.
20756         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20757         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20758         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20759         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20760         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20762 2013-10-04  Alan Modra  <amodra@gmail.com>
20764         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20765         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20766         all uses of ieee854 long double macros and unions.
20767         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20768         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20769         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20770         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20771         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20772         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20773         Likewise.
20774         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20775         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20776         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20777         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20778         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20779         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20780         Simplify sign and nan test too.
20781         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20782         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20783         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20784         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20785         Likewise.
20786         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20787         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20788         Likewise.
20789         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20790         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20791         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20792         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20793         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20794         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20796 2013-10-04  Alan Modra  <amodra@gmail.com>
20798         * stdio-common/printf_size.c (__printf_size): Don't use
20799         union ieee854_long_double in fpnum union.
20800         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
20801         signbit macro to retrieve sign from long double.
20802         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20803         retrieve sign from long double.
20804         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20805         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20806         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20807         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20808         * math/test-misc.c (main): Don't use union ieee854_long_double.
20810 2013-10-04  Alan Modra  <amodra@gmail.com>
20812         [BZ #15680]
20813         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20814         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20815         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20816         calculation.  Remove unnecessary test for denormal exponent.
20817         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20818         Correct handling of denormals.  Avoid undefined shift behaviour.
20819         Correct normalisation of low mantissa when low double is denormal.
20820         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20821         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
20822         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20823         Correct normalisation of low mantissa.  Test for overflow of high
20824         mantissa and normalise.
20825         (ldbl_nearbyint): Use more readable constant for two52.
20826         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20827         (__mpn_construct_long_double): Fix test for overflow of high
20828         mantissa and correct normalisation.  Avoid undefined shift.
20830 2013-10-04  Alan Modra  <amodra@gmail.com>
20832         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20833         (union ibm_extended_long_double): Define as an array of ieee754_double.
20834         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20835         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20836         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20837         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20838         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20839         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20840         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20841         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20842         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20843         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20844         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20846 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
20848         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20849         page size instead of calling getpagesize.
20851         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20852         (LOCFILE_ALIGN_MASK): Likewise.
20853         (LOCFILE_ALIGN_UP): Likewise.
20854         (LOCFILE_ALIGNED_P): Likewise.
20855         * locale/programs/ld-collate.c (collate_output): Use the new
20856         macros instead of __alignof__ (int32_t).
20857         * locale/weight.h (findidx): Likewise.
20859 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
20861         [BZ #431]
20862         * manual/string.texi: Fix strncat and wcsncat.
20864 2013-10-03  Brooks Moses  <bmoses@google.com>
20866         [BZ #15915]
20867         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20868         * Makerules: ...here, and adjust associated comments.
20870 2013-10-02  Will Newton  <will.newton@linaro.org>
20872         * malloc/Makefile: Add tst-pvalloc.
20873         * malloc/tst-pvalloc.c: New file.
20875 2013-10-02  Will Newton  <will.newton@linaro.org>
20877         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20878         improve test coverage.
20880 2013-10-02  Will Newton  <will.newton@linaro.org>
20882         * malloc/Makefile: Add tst-posix_memalign.
20883         * malloc/tst-posix_memalign.c: New file.
20885 2013-10-01  Eric Blake  <eblake@redhat.com>
20887         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20888         Use __THROWNL rather than __THROW on static functions.
20890 2013-09-30  Petr Machata  <pmachata@redhat.com>
20892         * elf/elf.h (R_AARCH64_ABS16): New macro.
20893         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20894         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20895         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20896         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20897         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20898         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20899         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20900         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20901         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20902         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20903         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20904         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20905         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20906         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20907         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20908         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20909         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20910         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20911         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20912         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20913         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20914         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20915         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20916         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20917         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20918         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20919         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20920         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20921         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20922         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20923         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20924         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20925         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20926         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20927         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20928         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20929         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20930         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20931         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20932         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20933         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20934         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20935         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20936         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20937         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20938         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20939         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20940         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20941         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20942         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20943         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20944         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20945         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20946         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20947         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20948         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20949         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20950         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20951         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20952         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20953         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20954         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20955         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20956         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20957         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20958         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20959         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20960         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20961         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20962         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20963         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20964         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20965         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20966         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20967         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20968         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20969         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20970         (R_AARCH64_TLSDESC_LDR): Likewise.
20971         (R_AARCH64_TLSDESC_ADD): Likewise.
20972         (R_AARCH64_TLSDESC_CALL): Likewise.
20974 2013-09-30  Andreas Schwab  <schwab@suse.de>
20976         [BZ #15048]
20977         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20978         the nss database lookup.
20979         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20980         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20982 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20984         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20986 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20988         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20989         ${Bash-specific parameter/pattern/string} parameter expansion.
20990         * sysdeps/unix/make-syscalls.sh: Likewise.
20992 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20994         * sysdeps/sh/stackguard-macros.h: New file.
20996 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20998         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20999         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21000         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21001         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21002         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21003         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21005 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21007         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21008         Fix thread ID register.
21010 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21012         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21013         [POSIX || UNIX98]: Require rather than permitting all symbols from
21014         <time.h>.
21015         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21016         element of struct sched_param.
21017         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21018         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21019         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21020         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21021         constant.
21023 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21025         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21026         argument calculation.
21028 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21030         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21031         Expect macro.
21032         [POSIX] (pthread_attr_t): Do not require type.
21033         [POSIX] (pthread_cond_t): Likewise.
21034         [POSIX] (pthread_condattr_t): Likewise.
21035         [POSIX] (pthread_key_t): Likewise.
21036         [POSIX] (pthread_mutex_t): Likewise.
21037         [POSIX] (pthread_mutexattr_t): Likewise.
21038         [POSIX] (pthread_once_t): Likewise.
21039         [POSIX] (pthread_t): Likewise.
21040         [POSIX-based standards] (pthread_atfork): Expect function.
21042 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21043             Richard Sandiford  <richard@codesourcery.com>
21045         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21046         (swap_endianness_p): New extern variable.
21047         (set_big_endian): New inline function.
21048         (maybe_swap_uint32): Likewise.
21049         (maybe_swap_uint32_array): Likewise.
21050         (maybe_swap_uint32_obstack): Likewise.
21051         * locale/programs/locfile.c: Include <stdbool.h>.
21052         (swap_endianness_p): New variable.
21053         (add_locale_uint32): Call maybe_swap_uint32.
21054         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21055         (write_locale_data): Call maybe_swap_uint32_array.
21056         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21057         maybe_swap_uint32.
21058         (obstack_int32_grow_fast): Likewise.
21059         (output_weightwc): Call maybe_swap_uint32_obstack.
21060         (collate_output): Likewise.
21061         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21062         (OPT_LITTLE_ENDIAN): Likewise.
21063         (options): Add --little-endian and --big-endian options.
21064         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21065         * locale/programs/locarchive.c: Include "locfile.h".
21066         (GET): New macro.
21067         (SET): Likewise.
21068         (INC): Likewise.
21069         (create_archive): Use the new macros to access fields of
21070         structures directly mapped from or written to locale archives.
21071         (oldlocrecentcmp): Likewise.
21072         (enlarge_archive): Likewise.
21073         (insert_name): Likewise.
21074         (add_alias): Likewise.
21075         (add_locale): Likewise.
21076         (delete_locales_from_archive): Likewise.
21077         (show_archive_content): Likewise.
21078         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21079         locale data.
21081 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21083         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21084         http://www.gnu.org/doc/freemanuals.texi.
21085         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21087 2013-09-24  Will Newton  <will.newton@linaro.org>
21089         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21090         macro.
21092 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21094         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21095         unsigned char.
21097 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21099         * manual/threads.texi (POSIX Threads): Fix a typo.
21101 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21103         [BZ #14547]
21104         * string/tst-strcoll-overflow.c: New test case.
21105         * string/Makefile (xtests): Add tst-strcoll-overflow.
21106         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21107         cache if string sizes may cause integer overflow.
21109         [BZ #14547]
21110         * string/strcoll_l.c (coll_seq): New members rule, idx,
21111         save_idx and back_us.
21112         (get_next_seq_nocache): New function.
21113         (do_compare_nocache): New function.
21114         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21115         when malloc fails.
21117 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21119         [BZ #15754]
21120         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21121         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21122         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21124         [BZ #15754]
21125         * elf/Makefile (tests): Add tst-ptrguard1.
21126         (tests-static): Add tst-ptrguard1-static.
21127         (tst-ptrguard1-ARGS): Define.
21128         (tst-ptrguard1-static-ARGS): Define.
21129         * elf/tst-ptrguard1.c: New file.
21130         * elf/tst-ptrguard1-static.c: New file.
21131         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21132         * sysdeps/i386/stackguard-macros.h: Likewise.
21133         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21134         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21135         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21136         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21137         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21138         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21140 2013-09-23  Hector Marco  <hecmargi@upv.es>
21141             Ismael Ripoll  <iripoll@disca.upv.es>
21142             Carlos O'Donell  <carlos@redhat.com>
21144         [BZ #15754]
21145         * sysdeps/generic/stackguard-macros.h: Define
21146         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21147         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21148         Define __pointer_chk_guard_local.
21149         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21150         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21152 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21154         [BZ #15859]
21155         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21157 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21159         * include/string.h (__ffs): Declare as hidden.
21160         * string/ffs.c (__ffs): Define as hidden.
21161         * sysdeps/i386/ffs.c (__ffs): Likewise.
21162         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21163         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21164         * sysdeps/s390/ffs.c (__ffs): Likewise.
21165         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21167 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21169         * NEWS: Mention malloc probes.
21171         * malloc/arena.c (new_heap): New memory_heap_new probe.
21172         (grow_heap): New memory_heap_more probe.
21173         (shrink_heap): New memory_heap_less probe.
21174         (heap_trim): New memory_heap_free probe.
21175         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21176         (systrim): New memory_sbrk_less probe.
21177         * manual/probes.texi: Document them.
21179         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21180         * manual/probes.texi: Document it.
21182         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21183         (__libc_realloc): Add memory_realloc_retry probe.
21184         (__libc_memalign): Add memory_memalign_retry probe.
21185         (__libc_valloc): Add memory_valloc_retry probe.
21186         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21187         (__libc_calloc): Add memory_calloc_retry probe.
21188         * manual/probes.texi: Document them.
21190         * malloc/arena.c (get_free_list): Add probe
21191         memory_arena_reuse_free_list.
21192         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21193         and memory_arena_reuse.
21194         (arena_get2) [!PER_THREAD]: Likewise.
21195         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21196         memory_arena_reuse_realloc.
21197         * manual/probes.texi: Document them.
21199         * malloc/malloc.c (__libc_free): Add
21200         memory_mallopt_free_dyn_thresholds probe.
21201         (__libc_mallopt): Add multiple memory_mallopt probes.
21202         * manual/probes.texi: Document them.
21204         * malloc/malloc.c: Include stap-probe.h.
21205         (__libc_mallopt): Add memory_mallopt probe.
21206         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21207         * manual/probes.texi: New.
21208         * manual/Makefile (chapters): Add probes.
21209         * manual/threads.texi: Set next node.
21211 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21213         [BZ #15963, #13985]
21214         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21215         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21216         Add `Chinese' to `nan' entry name.
21218 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21220         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21221         (POLYNOMIAL): Likewise.
21222         (TAYLOR_SINCOS): Likewise.
21223         (TAYLOR_SLOW): Likewise.
21224         (__sin): Use TAYLOR_SINCOS.
21225         (__cos): Likewise.
21226         (slow): Use TAYLOR_SLOW.
21227         (sloww): Likewise.
21228         (bsloww): Likewise.
21229         (csloww): Likewise.
21231 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21233         * stdlib/strtod_l.c: Fix buffer overrun.
21235 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21237         * benchtests/Makefile (bench): Add sincos.
21238         * benchtests/bench-sincos.c: New file.
21240         * math/libm-test.inc (cos_test_data): New test inputs.
21241         (sin_test_data): Likewise.
21243         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21244         macro.
21245         (__sin): Use it.
21246         (__cos): Likewise.
21247         (slow1): Likewise.
21248         (slow2): Likewise.
21249         (sloww1): Likewise.
21250         (sloww2): Likewise.
21251         (bsloww1): Likewise.
21252         (bsloww2): Likewise.
21253         (cslow2): Likewise.
21254         (csloww1): Likewise.
21255         (csloww2): Likewise.
21257         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21258         function.
21259         (__sin): Use it.
21260         (__cos): Likewise.
21262         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21263         gotos.
21264         (__cos): Likewise.
21266 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21268         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21269         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21270         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21271         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21272         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21273         * elf/cache.c (print_entry): Handle the new cache flags.
21275 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21276             Aldy Hernandez  <aldyh@redhat.com>
21278         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21279         Change condition to [_SOFT_FLOAT].
21280         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21281         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21282         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21283         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21284         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21285         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21286         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21287         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21288         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21289         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21290         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21292         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21293         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21294         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21295         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21296         declaration.
21298 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21300         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21301         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21302         (__longjmp): Use LOAD_GP to load saved GPRs.
21303         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21304         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21305         (__sigsetjmp): Use SAVE_GP to save GPRs.
21307         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21308         Do not append -msoft-float.
21309         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21311 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21313         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21315 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21317         [BZ #15966]
21318         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21319         (_FPU_GETCW): Use initial "__" on variable and field names but not
21320         on macro parameter name.
21321         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21322         parentheses around reference to macro parameter.
21324 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21326         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21327         prototype.
21328         (ctype_startup): Use uint32_t in cast and sizeof for
21329         ctype->charnames.
21331 2013-09-11  Jia Liu  <proljc@gmail.com>
21333         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21334         __daddr_t_defined.
21335         [__FreeBSD__]: Likewise.
21337 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21340         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21341         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21342         (strchr): Remove __strchr_sse42 ifunc selection.
21343         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21344         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21346 2013-09-11  Will Newton  <will.newton@linaro.org>
21348         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21349         parameter to RES. Remove hardcoded 1000 value.
21350         * benchtests/bench-skeleton.c (main): Pass RES parameter
21351         to TIMING_INIT and multiply result by 1000.
21353 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21357 2013-09-11  Andreas Schwab  <schwab@suse.de>
21359         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21360         if not defined.
21361         (O_TMPFILE) [__USE_GNU]: Define.
21362         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21363         Define.
21365 2013-09-11  Will Newton  <will.newton@linaro.org>
21367         [BZ #15857]
21368         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21369         does not overflow.
21371 2013-09-11  Will Newton  <will.newton@linaro.org>
21373         [BZ #15856]
21374         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21375         does not overflow.
21377 2013-09-11  Will Newton  <will.newton@linaro.org>
21379         [BZ #15855]
21380         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21381         does not overflow.
21383 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21385         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21386         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21387         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21388         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21389         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21391 2013-09-10  Allan McRae  <allan@archlinux.org>
21393         [BZ #15748]
21394         * manual/arith.texi (Parsing of Floats): Clarify
21395         cross-reference.
21397         [BZ #15849]
21398         * manual/install.texi (Running make install): Mention
21399         --enable-pt-chown.
21400         * INSTALL: Regenerated.
21402 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21404         * csu/init-first.c (_init): Remove the !SHARED condition around
21405         FPU control word initialization.
21406         * elf/dl-support.c (_dl_fpu_control): New variable.
21407         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21408         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21409         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21410         * math/test-fpucw-static.c: New file.
21411         * math/test-fpucw-ieee.c: New file.
21412         * math/test-fpucw-ieee-static.c: New file.
21413         * math/Makefile (tests): Add `test-fpucw-ieee' and
21414         `$(tests-static)'.
21415         (tests-static): New variable.
21416         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21417         dependency to...
21418         [($(build-shared),yes)]
21419         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21420         ... this.
21421         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21422         New dependency.
21424 2013-09-09  Allan McRae  <allan@archlinux.org>
21426         [BZ #15939]
21427         * manual/string.texi (Collation Functions): Fix typo in
21428         strcoll example.
21429         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21431         [BZ #15893]
21432         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21434         [BZ #15892]
21435         * libio/memstream.c (open_memstream): Fix memory leak.
21436         * libio/wmemstream.c (open_wmemstream): Likewise.
21438         [BZ #15895]
21439         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21441 2013-09-09  Will Newton  <will.newton@linaro.org>
21443         * malloc/Makefile: Add tst-realloc to tests.
21444         * malloc/tst-realloc.c: New file.
21446 2013-09-09  Allan McRae  <allan@archlinux.org>
21448         [BZ #15844]
21449         * COPYING: Update from GNU website to fix FSF address.
21450         * COPYING.LIB: Likewise.
21452 2013-09-06  David S. Miller  <davem@davemloft.net>
21454         * po/zh_TW.po: Update Chinese (traditional) translation from
21455         translation project.
21457 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21458             Joseph Myers  <joseph@codesourcery.com>
21460         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21461         "localeinfo.h".
21462         (obstack_chunk_alloc): New macro.
21463         (obstack_chunk_free): Likewise.
21464         (record_offset): New function.
21465         (init_locale_data): Likewise.
21466         (align_locale_data): Likewise.
21467         (add_locale_empty): Likewise.
21468         (add_locale_raw_data): Likewise.
21469         (add_locale_raw_obstack): Likewise.
21470         (add_locale_string): Likewise.
21471         (add_locale_wstring): Likewise.
21472         (add_locale_uint32): Likewise.
21473         (add_locale_uint32_array): Likewise.
21474         (add_locale_char): Likewise.
21475         (start_locale_structure): Likewise.
21476         (end_locale_structure): Likewise.
21477         (start_locale_prelude): Likewise.
21478         (end_locale_prelude): Likewise.
21479         (write_locale_data): Take locale_file structure rather than an
21480         iovec.
21481         * locale/programs/locfile.h: Include "obstack.h".
21482         (struct locale_file): Change to store locale file contents instead
21483         of header.
21484         (init_locale_data): New prototype.
21485         (align_locale_data): Likewise.
21486         (add_locale_empty): Likewise.
21487         (add_locale_raw_data): Likewise.
21488         (add_locale_raw_obstack): Likewise.
21489         (add_locale_string): Likewise.
21490         (add_locale_wstring): Likewise.
21491         (add_locale_uint32): Likewise.
21492         (add_locale_uint32_array): Likewise.
21493         (add_locale_char): Likewise.
21494         (start_locale_structure): Likewise.
21495         (end_locale_structure): Likewise.
21496         (start_locale_prelude): Likewise.
21497         (end_locale_prelude): Likewise.
21498         (write_locale_data): Update prototype.
21499         * locale/programs/3level.h (struct TABLE): Remove result field.
21500         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21501         Use new locale_file interface.
21502         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21503         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21504         * locale/programs/ld-address.c (address_output): Use new
21505         locale_file interface.
21506         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21507         NO_ADD_LOCALE.
21508         (collate_finish): Don't call collseq_table_finalize.
21509         (collate_output): Use new locale_file interface.
21510         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21511         in file.
21512         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21513         (TABLE): Move defines earlier in file.
21514         (ELEMENT): Likewise.
21515         (DEFAULT): Likewise.
21516         (wctrans_table_add): Move macro and inline function earlier in
21517         file.
21518         (struct wctype_table): Move type earlier in file.
21519         (add_locale_wctype_table): New static prototype.
21520         (struct locale_ctype_t): Use logical types instead of struct iovec
21521         pointers for members.
21522         (ctype_output): Use new locale_file interface.
21523         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21524         new locale_file interface.
21525         (allocate_arrays): Update for use of new locale_file interface.
21526         * locale/programs/ld-identification.c (identification_output): Use
21527         new locale_file interface.
21528         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21529         * locale/programs/ld-messages.c (messages_output): Likewise.
21530         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21531         * locale/programs/ld-name.c (name_output): Likewise.
21532         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21533         * locale/programs/ld-paper.c (paper_output): Likewise.
21534         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21535         * locale/programs/ld-time.c (time_output): Likewise.
21537 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21539         * benchtests/Makefile: Add memrchr benchmark.
21540         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21541         benchmark as memrchr.
21542         * benchtests/bench-memrchr-ifunc.c: New file.
21543         * benchtests/bench-memrchr.c: New file.
21545 2013-09-06   Will Newton  <will.newton@linaro.org>
21547         * benchtests/Makefile (string-bench): Add memcpy.
21549 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21550             Cong Wang  <amwang@redhat.com>
21552         [BZ #15850]
21553         * sysdeps/unix/sysv/linux/bits/in.h
21554         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21555         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21556         before __USE_KERNEL_IPV6_DEFS uses.
21557         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21558         IPPROTO_BEETPH.
21559         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21560         sockaddr_in6, or ipv6_mreq.
21562 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21564         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21565         memory access for final bytes in some large inputs.
21566         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21568 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21570         * string/test-memrchr.c: New file.
21571         * string/test-memrchr-ifunc.c: New file.
21572         * string/Makefile: Add new memrchr testcase.
21574 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21576         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21577         fanotify_init returns EPERM.
21579 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21581         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21582         errors.
21583         (top level): Treat second token from macro or constant entries for
21584         allowed headers as allowed.
21585         * include/complex.h: Condition internal declarations on
21586         [!_ISOMAC].
21587         * include/fenv.h: Condition include of <stdbool.h> and internal
21588         declarations on [!_ISOMAC].
21590 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21592         [BZ #15923]
21593         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21595 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21597         * configure.in (--enable-versioning): Remove configure option.
21598         (libc_cv_asm_symver_directive): Remove configure test.
21599         (libc_cv_ld_version_script_option): Likewise.
21600         (VERSIONING): Remove variable and AC_SUBST.
21601         (DO_VERSIONING): Remove AC_DEFINE.
21602         * configure: Regenerated.
21603         * config.h.in (DO_VERSIONING): Remove macro.
21604         * Makerules [$(versioning) = yes]: Change conditionals to
21605         [$(build-shared) = yes].
21606         * config.make.in (versioning): Remove variable.
21607         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21608         [$(build-shared) = yes].
21609         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21610         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21611         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21612         [$(build-shared) = yes].
21613         * extra-lib.mk [$(versioning) = yes]: Likewise.
21614         * hurd/Makefile [$(versioning) = yes]: Likewise.
21615         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21616         [SHARED].
21617         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21618         [SHARED].
21619         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21620         [SHARED && !NO_HIDDEN].
21621         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21622         [SHARED].
21623         [SHARED && DO_VERSIONING]: Likewise..
21624         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21625         [$(build-shared) = yes].
21626         * manual/install.texi (--disable-versioning): Remove
21627         documentation.
21628         * INSTALL: Regenerated.
21629         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21630         to [SHARED].
21631         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21632         [$(build-shared) = yes].
21633         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21634         * sysdeps/i386/i686/multiarch/strstr-c.c
21635         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21636         [SHARED && !NO_HIDDEN].
21637         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21638         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21639         * sysdeps/powerpc/powerpc32/dl-machine.c
21640         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21641         * sysdeps/powerpc/powerpc32/sysdep.h
21642         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21643         to [SHARED && PIC && !NO_HIDDEN].
21644         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21645         conditional to [SHARED].
21647 2013-09-04   Will Newton  <will.newton@linaro.org>
21649         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21650         * benchtests/bench-string.h: Include bench-timing.h instead
21651         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21652         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21653         call to HP_TIMING_DIFF_INIT.
21654         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21655         instead of hp-timing.h macros.
21656         * benchtests/bench-memchr.c: Likewise.
21657         * benchtests/bench-memcmp.c: Likewise.
21658         * benchtests/bench-memcpy.c: Likewise.
21659         * benchtests/bench-memmem.c: Likewise.
21660         * benchtests/bench-memmove.c: Likewise.
21661         * benchtests/bench-memset.c: Likewise.
21662         * benchtests/bench-rawmemchr.c: Likewise.
21663         * benchtests/bench-strcasecmp.c: Likewise.
21664         * benchtests/bench-strcasestr.c: Likewise.
21665         * benchtests/bench-strcat.c: Likewise.
21666         * benchtests/bench-strchr.c: Likewise.
21667         * benchtests/bench-strcmp.c: Likewise.
21668         * benchtests/bench-strcpy.c: Likewise.
21669         * benchtests/bench-strcpy_chk.c: Likewise.
21670         * benchtests/bench-strlen.c: Likewise.
21671         * benchtests/bench-strncasecmp.c: Likewise.
21672         * benchtests/bench-strncat.c: Likewise.
21673         * benchtests/bench-strncmp.c: Likewise.
21674         * benchtests/bench-strncpy.c: Likewise.
21675         * benchtests/bench-strnlen.c: Likewise.
21676         * benchtests/bench-strpbrk.c: Likewise.
21677         * benchtests/bench-strrchr.c: Likewise.
21678         * benchtests/bench-strspn.c: Likewise.
21679         * benchtests/bench-strstr.c: Likewise.
21681 2013-09-04  Will Newton  <will.newton@linaro.org>
21683         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21685 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21687         [BZ #15427]
21688         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21689         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21690         * math/libm-test.inc (lgamma_test_data): Add more tests.
21691         * sysdeps/i386/fpu/libm-test-ulps: Update.
21692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21694 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21696         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21698         Add ifunc.
21699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21700         Add strcmp-sse2-unaligned
21701         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21703 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21705         * Versions.def (libc): Add GLIBC_2.19.
21707 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21709         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21710         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21712 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21714         [BZ #14155]
21715         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21716         intermediate calculations in recurrence.
21717         (__ieee754_ynf): Likewise.
21718         * math/libm-test.inc (jn_test_data): Do not allow spurious
21719         underflow exception.  Add more tests.
21720         (yn_test_data): Add more tests.
21721         * sysdeps/i386/fpu/libm-test-ulps: Update.
21722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21724 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21726         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21728 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21730         * csu/init-first.c: Fix then/than typos.
21731         * locale/programs/ld-collate.c: Likewise.
21732         * locale/programs/linereader.h: Likewise.
21733         * manual/charset.texi: Likewise.
21734         * manual/filesys.texi: Likewise.
21735         * manual/stdio.texi: Likewise.
21736         * manual/string.texi: Likewise.
21737         * stdlib/fmtmsg.c: Likewise.
21738         * sysdeps/i386/stpncpy.S: Likewise.
21739         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21740         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21741         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21742         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21744 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21746         * elf/dl-open.c: Fix typos.
21747         * iconvdata/gbbig5.c: Likewise.
21748         * iconvdata/iso-2022-jp.c: Likewise.
21749         * iconv/gconv_int.h: Likewise.
21750         * iconv/loop.c: Likewise.
21751         * nis/rpcsvc/nis.h: Likewise.
21752         * resolv/ns_name.c: Likewise.
21753         * stdio-common/vfscanf.c: Likewise.
21754         * streams/stropts.h: Likewise.
21755         * sunrpc/rpc_thread.c: Likewise.
21756         * sysdeps/i386/strpbrk.S: Likewise.
21757         * sysdeps/ieee754/k_standard.c: Likewise.
21758         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21759         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21760         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21761         * sysdeps/mach/hurd/profil.c: Likewise.
21762         * sysdeps/s390/dl-procinfo.h: Likewise.
21763         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21764         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21765         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21766         * sysdeps/x86_64/dl-trampoline.S: Likewise.
21767         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21769 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
21771         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21774 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
21776         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21777         aix specific files.
21778         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21779         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21780         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21781         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21782         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21783         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21784         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21785         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21787 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21788             Roland McGrath  <roland@hack.frob.com>
21790         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21791         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21793 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21795         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21796         __executable_start symbol instead of _start.
21798 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21800         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21801         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21802         Move macros to...
21803         * sysdeps/gnu/ldsodefs.h: ... this new file.
21805         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21806         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21807         instead of ELFOSABI_LINUX.
21809         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21810         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21811         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21812         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21813         Likewise.
21814         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21815         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21816         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21817         Likewise.
21818         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21819         (ibm_extended_long_double): Add ieee_nan member.
21820         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21821         (do_test): New function.
21823         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21824         TEST_TRUNC.
21825         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21826         functions, renamed from truncdfsf_test, trunctfsf_test,
21827         trunctfdf_test.
21828         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21829         functions.
21830         (do_test): Run all these.
21832 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
21834         * argp/argp-help.c: Fix typos.
21835         * argp/argp-parse.c: Likewise.
21836         * debug/backtracesyms.c: Likewise.
21837         * elf/elf.h: Likewise.
21838         * malloc/malloc.c: Likewise.
21839         * nis/nis_print.c: Likewise.
21840         * resolv/res_comp.c: Likewise.
21841         * stdlib/stdlib.h: Likewise.
21842         * sunrpc/clnt_tcp.c: Likewise.
21843         * sunrpc/clnt_udp.c: Likewise.
21844         * sunrpc/clnt_unix.c: Likewise.
21845         * sysdeps/unix/bsd/ptsname.c: Likewise.
21846         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21847         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21849         Likewise.
21850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21851         Likewise.
21852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21853         Likewise.
21854         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21856 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21858         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21861 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
21863         [BZ #15897]
21864         * dlfcn/Makefile (tests): Add bug-dl-leaf.
21865         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21866         ($(objpfx)bug-dl-leaf): New rule.
21867         ($(objpfx)bug-dl-leaf.so): Likewise.
21868         ($(objpfx)bug-dl-leaf.out): Likewise.
21869         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21870         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21871         * dlfcn/bug-dl-leaf.c: New test.
21872         * dlfcn/bug-dl-leaf-lib.c: Likewise.
21873         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21874         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21875         (dlclose): Likewise.
21876         (dlmopen): Likewise.
21878 2013-08-27  Roland McGrath  <roland@hack.frob.com>
21880         * include/netdb.h [!_ISOMAC]:
21881         Don't include <tls.h>.
21882         (h_errno, __libc_h_errno): Move declaration and macros out of
21883         [_LIBC_REENTRANT].
21885         * include/resolv.h [_RESOLV_H_]:
21886         Don't include <tls.h>.
21887         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21888         * resolv/res_libc.c: Don't include <tls.h>.
21889         (_res): Use __attribute__ ((nocommon)) in place of
21890         __attribute__ ((section (".bss"))).
21892         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21893         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21895         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21897         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21898         only under [SIOCGIFCONF && SIOCGIFNETMASK].
21900         * resolv/res_mkquery.c: Include <sys/time.h>.
21902         * inet/ifreq.c: Moved to ...
21903         * sysdeps/unix/ifreq.c: ... here.
21904         * inet/ifreq.c: New file, true stub version.
21906         * socket/sa_len.c: New file.
21907         * socket/Makefile (aux): Add it.
21908         * sysdeps/unix/sysv/linux/Makefile
21909         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21910         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21911         and #include <socket/sa_len.c>.
21912         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21913         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21915         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21916         * bits/socket.h: ... here.
21918         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21919         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21920         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21922 2013-08-27  Andreas Schwab  <schwab@suse.de>
21924         [BZ #15736]
21925         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21926         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21927         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21928         * string/test-strcasecmp.c (test_main): Run tests in several
21929         locales.
21930         * string/test-strncasecmp.c (test_main): Likewise.
21932         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21933         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21934         to __strcasecmp_nonascii and __strncasecmp_nonascii.
21935         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21936         (__strncasecmp_ssse3) [PIC]: Likewise.
21938 2013-08-26  Roland McGrath  <roland@hack.frob.com>
21940         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21942         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21943         instead of explicitly declaring xdecrypt.
21944         * nis/nss_nis/nis-publickey.c: Likewise.
21946 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21948         [BZ #15890]
21949         * nscd/aicache.c: Include res_hconf.h.
21950         (addhstaiX): Initialize res_hconf.
21952 2013-08-26  Andreas Schwab  <schwab@suse.de>
21954         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21955         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21957 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21959         * nscd/aicache.c (addhstaiX): Fix indentation.
21961 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
21963         * configure.ac: Quote $build_pt_chown test.
21964         * configure: Regenerated.
21966 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
21968         [BZ #15532]
21969         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21970         * math/s_cexpf.c (__cexpf): Likewise.
21971         * math/s_cexpl.c (__cexpl): Likewise.
21972         * math/libm-test.inc (cexp_test_data): Correct expected return
21973         value for NaN + i0.  Add another test.
21975 2013-08-22  David S. Miller  <davem@davemloft.net>
21977         * po/ca.po: Update Catalan translation from translation project.
21978         * po/uk.po: Add Ukrainian translations from translation project.
21980 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21982         [BZ #15797]
21983         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21984         is infinite, not alongside NaN test.
21985         * math/s_fdimf.c (__fdimf): Likewise.
21986         * math/s_fdiml.c (__fdiml): Likewise.
21987         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21988         errno is unchanged.
21990 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21992         * argp/argp-help.c: Fix typos.
21993         * crypt/speeds.c: Likewise.
21994         * csu/check_fds.c: Likewise.
21995         * elf/dl-load.c: Likewise.
21996         * elf/dl-open.c: Likewise.
21997         * elf/reldep3.c: Likewise.
21998         * elf/reldep.c: Likewise.
21999         * elf/sprof.c: Likewise.
22000         * iconv/iconv_charmap.c: Likewise.
22001         * iconv/skeleton.c: Likewise.
22002         * iconv/strtab.c: Likewise.
22003         * io/lockf64.c: Likewise.
22004         * libio/libioP.h: Likewise.
22005         * resolv/gai_notify.c: Likewise.
22006         * resolv/ns_name.c: Likewise.
22007         * resolv/ns_samedomain.c: Likewise.
22008         * resolv/res_send.c: Likewise.
22009         * stdlib/random.c: Likewise.
22010         * sunrpc/rpc/xdr.h: Likewise.
22011         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22012         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22013         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22014         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22015         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22017         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22018         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22019         * sysdeps/mach/hurd/check_fds.c: Likewise.
22020         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22021         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22022         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22023         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22024         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22025         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22026         * sysdeps/pthread/aio_notify.c: Likewise.
22027         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22028         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22029         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22030         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22031         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22033 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22035         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22036         version if bit_Slow_SSE4_2 is set.
22037         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22038         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22040 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22042         [BZ #15867]
22043         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22044         trampoline stack frame information.
22045         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22046         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22047         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22048         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22049         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22050         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22051         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22052         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22053         sa_flags value.
22054         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22055         interrupting a syscall and set with option SA_SIGINFO.
22057 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22059         [BZ #15531]
22060         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22061         argument is infinite.
22062         * math/s_cprojf.c (__cprojf): Likewise.
22063         * math/s_cprojl.c (__cprojl): Likewise.
22064         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22065         * math/libm-test.inc (cproj_test_data): Add more tests.
22067         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22069         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22070         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22071         size.  Use __ffs to determine corresponding shift.
22073 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22074             Roland McGrath  <roland@hack.frob.com>
22076         * Makefile (INSTALL): Remove trailing blank lines from output of
22077         makeinfo.
22079 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22081         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22082         Align 32 bit compat elf_greg to 8 bytes.
22084 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22086         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22088 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22090         * string/strcoll_l.c (coll_seq): New structure.
22091         (get_next_seq_cached): New function.
22092         (get_next_seq): New function.
22093         (do_compare): New function.
22094         (STRCOLL): Use GNU style definition.  Simplify implementation
22095         by using get_next_seq, get_next_seq_cached and do_compare.
22097 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22099         [BZ #14699]
22100         CVE-2013-4237
22101         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22102         member.
22103         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22104         member.
22105         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22106         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22107         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22108         conditional.
22109         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22110         GETDENTS_64BIT_ALIGNED.
22111         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22112         * manual/filesys.texi (Reading/Closing Directory): Document
22113         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22114         strongly.
22115         * manual/conf.texi (Limits for Files): Add portability note to
22116         NAME_MAX, PATH_MAX.
22117         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22119 2013-08-13  Andreas Schwab  <schwab@suse.de>
22121         [BZ #15749]
22122         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22123         of fabs.
22124         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22125         LDBL_MAX_EXP >= 16384]: Add tests for it.
22127 2013-08-12  David S. Miller  <davem@davemloft.net>
22129         * version.h (RELEASE): Set to "development".
22130         (VERSION): Set to "2.18.90".
22131         * NEWS: Add 2.19 section.
22133 2013-08-03  David S. Miller  <davem@davemloft.net>
22135         * po/ko.po: Update Korean translation from translation project.
22137 2013-08-01  David S. Miller  <davem@davemloft.net>
22139         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22140         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22141         Bilka.
22143 2013-07-30  David S. Miller  <davem@davemloft.net>
22145         * po/fr.po: Update French translation from translation project.
22147 2013-07-28  David S. Miller  <davem@davemloft.net>
22149         * po/cs.po: Update Czech translation from translation project.
22151         * po/sv.po: Update Swedish translation from translation project.
22153 2013-07-27  David S. Miller  <davem@davemloft.net>
22155         * po/eo.po: Update Esperanto translation from translation project.
22157         * po/vi.po: Update Vietnamese translation from translation project.
22159         * po/de.po: Update German translation from translation project.
22161 2013-07-26  David S. Miller  <davem@davemloft.net>
22163         * po/bg.po: Update Bulgarian translation from translation project.
22165         * po/nl.po: Update Dutch translation from translation project.
22166         * po/pl.po: Update Polish translation from translation project.
22167         * po/ru.po: Update Russian translation from translation project.
22169 2013-07-24  David S. Miller  <davem@davemloft.net>
22171         * po/libc.pot: Update.
22173 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22175         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22176         variable page size.
22177         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22178         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22179         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22181 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22183         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22185 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22186             Andreas Schwab  <schwab@suse.de>
22187             Roland McGrath  <roland@hack.frob.com>
22188             Joseph Myers  <joseph@codesourcery.com>
22189             Carlos O'Donell  <carlos@redhat.com>
22191         [BZ #15755]
22192         * config.h.in: Define HAVE_PT_CHOWN.
22193         * config.make.in (build-pt-chown): New variable.
22194         * configure.in (--enable-pt_chown): New configure option.
22195         * configure: Regenerate.
22196         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22197         build-pt-chown is enabled.
22198         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22199         pt_chown to fix pty ownership.
22200         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22201         CLOSE_ALL_FDS.
22202         * manual/install.texi (Configuring and compiling): Mention
22203         --enable-pt_chown. Add @findex for grantpt.
22204         * INSTALL: Regenerate.
22206 2013-07-20  David S. Miller  <davem@davemloft.net>
22208         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22209         difference between 32-bit and 64-bit.
22211 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22213         [BZ #15711]
22214         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22215         Avoid system header dependency with -ffreestanding.
22216         ($(objpfx)bits/syscall%d): Likewise.
22218 2013-07-13  David S. Miller  <davem@davemloft.net>
22220         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22221         underflows from atanl/atan2l due to bug 15319.
22222         (casinh_test_data): Likewise.
22224 2013-07-07  David S. Miller  <davem@davemloft.net>
22226         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22228 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22230         * sysdeps/i386/fpu/libm-test-ulps: Update.
22231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22233 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22235         * configure.in (--enable-lock-elision): Fix message text.
22236         * INSTALL: Regenerate.
22237         * configure: Regenerate.
22239 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22243 2013-07-03  Andreas Jaeger  <aj@suse.de>
22245         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22246         define.
22247         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22248         (ptrace_peeksiginfo_args): Add.
22249         (__ptrace_peeksiginfo_flags): Add.
22250         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22251         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22252         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22254 2013-07-03  Allan McRae  <allan@archlinux.org>
22256         * sysdeps/i386/fpu/libm-test-ulps: Update.
22258 2013-07-02  David S. Miller  <davem@davemloft.net>
22260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22262 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22266 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22268         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22271 2013-07-02  Andi Kleen <ak@linux.intel.com>
22273         * config.h.in (ENABLE_LOCK_ELISION): Add.
22274         * configure.in (--enable-lock-elision): Add option.
22275         * manual/install.texi: Document --enable lock elision.
22276         * configure: Regenerate
22277         * INSTALL: Regenerate.
22279 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22281         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22282         SSE4.2 strcasecmp for libc.a.
22283         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22285 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22287         [BZ #13304]
22288         * soft-fp/op-common.h (_FP_FMA): New macro.
22289         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22290         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22291         (_FP_MUL_MEAT_1_imm): ... here.
22292         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22293         (_FP_MUL_MEAT_1_wide): ... here.
22294         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22295         (_FP_MUL_MEAT_1_hard): ... here.
22296         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22297         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22298         (_FP_MUL_MEAT_2_wide): ... here.
22299         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22300         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22301         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22302         (_FP_MUL_MEAT_2_gmp): ... here.
22303         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22304         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22305         (_FP_MUL_MEAT_4_wide): ... here.
22306         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22307         (_FP_MUL_MEAT_4_gmp): ... here.
22308         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22309         (_FP_WFRACBITS_DW_S): Likewise.
22310         (_FP_WFRACXBITS_DW_S): Likewise.
22311         (_FP_HIGHBIT_DW_S): Likewise.
22312         (FP_FMA_S): Likewise.
22313         (_FP_FRAC_HIGH_DW_S): Likewise.
22314         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22315         (_FP_WFRACBITS_DW_D): Likewise.
22316         (_FP_WFRACXBITS_DW_D): Likewise.
22317         (_FP_HIGHBIT_DW_D): Likewise.
22318         (FP_FMA_D): Likewise.
22319         (_FP_FRAC_HIGH_DW_D): Likewise.
22320         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22321         (_FP_WFRACBITS_DW_E): Likewise.
22322         (_FP_WFRACXBITS_DW_E): Likewise.
22323         (_FP_HIGHBIT_DW_E): Likewise.
22324         (FP_FMA_E): Likewise.
22325         (_FP_FRAC_HIGH_DW_E): Likewise.
22326         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22327         (_FP_WFRACBITS_DW_Q): Likewise.
22328         (_FP_WFRACXBITS_DW_Q): Likewise.
22329         (_FP_HIGHBIT_DW_Q): Likewise.
22330         (FP_FMA_Q): Likewise.
22331         (_FP_FRAC_HIGH_DW_Q): Likewise.
22332         * soft-fp/fmasf4.c: New file.
22333         * soft-fp/fmadf4.c: Likewise.
22334         * soft-fp/fmatf4.c: Likewise.
22336 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22338         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22339         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22340         Silvermont.
22341         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22342         macro.
22343         (index_Slow_SSE4_2): Likewise.
22344         (index_Prefer_PMINUB_for_stringop): Likewise.
22345         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22346         bit_Slow_SSE4_2 is set.
22347         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22348         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22350 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22352         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22353         rtld_global._dl_hwcap2.
22354         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22355         POWER8.
22356         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22357         POWER8 feature descriptions defined in _dl_hwcap2.
22358         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22359         string handling for POWER8 feature bits.
22360         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22361         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22362         _dl_powerpc_cap_flags.
22363         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22364         * sysdeps/powerpc/rtld-global-offsets.sym
22365         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22366         _dl_hwcap2 in the rtld_global_ro structure.
22368 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22370         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22371         hardware capabilities in support of AT_HWCAP2.
22372         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22373         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22374         GLRO(dl_hwcap2).
22375         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22376         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22377         explicitly the unknown a_type display mechanism is used.
22378         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22379         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22380         struct member.
22381         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22382         to macro prototype for AT_HWCAP2 support.
22383         * sysdeps/i386/dl-procinfo.h: Likewise.
22384         * sysdeps/s390/dl-procinfo.h: Likewise.
22385         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22386         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22387         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22388         return -1 for unknown a_type display fallback.
22389         * sysdeps/sparc/dl-procinfo.h: Likewise.
22390         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22391         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22393 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22395         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22396         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22398 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22400         [BZ #12492]
22401         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22402         mprotect making __stack_prot writable.
22404 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22405             Joseph Myers  <joseph@codesourcery.com>
22407         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22408         as being properly aligned.
22410 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22412         * dlfcn/modstatic5.c: New file.
22413         * dlfcn/tststatic5.c: New file.
22414         * dlfcn/Makefile (tests): Add tststatic5.
22415         (tests-static): Likewise.
22416         (modules-names): Add modstatic5.
22417         (tststatic5-ENV): New variable.
22418         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22420         [BZ #15022]
22421         * elf/dl-support.c (_dl_main_map): New variable.
22422         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22423         (_dl_nns, _dl_load_adds): Set to 1.
22424         (_dl_initial_searchlist): Refer to _dl_main_map.
22425         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22426         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22427         call to _dl_get_origin.
22428         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22429         around call_map.
22430         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22431         * dlfcn/modstatic3.c: New file.
22432         * dlfcn/tststatic3.c: New file.
22433         * dlfcn/tststatic4.c: New file.
22434         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22435         (tests-static): Likewise.
22436         (modules-names): Add modstatic3.
22437         (tststatic3-ENV, tststatic4-ENV): New variables.
22438         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22439         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22441 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22443         * configure.in (CC): Require GCC version 4.4 or later.
22444         * configure: Regenerated.
22445         * manual/install.texi (Tools for Compilation): Update GCC version
22446         requirement.
22447         * INSTALL: Regenerated.
22449 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22451         [BZ #15674]
22452         * string/test-memcmp.c (check2): New.
22453         (main): Call check2.
22455         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22457 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22459         [BZ #15022]
22460         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22461         over to...
22462         (dl_open_worker) [!SHARED]: ... here.
22464 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22466         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22468 2013-06-25  Richard Henderson  <rth@redhat.com>
22470         * locale/programs/locarchive.c: Include <libc-internal.h>
22472 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22474         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22475         trailing whitespace removed.
22477 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22479         [BZ #10283]
22480         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22481         * locale/programs/locarchive.c: Include libc-mmap.h.
22482         (prepare_address_space): Take two new outputs (the mmap base and len).
22483         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22484         values.
22485         (create_archive): Declare new mmap base and len values for
22486         prepare_address_space, and store the result in ah.
22487         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22488         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22489         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22490         Declare new mmap base and len values for
22491         prepare_address_space, and store the result in new_ah.
22492         (open_archive): Declare new mmap base and len values for
22493         prepare_address_space, and store the result in ah.
22494         (close_archive): If ah->mmap_base is not NULL, use that and
22495         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22496         * sysdeps/generic/libc-mmap.h: New file.
22498 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22500         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22501         (ALIGN_UP): Likewise.
22502         (PTR_ALIGN_DOWN): Likewise.
22503         (PTR_ALIGN_UP): Likewise.
22505 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22507         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22508         entry mapped to PPC_PLATFORM_POWER8.
22509         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22510         POWER8.
22511         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22512         (_dl_string_platform): Add case for exporting platform position for
22513         POWER8.
22514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22515         search path to sysdeps/powerpc/powerpc32/power8 directory.
22516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22517         search path to sysdeps/powerpc/powerpc64/power8 directory.
22518         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22519         power7 directories.
22520         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22521         power7 directories.
22523 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22525         * INSTALL: Regenerate.
22527         * nscd/connections.c (nscd_init): Fix comment.
22529 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22531         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22533         [BZ #15667]
22534         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22535         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22537 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22539         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22540         DL_DST_REQ_STATIC.
22541         (DL_DST_REQ_STATIC): Remove macro.
22543 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22545         [BZ #7006]
22546         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22547         with a shift of 0 bits.
22549 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22551         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22552         $(tststatic-ENV).
22554 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22556         [BZ #15655]
22557         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22559 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22561         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22562         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22563         accepts -fno-tree-loop-distribute-patterns.
22564         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22565         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22566         recursive call.
22567         * string/memset.c (memset): Likewise.
22568         * string/test-memmove.c (simple_memmove): Disable loop transformation
22569         to library calls.
22570         * string/test-memset.c (simple_memset): Likewise.
22571         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22572         * benchtests/bench-memset.c (simple_memset): Likewise.
22573         * configure: Regenerated.
22575 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22577         * math/test-misc.c (main): Ignore fesetround failure when failures
22578         of subsequent rounding tests would be ignored.
22580         [BZ #15654]
22581         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22582         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22583         * math/fegetenv.c (__fegetenv): Return 0.
22584         * math/fegetexcept.c (fegetexcept): Return 0.
22585         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22586         FE_TONEAREST.
22587         * math/feholdexcpt.c (feholdexcept): Return 0.
22588         * math/fesetenv.c (__fesetenv): Return 0.
22589         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22590         argument FE_TONEAREST.
22591         * math/feupdateenv.c (__feupdateenv): Return 0.
22592         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22594 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22596         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22597         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22598         ($(objpfx)rtld-%.os rules): Use them.
22600 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22602         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22603         fields.
22605 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22607         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22608         length of target pattern, then descending length of dependency pattern.
22609         * configure.in (AWK): Require gawk 3.1.2 or newer.
22610         * manual/install.texi (Tools for Compilation): Say that we do.
22611         * configure: Regenerated.
22613         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22614         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22615         * scripts/sysd-rules.awk: ... this new script.
22616         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22617         than a glob-style pattern.
22619 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22621         * math/test-misc.c (main): Do not treat incorrectly rounded
22622         conversions as failure unless ROUNDING_TESTS passes.
22624 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22626         [BZ #15631]
22627         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22628         restore exception state around main square root computation, then
22629         check for inexactness explicitly.
22631         * math/libm-test.inc (fma_test_data): Add another test.
22633 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22635         * manual/threads.texi (Non-POSIX Extensions): New document
22636         node.  Document pthread_getattr_default_np and
22637         pthread_setattr_default_np.
22639         * Versions.def (libpthread): Add GLIBC_2.18.
22640         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22642         Likewise.
22643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22644         Likewise.
22645         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22646         Likewise.
22647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22648         Likewise.
22649         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22650         Likewise.
22651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22652         Likewise.
22653         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22654         Likewise.
22655         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22656         Likewise.
22657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22658         Likewise.
22660 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22663         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22665 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22666             H.J. Lu  <hjl.tools@gmail.com>
22668         [BZ #15627]
22669         * sysdeps/x86_64/rtld-memset.c: Remove file.
22670         * sysdeps/x86_64/rtld-memset.S: New file.
22672 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22674         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22675         (test_in_one_mode): Take arguments for whether the rounding mode
22676         is supported for each floating-point type.
22677         (do_test): Pass new arguments to test_in_one_mode using
22678         ROUNDING_TESTS.
22680 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22682         * posix/tst-waitid.c (do_test): Distinguish different instances of
22683         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22684         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22685         before entering the kernel for waitpid.
22687 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22689         * NEWS: Fix note on clock function precision.  Text by Roland
22690         McGrath.
22692 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22694         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22695         it into place only when and if the sanity check passes.
22697 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22699         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22700         output for whether conversion result is exact.  Take argument
22701         indicating whether type is IBM long double.
22702         (round_for_all): Change need_exact field to ibm_ld.
22703         * stdlib/tst-strtod-round.c (struct exactness): New type.
22704         (struct test): Change bool ld_ok field to struct exactness exact.
22705         (TEST): Update all definitions for change to field.
22706         (tests): Regenerate array contents.
22707         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22708         field value.  Check for IBM long double here.
22709         (do_test): Update calls to test_in_one_mode.
22711 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22713         [BZ #12515]
22714         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22715         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22717 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22719         [BZ #15605]
22720         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22721         generated by the compiler on loop optimizations.
22722         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22723         general definitions.
22725 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22727         * math/bug-nextafter.c: Include <math-tests.h>.
22728         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22729         the relevant type.
22730         * math/bug-nexttoward.c: Include <math-tests.h>.
22731         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22732         the relevant type.
22733         * math/test-misc.c: Include <math-tests.h>.
22734         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22735         the relevant type.
22737 2013-06-12  Andreas Jaeger  <aj@suse.de>
22739         * po/ia.po: Update Interlingua translation from translation
22740         project.
22742 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22744         * include/fenv.h: Include stdbool.h.
22745         (struct rm_ctx): New structure.
22746         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22747         Define macro.
22748         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22749         (SET_RESTORE_ROUNDF): Likewise.
22750         (SET_RESTORE_ROUNDL): Likewise.
22751         (SET_RESTORE_ROUND_NOEX): Likewise.
22752         (SET_RESTORE_ROUND_NOEXF): Likewise.
22753         (SET_RESTORE_ROUND_NOEXL): Likewise.
22754         (SET_RESTORE_ROUND_53BIT): Likewise.
22755         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22756         (libc_feresetround_noexf_ctx): Likewise.
22757         (libc_feresetround_noexl_ctx): Likewise.
22758         (libc_feholdsetround_53bit_ctx): Likewise.
22759         (libc_feresetround_53bit_ctx): Likewise.
22760         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22761         (libc_feholdexcept_setround_sse_ctx): New function.
22762         (libc_fesetenv_sse_ctx): Likewise.
22763         (libc_feupdateenv_sse_ctx): Likewise.
22764         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22765         (libc_feholdexcept_setround_387_ctx): Likewise.
22766         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22767         (libc_feholdsetround_387_prec_ctx): Likewise.
22768         (libc_feholdsetround_387_ctx): Likewise.
22769         (libc_feholdsetround_387_53bit_ctx): Likewise.
22770         (libc_feholdsetround_sse_ctx): Likewise.
22771         (libc_feresetround_sse_ctx): Likewise.
22772         (libc_feresetround_387_ctx): Likewise.
22773         (libc_feupdateenv_387_ctx): Likewise.
22774         (libc_feholdexcept_setroundf_ctx): Define macro.
22775         (libc_fesetenvf_ctx): Likewise.
22776         (libc_feupdateenvf_ctx): Likewise.
22777         (libc_feholdsetroundf_ctx): Likewise.
22778         (libc_feresetroundf_ctx): Likewise.
22779         (libc_feholdexcept_setround_ctx): Likewise.
22780         (libc_fesetenv_ctx): Likewise.
22781         (libc_feupdateenv_ctx): Likewise.
22782         (libc_feholdsetround_ctx): Likewise.
22783         (libc_feresetround_ctx): Likewise.
22784         (libc_feholdexcept_setroundl_ctx): Likewise.
22785         (libc_feupdateenvl_ctx): Likewise.
22786         (libc_feholdsetroundl_ctx): Likewise.
22787         (libc_feresetroundl_ctx): Likewise.
22788         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22789         (libc_feresetround_53bit_ctx): Likewise.
22791 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22793         * locale/iso-639.def: Convert to UTF-8.
22795 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
22797         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22798         (EXCEPTION_TESTS_double): Likewise.
22799         (EXCEPTION_TESTS_long_double): Likewise.
22800         (EXCEPTION_TESTS): Likewise.
22801         * math/libm-test.inc (test_exceptions): Only test exceptions if
22802         EXCEPTION_TESTS (FLOAT).
22804 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22806         * benchtests/Makefile (string-bench): Add strcpy_chk and
22807         stpcpy_chk.
22808         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22809         * benchtests/bench-stpcpy_chk.c: New file.
22810         * benchtests/bench-strcpy_chk-ifunc.c: New file.
22811         * benchtests/bench-strcpy_chk.c: New file.
22812         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22813         code.
22814         (do_test): Likewise.
22816 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22818         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22819         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22820         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22821         with tabs where appropriate.
22822         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22823         dl-procinfo.h.
22824         [PPC_PLATFORM_PPC440]: Likewise.
22825         [PPC_PLATFORM_PPC464]: Likewise.
22826         [PPC_PLATFORM_PPC476]: Likewise.
22827         (_dl_string_platform): Add support for detecting ppc405, ppc440,
22828         ppc464, and ppc476 platform strings merging from ports/
22829         dl-procinfo.h.
22831 2013-06-11  Andreas Schwab  <schwab@suse.de>
22833         [BZ #14991]
22834         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22835         (from_ucs4_idx): Regenerate.
22836         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22837         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22838         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22839         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22840         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22841         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22842         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22843         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22844         from FROM_LOOP and TO_LOOP specific macros.
22845         (BODY): Handle combining characters.
22846         * iconvdata/BIG5HKSCS.irreversible: Update.
22847         * iconvdata/BIG5HKSCS.precomposed: New file.
22848         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22849         characters.
22850         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22852 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22854         * include/sys/time.h: Fix indentation and add copyright header.
22856         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22857         (do_test): Likewise.
22858         * string/test-memchr.c (do_one_test): Likewise.
22859         (do_test): Likewise.
22860         * string/test-memcmp.c (do_one_test): Likewise.
22861         (do_test): Likewise.
22862         * string/test-memcpy.c (do_one_test): Likewise.
22863         (do_test): Likewise.
22864         * string/test-memmem.c (do_one_test): Likewise.
22865         (do_test): Likewise.
22866         (do_random_tests): Likewise.
22867         * string/test-memmove.c (do_one_test): Likewise.
22868         (do_test): Likewise.
22869         * string/test-memset.c (do_one_test): Likewise.
22870         (do_test): Likewise.
22871         * string/test-rawmemchr.c (do_one_test): Likewise.
22872         (do_test): Likewise.
22873         * string/test-strcasecmp.c (do_one_test): Likewise.
22874         (do_test): Likewise.
22875         * string/test-strcasestr.c (do_one_test): Likewise.
22876         (do_test): Likewise.
22877         * string/test-strcat.c (do_one_test): Likewise.
22878         (do_test): Likewise.
22879         * string/test-strchr.c (do_one_test): Likewise.
22880         (do_test): Likewise.
22881         * string/test-strcmp.c (do_one_test): Likewise.
22882         (do_test): Likewise.
22883         * string/test-strcpy.c (do_one_test): Likewise.
22884         (do_test): Likewise.
22885         * string/test-string.h: Likewise.
22886         (test_init): Likewise.
22887         * string/test-strlen.c (do_one_test): Likewise.
22888         (do_test): Likewise.
22889         * string/test-strncasecmp.c (do_one_test): Likewise.
22890         (do_test): Likewise.
22891         * string/test-strncat.c (do_one_test): Likewise.
22892         (do_test): Likewise.
22893         * string/test-strncmp.c (do_one_test): Likewise.
22894         (do_test_limit): Likewise.
22895         (do_test): Likewise.
22896         * string/test-strncpy.c (do_one_test): Likewise.
22897         (do_test): Likewise.
22898         * string/test-strnlen.c (do_one_test): Likewise.
22899         (do_test): Likewise.
22900         * string/test-strpbrk.c (do_one_test): Likewise.
22901         (do_test): Likewise.
22902         * string/test-strrchr.c (do_one_test): Likewise.
22903         (do_test): Likewise.
22904         * string/test-strspn.c (do_one_test): Likewise.
22905         (do_test): Likewise.
22906         * string/test-strstr.c (do_one_test): Likewise.
22907         (do_test): Likewise.
22909         * benchtests/Makefile (string-bench): Add string benchmarks.
22910         * benchtests/bench-bcopy-ifunc.c: New file.
22911         * benchtests/bench-bcopy.c: New file.
22912         * benchtests/bench-bzero-ifunc.c: New file.
22913         * benchtests/bench-bzero.c: New file.
22914         * benchtests/bench-memccpy-ifunc.c: New file.
22915         * benchtests/bench-memccpy.c: New file.
22916         * benchtests/bench-memchr-ifunc.c: New file.
22917         * benchtests/bench-memchr.c: New file.
22918         * benchtests/bench-memcmp-ifunc.c: New file.
22919         * benchtests/bench-memcmp.c: New file.
22920         * benchtests/bench-memmem-ifunc.c: New file.
22921         * benchtests/bench-memmem.c: New file.
22922         * benchtests/bench-memmove-ifunc.c: New file.
22923         * benchtests/bench-memmove.c: New file.
22924         * benchtests/bench-mempcpy-ifunc.c: New file.
22925         * benchtests/bench-mempcpy.c: New file.
22926         * benchtests/bench-memset-ifunc.c: New file.
22927         * benchtests/bench-memset.c: New file.
22928         * benchtests/bench-rawmemchr-ifunc.c: New file.
22929         * benchtests/bench-rawmemchr.c: New file.
22930         * benchtests/bench-stpcpy-ifunc.c: New file.
22931         * benchtests/bench-stpcpy.c: New file.
22932         * benchtests/bench-stpncpy-ifunc.c: New file.
22933         * benchtests/bench-stpncpy.c: New file.
22934         * benchtests/bench-strcasecmp-ifunc.c: New file.
22935         * benchtests/bench-strcasecmp.c: New file.
22936         * benchtests/bench-strcasestr-ifunc.c: New file.
22937         * benchtests/bench-strcasestr.c: New file.
22938         * benchtests/bench-strcat-ifunc.c: New file.
22939         * benchtests/bench-strcat.c: New file.
22940         * benchtests/bench-strchr-ifunc.c: New file.
22941         * benchtests/bench-strchr.c: New file.
22942         * benchtests/bench-strchrnul-ifunc.c: New file.
22943         * benchtests/bench-strchrnul.c: New file.
22944         * benchtests/bench-strcmp-ifunc.c: New file.
22945         * benchtests/bench-strcmp.c: New file.
22946         * benchtests/bench-strcpy-ifunc.c: New file.
22947         * benchtests/bench-strcpy.c: New file.
22948         * benchtests/bench-strcspn-ifunc.c: New file.
22949         * benchtests/bench-strcspn.c: New file.
22950         * benchtests/bench-strlen-ifunc.c: New file.
22951         * benchtests/bench-strlen.c: New file.
22952         * benchtests/bench-strncasecmp-ifunc.c: New file.
22953         * benchtests/bench-strncasecmp.c: New file.
22954         * benchtests/bench-strncat-ifunc.c: New file.
22955         * benchtests/bench-strncat.c: New file.
22956         * benchtests/bench-strncmp-ifunc.c: New file.
22957         * benchtests/bench-strncmp.c: New file.
22958         * benchtests/bench-strncpy-ifunc.c: New file.
22959         * benchtests/bench-strncpy.c: New file.
22960         * benchtests/bench-strnlen-ifunc.c: New file.
22961         * benchtests/bench-strnlen.c: New file.
22962         * benchtests/bench-strpbrk-ifunc.c: New file.
22963         * benchtests/bench-strpbrk.c: New file.
22964         * benchtests/bench-strrchr-ifunc.c: New file.
22965         * benchtests/bench-strrchr.c: New file.
22966         * benchtests/bench-strspn-ifunc.c: New file.
22967         * benchtests/bench-strspn.c: New file.
22968         * benchtests/bench-strstr-ifunc.c: New file.
22969         * benchtests/bench-strstr.c: New file.
22971         * benchtests/Makefile: Disable parallel execution of targets.
22972         (string-bench): Add memcpy.
22973         (benchset): New variable to store a list of benchmark sets.
22974         (bench-func): Renamed from bench.
22975         (bench-set): New target.
22976         (bench): Depend on bench-func and bench-set.
22977         * benchtests/README: Add section on benchmark sets.
22978         * benchtests/bench-memcpy-ifunc.c: New file.
22979         * benchtests/bench-memcpy.c: New file.
22980         * benchtests/bench-string.h: New file.
22982 2013-06-11  Andreas Schwab  <schwab@suse.de>
22984         [BZ #15577]
22985         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22986         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22987         values in the triple.
22988         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22989         terminator in the group key.
22991 2013-06-11  Andreas Jaeger  <aj@suse.de>
22993         * po/zh_TW.po: Update Chinese (traditional) translation from
22994         translation project.
22996 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22998         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22999         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23000         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23001         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23002         (clock_getcpuclockid): Likewise.
23003         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23004         Add weak_alias and libc_hidden_def.
23005         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23006         * rt/clock_gettime.c (clock_gettime): Rename to
23007         __clock_gettime.  Add weak_alias and libc_hidden_def.
23008         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23009         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23010         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23011         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23012         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23013         Likewise.
23014         * rt/clock_settime.c (clock_settime): Rename to
23015         __clock_settime.  Add weak_alias and libc_hidden_def.
23016         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23018 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23020         * mach/err_boot.sub: Remove trailing whitespace.
23021         * mach/err_ipc.sub: Likewise.
23022         * mach/err_mach.sub: Likewise.
23024         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23025         (ROUNDING_TESTS_double): Likewise.
23026         (ROUNDING_TESTS_long_double): Likewise.
23027         (ROUNDING_TESTS): Likewise.
23028         * math/libm-test.inc: Include <math-tests.h>.
23029         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23030         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23031         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23032         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23034 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23036         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23037         of assigning.
23039 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23041         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23042         otherwise empty TRANS lines.
23043         * sysdeps/gnu/errlist.c: Regenerated.
23045         * catgets/gencat.c (error_print): Use (void) in function
23046         definition.
23047         * crypt/crypt_util.c (__init_des): Likewise.
23048         * crypt/speeds.c (Stop): Likewise.
23049         (main): Likewise.
23050         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23051         * inet/ruserpass.c (token): Likewise.
23052         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23053         * intl/localealias.c (extend_alias_table): Likewise.
23054         * intl/plural-exp.c (init_germanic_plural): Likewise.
23055         * libio/fcloseall.c (__fcloseall): Likewise.
23056         * libio/genops.c (_IO_flush_all): Likewise.
23057         (_IO_flush_all_linebuffered): Likewise.
23058         (_IO_cleanup): Likewise.
23059         (_IO_iter_begin): Likewise.
23060         (_IO_iter_end): Likewise.
23061         (_IO_list_lock): Likewise.
23062         (_IO_list_unlock): Likewise.
23063         (_IO_list_resetlock): Likewise.
23064         * libio/getchar.c (getchar): Likewise.
23065         * libio/getchar_u.c (getchar_unlocked): Likewise.
23066         * libio/getwchar.c (getwchar): Likewise.
23067         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23068         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23069         * login/getpt.c (__getpt): Likewise.
23070         * login/tst-utmp.c (main): Likewise.
23071         * malloc/hooks.c (__malloc_check_init): Likewise.
23072         * malloc/malloc.c (__malloc_stats): Likewise.
23073         * malloc/mtrace.c (tr_break): Likewise.
23074         (mtrace): Likewise.
23075         (muntrace): Likewise.
23076         * misc/fstab.c (endfsent): Likewise.
23077         * misc/getclktck.c (__getclktck): Likewise.
23078         * misc/getdtsz.c (__getdtablesize): Likewise.
23079         * misc/gethostid.c (gethostid): Likewise.
23080         * misc/getpagesize.c (__getpagesize): Likewise.
23081         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23082         (__get_nprocs): Likewise.
23083         (__get_phys_pages): Likewise.
23084         (__get_avphys_pages): Likewise.
23085         * misc/getttyent.c (getttyent): Likewise.
23086         (setttyent): Likewise.
23087         (endttyent): Likewise.
23088         * misc/getusershell.c (getusershell): Likewise.
23089         (endusershell): Likewise.
23090         (setusershell): Likewise.
23091         (initshells): Likewise.
23092         * misc/hsearch.c (__hdestroy): Likewise.
23093         * misc/sync.c (sync): Likewise.
23094         * misc/syslog.c (closelog_internal): Likewise.
23095         (closelog): Likewise.
23096         * misc/ttyslot.c (ttyslot): Likewise.
23097         * misc/vhangup.c (vhangup): Likewise.
23098         * posix/fork.c (__fork): Likewise.
23099         * posix/getegid.c (__getegid): Likewise.
23100         * posix/geteuid.c (__geteuid): Likewise.
23101         * posix/getgid.c (__getgid): Likewise.
23102         * posix/getpid.c (__getpid): Likewise.
23103         * posix/getppid.c (__getppid): Likewise.
23104         * posix/getuid.c (__getuid): Likewise.
23105         * posix/pause.c (pause): Likewise.
23106         * posix/setpgrp.c (setpgrp): Likewise.
23107         * posix/setsid.c (__setsid): Likewise.
23108         * posix/test-vfork.c (noop): Likewise.
23109         * resolv/gethnamaddr.c (_endhtent): Likewise.
23110         (_gethtent): Likewise.
23111         (ht_endhostent): Likewise.
23112         (gethostent): Likewise.
23113         (dns_service): Likewise.
23114         * stdlib/drand48.c (drand48): Likewise.
23115         * stdlib/lrand48.c (lrand48): Likewise.
23116         * stdlib/mrand48.c (mrand48): Likewise.
23117         * stdlib/rand.c (rand): Likewise.
23118         * stdlib/random.c (__random): Likewise.
23119         * stdlib/setenv.c (clearenv): Likewise.
23120         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23121         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23122         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23123         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23124         (__get_nprocs): Likewise.
23125         (__get_phys_pages): Likewise.
23126         (__get_avphys_pages): Likewise.
23127         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23128         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23129         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23130         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23131         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23132         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23133         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23134         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23135         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23136         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23137         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23138         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23139         * sysdeps/posix/clock.c (clock): Likewise.
23140         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23141         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23142         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23143         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23144         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23145         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23146         (__get_nprocs_conf): Likewise.
23147         (__get_phys_pages): Likewise.
23148         (__get_avphys_pages): Likewise.
23149         * time/clock.c (clock): Likewise.
23150         * time/tzset.c (__tzname_max): Likewise.
23152 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23154         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23155         (__bswap_32): Do not use "register".
23156         * crypt/crypt.c (_ufc_doit_r): Likewise.
23157         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23158         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23159         * gmon/gmon.c (__monstartup): Likewise.
23160         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23161         * hurd/hurdmalloc.c (more_memory): Likewise.
23162         (malloc): Likewise.
23163         (free): Likewise.
23164         (realloc): Likewise.
23165         (malloc_fork_prepare): Likewise.
23166         (malloc_fork_parent): Likewise.
23167         (malloc_fork_child): Likewise.
23168         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23169         (_svcauth_des): Likewise.
23170         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23171         * inet/inet_net.c (inet_network): Likewise.
23172         * inet/inet_netof.c (inet_netof): Likewise.
23173         * inet/rcmd.c (__validuser2_sa): Likewise.
23174         * io/fts.c (fts_open): Likewise.
23175         (fts_load): Likewise.
23176         (fts_close): Likewise.
23177         (fts_read): Likewise.
23178         (fts_children): Likewise.
23179         (fts_build): Likewise.
23180         (fts_stat): Likewise.
23181         (fts_sort): Likewise.
23182         (fts_alloc): Likewise.
23183         (fts_lfree): Likewise.
23184         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23185         (_IO_file_xsgetn): Likewise.
23186         (_IO_file_xsgetn_mmap): Likewise.
23187         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23188         (_IO_cookie_write): Likewise.
23189         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23190         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23191         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23192         * malloc/obstack.c (_obstack_begin): Likewise.
23193         (_obstack_begin_1): Likewise.
23194         (_obstack_newchunk): Likewise.
23195         (_obstack_allocated_p): Likewise.
23196         (obstack_free): Likewise.
23197         (_obstack_memory_used): Likewise.
23198         * misc/getttyent.c (getttynam): Likewise.
23199         (getttyent): Likewise.
23200         (skip): Likewise.
23201         (value): Likewise.
23202         * misc/getusershell.c (initshells): Likewise.
23203         * misc/syslog.c (__vsyslog_chk): Likewise.
23204         * misc/ttyslot.c (ttyslot): Likewise.
23205         * nis/nis_hash.c (__nis_hash): Likewise.
23206         * posix/fnmatch_loop.c (FCT): Likewise.
23207         * posix/getconf.c (print_all): Likewise.
23208         (main): Likewise.
23209         * posix/getopt.c (exchange): Likewise.
23210         * posix/glob.c (globfree): Likewise.
23211         (prefix_array): Likewise.
23212         (__glob_pattern_type): Likewise.
23213         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23214         (NS_GET32): Likewise.
23215         (NS_PUT16): Likewise.
23216         (NS_PUT32): Likewise.
23217         * resolv/gethnamaddr.c (getanswer): Likewise.
23218         (gethostbyname2): Likewise.
23219         (gethostbyaddr): Likewise.
23220         (_gethtent): Likewise.
23221         (_gethtbyname2): Likewise.
23222         (_gethtbyaddr): Likewise.
23223         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23224         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23225         * resolv/res_init.c (__res_vinit): Likewise.
23226         (net_mask): Likewise.
23227         * resolv/res_mkquery.c (outchar): Likewise.
23228         (PRINT): Likewise.
23229         * stdio-common/printf_fp.c (outchar): Likewise.
23230         (PRINT): Likewise.
23231         * stdio-common/printf_fphex.c (outchar): Likewise.
23232         (PRINT): Likewise.
23233         * stdio-common/printf_size.c (outchar): Likewise.
23234         (PRINT): Likewise.
23235         * stdio-common/test_rdwr.c (main): Likewise.
23236         * stdio-common/tfformat.c (matches): Likewise.
23237         * stdio-common/vfprintf.c (outchar): Likewise.
23238         (printf_unknown): Likewise.
23239         (buffered_vfprintf): Likewise.
23240         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23241         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23242         (ReadFile): Likewise.
23243         * stdlib/qsort.c (SWAP): Likewise.
23244         (_quicksort): Likewise.
23245         * stdlib/setenv.c (__add_to_environ): Likewise.
23246         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23247         * stdlib/strtol_l.c (__strtol_l): Likewise.
23248         * stdlib/tst-strtod.c (main): Likewise.
23249         * stdlib/tst-strtol.c (main): Likewise.
23250         * stdlib/tst-strtoll.c (main): Likewise.
23251         * string/bits/string2.h (__strcmp_cc): Likewise.
23252         (__strcmp_cg): Likewise.
23253         (__strcspn_c1): Likewise.
23254         (__strcspn_c2): Likewise.
23255         (__strcspn_c3): Likewise.
23256         (__strspn_c1): Likewise.
23257         (__strspn_c2): Likewise.
23258         (__strspn_c3): Likewise.
23259         (__strsep_1c): Likewise.
23260         (__strsep_2c): Likewise.
23261         (__strsep_3c): Likewise.
23262         * string/memccpy.c (__memccpy): Likewise.
23263         * string/stpcpy.c (__stpcpy): Likewise.
23264         * string/strcmp.c (strcmp): Likewise.
23265         * string/strrchr.c (strrchr): Likewise.
23266         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23267         Likewise.
23268         * sysdeps/mach/hurd/getcwd.c
23269         (_hurd_canonicalize_directory_name_internal): Likewise.
23270         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23271         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23272         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23273         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23274         Likewise, in both definitions.
23275         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23276         definitions.
23277         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23278         64] (__bswap_64): Likewise.
23279         * time/test_time.c (main): Likewise.
23280         * time/tzfile.c (__tzfile_read): Likewise.
23281         (__tzfile_compute): Likewise.
23282         * time/tzset.c (__tzset_parse_tz): Likewise.
23283         (tzset_internal): Likewise.
23284         (compute_change): Likewise.
23285         * wcsmbs/wcscat.c (__wcscat): Likewise.
23286         * wcsmbs/wcschr.c (wcschr): Likewise.
23287         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23288         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23289         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23290         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23291         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23292         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23293         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23294         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23295         * wcsmbs/wmemset.c (wmemset): Likewise.
23297 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23299         * scripts/config.guess: Update to version 2013-05-16.
23300         * scripts/config.sub: Update to version 2013-04-24.
23301         * scripts/install-sh: Update to version 2011-11-20.07.
23302         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23303         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23305 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23307         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23308         * elf/sln.c: Likewise.
23309         * hurd/hurd/ioctl.h: Likewise.
23310         * hurd/hurdmalloc.c: Likewise.
23311         * hurd/xattr.c: Likewise.
23312         * include/shlib-compat.h: Likewise.
23313         * inet/ruserpass.c: Likewise.
23314         * libio/iofgets_u.c: Likewise.
23315         * libio/iofgetws_u.c: Likewise.
23316         * locale/programs/ld-identification.c: Likewise.
23317         * locale/programs/ld-time.c: Likewise.
23318         * mach/msg-destroy.c: Likewise.
23319         * nss/nss_files/files-netgrp.c: Likewise.
23320         * resolv/res_data.c: Likewise.
23321         * soft-fp/op-1.h: Likewise.
23322         * soft-fp/op-2.h: Likewise.
23323         * soft-fp/op-4.h: Likewise.
23324         * soft-fp/op-common.h: Likewise.
23325         * stdio-common/printf_fphex.c: Likewise.
23326         * stdlib/strtod_l.c: Likewise.
23327         * sunrpc/rpc/clnt.h: Likewise.
23328         * sysdeps/generic/framestate.c: Likewise.
23329         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23330         * sysdeps/i386/bsd-setjmp.S: Likewise.
23331         * sysdeps/i386/__longjmp.S: Likewise.
23332         * sysdeps/i386/setjmp.S: Likewise.
23333         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23334         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23335         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23336         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23337         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23338         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23339         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23340         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23341         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23342         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23343         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23344         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23345         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23346         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23347         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23348         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23349         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23350         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23351         * sysdeps/ieee754/support.c: Likewise.
23352         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23353         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23354         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23355         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23356         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23357         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23358         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23359         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23360         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23361         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23362         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23363         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23364         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23365         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23366         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23367         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23368         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23371 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23373         * posix/transbug.c: Remove executable mode.
23375 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23377         * crypt/speeds.c: Remove trailing whitespace.
23378         * dlfcn/default.c: Likewise.
23379         * elf/ifuncdep2.c: Likewise.
23380         * elf/ifuncmain1.c: Likewise.
23381         * elf/ifuncmain1vis.c: Likewise.
23382         * elf/testobj.h: Likewise.
23383         * elf/tst-stackguard1.c: Likewise.
23384         * gmon/sys/gmon.h: Likewise.
23385         * hurd/hurdmsg.c: Likewise.
23386         * hurd/new-fd.c: Likewise.
23387         * hurd/ports-get.c: Likewise.
23388         * iconvdata/ibm1008_420.c: Likewise.
23389         * inet/tst-getni1.c: Likewise.
23390         * inet/tst-getni2.c: Likewise.
23391         * libio/ioungetc.c: Likewise.
23392         * libio/wfiledoalloc.c: Likewise.
23393         * manual/libm-err-tab.pl: Likewise.
23394         * math/w_dremf.c: Likewise.
23395         * misc/ftruncate.c: Likewise.
23396         * posix/bug-glob2.c: Likewise.
23397         * posix/tst-pcre.c: Likewise.
23398         * posix/wait4.c: Likewise.
23399         * resolv/README: Likewise.
23400         * resolv/res_debug.h: Likewise.
23401         * resolv/tst-inet_ntop.c: Likewise.
23402         * setjmp/bug269-setjmp.c: Likewise.
23403         * soft-fp/extended.h: Likewise.
23404         * soft-fp/op-1.h: Likewise.
23405         * soft-fp/op-2.h: Likewise.
23406         * soft-fp/op-4.h: Likewise.
23407         * soft-fp/op-8.h: Likewise.
23408         * soft-fp/testit.c: Likewise.
23409         * stdio-common/bug16.c: Likewise.
23410         * stdlib/random.c: Likewise.
23411         * sunrpc/rpcsvc/rquota.x: Likewise.
23412         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23413         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23414         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23415         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23416         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23417         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23418         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23419         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23420         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23421         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23422         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23423         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23424         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23425         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23426         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23427         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23428         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23429         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23430         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23431         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23432         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23433         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23434         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23435         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23436         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23437         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23438         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23439         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23440         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23441         * sysdeps/ieee754/s_lib_version.c: Likewise.
23442         * sysdeps/mach/hurd/check_fds.c: Likewise.
23443         * sysdeps/mach/hurd/getsockname.c: Likewise.
23444         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23445         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23446         * sysdeps/powerpc/bits/link.h: Likewise.
23447         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23448         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23449         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23450         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23451         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23452         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23453         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23454         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23455         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23456         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23457         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23458         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23459         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23460         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23461         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23462         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23464         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23465         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23466         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23467         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23468         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23469         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23470         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23471         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23472         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23473         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23474         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23475         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23476         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23477         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23478         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23479         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23480         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23481         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23482         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23483         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23484         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23485         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23486         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23487         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23488         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23489         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23490         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23491         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23492         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23493         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23494         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23495         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23496         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23499         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23500         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23501         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23502         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23503         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23504         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23505         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23506         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23507         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23508         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23509         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23510         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23511         * sysdeps/powerpc/sysdep.h: Likewise.
23512         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23513         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23514         * sysdeps/sh/dl-trampoline.S: Likewise.
23515         * sysdeps/sh/memset.S: Likewise.
23516         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23517         * sysdeps/sh/strlen.S: Likewise.
23518         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23519         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23520         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23521         * sysdeps/sparc/sparc32/rem.S: Likewise.
23522         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23523         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23524         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23525         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23526         * sysdeps/sparc/sparc32/urem.S: Likewise.
23527         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23528         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23529         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23530         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23531         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23532         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23533         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23534         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23535         * sysdeps/unix/bsd/times.c: Likewise.
23536         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23537         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23541         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23542         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23543         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23544         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23545         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23546         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23547         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23548         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23549         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23550         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23551         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23552         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23553         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23554         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23555         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23556         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23557         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23558         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23559         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23560         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23561         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23562         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23563         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23564         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23565         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23566         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23567         * sysdeps/x86_64/strcspn.S: Likewise.
23569 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23571         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23572         generated file.  Regenerate properly from gen-translit.pl.
23573         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23574         locale/C-translit.h.
23576 2013-06-05  Andreas Schwab  <schwab@suse.de>
23578         [BZ #15100]
23579         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23580         week as 6 instead of -1.
23581         * time/tst-strptime.c (day_tests): Add test case.
23583 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23585         * sysdeps/generic/math_private.h
23586         (libc_feholdexcept_setround_53bit): Replace with
23587         libc_feholdsetround_53bit.
23588         (libc_feupdateenv_53bit): Replace with
23589         libc_feresetround_53bit.
23590         (SET_RESTORE_ROUND_53BIT): Adjust.
23592 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23594         * string/test-strchrnul.c: Add copyright header.
23596         * posix/tst-getaddrinfo4.c: Increase test timeout.
23598 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23600         [BZ #15536]
23601         * math/libm-test.inc (MAX_EXP): Remove
23602         (MIN_EXP): Define.
23603         (ulp): Use MIN_EXP - MANT_DIG.
23604         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23606 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23608         * po/be.po: Revert last change.
23609         * po/zh_CN.po: Likewise.
23610         * po/header.pot: Likewise.
23612 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23614         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23615         link-libc-deps to empty as target-specific variable.
23616         * Makerules (link-libc-args): New variable.
23617         (libc-for-link): Likewise.
23618         (link-libc-deps): Likewise.
23619         (lib%.so): Depend on $(link-libc-deps).  Link with
23620         $(link-libc-args).
23621         (build-module): Link with $(link-libc-args).
23622         (build-module-asneeded): Likewise.
23623         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23624         list of objects.
23625         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23626         target-specific variable.
23627         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23628         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23629         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23630         libc.
23631         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23632         libc and ld.so.
23633         ($(objpfx)libpcprofile.so): Likewise.
23634         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23635         libc_nonshared.a.
23636         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23637         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23638         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23639         $(link-libc-deps).
23640         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23641         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23642         * login/Makefile ($(objpfx)libutil.so): Likewise.
23643         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23644         * math/Makefile ($(objpfx)libm.so): Likewise.
23645         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23646         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23647         variable instead of depending directly on libc.
23648         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23649         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23650         $(link-libc-deps).
23651         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23652         libc.
23653         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23654         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23655         ($(objpfx)libanl.so): Likewise.
23656         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23657         ld.so.
23658         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23659         $(link-libc-deps).
23660         * sysdeps/i386/fpu/Makefile: Remove file.
23661         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23662         ($(objpfx)libm.so): Remove dependency on ld.so.
23664 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23666         [BZ # 15553]
23667         * nis/yp_xdr.c (XDRMAXNAME): Define.
23668         (XDRMAXRECORD): Define.
23669         (xdr_domainname): Use XDRMAXNAME.
23670         (xdr_mapname): Likewise.
23671         (xdr_peername): Likewise.
23672         (xdr_keydat): Use XDRMAXRECORD.
23673         (xdr_valdat): Likewise.
23675 2013-05-30  Jeff Law  <law@redhat.com>
23677         [BZ #14256]
23678         * manual/errno.texi (ESTALE): Update to account for more than
23679         just NFS file systems.
23680         * sysdeps/gnu/errlist.c: Regenerated.
23682 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23684         [BZ #15465]
23685         * elf/Makefile (tests): Add tst-null-argv.
23686         (modules-names):  Add tst-null-argv-lib.
23687         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23688         (tst-null-argv-ENV): Set environment for tst-null-argv.
23689         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23690         (RTLD_PROGNAME): New macro.
23691         * elf/tst-null-argv.c: New test case.
23692         * elf/tst-null-argv-lib.c: Library for test case.
23693         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23694         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23695         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23696         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23697         * elf/dl-init.c (call_init): Likewise.
23698         (_dl_init): Likewise.
23699         * elf/dl-load.c (print_search_path): Likewise.
23700         (_dl_map_object): Likewise.
23701         * elf/dl-lookup.c (do_lookup_x): Likewise.
23702         (add_dependency): Likewise.
23703         (_dl_lookup_symbol_x): Likewise.
23704         (_dl_debug_bindings): Likewise.
23705         * elf/dl-open.c (_dl_show_scope): Likewise.
23706         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23707         * elf/dl-version.c (match_symbol): Likewise.
23708         (_dl_check_map_versions): Likewise.
23709         * elf/rtld.c (dl_main): Likewise.
23710         (print_unresolved): Use RTLD_PROGNAME.
23711         (print_missing_version): Likewise.
23712         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23713         (elf_machine_rela): Likewise.
23714         * sysdeps/powerpc/powerpc32/dl-machine.c
23715         (__process_machine_rela): Likewise.
23716         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23717         Likewise.
23718         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23719         Likewise.
23720         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23721         Likewise.
23722         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23723         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23724         Likewise.
23725         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23726         Likewise.
23727         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23729 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23731         * po/be.po: Add descriptive title.
23732         * po/zh_CN.po: Likewise.
23733         * po/header.pot: Likewise.
23735 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23737         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23738         error message.
23739         (enlarge_archive): Likewise.
23741 2013-05-28  Ben North  <ben@redfrontdoor.org>
23743         * manual/arith.texi (frexp): It is the magnitude of the return
23744         value which lies in [0.5, 1), not the return value itself.
23746 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23750 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
23752         * stdio-common/bug26.c (main): Correct fscanf template.
23754         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23755         declare _dl_skip_args.
23757         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23758         Don't declare.
23760         * manual/platform.texi: Add missing @end deftypefun.
23762 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23764         [BZ #15529]
23765         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23766         bit of mantissa of 2^16382.
23767         * math/libm-test.inc (hypot_test_data): Add more tests.
23769         * math/libm-test.inc: Add drem and pow10 to list of tested
23770         functions.
23771         (pow10_test): New function.
23772         (drem_test): Likewise.
23773         (drem_test_tonearest): Likewise.
23774         (drem_test_towardzero): Likewise.
23775         (drem_test_downward): Likewise.
23776         (drem_test_upward): Likewise.
23777         (main): Call the new functions.
23779         * math/libm-test.inc (finite_test_data): Remove.
23780         (finite_test): Run tests from isfinite_test_data.
23781         (gamma_test_data): Remove.
23782         (gamma_test): Run tests from lgamma_test_data.
23783         * sysdeps/i386/fpu/libm-test-ulps: Update.
23784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23786 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23788         * manual/platform.texi: Add PowerPC PPR function set documentation.
23789         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23790         implementation.
23792 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
23794         * math/libm-test.inc (MAX_EXP): Define.
23795         (ULPDIFF): Define.
23796         (ulp): New function.
23797         (check_float_internal): Use ULPDIFF.
23798         (cpow_test): Disable failing test.
23799         (check_ulp): Test ulp() implemetnation.
23800         (main): Call check_ulp before starting tests.
23802 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23804         * math/gen-libm-test.pl (generate_testfile): Do not handle
23805         START_DATA and END_DATA.
23806         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23807         END_DATA.
23808         (acos_tonearest_test_data): Likewise.
23809         (acos_towardzero_test_data): Likewise.
23810         (acos_downward_test_data): Likewise.
23811         (acos_upward_test_data): Likewise.
23812         (acosh_test_data): Likewise.
23813         (asin_test_data): Likewise.
23814         (asin_tonearest_test_data): Likewise.
23815         (asin_towardzero_test_data): Likewise.
23816         (asin_downward_test_data): Likewise.
23817         (asin_upward_test_data): Likewise.
23818         (asinh_test_data): Likewise.
23819         (atan_test_data): Likewise.
23820         (atanh_test_data): Likewise.
23821         (atan2_test_data): Likewise.
23822         (cabs_test_data): Likewise.
23823         (cacos_test_data): Likewise.
23824         (cacosh_test_data): Likewise.
23825         (carg_test_data): Likewise.
23826         (casin_test_data): Likewise.
23827         (casinh_test_data): Likewise.
23828         (catan_test_data): Likewise.
23829         (catanh_test_data): Likewise.
23830         (cbrt_test_data): Likewise.
23831         (ccos_test_data): Likewise.
23832         (ccosh_test_data): Likewise.
23833         (ceil_test_data): Likewise.
23834         (cexp_test_data): Likewise.
23835         (cimag_test_data): Likewise.
23836         (clog_test_data): Likewise.
23837         (clog10_test_data): Likewise.
23838         (conj_test_data): Likewise.
23839         (copysign_test_data): Likewise.
23840         (cos_test_data): Likewise.
23841         (cos_tonearest_test_data): Likewise.
23842         (cos_towardzero_test_data): Likewise.
23843         (cos_downward_test_data): Likewise.
23844         (cos_upward_test_data): Likewise.
23845         (cosh_test_data): Likewise.
23846         (cosh_tonearest_test_data): Likewise.
23847         (cosh_towardzero_test_data): Likewise.
23848         (cosh_downward_test_data): Likewise.
23849         (cosh_upward_test_data): Likewise.
23850         (cpow_test_data): Likewise.
23851         (cproj_test_data): Likewise.
23852         (creal_test_data): Likewise.
23853         (csin_test_data): Likewise.
23854         (csinh_test_data): Likewise.
23855         (csqrt_test_data): Likewise.
23856         (ctan_test_data): Likewise.
23857         (ctan_tonearest_test_data): Likewise.
23858         (ctan_towardzero_test_data): Likewise.
23859         (ctan_downward_test_data): Likewise.
23860         (ctan_upward_test_data): Likewise.
23861         (ctanh_test_data): Likewise.
23862         (ctanh_tonearest_test_data): Likewise.
23863         (ctanh_towardzero_test_data): Likewise.
23864         (ctanh_downward_test_data): Likewise.
23865         (ctanh_upward_test_data): Likewise.
23866         (erf_test_data): Likewise.
23867         (erfc_test_data): Likewise.
23868         (exp_test_data): Likewise.
23869         (exp_tonearest_test_data): Likewise.
23870         (exp_towardzero_test_data): Likewise.
23871         (exp_downward_test_data): Likewise.
23872         (exp_upward_test_data): Likewise.
23873         (exp10_test_data): Likewise.
23874         (exp2_test_data): Likewise.
23875         (expm1_test_data): Likewise.
23876         (fabs_test_data): Likewise.
23877         (fdim_test_data): Likewise.
23878         (finite_test_data): Likewise.
23879         (floor_test_data): Likewise.
23880         (fma_test_data): Likewise.
23881         (fma_towardzero_test_data): Likewise.
23882         (fma_downward_test_data): Likewise.
23883         (fma_upward_test_data): Likewise.
23884         (fmax_test_data): Likewise.
23885         (fmin_test_data): Likewise.
23886         (fmod_test_data): Likewise.
23887         (fpclassify_test_data): Likewise.
23888         (frexp_test_data): Likewise.
23889         (gamma_test_data): Likewise.
23890         (hypot_test_data): Likewise.
23891         (ilogb_test_data): Likewise.
23892         (isfinite_test_data): Likewise.
23893         (isgreater_test_data): Likewise.
23894         (isgreaterequal_test_data): Likewise.
23895         (isinf_test_data): Likewise.
23896         (isless_test_data): Likewise.
23897         (islessequal_test_data): Likewise.
23898         (islessgreater_test_data): Likewise.
23899         (isnan_test_data): Likewise.
23900         (isnormal_test_data): Likewise.
23901         (issignaling_test_data): Likewise.
23902         (isunordered_test_data): Likewise.
23903         (j0_test_data): Likewise.
23904         (j1_test_data): Likewise.
23905         (jn_test_data): Likewise.
23906         (ldexp_test_data): Likewise.
23907         (lgamma_test_data): Likewise.
23908         (lrint_test_data): Likewise.
23909         (lrint_tonearest_test_data): Likewise.
23910         (lrint_towardzero_test_data): Likewise.
23911         (lrint_downward_test_data): Likewise.
23912         (lrint_upward_test_data): Likewise.
23913         (llrint_test_data): Likewise.
23914         (llrint_tonearest_test_data): Likewise.
23915         (llrint_towardzero_test_data): Likewise.
23916         (llrint_downward_test_data): Likewise.
23917         (llrint_upward_test_data): Likewise.
23918         (log_test_data): Likewise.
23919         (log10_test_data): Likewise.
23920         (log1p_test_data): Likewise.
23921         (log2_test_data): Likewise.
23922         (logb_test_data): Likewise.
23923         (logb_downward_test_data): Likewise.
23924         (lround_test_data): Likewise.
23925         (llround_test_data): Likewise.
23926         (modf_test_data): Likewise.
23927         (nearbyint_test_data): Likewise.
23928         (nextafter_test_data): Likewise.
23929         (nexttoward_test_data): Likewise.
23930         (pow_test_data): Likewise.
23931         (pow_tonearest_test_data): Likewise.
23932         (pow_towardzero_test_data): Likewise.
23933         (pow_downward_test_data): Likewise.
23934         (pow_upward_test_data): Likewise.
23935         (remainder_test_data): Likewise.
23936         (remainder_tonearest_test_data): Likewise.
23937         (remainder_towardzero_test_data): Likewise.
23938         (remainder_downward_test_data): Likewise.
23939         (remainder_upward_test_data): Likewise.
23940         (remquo_test_data): Likewise.
23941         (rint_test_data): Likewise.
23942         (rint_tonearest_test_data): Likewise.
23943         (rint_towardzero_test_data): Likewise.
23944         (rint_downward_test_data): Likewise.
23945         (rint_upward_test_data): Likewise.
23946         (round_test_data): Likewise.
23947         (scalb_test_data): Likewise.
23948         (scalbn_test_data): Likewise.
23949         (scalbln_test_data): Likewise.
23950         (signbit_test_data): Likewise.
23951         (sin_test_data): Likewise.
23952         (sin_tonearest_test_data): Likewise.
23953         (sin_towardzero_test_data): Likewise.
23954         (sin_downward_test_data): Likewise.
23955         (sin_upward_test_data): Likewise.
23956         (sincos_test_data): Likewise.
23957         (sinh_test_data): Likewise.
23958         (sinh_tonearest_test_data): Likewise.
23959         (sinh_towardzero_test_data): Likewise.
23960         (sinh_downward_test_data): Likewise.
23961         (sinh_upward_test_data): Likewise.
23962         (sqrt_test_data): Likewise.
23963         (tan_test_data): Likewise.
23964         (tan_tonearest_test_data): Likewise.
23965         (tan_towardzero_test_data): Likewise.
23966         (tan_downward_test_data): Likewise.
23967         (tan_upward_test_data): Likewise.
23968         (tanh_test_data): Likewise.
23969         (tgamma_test_data): Likewise.
23970         (trunc_test_data): Likewise.
23971         (y0_test_data): Likewise.
23972         (y1_test_data): Likewise.
23973         (yn_test_data): Likewise.
23974         (significand_test_data): Likewise.
23976         * math/gen-libm-test.pl (@functions): Remove variable.
23977         (generate_testfile): Don't handle START and END lines.
23978         * math/libm-test.inc (START): New macro.
23979         (END): Likewise.
23980         (END_COMPLEX): Likewise.
23981         (acos_test): Use END macro without arguments.
23982         (acos_test_tonearest): Likewise.
23983         (acos_test_towardzero): Likewise.
23984         (acos_test_downward): Likewise.
23985         (acos_test_upward): Likewise.
23986         (acosh_test): Likewise.
23987         (asin_test): Likewise.
23988         (asin_test_tonearest): Likewise.
23989         (asin_test_towardzero): Likewise.
23990         (asin_test_downward): Likewise.
23991         (asin_test_upward): Likewise.
23992         (asinh_test): Likewise.
23993         (atan_test): Likewise.
23994         (atanh_test): Likewise.
23995         (atan2_test): Likewise.
23996         (cabs_test): Likewise.
23997         (cacos_test): Use END_COMPLEX macro without arguments.
23998         (cacosh_test): Likewise.
23999         (carg_test): Use END macro without arguments.
24000         (casin_test): Use END_COMPLEX macro without arguments.
24001         (casinh_test): Likewise.
24002         (catan_test): Likewise.
24003         (catanh_test): Likewise.
24004         (cbrt_test): Use END macro without arguments.
24005         (ccos_test): Use END_COMPLEX macro without arguments.
24006         (ccosh_test): Likewise.
24007         (ceil_test): Use END macro without arguments.
24008         (cexp_test): Use END_COMPLEX macro without arguments.
24009         (cimag_test): Use END macro without arguments.
24010         (clog_test): Use END_COMPLEX macro without arguments.
24011         (clog10_test): Likewise.
24012         (conj_test): Likewise.
24013         (copysign_test): Use END macro without arguments.
24014         (cos_test): Likewise.
24015         (cos_test_tonearest): Likewise.
24016         (cos_test_towardzero): Likewise.
24017         (cos_test_downward): Likewise.
24018         (cos_test_upward): Likewise.
24019         (cosh_test): Likewise.
24020         (cosh_test_tonearest): Likewise.
24021         (cosh_test_towardzero): Likewise.
24022         (cosh_test_downward): Likewise.
24023         (cosh_test_upward): Likewise.
24024         (cpow_test): Use END_COMPLEX macro without arguments.
24025         (cproj_test): Likewise.
24026         (creal_test): Use END macro without arguments.
24027         (csin_test): Use END_COMPLEX macro without arguments.
24028         (csinh_test): Likewise.
24029         (csqrt_test): Likewise.
24030         (ctan_test): Likewise.
24031         (ctan_test_tonearest): Likewise.
24032         (ctan_test_towardzero): Likewise.
24033         (ctan_test_downward): Likewise.
24034         (ctan_test_upward): Likewise.
24035         (ctanh_test): Likewise.
24036         (ctanh_test_tonearest): Likewise.
24037         (ctanh_test_towardzero): Likewise.
24038         (ctanh_test_downward): Likewise.
24039         (ctanh_test_upward): Likewise.
24040         (erf_test): Use END macro without arguments.
24041         (erfc_test): Likewise.
24042         (exp_test): Likewise.
24043         (exp_test_tonearest): Likewise.
24044         (exp_test_towardzero): Likewise.
24045         (exp_test_downward): Likewise.
24046         (exp_test_upward): Likewise.
24047         (exp10_test): Likewise.
24048         (exp2_test): Likewise.
24049         (expm1_test): Likewise.
24050         (fabs_test): Likewise.
24051         (fdim_test): Likewise.
24052         (finite_test): Likewise.
24053         (floor_test): Likewise.
24054         (fma_test): Likewise.
24055         (fma_test_towardzero): Likewise.
24056         (fma_test_downward): Likewise.
24057         (fma_test_upward): Likewise.
24058         (fmax_test): Likewise.
24059         (fmin_test): Likewise.
24060         (fmod_test): Likewise.
24061         (fpclassify_test): Likewise.
24062         (frexp_test): Likewise.
24063         (gamma_test): Likewise.
24064         (hypot_test): Likewise.
24065         (ilogb_test): Likewise.
24066         (isfinite_test): Likewise.
24067         (isgreater_test): Likewise.
24068         (isgreaterequal_test): Likewise.
24069         (isinf_test): Likewise.
24070         (isless_test): Likewise.
24071         (islessequal_test): Likewise.
24072         (islessgreater_test): Likewise.
24073         (isnan_test): Likewise.
24074         (isnormal_test): Likewise.
24075         (issignaling_test): Likewise.
24076         (isunordered_test): Likewise.
24077         (j0_test): Likewise.
24078         (j1_test): Likewise.
24079         (jn_test): Likewise.
24080         (ldexp_test): Likewise.
24081         (lgamma_test): Likewise.
24082         (lrint_test): Likewise.
24083         (lrint_test_tonearest): Likewise.
24084         (lrint_test_towardzero): Likewise.
24085         (lrint_test_downward): Likewise.
24086         (lrint_test_upward): Likewise.
24087         (llrint_test): Likewise.
24088         (llrint_test_tonearest): Likewise.
24089         (llrint_test_towardzero): Likewise.
24090         (llrint_test_downward): Likewise.
24091         (llrint_test_upward): Likewise.
24092         (log_test): Likewise.
24093         (log10_test): Likewise.
24094         (log1p_test): Likewise.
24095         (log2_test): Likewise.
24096         (logb_test): Likewise.
24097         (logb_test_downward): Likewise.
24098         (lround_test): Likewise.
24099         (llround_test): Likewise.
24100         (modf_test): Likewise.
24101         (nearbyint_test): Likewise.
24102         (nextafter_test): Likewise.
24103         (nexttoward_test): Likewise.
24104         (pow_test): Likewise.
24105         (pow_test_tonearest): Likewise.
24106         (pow_test_towardzero): Likewise.
24107         (pow_test_downward): Likewise.
24108         (pow_test_upward): Likewise.
24109         (remainder_test): Likewise.
24110         (remainder_test_tonearest): Likewise.
24111         (remainder_test_towardzero): Likewise.
24112         (remainder_test_downward): Likewise.
24113         (remainder_test_upward): Likewise.
24114         (remquo_test): Likewise.
24115         (rint_test): Likewise.
24116         (rint_test_tonearest): Likewise.
24117         (rint_test_towardzero): Likewise.
24118         (rint_test_downward): Likewise.
24119         (rint_test_upward): Likewise.
24120         (round_test): Likewise.
24121         (scalb_test): Likewise.
24122         (scalbn_test): Likewise.
24123         (scalbln_test): Likewise.
24124         (signbit_test): Likewise.
24125         (sin_test): Likewise.
24126         (sin_test_tonearest): Likewise.
24127         (sin_test_towardzero): Likewise.
24128         (sin_test_downward): Likewise.
24129         (sin_test_upward): Likewise.
24130         (sincos_test): Likewise.
24131         (sinh_test): Likewise.
24132         (sinh_test_tonearest): Likewise.
24133         (sinh_test_towardzero): Likewise.
24134         (sinh_test_downward): Likewise.
24135         (sinh_test_upward): Likewise.
24136         (sqrt_test): Likewise.
24137         (tan_test): Likewise.
24138         (tan_test_tonearest): Likewise.
24139         (tan_test_towardzero): Likewise.
24140         (tan_test_downward): Likewise.
24141         (tan_test_upward): Likewise.
24142         (tanh_test): Likewise.
24143         (tgamma_test): Likewise.
24144         (trunc_test): Likewise.
24145         (y0_test): Likewise.
24146         (y1_test): Likewise.
24147         (yn_test): Likewise.
24148         (significand_test): Likewise.
24150 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24152         [BZ #15381]
24153         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24155 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24157         [BZ #14894]
24158         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24159         __ppc_mdoio and __ppc_mdoom.
24160         * manual/platform.texi: Document new functions __ppc_yield,
24161         __ppc_mdoio and __ppc_mdoom.
24163 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24165         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24166         (main): Mention "tls" pseudo-hwcap is legacy.
24167         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24169 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24171         * math/gen-libm-test.pl (parse_args): Output only string of
24172         arguments as text for test name, not full call or descriptions of
24173         tests for extra outputs.
24174         (generate_testfile): Do not pass function name to parse_args.
24175         Generate this_func variable from START.
24176         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24177         field to arg_str.
24178         (struct test_ff_f_data): Likewise.
24179         (test_ff_f_data_nexttoward): Likewise.
24180         (struct test_fi_f_data): Likewise.
24181         (struct test_fl_f_data): Likewise.
24182         (struct test_if_f_data): Likewise.
24183         (struct test_fff_f_data): Likewise.
24184         (struct test_c_f_data): Likewise.
24185         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24186         (struct test_fF_f1_data): Likewise.
24187         (struct test_ffI_f1_data): Likewise.
24188         (struct test_c_c_data): Rename test_name field to arg_str.
24189         (struct test_cc_c_data): Likewise.
24190         (struct test_f_i_data): Likewise.
24191         (struct test_ff_i_data): Likewise.
24192         (struct test_f_l_data): Likewise.
24193         (struct test_f_L_data): Likewise.
24194         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24195         and extra2_name.
24196         (COMMON_TEST_SETUP): New macro.
24197         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24198         (COMMON_TEST_CLEANUP): Likewise.
24199         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24200         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24201         macros.
24202         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24203         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24204         macros.
24205         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24206         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24207         cleanup macros.
24208         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24209         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24210         macros.
24211         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24212         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24213         macros.
24214         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24215         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24216         cleanup macros.
24217         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24218         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24219         cleanup macros.
24220         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24221         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24222         cleanup macros.
24223         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24224         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24225         macros.
24226         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24227         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24228         macros.
24229         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24230         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24231         macros.
24232         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24233         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24234         cleanup macros.
24235         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24236         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24237         cleanup macros.
24238         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24239         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24240         macros.
24241         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24242         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24243         cleanup macros.
24244         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24245         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24246         macros.
24247         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24248         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24249         macros.
24250         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24251         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24252         cleanup macros.
24253         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24255 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24257         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24258         to _sifields.sigfault.
24259         (si_addr_lsb): Define new macro.
24260         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24261         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24262         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24264 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24266         [BZ #15441]
24267         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24268         returns -1.
24269         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24270         null return -1.
24271         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24272         loading the domain.
24274 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24276         * math/gen-libm-test.pl (parse_args): Do not include expected
24277         result in test name.
24278         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24279         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24280         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24281         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24282         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24285 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24287         * benchtests/Makefile: Sort function entries.
24289         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24290         tanh, asinh, acosh, atanh.
24291         * benchtests/acos-inputs: New file.
24292         * benchtests/acosh-inputs: New file.
24293         * benchtests/asin-inputs: New file.
24294         * benchtests/asinh-inputs: New file.
24295         * benchtests/atanh-inputs: New file.
24296         * benchtests/cosh-inputs: New file.
24297         * benchtests/log-inputs: New file.
24298         * benchtests/sinh-inputs: New file.
24299         * benchtests/tanh-inputs: New file.
24301 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24303         [BZ #15339]
24304         * posix/tst-getaddrinfo4.c: New test.
24305         * posix/Makefile (tests): Add it.
24307 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24309         [BZ #15339]
24310         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24311         when no services were used.
24312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24313         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24315 2013-05-21  Andreas Schwab  <schwab@suse.de>
24317         [BZ #15014]
24318         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24319         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24320         successful.
24321         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24322         redundant variable declarations and reallocation of buffer when
24323         parsing as IPv6 address.  Always set NSS status when called from
24324         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24325         buffer too small.  Correct computation of needed size.
24326         * nss/Makefile (tests): Add test-digits-dots.
24327         * nss/test-digits-dots.c: New test.
24329 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24331         * benchtests/Makefile: Remove instructions for adding
24332         benchmark tests.
24333         * benchtests/README: New file to explain how to execute and
24334         enhance the benchmark tests.
24336 2013-05-21  Andreas Schwab  <schwab@suse.de>
24338         [BZ #15493]
24339         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24340         * setjmp/tst-sigsetjmp.c: New test.
24342 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24344         * sysdeps/x86_64/memset.S (memset): New implementation.
24345         (__bzero): Likewise.
24346         (__memset_tail): New function.
24348 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24350         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24351         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24352         __memcpy_sse2_unaligned ifunc selection.
24353         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24354         Add memcpy-sse2-unaligned.S.
24355         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24356         Add: __memcpy_sse2_unaligned.
24358 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24360         [BZ #15490]
24361         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24362         math_force_eval before restoring floating-point envrionment.
24363         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24364         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24365         Likewise.
24366         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24367         <math_private.h>.
24368         (__nearbyintl): Use math_force_eval before restoring
24369         floating-point environment.
24370         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24372         * math/gen-libm-test.pl (special_functions): Remove.
24373         (parse_args): Don't handle TEST_extra.  Handle functions with no
24374         return value.
24375         * math/libm-test.inc (struct test_sincos_data): Replace with
24376         struct test_fFF_11_data.
24377         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24378         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24379         (sincos_test_data): Change element type to struct
24380         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24381         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24382         RUN_TEST_LOOP_sincos.
24383         * math/README.libm-test: Don't mention special handling of
24384         individual functions.
24385         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24386         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24387         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24388         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24389         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24392         * math/gen-libm-test.pl (get_variable): Remove function.
24393         (parse_args): Don't show pointer parameters to call in test
24394         names.  Use "extra output N" in test names for extra outputs
24395         rather than naming variables.
24397 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24399         [BZ #15488]
24400         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24401         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24402         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24403         double tests.
24404         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24405         disable.
24406         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24407         check_long_double.
24409         * math/gen-libm-test.pl (@tests): Remove variable.
24410         ($count): Likewise.
24411         (new_test): Remove function.
24412         (show_exceptions): New function.
24413         (special_functions): Use show_exceptions instead of new_test.
24414         (parse_args): Likewise.
24415         (generate_testfile): Pass only function name in generated call to
24416         print_max_error or print_complex_max_error.
24417         (get_ulps): Do not handle complex tests specially.
24418         (output_test): Rename to ...
24419         (get_all_ulps_for_test): ... this.  Return a string rather than
24420         printing to a file.  Require ulps to be present.
24421         (output_ulps): Generate arrays rather than #defines.
24422         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24423         (struct ulp_data): New type.
24424         (BUILD_COMPLEX_ULP): Remove macro.
24425         (compare_ulp_data): New function.
24426         (find_ulps): Likewise.
24427         (find_test_ulps): Likewise.
24428         (find_function_ulps): Likewise.
24429         (find_complex_function_ulps): Likewise.
24430         (print_max_error): Determine allowed ulps using
24431         find_function_ulps.
24432         (print_complex_max_error): Determine allowed ulps using
24433         find_complex_function_ulps.
24434         (check_float_internal): Determine max ulps using find_test_ulps.
24435         (check_float): Do not take max_ulp parameter.  Update call to
24436         check_float_internal.
24437         (check_complex): Likewise.
24438         (check_int): Do not take max_ulp parameter.
24439         (check_long): Likewise.
24440         (check_bool): Likewise.
24441         (check_longlong): Likewise.
24442         (struct test_f_f_data): Remove max_ulp field.
24443         (struct test_ff_f_data): Likewise.
24444         (struct test_ff_f_data_nexttoward): Likewise.
24445         (struct test_fi_f_data): Likewise.
24446         (struct test_fl_f_data): Likewise.
24447         (struct test_if_f_data): Likewise.
24448         (struct test_fff_f_data): Likewise.
24449         (struct test_c_f_data): Likewise.
24450         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24451         (struct test_fF_f1_data): Likewise.
24452         (struct test_ffI_f1_data): Likewise.
24453         (struct test_c_c_data): Remove max_ulp field.
24454         (struct test_cc_c_data): Likewise.
24455         (struct test_f_i_data): Likewise.
24456         (struct test_ff_i_data): Likewise.
24457         (struct test_f_l_data): Likewise.
24458         (struct test_f_L_data): Likewise.
24459         (struct test_sincos_data): Likewise.
24460         (RUN_TEST_f_f): Do not handle ulps.
24461         (RUN_TEST_LOOP_f_f): Likewise.
24462         (RUN_TEST_2_f): Likewise.
24463         (RUN_TEST_LOOP_2_f): Likewise.
24464         (RUN_TEST_fff_f): Likewise.
24465         (RUN_TEST_LOOP_fff_f): Likewise.
24466         (RUN_TEST_c_f): Likewise.
24467         (RUN_TEST_LOOP_c_f): Likewise.
24468         (RUN_TEST_f_f1): Likewise.
24469         (RUN_TEST_LOOP_f_f1): Likewise.
24470         (RUN_TEST_fF_f1): Likewise.
24471         (RUN_TEST_LOOP_fF_f1): Likewise.
24472         (RUN_TEST_fI_f1): Likewise.
24473         (RUN_TEST_LOOP_fI_f1): Likewise.
24474         (RUN_TEST_ffI_f1): Likewise.
24475         (RUN_TEST_LOOP_ffI_f1): Likewise.
24476         (RUN_TEST_c_c): Likewise.
24477         (RUN_TEST_LOOP_c_c): Likewise.
24478         (RUN_TEST_cc_c): Likewise.
24479         (RUN_TEST_LOOP_cc_c): Likewise.
24480         (RUN_TEST_f_i): Likewise.
24481         (RUN_TEST_LOOP_f_i): Likewise.
24482         (RUN_TEST_f_i_tg): Likewise.
24483         (RUN_TEST_LOOP_f_i_tg): Likewise.
24484         (RUN_TEST_ff_i_tg): Likewise.
24485         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24486         (RUN_TEST_f_b): Likewise.
24487         (RUN_TEST_LOOP_f_b): Likewise.
24488         (RUN_TEST_f_b_tg): Likewise.
24489         (RUN_TEST_LOOP_f_b_tg): Likewise.
24490         (RUN_TEST_f_l): Likewise.
24491         (RUN_TEST_LOOP_f_l): Likewise.
24492         (RUN_TEST_f_L): Likewise.
24493         (RUN_TEST_LOOP_f_L): Likewise.
24494         (RUN_TEST_sincos): Likewise.
24495         (RUN_TEST_LOOP_sincos): Likewise.
24497 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24499         [BZ #15480]
24500         [BZ #15485]
24501         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24502         main case of finite arguments, set rounding mode to FE_TONEAREST
24503         and discard exceptions.
24504         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24505         exceptions.
24506         (remainder_tonearest_test_data): New variable.
24507         (remainder_test_tonearest): New function.
24508         (remainder_towardzero_test_data): New variable.
24509         (remainder_test_towardzero): New function.
24510         (remainder_downward_test_data): New variable.
24511         (remainder_test_downward): New function.
24512         (remainder_upward_test_data): New variable.
24513         (remainder_test_upward): New function.
24514         (main): Call the new test functions.
24516         * math/libm-test.inc (struct test_f_f1_data): Remove field
24517         extra_init.
24518         (struct test_fF_f1_data): Likewise.
24519         (struct test_ffI_f1_data): Likewise.
24520         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24521         based on value of EXTRA_EXPECTED.
24522         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24523         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24524         EXTRA_VAR based on value of EXTRA_EXPECTED.
24525         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24526         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24527         EXTRA_VAR based on value of EXTRA_EXPECTED.
24528         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24529         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24530         EXTRA_VAR based on value of EXTRA_EXPECTED.
24531         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24532         * math/gen-libm-test.pl (parse_args): Don't output initializers
24533         for extra output values.
24535         * math/libm-test.inc (check_int): Expect result to be exactly
24536         equal to expected value and do not handle ulps.
24537         (check_long): Likewise.
24538         (check_longlong): Likewise.
24540         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24541         exceptions.
24542         (cimag_test_data): Likewise.
24543         (conj_test_data): Likewise.
24544         (copysign_test_data): Likewise.
24545         (cproj_test_data): Likewise.
24546         (creal_test_data): Likewise.
24547         (fabs_test_data): Likewise.
24548         (fdim_test_data): Likewise.
24549         (finite_test_data): Likewise.
24550         (floor_test_data): Likewise.
24551         (fmax_test_data): Likewise.
24552         (fmin_test_data): Likewise.
24553         (fmod_test_data): Likewise.
24554         (fpclassify_test_data): Likewise.
24555         (frexp_test_data): Likewise.
24556         (ilogb_test_data): Likewise.
24557         (isfinite_test_data): Likewise.
24558         (isgreater_test_data): Likewise.
24559         (isgreaterequal_test_data): Likewise.
24560         (isinf_test_data): Likewise.
24561         (isless_test_data): Likewise.
24562         (islessequal_test_data): Likewise.
24563         (islessgreater_test_data): Likewise.
24564         (isnan_test_data): Likewise.
24565         (isnormal_test_data): Likewise.
24566         (issignaling_test_data): Likewise.
24567         (isunordered_test_data): Likewise.
24568         (ldexp_test_data): Likewise.
24569         (lrint_test_data): Likewise.
24570         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24571         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24572         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24573         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24574         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24575         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24576         test input.
24577         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24578         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24579         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24580         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24581         that test input.
24582         (lrint_downward_test_data): Test for "inexact" exceptions.
24583         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24584         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24585         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24586         test input.
24587         (lrint_upward_test_data): Test for "inexact" exceptions.
24588         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24589         test input.
24590         (llrint_test_data): Test for "inexact" exceptions.
24591         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24592         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24593         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24594         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24595         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24596         (llrint_downward_test_data): Test for "inexact" exceptions.
24597         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24598         (llrint_upward_test_data): Test for "inexact" exceptions.
24599         (logb_test_data): Likewise.
24600         (logb_downward_test_data): Likewise.
24601         (nextafter_test_data): Likewise.
24602         (nexttoward_test_data): Likewise.
24603         (remainder_test_data): Likewise.
24604         (remquo_test_data): Likewise.
24605         (scalbn_test_data): Likewise.
24606         (scalbln_test_data): Likewise.
24607         (signbit_test_data): Likewise.
24608         (sqrt_test_data): Likewise.
24609         (significand_test_data): Likewise.
24611 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24613         [BZ #15424]
24614         * benchtests/bench-modf.c (struct args): Mark arg0 as
24615         volatile.
24616         * scripts/bench.pl: Mark members of struct args as volatile.
24618 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24620         [BZ # 15497]
24621         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24622         negative infinity on POWER6 or lower.
24623         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24625 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24627         [BZ #15442]
24628         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24629         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24630         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24631         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24632         (_FP_SETQNAN): New macro.
24633         (_FP_SETQNAN_SEMIRAW): Likewise.
24634         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24635         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24636         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24637         (FP_EXTEND): Use _FP_FRAC_SNANP.
24638         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24639         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24640         into account.
24641         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24642         New macro.
24643         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24644         Likewise.
24646 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24648         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24649         with DIVIDE_BY_ZERO_EXCEPTION.
24650         (gamma_test_data): Likewise.
24651         (lgamma_test_data): Likewise.
24652         (log_test_data): Likewise.
24653         (log10_test_data): Likewise.
24654         (log2_test_data): Likewise.
24655         (tgamma_test_data): Likewise.
24657         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24658         (acos_test_tonearest): Likewise.
24659         (acos_test_towardzero): Likewise.
24660         (acos_test_downward): Likewise.
24661         (acos_test_upward): Likewise.
24662         (acosh_test): Likewise.
24663         (asin_test): Likewise.
24664         (asin_test_tonearest): Likewise.
24665         (asin_test_towardzero): Likewise.
24666         (asin_test_downward): Likewise.
24667         (asin_test_upward): Likewise.
24668         (asinh_test): Likewise.
24669         (atan_test): Likewise.
24670         (atanh_test): Likewise.
24671         (atan2_test): Likewise.
24672         (cabs_test): Likewise.
24673         (cacos_test): Likewise.
24674         (cacosh_test): Likewise.
24675         (casin_test): Likewise.
24676         (casinh_test): Likewise.
24677         (catan_test): Likewise.
24678         (catanh_test): Likewise.
24679         (cbrt_test): Likewise.
24680         (ccos_test): Likewise.
24681         (ccosh_test): Likewise.
24682         (cexp_test): Likewise.
24683         (clog_test): Likewise.
24684         (clog10_test): Likewise.
24685         (cos_test): Likewise.
24686         (cos_test_tonearest): Likewise.
24687         (cos_test_towardzero): Likewise.
24688         (cos_test_downward): Likewise.
24689         (cos_test_upward): Likewise.
24690         (cosh_test): Likewise.
24691         (cosh_test_tonearest): Likewise.
24692         (cosh_test_towardzero): Likewise.
24693         (cosh_test_downward): Likewise.
24694         (cosh_test_upward): Likewise.
24695         (cpow_test): Likewise.
24696         (csin_test): Likewise.
24697         (csinh_test): Likewise.
24698         (csqrt_test): Likewise.
24699         (ctan_test): Likewise.
24700         (ctan_test_tonearest): Likewise.
24701         (ctan_test_towardzero): Likewise.
24702         (ctan_test_downward): Likewise.
24703         (ctan_test_upward): Likewise.
24704         (ctanh_test): Likewise.
24705         (ctanh_test_tonearest): Likewise.
24706         (ctanh_test_towardzero): Likewise.
24707         (ctanh_test_downward): Likewise.
24708         (ctanh_test_upward): Likewise.
24709         (erf_test): Likewise.
24710         (erfc_test): Likewise.
24711         (exp_test): Likewise.
24712         (exp_test_tonearest): Likewise.
24713         (exp_test_towardzero): Likewise.
24714         (exp_test_downward): Likewise.
24715         (exp_test_upward): Likewise.
24716         (exp10_test): Likewise.
24717         (exp2_test): Likewise.
24718         (expm1_test): Likewise.
24719         (fmod_test): Likewise.
24720         (gamma_test): Likewise.
24721         (hypot_test): Likewise.
24722         (j0_test): Likewise.
24723         (j1_test): Likewise.
24724         (jn_test): Likewise.
24725         (lgamma_test): Likewise.
24726         (log_test): Likewise.
24727         (log10_test): Likewise.
24728         (log1p_test): Likewise.
24729         (log2_test): Likewise.
24730         (logb_test_downward): Likewise.
24731         (pow_test): Likewise.
24732         (pow_test_tonearest): Likewise.
24733         (pow_test_towardzero): Likewise.
24734         (pow_test_downward): Likewise.
24735         (pow_test_upward): Likewise.
24736         (remainder_test): Likewise.
24737         (remquo_test): Likewise.
24738         (sin_test): Likewise.
24739         (sin_test_tonearest): Likewise.
24740         (sin_test_towardzero): Likewise.
24741         (sin_test_downward): Likewise.
24742         (sin_test_upward): Likewise.
24743         (sincos_test): Likewise.
24744         (sinh_test): Likewise.
24745         (sinh_test_tonearest): Likewise.
24746         (sinh_test_towardzero): Likewise.
24747         (sinh_test_downward): Likewise.
24748         (sinh_test_upward): Likewise.
24749         (sqrt_test): Likewise.
24750         (tan_test): Likewise.
24751         (tan_test_tonearest): Likewise.
24752         (tan_test_towardzero): Likewise.
24753         (tan_test_downward): Likewise.
24754         (tan_test_upward): Likewise.
24755         (tanh_test): Likewise.
24756         (tgamma_test): Likewise.
24757         (y0_test): Likewise.
24758         (y1_test): Likewise.
24759         (yn_test): Likewise.
24761         * math/gen-libm-test.pl (adjust_arg): Remove function.
24762         (special_function): Remove argument $in_func.  Only handle
24763         generating output for tables of tests, not inside functions.
24764         (parse_args): Likewise.
24765         (generate_testfile): Remove variable $in_func.  Update call to
24766         parse_args.
24767         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24768         (MINUS_ZERO_INIT): Rename macro to minus_zero.
24769         (PLUS_INFTY_INIT): Rename macro to plus_infty.
24770         (MINUS_INFTY_INIT): Rename macro to minus_infty.
24771         (QNAN_VALUE_INIT): Rename macro to qnan_value.
24772         (MAX_VALUE_INIT): Rename macro to max_value.
24773         (MIN_VALUE_INIT): Rename macro to min_value.
24774         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24775         (plus_zero): Remove variable.
24776         (minus_zero): Likewise.
24777         (plus_infty): Likewise.
24778         (minus_infty): Likewise.
24779         (qnan_value): Likewise.
24780         (max_value): Likewise.
24781         (min_value): Likewise.
24782         (min_subnorm_value): Likewise.
24784 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24786         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24787         uint64_t or uint32_t usage.
24788         * crypt/sha256-block.c: Likewise.
24789         * crypt/sha256-crypt.c: Likewise.
24790         * crypt/sha256.c: Likewise.
24791         * crypt/sha512-block.c: Likewise.
24792         * crypt/sha512-crypt.c: Likewise.
24793         * crypt/sha512.c: Likewise.
24794         * debug/backtrace-tst.c: Likewise.
24795         * debug/pcprofiledump.c: Likewise.
24796         * elf/cache.c: Likewise.
24797         * elf/dl-cache.c: Likewise.
24798         * elf/dl-misc.c: Likewise.
24799         * elf/dl-profile.c: Likewise.
24800         * elf/dl-support.c: Likewise.
24801         * elf/ldconfig.c: Likewise.
24802         * elf/sprof.c: Likewise.
24803         * iconv/dummy-repertoire.c: Likewise.
24804         * iconv/iconv_charmap.c: Likewise.
24805         * iconv/skeleton.c: Likewise.
24806         * iconvdata/8bit-generic.c: Likewise.
24807         * iconvdata/cp737.h: Likewise.
24808         * iconvdata/cp775.h: Likewise.
24809         * iconvdata/ibm1008.h: Likewise.
24810         * iconvdata/ibm1025.h: Likewise.
24811         * iconvdata/ibm1046.h: Likewise.
24812         * iconvdata/ibm1097.h: Likewise.
24813         * iconvdata/ibm1112.h: Likewise.
24814         * iconvdata/ibm1122.h: Likewise.
24815         * iconvdata/ibm1123.h: Likewise.
24816         * iconvdata/ibm1124.h: Likewise.
24817         * iconvdata/ibm1129.h: Likewise.
24818         * iconvdata/ibm1130.h: Likewise.
24819         * iconvdata/ibm1132.h: Likewise.
24820         * iconvdata/ibm1133.h: Likewise.
24821         * iconvdata/ibm1137.h: Likewise.
24822         * iconvdata/ibm1140.h: Likewise.
24823         * iconvdata/ibm1141.h: Likewise.
24824         * iconvdata/ibm1142.h: Likewise.
24825         * iconvdata/ibm1143.h: Likewise.
24826         * iconvdata/ibm1144.h: Likewise.
24827         * iconvdata/ibm1145.h: Likewise.
24828         * iconvdata/ibm1146.h: Likewise.
24829         * iconvdata/ibm1147.h: Likewise.
24830         * iconvdata/ibm1148.h: Likewise.
24831         * iconvdata/ibm1149.h: Likewise.
24832         * iconvdata/ibm1153.h: Likewise.
24833         * iconvdata/ibm1154.h: Likewise.
24834         * iconvdata/ibm1155.h: Likewise.
24835         * iconvdata/ibm1156.h: Likewise.
24836         * iconvdata/ibm1157.h: Likewise.
24837         * iconvdata/ibm1158.h: Likewise.
24838         * iconvdata/ibm1160.h: Likewise.
24839         * iconvdata/ibm1161.h: Likewise.
24840         * iconvdata/ibm1162.h: Likewise.
24841         * iconvdata/ibm1163.h: Likewise.
24842         * iconvdata/ibm1164.h: Likewise.
24843         * iconvdata/ibm1166.h: Likewise.
24844         * iconvdata/ibm1167.h: Likewise.
24845         * iconvdata/ibm12712.h: Likewise.
24846         * iconvdata/ibm1390.h: Likewise.
24847         * iconvdata/ibm1399.h: Likewise.
24848         * iconvdata/ibm16804.h: Likewise.
24849         * iconvdata/ibm4517.h: Likewise.
24850         * iconvdata/ibm4899.h: Likewise.
24851         * iconvdata/ibm4909.h: Likewise.
24852         * iconvdata/ibm4971.h: Likewise.
24853         * iconvdata/ibm5347.h: Likewise.
24854         * iconvdata/ibm803.h: Likewise.
24855         * iconvdata/ibm856.h: Likewise.
24856         * iconvdata/ibm901.h: Likewise.
24857         * iconvdata/ibm902.h: Likewise.
24858         * iconvdata/ibm9030.h: Likewise.
24859         * iconvdata/ibm9066.h: Likewise.
24860         * iconvdata/ibm921.h: Likewise.
24861         * iconvdata/ibm922.h: Likewise.
24862         * iconvdata/ibm9448.h: Likewise.
24863         * iconvdata/isiri-3342.h: Likewise.
24864         * iconvdata/jis0201.h: Likewise.
24865         * include/link.h: Likewise.
24866         * include/netdb.h: Likewise.
24867         * inet/check_native.c: Likewise.
24868         * inet/check_pf.c: Likewise.
24869         * inet/getipv4sourcefilter.c: Likewise.
24870         * inet/getnameinfo.c: Likewise.
24871         * inet/getsourcefilter.c: Likewise.
24872         * inet/htonl.c: Likewise.
24873         * inet/setipv4sourcefilter.c: Likewise.
24874         * inet/setsourcefilter.c: Likewise.
24875         * inet/test-inet6_opt.c: Likewise.
24876         * inet/tst-network.c: Likewise.
24877         * locale/C-collate.c: Likewise.
24878         * locale/C-ctype.c: Likewise.
24879         * locale/C-time.c: Likewise.
24880         * locale/C-translit.h: Likewise.
24881         * locale/loadarchive.c: Likewise.
24882         * locale/programs/3level.h: Likewise.
24883         * locale/programs/charmap.c: Likewise.
24884         * locale/programs/charmap.h: Likewise.
24885         * locale/programs/ld-address.c: Likewise.
24886         * locale/programs/ld-collate.c: Likewise.
24887         * locale/programs/ld-ctype.c: Likewise.
24888         * locale/programs/ld-identification.c: Likewise.
24889         * locale/programs/ld-measurement.c: Likewise.
24890         * locale/programs/ld-messages.c: Likewise.
24891         * locale/programs/ld-monetary.c: Likewise.
24892         * locale/programs/ld-name.c: Likewise.
24893         * locale/programs/ld-numeric.c: Likewise.
24894         * locale/programs/ld-paper.c: Likewise.
24895         * locale/programs/ld-telephone.c: Likewise.
24896         * locale/programs/ld-time.c: Likewise.
24897         * locale/programs/linereader.c: Likewise.
24898         * locale/programs/locale.c: Likewise.
24899         * locale/programs/locarchive.c: Likewise.
24900         * locale/programs/locfile.h: Likewise.
24901         * locale/programs/repertoire.c: Likewise.
24902         * locale/programs/simple-hash.c: Likewise.
24903         * locale/programs/simple-hash.h: Likewise.
24904         * malloc/memusage.c: Likewise.
24905         * malloc/memusagestat.c: Likewise.
24906         * nis/nis_defaults.c: Likewise.
24907         * nis/nis_hash.c: Likewise.
24908         * nis/nis_print.c: Likewise.
24909         * nis/nis_xdr.c: Likewise.
24910         * nscd/connections.c: Likewise.
24911         * nscd/hstcache.c: Likewise.
24912         * nscd/nscd_gethst_r.c: Likewise.
24913         * nscd/nscd_getserv_r.c: Likewise.
24914         * nscd/nscd_helper.c: Likewise.
24915         * nscd/servicescache.c: Likewise.
24916         * nss/makedb.c: Likewise.
24917         * nss/nss_db/db-XXX.c: Likewise.
24918         * nss/nss_db/db-initgroups.c: Likewise.
24919         * nss/nss_db/db-netgrp.c: Likewise.
24920         * nss/nss_files/files-network.c: Likewise.
24921         * nss/nss_files/files-parse.c: Likewise.
24922         * posix/bug-regex5.c: Likewise.
24923         * posix/fnmatch_loop.c: Likewise.
24924         * posix/regcomp.c: Likewise.
24925         * posix/regexec.c: Likewise.
24926         * posix/tst-rfc3484-2.c: Likewise.
24927         * posix/tst-rfc3484-3.c: Likewise.
24928         * posix/tst-rfc3484.c: Likewise.
24929         * resolv/nss_dns/dns-canon.c: Likewise.
24930         * resolv/nss_dns/dns-network.c: Likewise.
24931         * resolv/res_init.c: Likewise.
24932         * resolv/res_mkquery.c: Likewise.
24933         * resolv/tst-aton.c: Likewise.
24934         * stdlib/cxa_atexit.c: Likewise.
24935         * stdlib/cxa_finalize.c: Likewise.
24936         * stdlib/gen-fpioconst.c: Likewise.
24937         * stdlib/strtol_l.c: Likewise.
24938         * string/tst-endian.c: Likewise.
24939         * sunrpc/auth_des.c: Likewise.
24940         * sunrpc/clnt_udp.c: Likewise.
24941         * sunrpc/rtime.c: Likewise.
24942         * sunrpc/svcauth_des.c: Likewise.
24943         * sunrpc/xdr.c: Likewise.
24944         * sunrpc/xdr_intXX_t.c: Likewise.
24945         * sunrpc/xdr_rec.c: Likewise.
24946         * sysdeps/generic/ldconfig.h: Likewise.
24947         * sysdeps/generic/ldsodefs.h: Likewise.
24948         * sysdeps/generic/memusage.h: Likewise.
24949         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24950         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24951         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24952         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24953         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24954         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24955         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24956         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24957         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24958         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24959         * sysdeps/posix/getaddrinfo.c: Likewise.
24960         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24961         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24962         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24963         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24964         * sysdeps/powerpc/test-gettimebase.c: Likewise.
24965         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24966         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24967         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24968         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24969         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24970         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24971         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24972         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24973         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24974         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24975         * sysdeps/x86_64/dl-tls.h: Likewise.
24976         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24977         * time/alt_digit.c: Likewise.
24978         * time/era.c: Likewise.
24979         * wcsmbs/tst-c16c32-1.c: Likewise.
24981 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24983         * math/libm-test.inc (struct test_sincos_data): New type.
24984         (RUN_TEST_LOOP_sincos): New macro.
24985         (sincos_test_data): New variable.
24986         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24988 2013-05-16  Richard Henderson  <rth@redhat.com>
24990         * math/atest-exp2.c (LIMB64): New macro.
24991         (CONSTSZ): New macro.
24992         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24993         (hexdig): Move ...
24994         (print_mpn_fp): ... to function scope.
24995         (read_mpn_hex): Remove.
24996         (get_log2): Remove.
24997         (exp2_mpn): Use mp_log2.
24998         (main): Use mp_exp1.
25000 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25002         * math/libm-test.inc: Remove comment about not testing "inexact"
25003         exceptions.
25004         (INEXACT_EXCEPTION): New macro.
25005         (NO_INEXACT_EXCEPTION): Likewise.
25006         (INVALID_EXCEPTION_OK): Update value.
25007         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25008         (OVERFLOW_EXCEPTION_OK): Likewise.
25009         (UNDERFLOW_EXCEPTION_OK): Likewise.
25010         (IGNORE_ZERO_INF_SIGN): Likewise.
25011         (ERRNO_UNCHANGED): Likewise.
25012         (ERRNO_EDOM): Likewise.
25013         (ERRNO_ERANGE): Likewise.
25014         (test_exceptions): Handle testing "inexact" exceptions.
25015         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25016         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25017         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25018         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25019         INEXACT_EXCEPTION.
25020         (rint_towardzero_test_data): Likewise.
25021         (rint_downward_test_data): Likewise.
25022         (rint_upward_test_data): Likewise.
25024         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25025         with OVERFLOW_EXCEPTION.
25026         (exp10_test_data): Likewise.
25027         (exp2_test_data): Likewise.
25028         (expm1_test_data): Likewise.
25029         (lgamma_test_data): Likewise.
25030         (pow_test_data): Likewise.
25031         (tgamma_test_data): Likewise.
25032         (yn_test_data): Remove duplicate test of overflow.
25034         * math/libm-test.inc (struct test_cc_c_data): New type.
25035         (RUN_TEST_LOOP_cc_c): New macro.
25036         (cpow_test_data): New variable.
25037         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25039         * math/libm-test.inc (struct test_f_L_data): New type.
25040         (RUN_TEST_LOOP_f_L): New macro.
25041         (llrint_test_data): New variable.
25042         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25043         (llrint_tonearest_test_data): New variable.
25044         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25045         (llrint_towardzero_test_data): New variable.
25046         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25047         (llrint_downward_test_data): New variable.
25048         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25049         (llrint_upward_test_data): New variable.
25050         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25051         (llround_test_data): New variable.
25052         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25054 2013-05-13  Peter Collingbourne  <pcc@google.com>
25056         * math/atest-exp2.c (get_log2): Remove const attribute.
25058 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25060         * math/libm-test.inc (struct test_f_l_data): New type.
25061         (RUN_TEST_LOOP_f_l): New macro.
25062         (lrint_test_data): New variable.
25063         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25064         (lrint_tonearest_test_data): New variable.
25065         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25066         (lrint_towardzero_test_data): New variable.
25067         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25068         (lrint_downward_test_data): New variable.
25069         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25070         (lrint_upward_test_data): New variable.
25071         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25072         (lround_test_data): New variable.
25073         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25075 2013-05-15  Peter Collingbourne  <pcc@google.com>
25077         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25078         (EXTRACT_WORDS64) Use where appropriate.
25079         (INSERT_WORDS64) Likewise.
25081         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25082         constraints with x constraints.
25083         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25085         * malloc/obstack.c (_obstack_compat): Add initializer.
25087 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25089         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25090         si_trapno and add si_addr_lsb to _sifields.sigfault.
25091         (si_trapno): Remove macro.
25092         (si_addr_lsb): Define new macro.
25093         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25095 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25097         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25098         instead of TEST_f_l.
25099         (llrint_test_tonearest): Likewise.
25100         (llrint_test_towardzero): Likewise.
25101         (llrint_test_downward): Likewise.
25102         (llrint_test_upward): Likewise.
25103         (llround_test): Likewise.
25105         * math/libm-test.inc (struct test_f_i_data): Add comment.
25106         (RUN_TEST_LOOP_f_b): New macro.
25107         (RUN_TEST_LOOP_f_b_tg): Likewise.
25108         (finite_test_data): New variable.
25109         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25110         (isfinite_test_data): New variable.
25111         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25112         (isinf_test_data): New variable.
25113         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25114         (isnan_test_data): New variable.
25115         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25116         (isnormal_test_data): New variable.
25117         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25118         (issignaling_test_data): New variable.
25119         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25120         (signbit_test_data): New variable.
25121         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25123         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25124         with INVALID_EXCEPTION.
25125         (acosh_test_data): Likewise.
25126         (asin_test_data): Likewise.
25127         (atanh_test_data): Likewise.
25128         (fmod_test_data): Likewise.
25129         (log_test_data): Likewise.
25130         (log10_test_data): Likewise.
25131         (log2_test_data): Likewise.
25132         (pow_test_data): Likewise.
25133         (sqrt_test_data): Likewise.
25134         (y0_test_data): Likewise.
25135         (y1_test_data): Likewise.
25136         (yn_test_data): Likewise.
25138         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25139         function contents.
25141         * math/libm-test.inc (struct test_ff_i_data): New type.
25142         (RUN_TEST_LOOP_ff_i_tg): New macro.
25143         (isgreater_test_data): New variable.
25144         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25145         (isgreaterequal_test_data): New variable.
25146         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25147         (isless_test_data): New variable.
25148         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25149         (islessequal_test_data): New variable.
25150         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25151         (islessgreater_test_data): New variable.
25152         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25153         (isunordered_test_data): New variable.
25154         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25156 2013-05-14  David S. Miller  <davem@davemloft.net>
25158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25160 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25162         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25164         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25165         extra_test to int.
25166         (struct test_f_i_data): Change type of max_ulp to int.
25168         * math/libm-test.inc (test_ffI_f1_data): New type.
25169         (RUN_TEST_LOOP_ffI_f1): New macro.
25170         (remquo_test_data): New variable.
25171         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25173         * setjmp/tst-setjmp-fp.c: New file.
25174         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25175         (link-libm): New variable.
25176         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25178         * math/libm-test.inc (struct test_f_i_data): New type.
25179         (RUN_TEST_LOOP_f_i): New macro.
25180         (RUN_TEST_LOOP_f_i_tg): Likewise.
25181         (fpclassify_test_data): New variable.
25182         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25183         (ilogb_test_data): New variable.
25184         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25186         * math/libm-test.inc (scalbln_test): Correct function name in END
25187         call.
25189         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25190         (RUN_TEST_LOOP_fI_f1): New macro.
25191         (frexp_test_data): New variable.
25192         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25194         * math/libm-test.inc (struct test_fF_f1_data): New type.
25195         (RUN_TEST_LOOP_fF_f1): New macro.
25196         (modf_test_data): New variable.
25197         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25199         * math/libm-test.inc (struct test_f_f1_data): New type.
25200         (RUN_TEST_LOOP_f_f1): New macro.
25201         (gamma_test_data): New variable.
25202         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25203         (lgamma_test_data): New variable.
25204         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25206 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25208         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25209         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25210         (main): Comment "tls" pseudo-hwcap.
25212 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25214         * math/libm-test.inc (struct test_fl_f_data): New type.
25215         (RUN_TEST_LOOP_fl_f): New variable.
25216         (scalbln_test_data): New variable.
25217         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25219         * math/libm-test.inc (struct test_fi_f_data): New type.
25220         (RUN_TEST_LOOP_fi_f): New macro.
25221         (ldexp_test_data): New variable.
25222         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25223         (scalbn_test_data): New variable.
25224         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25226         * math/libm-test.inc (struct test_c_f_data): New type.
25227         (RUN_TEST_LOOP_c_f): New macro.
25228         (cabs_test_data): New variable.
25229         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25230         (carg_test_data): New variable.
25231         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25232         (cimag_test_data): New variable.
25233         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25234         (creal_test_data): New variable.
25235         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25237         * math/libm-test.inc (struct test_if_f_data): New type.
25238         (RUN_TEST_LOOP_if_f): New macro.
25239         (jn_test_data): New variable.
25240         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25241         (yn_test_data): New variable.
25242         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25244         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25246 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25248         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25249         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25251 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25253         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25254         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25255         (bench-deps): Add bench-timing.h.
25256         * benchtests-bench-skeleton.c: Include bench-timing.h.
25257         (main): Use TIMING_* macros instead of clock_gettime.
25258         * benchtests/bench-timing.h: New file.
25260         [BZ #14582]
25261         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25262         Renamed from _LIB_VERSION.
25263         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25265 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25267         * math/libm-test.inc (struct test_fff_f_data): New type.
25268         (RUN_TEST_LOOP_fff_f): New macro.
25269         (fma_test_data): New variable.
25270         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25271         (fma_towardzero_test_data): New variable.
25272         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25273         (fma_downward_test_data): New variable.
25274         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25275         (fma_upward_test_data): New variable.
25276         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25278         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25279         (struct test_c_c_data): New type.
25280         (RUN_TEST_LOOP_c_c): New macro.
25281         (cacos_test_data): New variable.
25282         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25283         (cacosh_test_data): New variable.
25284         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25285         (casin_test_data): New variable.
25286         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25287         (casinh_test_data): New variable.
25288         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25289         (catan_test_data): New variable.
25290         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25291         (catanh_test_data): New variable.
25292         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25293         (ccos_test_data): New variable.
25294         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25295         (ccosh_test_data): New variable.
25296         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25297         (cexp_test_data): New variable.
25298         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25299         (clog_test_data): New variable.
25300         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25301         (clog10_test_data): New variable.
25302         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25303         (conj_test_data): New variable.
25304         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25305         (cproj_test_data): New variable.
25306         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25307         (csin_test_data): New variable.
25308         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25309         (csinh_test_data): New variable.
25310         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25311         (csqrt_test_data): New variable.
25312         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25313         (ctan_test_data): New variable.
25314         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25315         (ctan_tonearest_test_data): New variable.
25316         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25317         (ctan_towardzero_test_data): New variable.
25318         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25319         (ctan_downward_test_data): New variable.
25320         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25321         (ctan_upward_test_data): New variable.
25322         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25323         (ctanh_test_data): New variable.
25324         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25325         (ctanh_tonearest_test_data): New variable.
25326         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25327         (ctanh_towardzero_test_data): New variable.
25328         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25329         (ctanh_downward_test_data): New variable.
25330         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25331         (ctanh_upward_test_data): New variable.
25332         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25333         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25334         of BUILD_COMPLEX.
25336         * math/libm-test.inc (struct test_ff_f_data): New type.
25337         (struct test_ff_f_data_nexttoward): Likewise.
25338         (RUN_TEST_LOOP_2_f): New macro.
25339         (RUN_TEST_LOOP_ff_f): Likewise.
25340         (atan2_test_data): New variable.
25341         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25342         (copysign_test_data): New variable.
25343         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25344         (fdim_test_data): New variable.
25345         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25346         (fmax_test_data): New variable.
25347         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25348         (fmin_test_data): New variable.
25349         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25350         (fmod_test_data): New variable.
25351         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25352         (hypot_test_data): New variable.
25353         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25354         (nextafter_test_data): New variable.
25355         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25356         (nexttoward_test_data): New variable.
25357         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25358         (pow_test_data): New variable.
25359         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25360         (pow_tonearest_test_data): New variable.
25361         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25362         (pow_towardzero_test_data): New variable.
25363         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25364         (pow_downward_test_data): New variable.
25365         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25366         (pow_upward_test_data): New variable.
25367         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25368         (remainder_test_data): New variable.
25369         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25370         (scalb_test_data): New variable.
25371         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25372         * sysdeps/i386/fpu/libm-test-ulps: Update.
25374 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25376         * math/libm-test.inc (fma_test): Use max_value instead of local
25377         variable fltmax.
25378         (nextafter_test): Likewise.
25380         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25381         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25382         (acos_downward_test_data): New variable.
25383         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25384         (acos_upward_test_data): New variable.
25385         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25386         (acosh_test_data): New variable.
25387         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25388         (asin_test_data): New variable.
25389         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25390         (asin_tonearest_test_data): New variable.
25391         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25392         (asin_towardzero_test_data): New variable.
25393         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25394         (asin_downward_test_data): New variable.
25395         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25396         (asin_upward_test_data): New variable.
25397         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25398         (asinh_test_data): New variable.
25399         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25400         (atan_test_data): New variable.
25401         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25402         (atanh_test_data): New variable.
25403         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25404         (cbrt_test_data): New variable.
25405         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25406         (ceil_test_data): New variable.
25407         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25408         (cos_test_data): New variable.
25409         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25410         (cos_tonearest_test_data): New variable.
25411         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25412         (cos_towardzero_test_data): New variable.
25413         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25414         (cos_downward_test_data): New variable.
25415         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25416         (cos_upward_test_data): New variable.
25417         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25418         (cosh_test_data): New variable.
25419         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25420         (cosh_tonearest_test_data): New variable.
25421         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25422         (cosh_towardzero_test_data): New variable.
25423         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25424         (cosh_downward_test_data): New variable.
25425         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25426         (cosh_upward_test_data): New variable.
25427         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25428         (erf_test_data): New variable.
25429         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25430         (erfc_test_data): New variable.
25431         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25432         (exp_test_data): New variable.
25433         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25434         (exp_tonearest_test_data): New variable.
25435         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25436         (exp_towardzero_test_data): New variable.
25437         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25438         (exp_downward_test_data): New variable.
25439         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25440         (exp_upward_test_data): New variable.
25441         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25442         (exp10_test_data): New variable.
25443         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25444         (exp2_test_data): New variable.
25445         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25446         (expm1_test_data): New variable.
25447         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25448         (fabs_test_data): New variable.
25449         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25450         (floor_test_data): New variable.
25451         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25452         (j0_test_data): New variable.
25453         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25454         (j1_test_data): New variable.
25455         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25456         (log_test_data): New variable.
25457         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25458         (log10_test_data): New variable.
25459         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25460         (log1p_test_data): New variable.
25461         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25462         (log2_test_data): New variable.
25463         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25464         (logb_test_data): New variable.
25465         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25466         (logb_downward_test_data): New variable.
25467         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25468         (nearbyint_test_data): New variable.
25469         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25470         (rint_test_data): New variable.
25471         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25472         (rint_tonearest_test_data): New variable.
25473         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25474         (rint_towardzero_test_data): New variable.
25475         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25476         (rint_downward_test_data): New variable.
25477         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25478         (rint_upward_test_data): New variable.
25479         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25480         (round_test_data): New variable.
25481         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25482         (sin_test_data): New variable.
25483         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25484         (sin_tonearest_test_data): New variable.
25485         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25486         (sin_towardzero_test_data): New variable.
25487         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25488         (sin_downward_test_data): New variable.
25489         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25490         (sin_upward_test_data): New variable.
25491         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25492         (sinh_test_data): New variable.
25493         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25494         (sinh_tonearest_test_data): New variable.
25495         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25496         (sinh_towardzero_test_data): New variable.
25497         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25498         (sinh_downward_test_data): New variable.
25499         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25500         (sinh_upward_test_data): New variable.
25501         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25502         (sqrt_test_data): New variable.
25503         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25504         (tan_test_data): New variable.
25505         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25506         (tan_tonearest_test_data): New variable.
25507         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25508         (tan_towardzero_test_data): New variable.
25509         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25510         (tan_downward_test_data): New variable.
25511         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25512         (tan_upward_test_data): New variable.
25513         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25514         (tanh_test_data): New variable.
25515         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25516         (tgamma_test_data): New variable.
25517         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25518         (trunc_test_data): New variable.
25519         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25520         (y0_test_data): New variable.
25521         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25522         (y1_test_data): New variable.
25523         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25524         (significand_test_data): New variable.
25525         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25527 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25529         [BZ #12387]
25530         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25532 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25534         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25536 2013-05-10  Andreas Jaeger  <aj@suse.de>
25538         [BZ #15448]
25539         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25540         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25542 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25544         * math/gen-libm-test.pl (adjust_arg): New function.
25545         (special_functions): Handle generating output in both functions
25546         and arrays.
25547         (parse_args): Likewise.
25548         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25549         $in_func argument to parse_args.
25550         * math/libm-test.inc (struct test_f_f_data): New type.
25551         (IF_ROUND_INIT_): New macro.
25552         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25553         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25554         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25555         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25556         (ROUND_RESTORE_): Likewise.
25557         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25558         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25559         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25560         (ROUND_RESTORE_FE_UPWARD): Likewise.
25561         (RUN_TEST_LOOP_f_f): New macro.
25562         (acos_test_data): New variable.
25563         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25564         (acos_tonearest_test_data): New variable.
25565         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25567 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25569         * benchtests/bench-skeleton.c (startup): Fix coding style.
25571 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25573         [BZ #6809]
25574         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25575         negative infinity argument.
25576         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25577         negative infinity argument.
25578         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25579         negative infinity argument.
25580         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25581         domain errors.
25583 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25585         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25586         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25587         * iconv/iconv_prog.c (main): Likewise.
25588         * locale/programs/charmap-dir.c (charmap_readdir)
25589         (fopen_uncompressed): Likewise.
25590         * locale/programs/locfile.c (siblings_uncached)
25591         (write_locale_data): Use lstat64 instead of lstat.
25592         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25593         stat.
25595 2013-05-10  Andreas Jaeger  <aj@suse.de>
25597         [BZ #15395]
25598         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25599         localization.
25600         Include <locale.h>.
25602 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25604         * elf/dl-close.c (_dl_close_worker): Add comments.
25606 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25608         [BZ #15359]
25609         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25610         high part of pi/2.
25611         (__ieee754_rem_pio2l): Update comments.
25613         [BZ #15429]
25614         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25615         high part of pi/2.
25616         (__ieee754_rem_pio2l): Update comments.
25618         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25619         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25621         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25622         M_PI_4l.
25624         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25625         (M_PI_34_LOG10El): Likewise.
25626         (M_PI2_LOG10El): Likewise.
25627         (M_PI4_LOG10El): Likewise.
25628         (M_PI_LOG10El): Likewise.
25630 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25634 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25636         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25637         (MINUS_ZERO_INIT): Likewise.
25638         (PLUS_INFTY_INIT): Likewise.
25639         (MINUS_INFTY_INIT): Likewise.
25640         (QNAN_VALUE_INIT): Likewise.
25641         (MAX_VALUE_INIT): Likewise.
25642         (MIN_VALUE_INIT): Likewise.
25643         (MIN_SUBNORM_VALUE_INIT): Likewise.
25644         (plus_zero): Initialize with PLUS_ZERO_INIT.
25645         (minus_zero): Initialize with MINUS_ZERO_INIT.
25646         (plus_infty): Initialize with PLUS_INFTY_INIT.
25647         (minus_infty): Initialize with MINUS_INFTY_INIT.
25648         (qnan_value): Initialize with QNAN_VALUE_INIT.
25649         (max_value): Initialize with MAX_VALUE_INIT.
25650         (min_value): Initialize with MIN_VALUE_INIT.
25651         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25653         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25654         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25655         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25656         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25658         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25659         (RUN_TEST_2_f): Likewise.
25660         (RUN_TEST_ff_f): Likewise.
25661         (RUN_TEST_fi_f): Likewise.
25662         (RUN_TEST_fl_f): Likewise.
25663         (RUN_TEST_fff_f): Likewise.
25664         (RUN_TEST_c_f): Likewise.
25665         (RUN_TEST_f_f1): Likewise.
25666         (RUN_TEST_fF_f1): Likewise.
25667         (RUN_TEST_fI_f1): Likewise.
25668         (RUN_TEST_ffI_f1): Likewise.
25669         (RUN_TEST_c_c): Likewise.
25670         (RUN_TEST_cc_c): Likewise.
25671         (RUN_TEST_f_i): Likewise.
25672         (RUN_TEST_f_i_tg): Likewise.
25673         (RUN_TEST_ff_i_tg): Likewise.
25674         (RUN_TEST_f_b): Likewise.
25675         (RUN_TEST_f_b_tg): Likewise.
25676         (RUN_TEST_f_l): Likewise.
25677         (RUN_TEST_f_L): Likewise.
25678         (RUN_TEST_sincos): Likewise.
25679         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25680         whether to show exceptions.  Do not include ");\n" in return
25681         value.
25682         (special_functions): Output call to RUN_TEST_sincos instead of
25683         check_float calls.  Update calls to new_test.
25684         (parse_args): Output call to single RUN_TEST_* macro instead of
25685         check_* calls and other assignments.  Update calls to new_test.
25687         [BZ #2546]
25688         [BZ #2560]
25689         [BZ #5159]
25690         [BZ #15426]
25691         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25692         input to result for tgamma overflow.
25693         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25694         (gamma_coeff): New variable.
25695         (NCOEFF): New macro.
25696         (gamma_positive): New function.
25697         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25698         underflow here.  Use gamma_positive instead of exp (lgamma) for
25699         other arguments.
25700         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25701         (gamma_coeff): New variable.
25702         (NCOEFF): New macro.
25703         (gammaf_positive): New function.
25704         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25705         underflow here.  Use gamma_positive instead of exp (lgamma) for
25706         other arguments.
25707         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25708         (gamma_coeff): New variable.
25709         (NCOEFF): New macro.
25710         (gammal_positive): New function.
25711         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25712         underflow here.  Use gamma_positive instead of exp (lgamma) for
25713         other arguments.
25714         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25715         (gamma_coeff): New variable.
25716         (NCOEFF): New macro.
25717         (gammal_positive): New function.
25718         (__ieee754_gammal_r): Handle positive infinity, overflow and
25719         underflow here.  Handle NaN the same as positive infinity.  Remove
25720         check x < 0xffffffff for negative integers.  Use gamma_positive
25721         instead of exp (lgamma) for other arguments.
25722         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25723         (gamma_coeff): New variable.
25724         (NCOEFF): New macro.
25725         (gammal_positive): New function.
25726         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25727         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25728         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25729         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25730         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25731         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25732         * sysdeps/generic/math_private.h (__gamma_productf): New
25733         prototype.
25734         (__gamma_product): Likewise.
25735         (__gamma_productl): Likewise.
25736         * math/Makefile (libm-calls): Add gamma_product.
25737         * math/libm-test.inc (tgamma_test): Add more tests.
25738         * sysdeps/i386/fpu/libm-test-ulps: Update.
25739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25741 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
25743         * benchtests/bench-skeleton.c (main): Preheat CPU.
25745 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
25747         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25749 2013-05-07  Roland McGrath  <roland@hack.frob.com>
25751         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25752         and _dl_skip_args_internal.
25754 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
25756         * manual/message.texi (Message Translation): Talk about users.
25757         Message to key mapping impacts design.
25759 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25761         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25763         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25765         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25766         * sysdeps/wordsize-64/glob64.c: ... here.
25768         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25769         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25770         New macros.
25772         * debug/getlogin_r_chk.c: Moved to ...
25773         * login/getlogin_r_chk.c: ... here.
25774         * debug/Makefile (routines): Move getlogin_r_chk to ...
25775         * login/Makefile (routines): ... here.
25776         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25777         * login/Versions (libc: GLIBC_2.4): ... here.
25779         * io/poll.c (__poll): Renamed from poll.
25780         Add libc_hidden_def.
25781         (poll): Define as weak alias.
25783         * debug/ptsname_r_chk.c: Moved to ...
25784         * login/ptsname_r_chk.c: ... here.
25785         * debug/Makefile (routines): Move ptsname_r_chk to ...
25786         * login/Makefile (routines): ... here.
25787         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25788         * login/Versions (libc: GLIBC_2.4): ... here.
25790         * posix/getlogin.c: Moved to ...
25791         * login/getlogin.c: ... here.
25792         * posix/getlogin_r.c: Moved to ...
25793         * login/getlogin_r.c: ... here.
25794         * posix/getlogin_r.c: Moved to ...
25795         * login/getlogin_r.c: ... here.
25796         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25797         * login/Makefile (routines): ... here.
25798         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25799         * login/Versions (libc: GLIBC_2.0): ... here.
25801         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25802         (setrlimit): Define as weak alias.
25804         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25805         Call __ names for open, ftruncate, and close.
25806         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25807         (truncate): Define as weak alias.
25809 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
25811         * math/gen-libm-test.pl (parse_args): Initialize x before each
25812         test of frexp, modf and remquo.
25814         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25815         test signgam value.
25817 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25819         [BZ #15418]
25820         [BZ #15419]
25821         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25822         internal tests.
25823         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25825 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25827         * elf/dl-writev.h: New file.
25828         * elf/dl-misc.c: Include it.
25829         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25830         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25832 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
25834         * math/libm-test.inc (noXFails): Remove variable.
25835         (noXPasses): Likewise.
25836         (BUILD_COMPLEX_INT): Remove macro.
25837         (print_screen): Remove xfail argument.
25838         (print_screen_max_error): Likewise.
25839         (update_stats): Likewise.
25840         (print_max_error): Likewise.  Update calls to other affected
25841         functions.
25842         (print_complex_max_error): Likewise.
25843         (test_single_exception): Update calls to print_screen.
25844         (test_single_errno): Likewise.
25845         (check_float_internal): Remove xfail argument.  Update calls to
25846         other affected functions.
25847         (check_float): Likewise.
25848         (check_complex): Likewise.
25849         (check_int): Likewise.
25850         (check_long): Likewise.
25851         (check_bool): Likewise.
25852         (check_longlong): Likewise.
25853         (main): Don't print noXFails and noXPasses.
25854         * math/gen-libm-test.pl (top level): Don't mention expected
25855         failure handling in comment.
25856         (new_test): Don't handle expected failures.
25857         (parse_args): Don't mention expected failure handling in comment.
25858         (generate_testfile): Don't handle expected failures.
25859         (parse_ulps): Likewise.
25860         (print_ulps_file): Likewise.
25861         (get_failure): Remove function.
25862         (output_test): Don't handle expected failures.
25863         * make/README.libm-test: Don't mention expected failure handling.
25865         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
25866         (minus_zero): Likewise.
25867         (plus_infty): Likewise.
25868         (minus_infty): Likewise.
25869         (qnan_value): Likewise.
25870         (max_value): Likewise.
25871         (min_value): Likewise.
25872         (min_subnorm_value): Likewise.
25873         (initialize): Do not initialize those variables dynamically.
25875 2013-05-03  Roland McGrath  <roland@hack.frob.com>
25877         * io/open.c (__open_2): Moved to ...
25878         * io/open_2.c: ... this new file.
25879         * io/open64.c (__open64_2): Moved to ...
25880         * io/open64_2.c: ... this new file.
25881         * io/openat.c (__openat_2): Moved to ...
25882         * io/openat_2.c: ... this new file.
25883         * io/openat64.c (__openat64_2): Moved to ...
25884         * io/openat64_2.c: ... this new file.
25885         * io/Makefile (routines): Add them.
25886         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25887         * sysdeps/unix/sysv/linux/open_2.c: File removed.
25888         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25889         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25890         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25891         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25892         (__openat64): Add hidden_ver.
25893         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25894         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25896         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25897         Separately conditionalize setting of GLRO(dl_sysinfo) so
25898         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25899         as well, but the actual setting is only under [NEED_DL_SYSINFO].
25901 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25903         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25904         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25905         definition.
25906         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25907         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25908         (_libc_vdso_platform_setup): Add __vdso_time initialization.
25909         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25910         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25912 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
25914         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25915         test signgam value.
25917         * math/libm-test.inc (hypot_test): Do not use
25918         IGNORE_ZERO_INF_SIGN.
25920 2013-05-03  Andreas Jaeger  <aj@suse.de>
25922         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25923         Linux 3.9.
25924         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25925         (PF_MAX): Adjust for VSOCK change.
25927 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25931 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
25933         [BZ #15264]
25934         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25935         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25936         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25938 2013-05-02  David S. Miller  <davem@davemloft.net>
25940         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25942 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
25944         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25946 2013-05-01  Roland McGrath  <roland@hack.frob.com>
25948         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25950 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25952         [BZ #14952]
25953         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25954         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25955         Use __attribute__ ((__gnu_inline__)).
25956         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25957         Don't use __attribute__ ((__gnu_inline__)).
25959 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
25961         [BZ #15423]
25962         * math/s_catan.c (__catan): Handle small real or imaginary part of
25963         input specially to avoid spurious underflow.
25964         * math/s_catanf.c (__catanf): Likewise.
25965         * math/s_catanh.c (__catanh): Likewise.
25966         * math/s_catanhf.c (__catanhf): Likewise.
25967         * math/s_catanhl.c (__catanhl): Likewise.
25968         * math/s_catanl.c (__catanl): Likewise.
25969         * math/libm-test.inc (catan_test): Add more tests.
25970         (catanh_test): Likewise.
25971         * sysdeps/i386/fpu/libm-test-ulps: Update.
25972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25974 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25978 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25980         [BZ #15416]
25981         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25982         accurately for denominator in atan2.
25983         * math/s_catanf.c (__catanf): Likewise.
25984         * math/s_catanh.c (__catanh): Likewise.
25985         * math/s_catanhf.c (__catanhf): Likewise.
25986         * math/s_catanhl.c (__catanhl): Likewise.
25987         * math/s_catanl.c (__catanl): Likewise.
25988         * math/libm-test.inc (catan_test): Add more tests.
25989         (catanh_test): Likewise.
25990         * sysdeps/i386/fpu/libm-test-ulps: Update.
25991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25993 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25995         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25997         * benchtests/Makefile (bench): Remove slow benchmarks.
25998         * benchtests/atan-inputs: Add slow benchmark inputs.
25999         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26000         (BENCH_FUNC): Accept variant offset.
26001         (VARIANT): Define.
26002         * benchtests/bench-skeleton.c (main): Run benchmark for each
26003         variant.
26004         * benchtests/cos-inputs: Add slow benchmark inputs.
26005         * benchtests/exp-inputs: Likewise.
26006         * benchtests/pow-inputs: Likewise.
26007         * benchtests/sin-inputs: Likewise.
26008         * benchtests/slowatan-inputs: Remove.
26009         * benchtests/slowatan.c: Remove.
26010         * benchtests/slowcos-inputs: Remove.
26011         * benchtests/slowcos.c: Remove.
26012         * benchtests/slowexp-inputs: Remove.
26013         * benchtests/slowexp.c: Remove.
26014         * benchtests/slowpow-inputs: Remove.
26015         * benchtests/slowpow.c: Remove.
26016         * benchtests/slowsin-inputs: Remove.
26017         * benchtests/slowsin.c: Remove.
26018         * benchtests/slowtan-inputs: Remove.
26019         * benchtests/slowtan.c: Remove.
26020         * benchtests/tan-inputs: Add slow benchmark inputs.
26021         * scripts/bench.pl: Parse comments and directives.
26023         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26024         in CPPFLAGS.
26025         ($(objpfx)bench-%.c): Remove *-ITER.
26026         * benchtests/bench-modf.c: Remove definition of ITER.
26027         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26028         (main): Loop for DURATION seconds instead of fixed number of
26029         iterations.
26030         * scripts/bench.pl: Don't expect iterations in parameters.
26032 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26034         * io/fchdir.c (__fchdir): Renamed from fchdir.
26035         (fchdir): Define as weak alias.
26037 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26039         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26040         (ERRNO_EDOM): Likewise.
26041         (ERRNO_ERANGE): Likewise.
26042         (noErrnoTests): New variable.
26043         (init_max_error): Set errno to 0.
26044         (test_single_errno): New function.
26045         (test_errno): Likewise.
26046         (check_float_internal): Call test_errno.  Set errno to 0.
26047         (check_complex): Refer to errno tests in comment.
26048         (check_int): Call test_errno.  Set errno to 0.
26049         (check_long): Likewise.
26050         (check_bool): Likewise.
26051         (check_longlong): Likewise.
26052         (cos_test): Use ERRNO_* flags for errno tests instead of
26053         check_int.
26054         (expm1_test): Likewise.
26055         (fmod_test): Likewise.
26056         (ilogb_test): Likewise.
26057         (lgamma_test): Likewise.
26058         (pow_test): Likewise.
26059         (remainder_test): Likewise.
26060         (sin_test): Likewise.
26061         (tan_test): Likewise.
26062         (yn_test): Likewise.
26063         (initialize): Set errno to 0.
26064         (main): Print number of errno tests.
26065         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26067 2013-04-29  Andreas Jaeger  <aj@suse.de>
26069         [BZ #15084]
26070         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26071         and RES_USEVC.
26073         [BZ #15085]
26074         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26075         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26076         unimplemented.
26078         [BZ #15380]
26079         * stdlib/random.c (__initstate): Return NULL if
26080         __initstate fails.
26082         [BZ #15086]
26083         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26084         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26085         RES_SNGLKUPREOP.
26087 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26091 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26093         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26094         of individual tests.
26095         (casin_test): Likewise.
26096         (casinh_test): Likewise.
26098 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26100         [BZ #15409]
26101         * math/s_catan.c (__catan): Handle arguments with large real or
26102         imaginary part separately without squaring.
26103         * math/s_catanf.c (__catanf): Likewise.
26104         * math/s_catanh.c (__catanh): Likewise.
26105         * math/s_catanhf.c (__catanhf): Likewise.
26106         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26107         and redefine.
26108         (__catanhl): Handle arguments with large real or imaginary part
26109         separately without squaring.
26110         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26111         and redefine.
26112         (__catanl): Handle arguments with large real or imaginary part
26113         separately without squaring.
26114         * math/libm-test.inc (catan_test): Add more tests.
26115         (catanh_test): Likewise.
26116         * sysdeps/i386/fpu/libm-test-ulps: Update.
26117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26119 2013-04-27  Andreas Jaeger  <aj@suse.de>
26121         [BZ #15007]
26122         * stdlib/stdlib.h: Update guards for qecvt.
26123         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26124         <stdlib.h>.
26126 2013-04-27  Allan McRae  <allan@archlinux.org>
26128         * sysdeps/i386/fpu/libm-test-ulps: Update.
26130 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26132         [BZ #15406]
26133         * math/s_catan.c: Include <float.h>.
26134         (__catan): Ensure underflow exception occurs for underflowed
26135         result.
26136         * math/s_catanf.c: Include <float.h>.
26137         (__catanf): Ensure underflow exception occurs for underflowed
26138         result.
26139         * math/s_catanh.c: Include <float.h>.
26140         (__catanh): Ensure underflow exception occurs for underflowed
26141         result.
26142         * math/s_catanhf.c: Include <float.h>.
26143         (__catanhf): Ensure underflow exception occurs for underflowed
26144         result.
26145         * math/s_catanhl.c: Include <float.h>.
26146         (__catanhl): Ensure underflow exception occurs for underflowed
26147         result.
26148         * math/s_catanl.c: Include <float.h>.
26149         (__catanl): Ensure underflow exception occurs for underflowed
26150         result.
26151         * math/libm-test.inc (catan_test): Add more tests.
26152         (catanh_test): Likewise.
26154         [BZ #15405]
26155         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26156         underflowed result.
26157         * math/s_ccoshf.c (__ccoshf): Likewise.
26158         * math/s_ccoshl.c (__ccoshl): Likewise.
26159         * math/s_csin.c (__csin): Likewise.
26160         * math/s_csinf.c (__csinf): Likewise.
26161         * math/s_csinh.c (__csinh): Likewise.
26162         * math/s_csinhf.c (__csinhf): Likewise.
26163         * math/s_csinhl.c (__csinhl): Likewise.
26164         * math/s_csinl.c (__csinl): Likewise.
26165         * math/libm-test.inc (ccos_test): Add more tests.
26166         (ccosh_test): Likewise.
26167         (csin_test): Likewise.
26168         (csinh_test): Likewise.
26170 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26172         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26173         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26174         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26175         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26176         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26177         powerpc/power5+/fpu folders.
26178         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26181 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26183         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26185 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26187         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26188         additions to variable.
26189         [$(config-machine) = x86_64] (modules-names): Likewise.
26190         ($(objpfx)tst-audit3): Remove dependency.
26191         ($(objpfx)tst-audit3.out): Likewise.
26192         ($(objpfx)tst-audit4): Likewise.
26193         ($(objpfx)tst-audit4.out): Likewise.
26194         ($(objpfx)tst-audit5): Likewise.
26195         ($(objpfx)tst-audit5.out): Likewise.
26196         ($(objpfx)tst-audit6): Likewise.
26197         ($(objpfx)tst-audit6.out): Likewise.
26198         ($(objpfx)tst-audit7): Likewise.
26199         ($(objpfx)tst-audit7.out): Likewise.
26200         (tst-audit3-ENV): Remove variable.
26201         (tst-audit4-ENV): Likewise.
26202         (tst-audit5-ENV): Likewise.
26203         (tst-audit6-ENV): Likewise.
26204         (tst-audit7-ENV): Likewise.
26205         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26206         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26207         addition to variable.
26208         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26209         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26210         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26211         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26212         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26213         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26214         tst-audit3, tst-audit4 and tst-audit5.
26215         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26216         tst-audit6 and tst-audit7.
26217         [$(subdir) = elf] (modules-names): Add audit modules for those
26218         tests.
26219         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26220         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26221         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26222         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26223         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26224         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26225         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26226         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26227         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26228         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26229         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26230         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26231         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26232         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26233         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26234         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26235         Likewise.
26236         [$(subdir) = elf && $(config-cflags-avx) = yes]
26237         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26238         [$(subdir) = elf && $(config-cflags-avx) = yes]
26239         (CFLAGS-tst-auditmod4a.c): Likewise.
26240         [$(subdir) = elf && $(config-cflags-avx) = yes]
26241         (CFLAGS-tst-auditmod4b.c): Likewise.
26242         [$(subdir) = elf && $(config-cflags-avx) = yes]
26243         (CFLAGS-tst-auditmod6b.c): Likewise.
26244         [$(subdir) = elf && $(config-cflags-avx) = yes]
26245         (CFLAGS-tst-auditmod6c.c): Likewise.
26246         [$(subdir) = elf && $(config-cflags-avx) = yes]
26247         (CFLAGS-tst-auditmod7b.c): Likewise.
26248         * elf/tst-audit3.c: Move to ...
26249         * sysdeps/x86_64/tst-audit3.c: ... here.
26250         * elf/tst-audit4.c: Move to ...
26251         * sysdeps/x86_64/tst-audit4.c: ... here.
26252         * elf/tst-audit5.c: Move to ...
26253         * sysdeps/x86_64/tst-audit5.c: ... here.
26254         * elf/tst-audit6.c: Move to ...
26255         * sysdeps/x86_64/tst-audit6.c: ... here.
26256         * elf/tst-audit7.c: Move to ...
26257         * sysdeps/x86_64/tst-audit7.c: ... here.
26258         * elf/tst-auditmod3a.c: Move to ...
26259         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26260         * elf/tst-auditmod3b.c: Move to ...
26261         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26262         * elf/tst-auditmod4a.c: Move to ...
26263         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26264         * elf/tst-auditmod4b.c: Move to ...
26265         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26266         * elf/tst-auditmod5a.c: Move to ...
26267         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26268         * elf/tst-auditmod5b.c: Move to ...
26269         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26270         * elf/tst-auditmod6a.c: Move to ...
26271         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26272         * elf/tst-auditmod6b.c: Move to ...
26273         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26274         * elf/tst-auditmod6c.c: Move to ...
26275         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26276         * elf/tst-auditmod7a.c: Move to ...
26277         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26278         * elf/tst-auditmod7b.c: Move to ...
26279         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26281 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26283         [BZ #15366]
26284         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26285         define unconditionally.
26286         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26287         define unconditionally.
26288         (INT8_C, INT16_C, etc.): Likewise.
26290 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26292         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26293         __ehdr_start with hidden visibility.
26295         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26297 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26299         * math/libm-test.inc (cos_test): Use accurate hex constants.
26300         (sincost_test): Likewise.
26302 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26304         * math/libm-test.inc (catan_test): Add more tests.
26305         (catanh_test): Likewise.
26307         * math/s_catanf.c (__catanf): Use suffixed floating-point
26308         constants.
26309         * math/s_catanhf.c (__catanhf): Likewise.
26310         * math/s_catanhl.c (__catanhl): Likewise.
26311         * math/s_catanl.c (__catanl): Likewise.
26313         [BZ #15394]
26314         * math/s_catan.c (__catan): Calculate imaginary part of result
26315         with log1p not log unless computing log of number close to 0.
26316         * math/s_catanf.c (__catanf): Likewise.
26317         * math/s_catanl.c (__catanl): Likewise.
26318         * math/s_catanh.c (__catanh): Calculate real part of result with
26319         log1p not log unless computing log of number close to 0.
26320         * math/s_catanhf.c (__catanhf): Likewise.
26321         * math/s_catanhl.c (__catanhl): Likewise.
26322         * math/libm-test.inc (catan_test): Add more tests.
26323         (catanh_test): Likewise.
26324         * sysdeps/i386/fpu/libm-test-ulps: Update.
26325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26327 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26329         * benchtests/Makefile: Mention files in which fast and slow
26330         paths of math functions are implemented.
26332 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26334         * sysdeps/posix/timespec_get.c: New file.
26336 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26338         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26339         POWER.
26340         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26341         for POWER.
26342         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26343         powerpc/power5/fpu folders.
26344         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26345         * benchtests/Makefile: Add modf testcase.
26346         * benchtests/bench-modf.c: New file: Benchmark test for mo
26348 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26350         [BZ #14888]
26351         * time/Makefile (tests): Add tst-strptime-whitespace.
26352         * time/strptime_l.c (get_number): Use ISSPACE.
26353         (__strptime_internal): Likewise.
26354         * time/tst-strptime-whitespace.c: New test case.
26356 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26358         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26359         member.
26360         (_nss_files_init): Set it here.
26362 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26364         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26365         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26366         unsigned.
26368 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26370         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26372 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26374         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26375         size just once.
26377 2013-04-21  David S. Miller  <davem@davemloft.net>
26379         * po/ru.po: Update Russion translation from translation project.
26381 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26383         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26384         and setfsgid.
26386 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26388         * configure.in: Remove i386 configure warning. Remove i386 case.
26389         * configure: Regenerate.
26390         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26391         Add example to error message.
26392         * sysdeps/i386/configure: Regenerate.
26394 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26396         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26397         slowtan.
26398         * benchtests/cos-inputs: New file.
26399         * benchtests/slowcos-inputs: New file.
26400         * benchtests/slowcos.c: New file.
26401         * benchtests/slowtan-inputs: New file.
26402         * benchtests/slowtan.c: New file.
26403         * benchtests/tan-inputs: New file.
26405 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26407         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26408         considered kosher.
26410 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26412         * benchtests/Makefile: Include cppflags-iterator.mk to add
26413         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26415         * Makefile.in (bench-clean): New target.
26416         * benchtests/Makefile (bench-clean): Likewise.
26418 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26420         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26422 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26424         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26426 2013-04-15  Andreas Schwab  <schwab@suse.de>
26428         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26429         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26430         * nscd/pwdcache.c (cache_addpw): Likewise.
26431         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26432         more than recsize.
26434 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26436         * benchtests/Makefile (bench): Write all output to
26437         bench-out.tmp together.
26439 2013-04-15  Andreas Schwab  <schwab@suse.de>
26441         * nscd/nscd.c (main): Don't fork again after closing files.
26443 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26445         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26447         * benchtests/Rules (bench-deps): Collect dependencies into a
26448         single variable.  Add Makefile to dependencies.
26449         ($(objpfx)bench-%.c): Depend on bench-deps.
26451 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26452             Xavier Roche  <roche+kml2@exalead.com>
26454         [BZ #15361]
26455         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26456         just that it's a file descriptor.
26457         * manual/llio.texi (Synchronizing AIO Operations): Update description
26458         for EBADF error from aio_fsync.
26460 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26462         * Rules (bench): Move target definition...
26463         * benchtests/Makefile: ... here.
26465 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26467         * math/libm-test.inc (cos_test): Fix PI/2 test.
26468         (sincos_test): Likewise.
26469         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26470         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26472 2013-04-11  Andreas Schwab  <schwab@suse.de>
26474         [BZ #13988]
26475         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26476         accept exponent character only when digits were seen.
26477         * stdio-common/Makefile (tests): Add bug26.
26478         * stdio-common/bug26.c: New file.
26480         [BZ #14293]
26481         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26482         non-freeable.
26484 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26486         * Makeconfig (rtld-prefix): Define built linker prefix.
26487         * Rules (run-bench): Use it.
26488         * math/Makefile (run-regen-ulps): Likewise.
26490         * Rules (bench): Remove eval.
26492 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26493             Roland McGrath  <roland@hack.frob.com>
26494             Ondrej Bilka  <neleai@seznam.cz>
26496         [BZ #15346]
26497         * time/getdate.c: Include ctype.h and alloca.h.
26498         (__getdate_r): Trim leading and trailing spaces of input.
26499         * time/tst-getdate.c (tests): Add tests with leading and
26500         trailing spaces.
26502 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26504         [BZ #14280]
26505         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26506         when computing value.
26508 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26510         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26511         Use testrun.sh to run libm tests.
26513         [BZ #15309]
26514         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26516 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26518         [BZ #15264]
26519         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26521 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26523         * Makefile.in (regen-ulps): New target.
26524         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26525         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26526         [ifneq (no,$(PERL)] (regen-ulps): New target.
26527         [ifeq (no,$(PERL)] (regen-ulps): New target.
26528         * math/libm-test.inc (ulps_file_name): Define.
26529         (output_dir): New variable.
26530         (options): Add "output-dir" option.
26531         (parse_opt): Handle 'o' case.
26532         (main): If output_dir is non-NULL use it as a prefix
26533         otherwise use "".
26534         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26536 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26538         [BZ #10060, #10062]
26539         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26540         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26541         fail configure if __sync_val_compare_and_swap is not inlined.
26542         * sysdeps/i386/configure: Regenerate.
26543         * configure.in: Build for i686 when configured for i386.
26544         * configure: Regenerate.
26545         * README: Remove i386 reference.
26547 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26549         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26550         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26552 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26554         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26555         (lmsnanval): New variables.
26556         (F): Add conversion tests.
26557         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26558         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26560         * stdio-common/tstdiomisc.c (F): Properly collect individual
26561         tests' results.
26563         [BZ #14686, #15336]
26564         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26565         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26566         Instead, use input NaN values or generate a qNaN by arithmetic
26567         operation.  Also fix bugs to comply with the standard.
26568         * math/libm-test.inc (remainder_test): Add more tests.
26570         [BZ #15335, #15342]
26571         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26572         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26573         input NaN values or generate a qNaN by arithmetic operation.
26575         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26576         unreachable code.
26578         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26579         definitions.
26581 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26583         [BZ #14478]
26584         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26585         underflowed result.
26586         * math/s_cexpf.c (__cexpf): Likewise.
26587         * math/s_cexpl.c (__cexpl): Likewise.
26588         * math/libm-test.inc (cexp_test): Add more tests.
26590 2013-04-03  Andreas Schwab  <schwab@suse.de>
26592         [BZ #15330]
26593         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26594         order arrays from heap if bigger than alloca cutoff.
26596 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26598         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26599         (SNAN_TESTS_double): Refer to GCC PR56831.
26600         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26601         GCC PR56828.
26603 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26605         * Rules (bench): Move bench.out after the run is complete.
26607         * Rules (bench): Echo currently running benchmark.
26609         * benchtests/Makefile (bench): Add atan and slowatan.
26610         * benchtests/atan-inputs: New file.
26611         * benchtests/slowatan-inputs: New file.
26612         * benchtests/slowatan.c: New file.
26614         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26615         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26616         its value.
26618         [BZ #15305]
26619         * sysdeps/unix/sysv/linux/kernel-features.h
26620         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26621         __ASSUME_XFS_RESTRICTED_CHOWN.
26622         * sysdeps/unix/sysv/linux/pathconf.c
26623         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26624         Save and restore errno.
26626 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26628         [BZ #15327]
26629         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26630         arguments using __kernel_casinh.
26631         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26632         arguments using __kernel_casinhf.
26633         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26634         arguments using __kernel_casinhl.
26635         * math/libm-test.inc (cacosh_test): Add more tests.
26636         * sysdeps/i386/fpu/libm-test-ulps: Update.
26637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26639 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26641         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26642         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26644         * bench/Makefile (bench): Add sin and slowsin.
26645         * benchtests/sin-inputs: New file.
26646         * benchtests/slowsin-inputs: New file.
26647         * benchtests/slowsin.c: New file.
26649         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26650         (bench): Add slowexp and slowpow.
26651         (exp-ITER): Increase iterations.
26652         (pow-ITER): Likewise.
26653         * benchtests/exp-inputs: Change input.
26654         * benchtests/pow-inputs: Likewise.
26655         * benchtests/slowexp-inputs: New file.
26656         * benchtests/slowexp.c: New file.
26657         * benchtests/slowpow-inputs: New file.
26658         * benchtests/slowpow.c: New file.
26660 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26662         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26663         instructions.
26664         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26665         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26666         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26667         * benchtests/Makefile: Add rint benchtest.
26668         * benchtests/rint-inputs: Input for rint benchtest.
26670 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26672         * Versions.def (libm): Add GLIBC_2.18.
26673         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26674         hidden libm prototypes.
26675         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26676         * math/Makefile (libm-calls): Add s_issignaling.
26677         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26678         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26679         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26680         declaration.
26681         * math/math.h [__USE_GNU] (issignaling): New macro.
26682         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26683         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26684         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26685         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26686         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26687         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26688         * manual/arith.texi (issignaling): New section.
26689         * manual/libm-err-tab.pl (@all_functions): Update comment.
26690         * math/gen-libm-test.pl (parse_args): Apply special handling for
26691         issignaling.
26692         * math/libm-test.inc (print_float, issignaling_test): New
26693         functions.
26694         (check_float_internal): Add issignaling checks.
26695         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26696         default definition.
26697         * sysdeps/powerpc/math-tests.h: New file.
26698         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26699         tests.
26700         * math/test-snan.c (TEST_FUNC): Likewise.
26702 2013-03-30  David S. Miller  <davem@davemloft.net>
26704         * po/de.po: Update from translation team.
26706 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26708         [BZ #10357]
26709         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26710         imaginary part less than 1.0 and real part less than 0.5
26711         specially.
26712         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26713         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26714         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26715         (cacos_test): Add more tests.
26716         (casin_test): Likewise.
26717         (casinh_test): Likewise.
26718         * sysdeps/i386/fpu/libm-test-ulps: Update.
26719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26721 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26723         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26724         ONE with its value.
26726         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26727         (__pow_mp): Replace ONE and MONE with their values.
26728         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26730         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26731         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26732         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26733         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26735         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26737         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26738         (__pow_mp): Replace ZERO and MZERO with their values.
26739         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26740         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26741         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26742         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26743         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26744         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26745         (__sqr): Likewise.
26747         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26749         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26751 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26753         * include/stdlib.h [!SHARED] (__call_tls_dtors):
26754         Declare with __attribute__ ((weak)).
26755         * stdlib/exit.c (__libc_atexit) [!SHARED]:
26756         Call __call_tls_dtors only if it's not NULL.
26758 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26760         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26761         didn't do it already, then set _dl_phdr and _dl_phnum based on the
26762         magic __ehdr_start linker symbol if it's defined.
26763         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26764         them up here if it was already done.
26766         * elf/dl-support.c (_dl_phdr): Make pointer to const.
26767         (_dl_aux_init): Use const in cast when setting it.
26768         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26769         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26770         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26772         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26773         Declare them here.
26774         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26775         * csu/libc-tls.c: Nor here.
26776         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26778         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26779         (__libc_message): Never call vsyslog.
26781 2013-03-28  Alan Modra  <amodra@gmail.com>
26783         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26784         Define as empty.
26785         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26786         Likewise.
26788 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26790         [BZ #15214]
26791         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26792         underflow.
26793         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26795 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26797         [BZ #15304]
26798         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26799         Don't add gid passed as argument.
26801         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26803 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
26805         [BZ #15307]
26806         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26807         imaginary part between 1.0 and 1.5 and real part less than 0.5
26808         specially.
26809         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26810         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26811         * math/libm-test.inc (cacos_test): Add more tests.
26812         (casin_test): Likewise.
26813         (casinh_test): Likewise.
26814         * sysdeps/i386/fpu/libm-test-ulps: Update.
26815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26817 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26819         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26820         constants.
26821         (norm): Likewise.
26822         (denorm): Likewise.
26823         (__dbl_mp): Likewise.
26824         (add_magnitudes): Likewise.
26825         (sub_magnitudes): Likewise.
26826         (__add): Likewise.
26827         (__sub): Likewise.
26828         (__mul): Likewise.
26829         (__sqr): Likewise.
26830         (__inv): Likewise.
26831         (__dvd): Likewise.
26833         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26834         commented code.
26835         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26836         (__dubcos): Likewise.
26837         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26838         (__ieee754_acos): Likewise.
26839         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26840         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26841         (__exp1): Likewise.
26842         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26844         (log1): Likewise.
26845         (my_log2): Likewise.
26846         (checkint): Likewise.
26847         * sysdeps/ieee754/dbl-64/e_remainder.c
26848         (__ieee754_remainder): Likewise.
26849         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26850         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26851         (bsloww): Likewise.
26852         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26854         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26855         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26856         MANTISSA_STORE_T to store computations on mantissa.  Use
26857         macros for rounding and division.
26858         (denorm): Likewise.
26859         (__dbl_mp): Likewise.
26860         (add_magnitudes): Likewise.
26861         (sub_magnitudes): Likewise.
26862         (__mul): Likewise.
26863         (__sqr): Likewise.
26864         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26865         powers of two in terms of TWOPOW macro.
26866         (mp_no): Make type of mantissa as MANTISSA_T.
26867         [!RADIXI]: Define RADIXI.
26868         [!TWO52]: Define TWO52.
26869         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26871 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26873         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26874         llroundl symbol when building for PPC32.
26876 2013-03-24  Mark H Weaver  <mhw@netris.org>
26878         * manual/arith.texi (Normalization Functions): Fix prototypes for
26879         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26881 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26883         [BZ #13889]
26884         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26885         high value to check if expl overflow.
26886         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26887         to check for underflow and overflow.
26888         * math/libm-test.inc: Add exp test.
26890 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
26892         [BZ #11120]
26893         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26894         with NOT_IN_libc.
26896 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26898         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26899         symbol.
26901 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26903         * math/gen-libm-test.pl (parse_args, special_functions): Properly
26904         wrap blocks consisting of several statements.
26906         * sysdeps/generic/math-tests.h: New file.
26907         * sysdeps/i386/fpu/math-tests.h: Likewise.
26908         * math/test-snan.c: Include it.
26909         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26911 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26913         [BZ #15285]
26914         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26915         (__ieee754_j0l): Do not improve calculations using cos of twice
26916         input for inputs above LDBL_MAX / 2.0L.
26917         (__ieee754_y0l): Likewise.
26918         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26919         (__ieee754_j1l): Do not improve calculations using cos of twice
26920         input for inputs above LDBL_MAX / 2.0L.
26921         (__ieee754_y1l): Likewise.
26922         * math/libm-test.inc (j0_test): Add another test.
26923         (j1_test): Likewise.
26924         (y0_test): Likewise.
26925         (y1_test): Likewise.
26926         * sysdeps/i386/fpu/libm-test-ulps: Update.
26928 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26930         * Rules ($(objpfx)bench-%.c): Include code from a C source
26931         file.
26933 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26935         [BZ #15287]
26936         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26937         imaginary part 1.0 and real part less than 0.5 specially.
26938         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26939         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26940         * math/libm-test.inc (cacos_test): Add more tests.
26941         (casin_test): Likewise.
26942         (casinh_test): Likewise.
26943         * sysdeps/i386/fpu/libm-test-ulps: Update.
26944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26946 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26948         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26949         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26951 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
26953         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26954         * config.make.in (config-cflags-sse4): Remove variable.
26955         (config-cflags-avx): Likewise.
26956         (config-cflags-sse2avx): Likewise.
26957         (config-cflags-novzeroupper): Likewise.
26958         (config-asflags-i686): Likewise.
26959         (have-mfma4): Likewise.
26960         (have-as-vis3): Likewise.
26961         (MIG): Likewise.
26962         * configure.in (MIG): Do not AC_SUBST.
26963         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26964         (libc_cv_cc_sse4): Do not AC_SUBST.
26965         (libc_cv_cc_avx): Likewise.
26966         (libc_cv_cc_sse2avx): Likewise.
26967         (libc_cv_cc_novzeroupper): Likewise.
26968         (libc_cv_cc_fma4): Likewise.
26969         (libc_cv_as_i686): Likewise.
26970         (libc_cv_sparc_as_vis3): Likewise.
26971         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26972         LIBC_CONFIG_VAR.
26973         (config-asflags-i686): Likewise.
26974         (config-cflags-avx): Likewise.
26975         (config-cflags-sse2avx): Likewise.
26976         (have-mfma4): Likewise.
26977         (config-cflags-novzeroupper): Likewise.
26978         * sysdeps/mach/configure.in (MIG): Likewise.
26979         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26980         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26981         LIBC_CONFIG_VAR.
26982         (config-cflags-avx): Likewise.
26983         (config-cflags-sse2avx): Likewise.
26984         (have-mfma4): Likewise.
26985         (config-cflags-novzeroupper): Likewise.
26986         * configure: Regenerated.
26987         * sysdeps/i386/configure: Likewise.
26988         * sysdeps/mach/configure: Likewise.
26989         * sysdeps/sparc/configure: Likewise.
26990         * sysdeps/x86_64/configure: Likewise.
26992 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26994         [BZ #14812]
26995         * locale/programs/localedef.c (options): Put N_ translation marker
26996         on argument names, not just descriptions.
26998 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27000         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27002 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27004         [BZ #14176]
27005         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27007 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27009         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27010         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27011         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27012         [!BEFORE_ABORT] (before_abort): New function.
27013         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27014         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27015         (writev_for_fatal): New function.
27016         (WRITEV_FOR_FATAL): New macro; call that.
27017         (backtrace_and_maps): New function.
27018         (BEFORE_ABORT): New macro; call that.
27019         (struct str_list): Type removed.
27020         (__libc_message, __libc_fatal): Functions removed.
27021         Include <sysdeps/posix/libc_fatal.c> instead.
27023 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27025         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27026         constants.
27027         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27028         double constants.
27030 2013-03-19  Andreas Schwab  <schwab@suse.de>
27032         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27033         * sysdeps/gnu/configure: Regenerate.
27035         * configure.in: Substitute libc_cv_rtlddir.
27036         * configure: Regenerate.
27037         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27038         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27039         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27040         * elf/Makefile (install-others, CFLAGS-interp.c)
27041         (ldso_install, common-ldd-rewrite): Likewise.
27042         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27043         $(inst_slibdir)/$(rtld-installed-name).
27044         * scripts/rellns-sh: Add -p option.
27045         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27046         for source.
27048 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27050         * manual/nptl.texi: Renamed to ...
27051         * manual/threads.texi: ... this.
27052         * manual/Makefile (chapters): Update.
27054 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27056         [BZ #14812]
27057         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27058         on argument names, not just descriptions.
27059         * malloc/memusagestat.c (options): Likewise.
27060         * nss/getent.c (options): Likewise.
27062 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27064         [BZ #14812]
27065         * iconv/iconv_prog.c (options): Put N_ translation marker
27066         on argument names, not just descriptions.
27067         * iconv/iconvconfig.c (options): Likewise.
27069 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27071         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27072         implementation which is faster on all x86_64 architectures.
27073         Tested on AMD, Intel Nehalem, SNB, IVB.
27074         * sysdeps/x86_64/strnlen.S: Likewise.
27076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27077         Remove all multiarch strlen and strnlen versions.
27078         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27079         Remove strlen and strnlen related parts.
27081         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27082         Inline strlen part.
27083         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27085         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27086         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27087         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27088         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27089         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27090         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27092 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27094         * manual/memory.texi (Malloc Tunable Parameters):
27095         Sort parameters alphabetically. Add comments for missing entries.
27097 2013-03-17  David S. Miller  <davem@davemloft.net>
27099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27101 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27103         [BZ #15283]
27104         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27105         for arguments at most half maximum finite value.
27106         * math/libm-test.inc (j0_test): Add more tests.
27107         (j1_test): Likewise.
27108         (y0_test): Likewise.
27109         (y1_test): Likewise.
27110         * sysdeps/i386/fpu/libm-test-ulps: Update.
27111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27113         [BZ #14155]
27114         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27115         1 / x and functions P and Q for arguments above 0x1p256L.
27116         (__ieee754_y0l): Likewise.
27117         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27118         (__ieee754_y1l): Likewise.
27119         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27120         (j1_test): Likewise.
27121         (y0_test): Likewise.
27122         (y1_test): Likewise.
27124 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27126         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27127         variable.
27129 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27131         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27132         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27133         zero since it's initialized to EXEC_PAGESIZE.
27135         * sysdeps/unix/sysv/linux/ldsodefs.h
27136         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27137         * sysdeps/generic/ldsodefs.h: ... here.
27139 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27141         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27143         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27144         math/test-snan.c.
27145         * math/test-snan.c: Renamed from
27146         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27147         * math/Makefile (tests): Add test-snan.
27148         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27149         test-powerpc-snan.
27151         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27152         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27153         functions.
27154         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27155         __builtin_nan family of functions.
27156         * math/libm-test.inc (initialize): Initialize qnan_value with
27157         __builtin_nan family of functions.
27158         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27159         Remove variables.
27160         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27161         Remove functions.
27162         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27163         storage class.  Initialize qNaN_var and sNaN_var with
27164         __builtin_nan and __builtin_nans families of functions,
27165         respectively.
27167         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27168         (sqrt_test): Remove duplicate test with qNaN input.
27169         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27170         (round_test, signbit_test, significand_test): Note missing +/-Inf
27171         as well as qNaN tests.
27173         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27174         qNaN_var.  Fix a few strings, too.
27175         * math/libm-test.inc (nan_value): Rename to qnan_value.
27176         * math/gen-libm-test.pl (%beautify): Adjust to that.
27177         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27178         * math/test-misc.c (main): Likewise.
27179         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27180         to __qnan_bytes, and __qnan_union, respectively.
27181         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27182         Likewise.
27183         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27184         and lqnanval, respectively.
27185         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27186         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27187         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27188         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27190         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27191         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27192         doubles.
27194         * math/test-misc.c (main): Fix copy'n'pastos.
27195         * misc/tst-efgcvt.c (special): Likewise.
27197         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27198         Remove declarations.
27200 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27202         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27203         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27204         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27205         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27207 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27209         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27210         macro to return vdso values correctly in IFUNC implementations.
27211         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27212         Optimization by using IFUNC.
27214 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27215             Richard Henderson  <rth@redhat.com>
27216             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27218         * Makefile.in (bench): New target.
27219         * NEWS: Mention the benchmark framework.
27220         * Rules (bench): Likewise.
27221         (binaries-bench): Generate binaries for functions to
27222         benchmark.
27223         * benchtests/Makefile: New makefile for benchmark tests.
27224         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27225         programs.
27226         * benchtests/exp-inputs: New input file for EXP function.
27227         * benchtests/pow-inputs: New input file for POW function.
27228         * scripts/bench.pl: New script to generate source files for
27229         benchmark programs.
27231 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27233         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27234         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27235         computations on mantissa.  Use macros for rounding and
27236         division.
27237         (denorm): Likewise.
27238         (__dbl_mp): Likewise.
27239         (add_magnitudes): Likewise.
27240         (sub_magnitudes): Likewise.
27241         (__mul): Likewise.
27242         (__sqr): Likewise.
27243         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27244         powers of two in terms of TWOPOW macro.
27245         (mp_no): Make type of mantissa as MANTISSA_T.
27246         [!RADIXI]: Define RADIXI.
27247         [!TWO52]: Define TWO52.
27248         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27250         * manual/nptl.texi (cindex): Modify threads to pthreads.
27252 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27254         * sysdeps/x86_64/preconfigure: Regenerated.
27256 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27258         [BZ #14155]
27259         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27260         0x1p28 and above.
27261         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27262         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27263         0x1p28 and above.
27264         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27265         * math/libm-test.inc (j0_test): Do not allow one spurious
27266         underflow exception.
27267         (y1_test): Likewise.
27269 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27271         * manual/Makefile (chapters): Add nptl.
27272         * manual/debug.texi (Debugging Support): Add link to Threads
27273         chapter.
27274         * manual/nptl.texi: New file.
27276         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27278 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27280         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27281         for non-NULL pointer before the memory validity test. Pointed
27282         out by Holger Brunck <holger.brunck@keymile.com>.
27284 2013-03-13  Andreas Schwab  <schwab@suse.de>
27286         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27287         instead of .os.
27289 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27291         * timezone/zic.c: Update from tzcode 2013b.
27293 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27295         * manual/install.texi (Configuring and compiling):
27296         Mention i686 and i586.
27297         * INSTALL: Regenerate.
27299 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27301         * sysdeps/init_array/elf-init.c: New file.
27302         * csu/elf-init.c
27303         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27304         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27306         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27307         __gmon_start__ as global, but as static with a .preinit_array pointer.
27308         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27309         * sysdeps/init_array/crti.S: New file, empty except for comments.
27310         * sysdeps/init_array/crtn.S: Likewise.
27312 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27314         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27315         definining bcopy.
27316         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27317         Remove Prefer_SSE_for_memop.
27318         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27319         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27320         HAS_PREFER_SSE_FOR_MEMOP.
27321         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27322         memset-x86-64.
27323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27324         Remove bzero, memset ifunc support.
27325         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27326         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27327         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27328         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27330 2013-03-11  Andreas Schwab  <schwab@suse.de>
27332         [BZ #15234]
27333         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27334         by SHLIB_COMPAT.
27335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27336         (GLIBC_2.16): Remove pthread_atfork.
27338 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27340         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27341         (ptestcases.h): Likewise.
27343 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27345         * Makeconfig ($(common-objpfx)config.status): Depend on
27346         sysdeps/*/preconfigure{,.in} too.
27348 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27350         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27351         (__free_hook): Use void * instead of __malloc_ptr_t.
27352         (__malloc_hook): Likewise.
27353         (__realloc_hook): Likewise.
27354         (__memalign_hook): Likewise.
27355         (__after_morecore_hook): Likewise.
27356         * malloc/arena.c (save_malloc_hook): Likewise.
27357         (save_free_hook): Likewise.
27358         * malloc/hooks.c (malloc_hook_ini): Likewise.
27359         (realloc_hook_ini): Likewise.
27360         (memalign_hook_ini): Likewise.
27361         * malloc/malloc.c (malloc_hook_ini): Likewise.
27362         (realloc_hook_ini): Likewise.
27363         (memalign_hook_ini): Likewise.
27364         (__free_hook): Likewise.
27365         (__malloc_hook): Likewise.
27366         (__realloc_hook): Likewise.
27367         (__memalign_hook): Likewise.
27368         (__libc_malloc): Likewise.
27369         (__libc_free): Likewise.
27370         (__libc_realloc): Likewise.
27371         (__libc_memalign): Likewise.
27372         (__libc_valloc): Likewise.
27373         (__libc_pvalloc): Likewise.
27374         (__libc_calloc): Likewise.
27375         (__posix_memalign): Likewise.
27376         * malloc/morecore.c (__sbrk): Likewise.
27377         (__default_morecore): Likewise.
27379         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27381         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27382         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27383         __malloc_ptrdiff_t.
27385         * malloc/malloc.h (__malloc_size_t): Remove macro.
27386         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27387         __malloc_size_t.
27388         (old_memalign_hook): Likewise.
27389         (old_realloc_hook): Likewise.
27390         (struct hdr): Likewise.
27391         (flood): Likewise.
27392         (mallochook): Likewise.
27393         (memalignhook): Likewise.
27394         (reallochook): Likewise.
27395         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27396         (tr_old_realloc_hook): Likewise.
27397         (tr_old_memalign_hook): Likewise.
27398         (tr_mallochook): Likewise.
27399         (tr_reallochook): Likewise.
27400         (tr_memalignhook): Likewise.
27402 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27404         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27405         default_ldbl_pack and using as default implementation.
27406         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27407         implementation.
27408         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27409         redundant definition.
27410         (ldbl_insert_mantissa): Likewise.
27411         (ldbl_canonicalize): Likewise.
27412         (ldbl_nearbyint): Likewise.
27413         (ldbl_pack): Rename to ldbl_pack_ppc.
27414         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27415         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27416         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27418 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27421         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27422         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27423         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27424         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27425         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27426         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27427         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27429 2013-03-07  Andreas Jaeger  <aj@suse.de>
27431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27432         bits/mman-linux.h.
27434 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27436         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27437         Include mpa.h and declare __MPEXP.
27438         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27439         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27440         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27441         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27442         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27443         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27444         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27446         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27447         (__slowpow): Use long double EXPL and LOGL functions to
27448         compute POW.
27449         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27450         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27451         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27452         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27453         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27454         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27456         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27457         intermediate variable to calculate exponent.
27458         (__sqr): Likewise.
27459         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27460         Likewise.
27461         (__sqr): Likewise.
27463         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27464         [!NO__SQR]: Define __sqr.
27465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27466         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27467         sysdeps/ieee754/dbl-64/mpa.c.
27468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27470         [BZ #12723]
27471         * posix/Makefile (tests): Add tst-pathconf.
27472         * posix/tst-pathconf.c: New test case.
27473         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27474         _PC_PIPE_BUF.
27475         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27477 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27479         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27481 2013-03-06  Andreas Jaeger  <aj@suse.de>
27483         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27484         definition via __MAP_ANONYMOUS.
27486         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27487         it's not part of Linux headers.
27489         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27490         (MAP_HUGE_MASK): Define.
27492         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27493         Define.
27494         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27495         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27496         Define.
27497         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27498         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27499         Define.
27500         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27501         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27502         Define.
27503         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27505         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27506         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27507         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27508         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27509         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27510         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27512         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27513         Handle f2fs.
27515         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27516         Handle f2fs and efivarfs.
27518         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27519         f2fs.
27521         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27522         (EFIVARFS_MAGIC): Add.
27523         (F2FS_LINK_MAX): Add.
27525 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27527         * stdio-common/vfprintf.c: Replace __builtin_expect with
27528         __glibc_unlikely.
27530 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27532         [BZ #13550]
27533         * sysdeps/generic/bp-sym.h: Remove file.
27534         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27535         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27536         <bp-sym.h> and <bp-asm.h>.
27537         (__longjmp): Don't use BP_SYM.
27538         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27539         and <bp-asm.h>.
27540         (memcpy): Don't use BP_SYM.
27541         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27542         <bp-sym.h> and <bp-asm.h>.
27543         (memcpy): Don't use BP_SYM.
27544         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27545         <bp-asm.h>.
27546         (memcpy): Don't use BP_SYM.
27547         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27548         <bp-asm.h>.
27549         (memset): Don't use BP_SYM.
27550         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27551         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27552         (__bzero): Don't use BP_SYM.
27553         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27554         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27555         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27556         <bp-sym.h> and <bp-asm.h>.
27557         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27558         pointers.
27559         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27560         <bp-sym.h> and <bp-asm.h>.
27561         (memcpy): Don't use BP_SYM.
27562         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27563         <bp-sym.h> and <bp-asm.h>.
27564         (memset): Don't use BP_SYM.
27565         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27566         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27567         (__bzero): Don't use BP_SYM.
27568         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27569         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27570         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27571         <bp-sym.h> and <bp-asm.h>.
27572         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27573         pointers.
27574         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27575         <bp-sym.h> and <bp-asm.h>.
27576         (memcpy): Don't use BP_SYM.
27577         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27578         <bp-sym.h> and <bp-asm.h>.
27579         (memset): Don't use BP_SYM.
27580         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27581         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27582         (__bzero): Don't use BP_SYM.
27583         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27584         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27585         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27586         <bp-sym.h> and <bp-asm.h>.
27587         (__memchr): Don't use BP_SYM.
27588         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27589         <bp-sym.h> and <bp-asm.h>.
27590         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27591         pointers.
27592         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27593         <bp-sym.h> and <bp-asm.h>.
27594         (memcpy): Don't use BP_SYM.
27595         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27596         <bp-sym.h> and <bp-asm.h>.
27597         (__mempcpy): Don't use BP_SYM.
27598         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27599         <bp-sym.h> and <bp-asm.h>.
27600         (__memrchr): Don't use BP_SYM.
27601         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27602         <bp-sym.h> and <bp-asm.h>.
27603         (memset): Don't use BP_SYM.
27604         (__bzero): Likewise.
27605         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27606         <bp-sym.h> and <bp-asm.h>.
27607         (__rawmemchr): Don't use BP_SYM.
27608         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27609         <bp-sym.h> and <bp-asm.h>.
27610         (__STRCMP): Don't use BP_SYM.
27611         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27612         <bp-sym.h> and <bp-asm.h>.
27613         (strchr): Don't use BP_SYM.
27614         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27615         <bp-sym.h> and <bp-asm.h>.
27616         (__strchrnul): Don't use BP_SYM.
27617         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27618         <bp-sym.h> and <bp-asm.h>.
27619         (strlen): Don't use BP_SYM.
27620         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27621         <bp-sym.h> and <bp-asm.h>.
27622         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27623         pointers.
27624         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27625         <bp-sym.h> and <bp-asm.h>.
27626         (__strnlen): Don't use BP_SYM.
27627         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27628         <bp-sym.h> and <bp-asm.h>.
27629         (__GI__setjmp): Don't use BP_SYM.
27630         (_setjmp): Likewise.
27631         (__sigsetjmp): Likewise.
27632         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27633         (L(start_addresses)): Don't use BP_SYM.
27634         (_start): Likewise.
27635         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27636         <bp-asm.h>.
27637         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27638         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27639         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27640         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27641         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27642         <bp-asm.h>.
27643         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27644         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27645         about bounded pointers.
27646         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27647         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27648         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27649         <bp-asm.h>.
27650         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27651         about bounded pointers.  Remove GKM FIXME comments.
27652         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27653         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27654         <bp-asm.h>.
27655         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27656         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27657         Remove GKM FIXME comments.
27658         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27659         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27660         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27661         <bp-asm.h>.
27662         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27663         about bounded pointers.  Remove GKM FIXME comment.
27664         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27665         and <bp-asm.h>.
27666         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27667         pointers.
27668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27669         <bp-sym.h> and <bp-asm.h>.
27670         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27672         <bp-sym.h> and <bp-asm.h>.
27673         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27674         comment.
27676 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27678         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27679         call free(NULL).
27681 2013-03-05  David S. Miller  <davem@davemloft.net>
27683         * po/es.po: Update from translation team.
27685 2013-03-05  Andreas Jaeger  <aj@suse.de>
27687         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27688         <bits/mman-linux.h>.
27689         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27690         is fine.
27691         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27692         <bits/mman-linux.h> to end of file.
27693         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27694         is fine.
27695         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27696         <bits/mman-linux.h> to end of file.
27697         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27698         is fine.
27699         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27700         <bits/mman-linux.h> to end of file.
27702         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27703         (MCL_CURRENT, MCL_FUTURE): Define here.
27705 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27707         [BZ #15232]
27708         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27709         attribute_hidden.
27710         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27712 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27714         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27715         fourth parameter needed for rt_sigprocmask syscall.
27716         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27717         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27718         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27719         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27720         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27721         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27723 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27725         [BZ #13550]
27726         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27727         comment about bounded pointers.
27728         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27729         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27731 2013-03-04  Andreas Jaeger  <aj@suse.de>
27733         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27734         common definitions.
27736         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27737         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27738         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27739         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27740         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27741         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27743 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27745         [BZ #15055]
27746         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27747         __ieee754_sqrl instead of __sqrl.
27749 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
27751         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27752         * sysdeps/powerpc/fpu_control.h: ... here.
27753         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27754         * sysdeps/powerpc/bits/fenvinline.h: ... here.
27755         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27756         * sysdeps/powerpc/bits/mathinline.h: ... here.
27758 2013-03-01  Roland McGrath  <roland@hack.frob.com>
27760         * elf/dl-hwcaps.c (_dl_important_hwcaps):
27761         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27762         to just [NEED_DL_SYSINFO_DSO].
27763         * elf/dl-support.c: Likewise.
27764         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27765         * elf/rtld.c (dl_main): Likewise.
27766         * elf/setup-vdso.h (setup_vdso): Likewise.
27767         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27768         * sysdeps/unix/sysv/linux/dl-sysdep.c
27769         (_dl_discover_osversion): Likewise.
27771 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
27773         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27774         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27776 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27778         * NEWS: Mention libm performance improvements and non-x86 PI
27779         futex support.
27781         * csu/libc-start.c (__pthread_initialize_minimal): Change
27782         function arguments.
27783         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27785 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
27787         [BZ #13550]
27788         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27789         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27790         <bp-sym.h> and <bp-asm.h>.
27791         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27792         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27793         and <bp-asm.h>.
27794         (memcpy): Don't use BP_SYM.
27795         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27796         <bp-asm.h>.
27797         (__mpn_add_n): Don't use BP_SYM.
27798         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27799         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27800         and <bp-asm.h>.
27801         (__mpn_addmul_1): Don't use BP_SYM.
27802         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27803         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27804         <bp-sym.h>.
27805         (_setjmp): Don't use BP_SYM.
27806         (__novmx_setjmp): Likewise.
27807         (__GI__setjmp): Likewise.
27808         (__vmx_setjmp): Likewise.
27809         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27810         <bp-sym.h>.
27811         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27812         (__bzero): Don't use BP_SYM.
27813         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27814         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27815         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27816         <bp-sym.h> and <bp-asm.h>.
27817         (memcpy): Don't use BP_SYM.
27818         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27819         <bp-sym.h> and <bp-asm.h>.
27820         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27821         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27822         <bp-sym.h> and <bp-asm.h>.
27823         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27824         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27825         <bp-asm.h>.
27826         (__mpn_lshift): Don't use BP_SYM.
27827         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27828         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27829         <bp-asm.h>.
27830         (memset): Don't use BP_SYM.
27831         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27832         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27833         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27834         <bp-asm.h>.
27835         (__mpn_mul_1): Don't use BP_SYM.
27836         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27837         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27838         <bp-sym.h> and <bp-asm.h>.
27839         (memcmp): Don't use BP_SYM.
27840         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27841         <bp-sym.h> and <bp-asm.h>.
27842         (memcpy): Don't use BP_SYM.
27843         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27844         <bp-sym.h> and <bp-asm.h>.
27845         (memset): Don't use BP_SYM.
27846         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27847         <bp-sym.h> and <bp-asm.h>.
27848         (strncmp): Don't use BP_SYM.
27849         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27850         <bp-sym.h> and <bp-asm.h>.
27851         (memcpy): Don't use BP_SYM.
27852         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27853         <bp-sym.h> and <bp-asm.h>.
27854         (memset): Don't use BP_SYM.
27855         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27856         <bp-sym.h> and <bp-asm.h>.
27857         (__memchr): Don't use BP_SYM.
27858         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27859         <bp-sym.h> and <bp-asm.h>.
27860         (memcmp): Don't use BP_SYM.
27861         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27862         <bp-sym.h> and <bp-asm.h>.
27863         (memcpy): Don't use BP_SYM.
27864         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27865         <bp-sym.h> and <bp-asm.h>.
27866         (__mempcpy): Don't use BP_SYM.
27867         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27868         <bp-sym.h> and <bp-asm.h>.
27869         (__memrchr): Don't use BP_SYM.
27870         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27871         <bp-sym.h> and <bp-asm.h>.
27872         (memset): Don't use BP_SYM.
27873         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27874         <bp-sym.h> and <bp-asm.h>.
27875         (__rawmemchr): Don't use BP_SYM.
27876         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27877         <bp-sym.h> and <bp-asm.h>.
27878         (__STRCMP): Don't use BP_SYM.
27879         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27880         <bp-sym.h> and <bp-asm.h>.
27881         (strchr): Don't use BP_SYM.
27882         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27883         <bp-sym.h> and <bp-asm.h>.
27884         (__strchrnul): Don't use BP_SYM.
27885         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27886         <bp-sym.h> and <bp-asm.h>.
27887         (strlen): Don't use BP_SYM.
27888         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27889         <bp-sym.h> and <bp-asm.h>.
27890         (strncmp): Don't use BP_SYM.
27891         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27892         <bp-sym.h> and <bp-asm.h>.
27893         (__strnlen): Don't use BP_SYM.
27894         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27895         <bp-asm.h>.
27896         (__mpn_rshift): Don't use BP_SYM.
27897         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27898         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27899         <bp-sym.h> and <bp-asm.h>.
27900         (__sigsetjmp): Don't use BP_SYM.
27901         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27902         (L(start_addresses)): Don't use BP_SYM.
27903         (_start): Likewise.
27904         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27905         <bp-asm.h>.
27906         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27907         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27908         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27909         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27910         <bp-asm.h>.
27911         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27912         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27913         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27914         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27915         <bp-asm.h>.
27916         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27917         comments.
27918         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27919         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27920         <bp-asm.h>.
27921         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
27922         FIXME comments.
27923         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27924         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27925         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27926         <bp-asm.h>.
27927         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27928         comment.
27929         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27930         and <bp-asm.h>.
27931         (strncmp): Don't use BP_SYM,
27932         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27933         <bp-asm.h>.
27934         (__mpn_sub_n): Don't use BP_SYM.
27935         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27936         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27937         and <bp-asm.h>.
27938         (__mpn_submul_1): Don't use BP_SYM.
27939         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27941         <bp-sym.h> and <bp-asm.h>.
27942         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27944         <bp-sym.h> and <bp-asm.h>.
27945         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27946         comment.
27948 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27951         Use ZK to minimize writes to Z.
27952         (sub_magnitudes): Simplify code a bit.
27953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27954         Use ZK to minimize writes to Z.
27955         (sub_magnitudes): Simplify code a bit.
27957 2013-02-27  Roland McGrath  <roland@hack.frob.com>
27959         * csu/gmon-start.c: Add special exception to license text.
27961 2013-02-27  Richard Henderson  <rth@redhat.com>
27963         * scripts/config.guess: Update from config.git.
27964         * scripts/config.sub: Likewise.
27966 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27968         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27970         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27972         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27974         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27976         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27978 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27980         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27981         [$(build-shared = yes].
27983 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27985         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27986         (__mul): Reduce iterations for calculating mantissa.
27988         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27989         MPTWO.
27990         (__mpranred): Likewise.
27992         [BZ #15160]
27993         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27994         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27996 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27998         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27999         Define __attribute__.
28001 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28003         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28004         unused.
28005         * posix/regex_internal.h (__attribute): Remove.
28006         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28007         (re_string_context_at): Likewise.
28008         (bitset_not): Use __attribute__ and mark function as possibly
28009         unused.
28010         (bitset_merge): Likewise.
28011         (bitset_mask): Likewise.
28012         (re_string_char_size_at): Likewise.
28013         (re_string_wchar_at): Likewise.
28014         (re_string_elem_size_at): Likewise.
28016 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28018         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28019         code.
28020         (cc32): Likewise.
28022         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28023         (__acr): Likewise.
28024         (__cpy): Likewise.
28025         (norm): Likewise.
28026         (denorm): Likewise.
28027         (__dbl_mp): Likewise.
28028         (add_magnitudes): Likewise.
28029         (sub_magnitudes): Likewise.
28030         (__mul): Likewise.
28031         (__inv): Likewise.
28033         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28034         style.
28036         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28037         style.
28039         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28040         code.
28042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28043         up changes with default code.
28044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28045         Likewise.
28047 2013-02-24  Allan McRae  <allan@archlinux.org>
28049         * manual/socket.texi (The Internet Namespace): Order menu items
28050         to match that in the file.
28052         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28053         node listing of the info page menu.
28055 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28057         [BZ #13550]
28058         * sysdeps/i386/bp-asm.h: Remove file.
28059         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28060         (PARMS): Do not use macros from bp-asm.h.
28061         (S1): Likewise.
28062         (S2): Likewise.
28063         (SIZE): Likewise.
28064         (__mpn_add_n): Do not use BP_SYM
28065         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28066         "bp-asm.h".
28067         (PARMS): Do not use macros from bp-asm.h.
28068         (S1): Likewise.
28069         (SIZE): Likewise.
28070         (__mpn_addmul_1): Do not use BP_SYM
28071         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28072         "bp-asm.h".
28073         (PARMS): Do not use macros from bp-asm.h.
28074         (SIGMSK): Likewise.
28075         (_setjmp): Likewise.  Do not use BP_SYM.
28076         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28077         "bp-asm.h".
28078         (PARMS): Do not use macros from bp-asm.h.
28079         (SIGMSK): Likewise.
28080         (setjmp): Likewise.  Do not use BP_SYM.
28081         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28082         "bp-asm.h".
28083         (PARMS): Do not use macros from bp-asm.h.
28084         (__frexp): Do not use BP_SYM.
28085         (frexp): Likewise.
28086         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28087         "bp-asm.h".
28088         (PARMS): Do not use macros from bp-asm.h.
28089         (__frexpf): Do not use BP_SYM.
28090         (frexpf): Likewise.
28091         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28092         "bp-asm.h".
28093         (PARMS): Do not use macros from bp-asm.h.
28094         (__frexpl): Do not use BP_SYM.
28095         (frexpl): Likewise.
28096         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28097         "bp-asm.h".
28098         (PARMS): Do not use macros from bp-asm.h.
28099         (__remquo): Do not use BP_SYM.
28100         (remquo): Likewise.
28101         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28102         "bp-asm.h".
28103         (PARMS): Do not use macros from bp-asm.h.
28104         (__remquof): Do not use BP_SYM.
28105         (remquof): Likewise.
28106         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28107         "bp-asm.h".
28108         (PARMS): Do not use macros from bp-asm.h.
28109         (__remquol): Do not use BP_SYM.
28110         (remquol): Likewise.
28111         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28112         "bp-asm.h".
28113         (PARMS): Do not use macros from bp-asm.h.
28114         (DEST): Likewise.
28115         (SRC): Likewise.
28116         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28117         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28118         "bp-asm.h".
28119         (PARMS): Do not use macros from bp-asm.h.
28120         (strlen): Do not use BP_SYM.
28121         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28122         "bp-asm.h".
28123         (PARMS): Do not use macros from bp-asm.h.
28124         (S1): Likewise.
28125         (S2): Likewise.
28126         (SIZE): Likewise.
28127         (__mpn_add_n): Do not use BP_SYM.
28128         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28129         "bp-asm.h".
28130         (PARMS): Do not use macros from bp-asm.h.
28131         (S1): Likewise.
28132         (SIZE): Likewise.
28133         (__mpn_addmul_1): Do not use BP_SYM.
28134         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28135         weak_alias.
28136         (bzero): Likewise.
28137         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28138         "bp-asm.h".
28139         (PARMS): Do not use macros from bp-asm.h.
28140         (S): Likewise.
28141         (SIZE): Likewise.
28142         (__mpn_lshift): Do not use BP_SYM.
28143         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28144         "bp-asm.h".
28145         (PARMS): Do not use macros from bp-asm.h.
28146         (DEST): Likewise.
28147         (SRC): Likewise.
28148         (LEN): Likewise.
28149         (memcpy): Likewise.  Do not use BP_SYM.
28150         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28151         libc_hidden_def and weak_alias.
28152         (mempcpy): Do not use BP_SYM in weak_alias.
28153         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28154         "bp-asm.h".
28155         (PARMS): Do not use macros from bp-asm.h.
28156         (DEST): Likewise.
28157         (LEN): Likewise.
28158         [!BZERO_P] (CHR): Likewise.
28159         (memset): Likewise.  Do not use BP_SYM.
28160         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28161         "bp-asm.h".
28162         (PARMS): Do not use macros from bp-asm.h.
28163         (S1): Likewise.
28164         (SIZE): Likewise.
28165         (__mpn_mul_1): Do not use BP_SYM.
28166         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28167         "bp-asm.h".
28168         (PARMS): Do not use macros from bp-asm.h.
28169         (S): Likewise.
28170         (SIZE): Likewise.
28171         (__mpn_rshift): Do not use BP_SYM.
28172         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28173         "bp-asm.h".
28174         (PARMS): Do not use macros from bp-asm.h.
28175         (STR): Likewise.
28176         (CHR): Likewise.
28177         (strchr): Likewise.  Do not use BP_SYM.
28178         (index): Do not use BP_SYM in weak_alias.
28179         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28180         "bp-asm.h".
28181         (PARMS): Do not use macros from bp-asm.h.
28182         (DEST): Likewise.
28183         (SRC): Likewise.
28184         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28185         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28186         "bp-asm.h".
28187         (PARMS): Do not use macros from bp-asm.h.
28188         (strlen): Do not use BP_SYM.
28189         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28190         "bp-asm.h".
28191         (PARMS): Do not use macros from bp-asm.h.
28192         (S1): Likewise.
28193         (S2): Likewise.
28194         (SIZE): Likewise.
28195         (__mpn_sub_n): Do not use BP_SYM.
28196         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28197         "bp-asm.h".
28198         (PARMS): Do not use macros from bp-asm.h.
28199         (S1): Likewise.
28200         (SIZE): Likewise.
28201         (__mpn_submul_1): Do not use BP_SYM.
28202         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28203         "bp-asm.h".
28204         (PARMS): Do not use macros from bp-asm.h.
28205         (S1): Likewise.
28206         (S2): Likewise.
28207         (SIZE): Likewise.
28208         (__mpn_add_n): Do not use BP_SYM.
28209         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28210         weak_alias.
28211         (bzero): Likewise.
28212         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28213         "bp-asm.h".
28214         (PARMS): Do not use macros from bp-asm.h.
28215         (BLK2): Likewise.
28216         (LEN): Likewise.
28217         (memcmp): Do not use BP_SYM.
28218         (bcmp): Do not use BP_SYM in weak_alias.
28219         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28220         "bp-asm.h".
28221         (PARMS): Do not use macros from bp-asm.h.
28222         (DEST): Likewise.
28223         (SRC): Likewise.
28224         (LEN): Likewise.
28225         (memcpy): Likewise.  Do not use BP_SYM.
28226         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28227         "bp-asm.h".
28228         (PARMS): Do not use macros from bp-asm.h.
28229         (DEST): Likewise.
28230         (SRC): Likewise.
28231         (LEN): Likewise.
28232         (memmove): Likewise.  Do not use BP_SYM.
28233         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28234         "bp-asm.h".
28235         (PARMS): Do not use macros from bp-asm.h.
28236         (DEST): Likewise.
28237         (SRC): Likewise.
28238         (LEN): Likewise.
28239         (__mempcpy): Likewise.  Do not use BP_SYM.
28240         (mempcpy): Do not use BP_SYM in weak_alias.
28241         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28242         "bp-asm.h".
28243         (PARMS): Do not use macros from bp-asm.h.
28244         (DEST): Likewise.
28245         (LEN): Likewise.
28246         [!BZERO_P] (CHR): Likewise.
28247         (memset): Likewise.  Do not use BP_SYM.
28248         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28249         "bp-asm.h".
28250         (PARMS): Do not use macros from bp-asm.h.
28251         (STR2): Likewise.
28252         (strcmp): Do not use BP_SYM.
28253         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28254         "bp-asm.h".
28255         (PARMS): Do not use macros from bp-asm.h.
28256         (STR): Likewise.
28257         (DELIM): Likewise.
28258         [USE_AS_STRTOK_R] (SAVE): Likewise.
28259         (FUNCTION): Likewise.  Do not use BP_SYM.
28260         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28261         aliases.
28262         (strtok_r): Likewise.
28263         (__GI___strtok_r): Likewise.
28264         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28265         (PARMS): Do not use macros from bp-asm.h.
28266         (S): Likewise.
28267         (SIZE): Likewise.
28268         (__mpn_lshift): Do not use BP_SYM.
28269         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28270         (PARMS): Do not use macros from bp-asm.h.
28271         (STR): Likewise.
28272         (CHR): Likewise.
28273         (__memchr): Do not use BP_SYM.
28274         (memchr): Do not use BP_SYM in weak_alias.
28275         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28276         (PARMS): Do not use macros from bp-asm.h.
28277         (BLK2): Likewise.
28278         (LEN): Likewise.
28279         (memcmp): Do not use BP_SYM.
28280         (bcmp): Do not use BP_SYM in weak_alias.
28281         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28282         (PARMS): Do not use macros from bp-asm.h.
28283         (S1): Likewise.
28284         (SIZE): Likewise.
28285         (__mpn_mul_1): Do not use BP_SYM.
28286         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28287         "bp-asm.h".
28288         (PARMS): Do not use macros from bp-asm.h.
28289         (STR): Likewise.
28290         (CHR): Likewise.
28291         (__rawmemchr): Do not use BP_SYM.
28292         (rawmemchr): Do not use BP_SYM in weak_alias.
28293         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28294         (PARMS): Do not use macros from bp-asm.h.
28295         (S): Likewise.
28296         (SIZE): Likewise.
28297         (__mpn_rshift): Do not use BP_SYM.
28298         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28299         (PARMS): Do not use macros from bp-asm.h.
28300         (SIGMSK): Likewise.
28301         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28302         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28303         (_start): Do not use BP_SYM.
28304         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28305         (PARMS): Do not use macros from bp-asm.h.
28306         (DEST): Likewise.
28307         (SRC): Likewise.
28308         (__stpcpy): Likewise.  Do not use BP_SYM.
28309         (stpcpy): Do not use BP_SYM in weak_alias.
28310         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28311         "bp-asm.h".
28312         (PARMS): Do not use macros from bp-asm.h.
28313         (DEST): Likewise.
28314         (SRC): Likewise.
28315         (LEN): Likewise.
28316         (__stpncpy): Likewise.  Do not use BP_SYM.
28317         (stpncpy): Do not use BP_SYM in weak_alias.
28318         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28319         (PARMS): Do not use macros from bp-asm.h.
28320         (STR): Likewise.
28321         (CHR): Likewise.
28322         (strchr): Likewise.  Do not use BP_SYM.
28323         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28324         "bp-asm.h".
28325         (PARMS): Do not use macros from bp-asm.h.
28326         (STR): Likewise.
28327         (CHR): Likewise.
28328         (__strchrnul): Likewise.  Do not use BP_SYM.
28329         (strchrnul): Do not use BP_SYM in weak_alias.
28330         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28331         "bp-asm.h".
28332         (PARMS): Do not use macros from bp-asm.h.
28333         (STOP): Likewise.
28334         (strcspn): Do not use BP_SYM.
28335         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28336         "bp-asm.h".
28337         (PARMS): Do not use macros from bp-asm.h.
28338         (STR): Likewise.
28339         (STOP): Likewise.
28340         (strpbrk): Likewise.  Do not use BP_SYM.
28341         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28342         "bp-asm.h".
28343         (PARMS): Do not use macros from bp-asm.h.
28344         (STR): Likewise.
28345         (CHR): Likewise.
28346         (strrchr): Likewise.  Do not use BP_SYM.
28347         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28348         (PARMS): Do not use macros from bp-asm.h.
28349         (SKIP): Likewise.
28350         (strspn): Do not use BP_SYM.
28351         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28352         (PARMS): Do not use macros from bp-asm.h.
28353         (STR): Likewise.
28354         (DELIM): Likewise.
28355         (SAVE): Likewise.
28356         (FUNCTION): Likewise.  Do not use BP_SYM.
28357         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28358         aliases.
28359         (strtok_r): Likewise.
28360         (__GI___strtok_r): Likewise.
28361         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28362         (PARMS): Do not use macros from bp-asm.h.
28363         (S1): Likewise.
28364         (S2): Likewise.
28365         (SIZE): Likewise.
28366         (__mpn_sub_n): Do not use BP_SYM.
28367         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28368         "bp-asm.h".
28369         (PARMS): Do not use macros from bp-asm.h.
28370         (S1): Likewise.
28371         (SIZE): Likewise.
28372         (__mpn_submul_1): Do not use BP_SYM.
28373         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28374         <bp-sym.h>.
28375         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28376         and <bp-asm.h>.
28377         (PARMS): Do not use macros from bp-asm.h.
28378         (FLAGS): Likewise.
28379         (PTID): Likewise.
28380         (TLS): Likewise.
28381         (CTID): Likewise.
28382         (__clone): Do not use BP_SYM.
28383         (clone): Do not use BP_SYM in weak_alias.
28384         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28385         and <bp-asm.h>.
28386         (PARMS): Do not use macros from bp-asm.h.
28387         (LEN): Likewise.
28388         (__mmap64): Do not use BP_SYM.
28389         (mmap64): Do not use BP_SYM in weak_alias.
28390         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28391         <bp-sym.h> and <bp-asm.h>.
28392         (PARMS): Do not use macros from bp-asm.h.
28393         (__posix_fadvise64_l64): Do not use BP_SYM.
28394         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28395         (PARMS): Do not use macros from bp-asm.h.
28396         (NSOPS): Likewise.
28397         (semtimedop): Do not use BP_SYM.
28398         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28399         and <bp-asm.h>.
28401 2013-02-21  Allan McRae  <allan@archlinux.org>
28403         * manual/message.texi (Charset conversion in gettext):
28404         Move @end statement to beginning of line.
28406 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28408         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28409         static.
28410         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28411         Likewise.
28413         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28414         (denorm): Likewise.
28415         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28418 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28420         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28421         tail-call to the resolved function if pltexit isn't needed.
28423 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28425         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28426         or Y being zero as being unlikely.
28427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28428         Likewise.
28430 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28432         * manual/nss.texi (System Databases and Name Service Switch):
28433         Remove frobnicate @pxref.
28435 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28437         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28438         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28440 2013-02-20  Petr Machata  <pmachata@redhat.com>
28442         * elf/elf.h (R_ARM_TARGET1): New macro.
28443         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28444         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28445         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28446         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28447         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28448         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28449         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28450         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28451         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28452         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28453         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28454         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28455         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28456         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28457         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28458         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28459         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28460         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28461         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28462         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28463         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28464         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28465         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28466         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28467         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28468         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28469         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28470         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28471         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28472         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28473         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28474         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28475         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28476         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28477         (R_ARM_THM_GOT_BREL12): Likewise.
28478         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28479         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28480         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28481         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28482         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28483         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28484         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28485         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28486         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28488 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28490         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28491         __attribute_used__ to __attribute__ ((unused)).
28493 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28495         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28496         powerpc mpa.c.
28497         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28498         comment formatting.
28499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28501 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28503         [BZ #13550]
28504         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28505         Remove macro.
28506         (ENTER): Remove both macro definitions.
28507         (LEAVE): Likewise.
28508         (CHECK_BOUNDS_LOW): Likewise.
28509         (CHECK_BOUNDS_HIGH): Likewise.
28510         (CHECK_BOUNDS_BOTH): Likewise.
28511         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28512         (RETURN_BOUNDED_POINTER): Likewise.
28513         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28514         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28515         (POP_ERRNO_LOCATION_RETURN): Likewise.
28516         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28517         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28518         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28519         macros.
28520         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28521         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28522         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28523         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28524         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28525         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28526         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28527         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28528         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28529         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28530         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28531         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28532         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28533         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28534         removed macros.
28535         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28536         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28537         macros.
28538         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28539         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28540         * sysdeps/i386/i586/memset.S (memset): Likewise.
28541         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28542         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28543         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28544         macros.
28545         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28546         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28547         Change uses of L(2) to L(out).
28548         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28549         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28550         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28551         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28552         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28553         removed macros.
28554         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28555         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28556         macros.
28557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28558         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28559         (RETURN): Do not use macro LEAVE.
28560         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28561         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28562         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28563         * sysdeps/i386/i686/memset.S (memset): Likewise.
28564         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28565         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28566         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28567         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28568         Likewise.
28569         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28570         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28571         L(1_2) and L(1_3) into L(1).
28572         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28573         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28574         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28575         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28576         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28577         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28578         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28579         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28580         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28581         macros.
28582         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28583         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28584         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28585         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28586         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28587         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28588         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28589         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28590         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28591         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28592         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28593         * sysdeps/i386/strspn.S (strspn): Likewise.
28594         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28595         conditional code.
28596         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28597         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28598         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28599         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28600         L(1_3) into L(1_1).
28601         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28602         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28603         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28604         macros.
28605         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28607 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28609         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28610         macro.
28612 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28614         * math/atest-exp.c (exp_mpn): Remove ROUND.
28615         * math/atest-exp2.c (exp_mpn): Likewise.
28616         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28618         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28619         * stdlib/tst-tls-atexit-lib.c: Likewise.
28620         * stdlib/tst-tls-atexit.c: Likewise.
28622 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28624         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28625         and __attribute_alloc_size__.
28627 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28629         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28630         __attribute_alloc_size__.
28631         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28632         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28634 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28636         * include/programs/xmalloc.h: New file.
28637         * catgets/gencat.c: Include it.
28638         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28639         * elf/pldd.c: Likewise.
28640         * iconv/iconv_charmap.c: Likewise.
28641         * iconv/iconvconfig.c: Likewise.
28642         * iconv/strtab.c: Likewise.
28643         * locale/programs/locale.c: Likewise.
28644         * locale/programs/localedef.h: Likewise.
28645         * locale/programs/simple-hash.c: Likewise.
28646         * nscd/nscd.h: Likewise.
28647         * nss/makedb.c: Likewise.
28648         * sysdeps/generic/ldconfig.h: Likewise.
28650 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28652         * Versions.def: Add GLIBC_2.18.
28653         * include/link.h (struct link_map): New member l_tls_dtor_count.
28654         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28655         (__call_tls_dtors): Likewise.
28656         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28657         __cxa_thread_atexit_impl.
28658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28659         Likewise.
28660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28661         Likewise.
28662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28663         Likewise.
28664         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28665         Likewise.
28666         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28668         Likewise.
28669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28670         Likewise.
28671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28673         Likewise.
28674         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28675         (tests): Add test case tst-tls-atexit.
28676         (modules-names): Add shared library for tst-tls-atexit.
28677         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28678         (GLIBC_PRIVATE): Add __call_tls_dtors.
28679         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28680         for libstdc++.
28681         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28682         * stdlib/tst-tls-atexit.c: New test case.
28683         * stdlib/tst-tls-atexit-lib.c: New test case.
28685         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28687         * elf/Versions (ld): Add _dl_find_dso_for_object.
28688         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28689         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28690         (dl_open_worker): Use _dl_find_dso_for_object.
28691         * elf/dl-sym.c (do_sym): Likewise.
28692         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28694 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28696         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28697         Syntactic changes only.
28698         (_dl_runtime_profile): Do a tail-call to the resolved function.
28700 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28702         [BZ #13550]
28703         * sysdeps/x86_64/bp-asm.h: Remove file.
28704         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28705         <bp-sym.h> and <bp-asm.h>.
28706         (__clone): Do not use BP_SYM.
28707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28708         <bp-sym.h> and <bp-asm.h>.
28709         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28710         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28711         "bp-asm.h".
28712         (_setjmp): Do not use BP_SYM.
28713         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28714         "bp-asm.h".
28715         (setjmp): Do not use BP_SYM.
28716         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28717         libc_hidden_def.
28718         (mempcpy): Do not use BP_SYM in weak_alias.
28719         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28720         "bp-asm.h".
28721         (strchr): Do not use BP_SYM.
28722         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28723         "bp-asm.h".
28724         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28725         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28726         (_start): Do not use BP_SYM.
28727         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28728         "bp-asm.h".
28729         (strcat): Do not use BP_SYM.
28730         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28731         "bp-asm.h".
28732         (STRCMP): Do not use BP_SYM.
28733         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28734         "bp-asm.h".
28735         (STRCPY): Do not use BP_SYM.
28736         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28737         "bp-asm.h".
28738         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28739         "bp-asm.h".
28740         (FUNCTION): Do not use BP_SYM.
28741         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28742         weak_alias.
28743         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28745 2013-02-17  Andreas Jaeger  <aj@suse.de>
28747         * time/Versions: Sort entries.
28748         * string/Versions: Likewise.
28749         * resolv/Versions: Likewise.
28750         * posix/Versions: Likewise.
28751         * iconv/Versions: Likewise.
28752         * elf/Versions: Likewise.
28753         * wcsmbs/Versions: Likewise.
28755 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28757         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28758         loop termination condition.
28760         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28761         variable to calculate EZ.
28762         (__sqr): Likewise.
28764         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28765         the lower precision input.
28767 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
28769         [BZ #13550]
28770         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28771         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28772         (run-via-rtld-prefix): Do not handle %-bp tests.
28773         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28774         (all-object-suffixes): Remove .ob.
28775         (bppfx): Remove variable.
28776         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28777         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28778         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28779         [$(build-bounded) = yes] (libtype.ob): Likewise.
28780         * Makerules (elide-routines.ob): Remove variable.
28781         (do-tests-clean): Do not handle *-bp.out.
28782         (common-mostlyclean): Do not handle *-bp and *-bp.out.
28783         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28784         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28785         (tests): Do not include $(tests-bp.out).
28786         (xtests): Do not include $(xtests-bp.out).
28787         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28788         [$(build-bounded) = yes] ($(addprefix
28789         $(objpfx),$(binaries-bounded))): Remove rule.
28790         ($(objpfx)%-bp.out): Remove rule.
28791         * config.make.in (build-bounded): Remove variable.
28792         * crypt/Makefile [$(build-bounded) = yes]
28793         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28794         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28795         append to variable.
28796         [$(build-bounded) = yes] (install-lib): Likewise.
28797         [$(build-bounded) = yes] (generated): Likewise.
28798         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28799         Remove rule.
28800         * intl/Makefile [$(build-bounded) = yes]
28801         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28802         * math/Makefile [$(build-bounded) = yes]
28803         ($(tests:%=$(objpfx)%-bp): Likewise.
28804         * misc/Makefile [$(build-bounded) = yes]
28805         ($(objpfx)tst-tsearch-bp): Likewise.
28806         * nptl/Makeconfig (bounded-thread-library): Remove variable.
28807         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28808         Remove dependency.
28809         * string/Makefile (o-objects.ob): Remove variable.
28810         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28811         (CFLAGS-.ob): Remove variable.
28812         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28813         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28814         both definitions of variable.
28815         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28816         (ASFLAGS-.ob): Remove variable.
28818 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
28820         [BZ #13550]
28821         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28822         Remove __BOUNDED_POINTERS__ from condition.
28823         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28824         * string/bits/string2.h [!__NO_STRING_INLINES &&
28825         !__BOUNDED_POINTERS__]: Likewise.
28826         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28827         Likewise.
28828         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28829         Remove conditional code.
28830         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28831         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28832         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28833         condition.
28835         [BZ #13550]
28836         * csu/libc-start.c: Do not include <bp-sym.h>.
28837         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28838         * elf/dl-open.c: Do not include <bp-sym.h>.
28839         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28840         * math/fegetenv.c: Do not include <bp-sym.h>.
28841         (fegetenv): Do not use BP_SYM in versioned symbols.
28842         * nptl/sysdeps/pthread/bits/libc-lockP.h
28843         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28844         <bp-sym.h>.
28845         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28846         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28847         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28848         (__pthread_mutex_destroy): Likewise.
28849         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28850         (__pthread_mutex_lock): Likewise.
28851         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28852         (__pthread_mutex_trylock): Likewise.
28853         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28854         (__pthread_mutex_unlock): Likewise.
28855         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28856         (__pthread_mutexattr_init): Likewise.
28857         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28858         (__pthread_mutexattr_destroy): Likewise.
28859         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28860         (__pthread_mutexattr_settype): Likewise.
28861         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28862         (__pthread_rwlock_init): Likewise.
28863         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28864         (__pthread_rwlock_destroy): Likewise.
28865         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28866         (__pthread_rwlock_rdlock): Likewise.
28867         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28868         (__pthread_rwlock_tryrdlock): Likewise.
28869         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28870         (__pthread_rwlock_wrlock): Likewise.
28871         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28872         (__pthread_rwlock_trywrlock): Likewise.
28873         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28874         (__pthread_rwlock_unlock): Likewise.
28875         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28876         (__pthread_key_create): Likewise.
28877         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28878         (__pthread_setspecific): Likewise.
28879         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28880         (__pthread_getspecific): Likewise.
28881         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28882         Likewise.
28883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28884         (_pthread_cleanup_push_defer): Likewise.
28885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28886         (_pthread_cleanup_pop_restore): Likewise.
28887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28888         (pthread_setcancelstate): Likewise.
28889         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28890         <bp-sym.h>.
28891         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28892         (memchr): Do not use BP_SYM in weak_alias.
28893         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28894         (fegetenv): Do not use BP_SYM in versioned symbols.
28895         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28896         (fesetenv): Do not use BP_SYM in versioned symbols.
28897         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28898         (feupdateenv): Do not use BP_SYM in versioned symbols.
28899         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28900         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28901         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28902         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28903         (open64): Do not use BP_SYM in weak_alias.
28904         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28905         (fegetenv): Do not use BP_SYM in versioned symbols.
28906         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28907         (fesetenv): Do not use BP_SYM in versioned symbols.
28908         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28909         (feupdateenv): Do not use BP_SYM in versioned symbols.
28910         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28911         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28912         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28913         (feraiseexcept): Do not use BP_SYM in versioned symbols.
28914         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28915         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28916         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28917         <bp-sym.h>.
28918         (__libc_start_main): Do not use BP_SYM.
28920 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28923         redundant return line.
28924         (norm): Likewise.
28925         (denorm): Likewise.
28926         (dbl_mp): Likewise.
28927         (sub_magnitudes): Likewise.
28928         (__add): Likewise.
28929         (__sub): Likewise.
28930         (__mul): Likewise.
28931         (__inv): Likewise.
28932         (__dvd): Likewise.
28933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28934         (norm): Likewise.
28935         (denorm): Likewise.
28936         (dbl_mp): Likewise.
28937         (sub_magnitudes): Likewise.
28938         (__add): Likewise.
28939         (__sub): Likewise.
28940         (__mul): Likewise.
28941         (__inv): Likewise.
28942         (__dvd): Likewise.
28944         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28945         instead of __mul.
28946         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28947         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28948         (cc32): Likewise.
28950         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28951         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28953         of __mul for squares.
28954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28955         function
28956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28957         Likewise.
28958         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28959         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28961 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
28963         [BZ #13550]
28964         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28965         code.
28966         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28967         prototype or function definition.  Rename ubp_* variables and
28968         parameters.  Remove argv definitions conditional on
28969         [__BOUNDED_POINTERS__].
28970         * debug/backtrace.c (__backtrace): Do not use __unbounded.
28971         * elf/dl-runtime.c (_dl_fixup): Likewise.
28972         * include/set-hooks.h (RUN_HOOK): Likewise.
28973         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28974         definition.
28975         * string/strcpy.c (strcpy): Do not use __unbounded.
28976         * sysdeps/generic/frame.h (struct layout): Likewise.
28977         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28978         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28979         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28980         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28981         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28982         (__backtrace): Likewise.
28983         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28984         use __ptrvalue.
28985         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28986         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28987         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28988         Likewise.
28989         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28990         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28991         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28992         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28993         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28994         Do not use __unbounded.
28995         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28996         Rename __unboundedrlimits parameter to rlimits in prototype.
28997         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28998         Do not use __unbounded.
28999         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29000         not use __ptrvalue.
29001         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29002         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29003         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29004         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29005         __ptrvalue or __unbounded.
29006         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29007         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29008         use __unbounded.
29009         (__new_msgctl): Do not use __ptrvalue.
29010         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29011         __unbounded.
29012         (__libc_msgrcv): Do not use __ptrvalue.
29013         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29014         startup_info): Do not use __unbounded.
29015         (__libc_start_main): Likewise.  Rename ubp_* variables and
29016         parameters.  Remove argv definitions conditional on
29017         [__BOUNDED_POINTERS__].
29018         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29019         __ptrvalue.
29020         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29021         use __unbounded.
29022         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29023         or __ptrvalue.
29024         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29025         use __unbounded.
29026         (__new_shmctl): Do not use __ptrvalue.
29027         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29028         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29029         Likewise.
29030         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29031         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29032         (__libc_sigaction): Likewise.
29033         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29034         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29035         Likewise.
29036         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29038 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29040         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29042         * string/mempcpy.c: Implement by calling memcpy.
29044 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29046         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29048         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29049         evaluation.
29051         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29052         values in the mantissa.
29054         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29055         minimize writes to Z.
29056         (sub_magnitudes): Simplify code a bit.
29058 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29060         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29061         from the message.  The linker prefixes all warnings with that already.
29063 2013-02-12  Andreas Schwab  <schwab@suse.de>
29065         [BZ #15078]
29066         * posix/regexec.c (extend_buffers): Add parameter min_len.
29067         (check_matching): Pass minimum needed length.
29068         (clean_state_log_if_needed): Likewise.
29069         (get_subexp): Likewise.
29070         * posix/Makefile (tests): Add bug-regex34.
29071         (bug-regex34-ENV): Define.
29072         * posix/bug-regex34.c: New file.
29074         [BZ #11561]
29075         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29076         elements compare against the byte sequence of it, not its name.
29077         * posix/Makefile (tests): Add bug-regex35.
29078         (bug-regex35-ENV): Define.
29079         * posix/bug-regex35.c: New file.
29081 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29083         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29084         comment.
29085         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29086         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29087         (CHECK_EOL): Add undef.
29089 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29091         * bits/stdlib-bsearch.h: New file.
29092         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29093         * stdlib/stdlib.h: Likewise.
29095 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29097         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29098         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29099         declaration.
29100         * manual/search.texi (Array Search Function): Add missing const in
29101         lfind prototype.
29102         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29103         declaration to use rlim_t.
29104         (Basic Scheduling Functions): Remove erroneous const from
29105         sched_getparam prototype.  Remove erroneous * from
29106         sched_get_priority_max and sched_get_priority_min prototypes.
29107         (Resource Usage): Fix summary @comment on vtimes to refer to
29108         sys/vtimes.h rather than vtimes.h.
29109         Add missing *s in vtimes prototype.
29110         (Limits on Resources): Fix ulimit prototype to return long int.
29111         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29112         prototypes to use long int rather than double.
29113         (BSD Random): Fix initstate and setstate to use char *, not void *.
29114         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29115         prototype to make second argument 'struct aiocb64 *const[]'.
29116         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29117         (Status of AIO Operations): Remove erroneous const in aio_return and
29118         aio_return64 prototypes.
29119         (Synchronizing I/O): Fix sync prototype to return void.
29120         * manual/startup.texi (Suboptions): Remove an erroneous const in
29121         getsubopt prototype.
29122         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29123         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29124         use size_t rather than int.
29125         (Scanning All Users): Likewise for getpwent_r.
29126         (Setting Groups): Add missing const to setgroups prototype.
29127         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29128         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29129         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29130         'const void *' rather than 'const char *'.
29131         (Host Address Functions): Likewise for inet_ntop.
29132         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29133         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29134         ssize_t for return value.
29135         (Sending Data): Likewise for send, sendto, sendmsg.
29136         (Socket Option Functions): Add a missing const in setsockopt prototype.
29137         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29138         use wchar_t for the argument.
29139         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29140         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29141         take no arguments.
29142         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29143         double/float/long double for second argument.
29144         Fix return types of significand, significandf, significandl.
29145         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29146         argument in fchmod prototype.
29147         (File Owner): Use uid_t and gid_t in fchown prototype.
29148         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29149         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29150         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29151         use 'const struct dirent **' as argument types to CMP function pointer
29152         argument.
29153         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29154         (File Times): Fix summary magic @comment for struct utimbuf and utime
29155         to refer to utime.h, not time.h.
29156         * manual/string.texi (Argz Functions): Add missing const in
29157         argz_extract and argz_next prototypes.
29158         (Finding Tokens in a String): Likewise for basename.
29159         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29160         (Copying and Concatenation): Fix typo in wmemmove prototype.
29161         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29162         (Signal Stack): Remove erroneous const in sigstack prototype.
29163         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29164         prototype.
29165         (Simple Calendar Time): Likewise for stime.
29166         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29167         prototype.
29168         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29169         say sys/sysctl.h instead.
29170         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29171         and vsyslog prototypes.
29173 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29175         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29176         Remove.
29178 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29180         * misc/sys/mman.h: Fix typo in mremap comment.
29182 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29184         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29185         the '\0' terminator.
29187 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29189         [BZ #13550]
29190         * debug/segfault.c: Don't include <bp-checks.h>.
29191         * sysdeps/generic/bp-checks.h: Remove file.
29192         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29193         (__GETDENTS): Don't use CHECK_N.
29194         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29195         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29196         (__getgroups): Don't use CHECK_N.
29197         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29198         (setgroups): Don't use CHECK_N.
29199         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29200         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29201         (__libc_msgrcv): Don't use CHECK_N.
29202         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29203         (__libc_msgsnd): Don't use CHECK_N.
29204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29205         <bp-checks.h>.
29206         (__libc_pread): Don't use CHECK_N.
29207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29208         include <bp-checks.h>.
29209         (__libc_pread64): Don't use CHECK_N.
29210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29211         include <bp-checks.h>.
29212         (__libc_pwrite): Don't use CHECK_N.
29213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29214         include <bp-checks.h>.
29215         (__libc_pwrite64): Don't use CHECK_N.
29216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29217         <bp-checks.h>.
29218         (__libc_pread): Don't use CHECK_N.
29219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29220         include <bp-checks.h>.
29221         (__libc_pread64): Don't use CHECK_N.
29222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29223         include <bp-checks.h>.
29224         (__libc_pwrite): Don't use CHECK_N.
29225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29226         include <bp-checks.h>.
29227         (__libc_pwrite64): Don't use CHECK_N.
29228         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29229         (do_pread): Don't use CHECK_N.
29230         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29231         (do_pread64): Don't use CHECK_N.
29232         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29233         (do_pwrite): Don't use CHECK_N.
29234         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29235         (do_pwrite64): Don't use CHECK_N.
29236         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29237         (__libc_readv): Don't use CHECK_N.
29238         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29239         (semop): Don't use CHECK_N.
29240         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29241         <bp-checks.h>.
29242         (semtimedop): Don't use CHECK_N.
29243         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29244         (__libc_pread): Don't use CHECK_N.
29245         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29246         <bp-checks.h>.
29247         (__libc_pread64): Don't use CHECK_N.
29248         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29249         <bp-checks.h>.
29250         (__libc_pwrite): Don't use CHECK_N.
29251         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29252         <bp-checks.h>.
29253         (__libc_pwrite64): Don't use CHECK_N.
29254         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29255         <bp-checks.h>.
29256         (__libc_msgrcv): Don't use CHECK_N.
29257         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29258         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29259         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29260         (__libc_writev): Don't use CHECK_N.
29262 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29264         * string/strcpy.c: Removed unused variable.
29266         * Makeconfig (+sysdep-includes): Define with := rather than =.
29267         Use an existing include/ subdir of each sysdeps dir before it.
29269 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29271         * nscd/connection.c (register_traced_file): Comment function.
29272         [HAVE_INOTIFY] (union __inev): Define.
29273         [HAVE_INOTIFY] (inotify_check_files): New function.
29274         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29275         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29276         clear_db_cache.
29277         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29279 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29281         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29282         loaded if not already and that a failure is permanent.
29284 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29286         [BZ #15006]
29287         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29288         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29290 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29292         [BZ #13550]
29293         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29294         (CHECK_1_NULL_OK): Likewise.
29295         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29296         (__fxstat): Do not use CHECK_1.
29297         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29298         <bp-checks.h>.
29299         (___fxstat64): Do not use CHECK_1.
29300         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29301         <bp-checks.h>.
29302         (__fxstatat): Do not use CHECK_1.
29303         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29304         <bp-checks.h>.
29305         (__fxstatat64): Do not use CHECK_1.
29306         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29307         <bp-checks.h>.
29308         (__fxstat): Do not use CHECK_1.
29309         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29310         <bp-checks.h>.
29311         (__fxstatat): Do not use CHECK_1.
29312         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29313         <bp-checks.h>.
29314         (__getresgid): Do not use CHECK_1.
29315         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29316         <bp-checks.h>.
29317         (__getresuid): Do not use CHECK_1.
29318         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29319         <bp-checks.h>.
29320         (__lxstat): Do not use CHECK_1.
29321         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29322         <bp-checks.h>.
29323         (__old_msgctl): Do not use CHECK_1.
29324         (__new_msgctl): Likewise.
29325         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29326         <bp-checks.h>.
29327         (__new_setrlimit): Do not use CHECK_1.
29328         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29329         <bp-checks.h>.
29330         (__old_shmctl): Do not use CHECK_1.
29331         (__new_shmctl): Likewise.
29332         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29333         <bp-checks.h>.
29334         (__xstat): Do not use CHECK_1.
29335         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29336         (__lxstat): Do not use CHECK_1.
29337         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29338         <bp-checks.h>.
29339         (___lxstat64): Do not use CHECK_1.
29340         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29341         (__old_msgctl): Do not use CHECK_1.
29342         (__new_msgctl): Likewise.
29343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29344         <bp-checks.h>.
29345         (__gettimeofday): Do not use CHECK_1.
29346         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29347         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29348         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29349         <bp-checks.h>.
29350         (__gettimeofday): Do not use CHECK_1.
29351         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29352         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29353         (__new_shmctl): Do not use CHECK_1.
29354         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29355         <bp-checks.h>.
29356         (do_sigtimedwait): Do not use CHECK_1.
29357         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29358         <bp-checks.h>.
29359         (do_sigwaitinfo): Do not use CHECK_1.
29360         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29361         <bp-checks.h>.
29362         (msgctl): Do not use CHECK_1.
29363         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29364         <bp-checks.h>.
29365         (shmctl): Do not use CHECK_1.
29366         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29367         (ustat): Do not use CHECK_1.
29368         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29369         <bp-checks.h>.
29370         (__fxstat): Do not use CHECK_1.
29371         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29372         <bp-checks.h>.
29373         (__fxstatat): Do not use CHECK_1.
29374         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29375         <bp-checks.h>.
29376         (__lxstat): Do not use CHECK_1.
29377         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29378         <bp-checks.h>.
29379         (__xstat): Do not use CHECK_1.
29380         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29381         (__xstat): Do not use CHECK_1.
29382         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29383         (___xstat64): Do not use CHECK_1.
29385         [BZ #13550]
29386         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29387         definitions.
29388         (CHECK_BOUNDS_HIGH): Likewise.
29389         * string/strcpy.c: Do not include <bp-checks.h>.
29390         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29392 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29394         * nscd/nscd-client.h (__nscd_drop_map_ref):
29395         Add __attribute__ ((unused)).
29396         * nis/nss-nisplus.h (niserr2nss): Likewise.
29398         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29399         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29401         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29402         Remove inline keyword.
29403         * include/rounding-mode.h (round_away): Likewise.
29404         * libio/wfileops.c (adjust_wide_data): Likewise.
29405         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29406         (__m128i_strloadu_tolower): Likewise.
29407         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29408         (__m128i_strloadu_tolower): Likewise.
29409         * time/mktime.c (ydhms_diff): Likewise.
29410         * locale/elem-hash.h (elem_hash): Likewise.
29411         * locale/setlocale.c (setdata): Likewise.
29412         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29413         (re_string_wchar_at): Likewise.
29414         (bitset_not, bitset_merge, bitset_mask): Likewise.
29415         [!(__GNUC__ > 3)] (inline): Remove macro.
29416         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29417         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29418         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29419         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29420         * string/memcmp.c (memcmp_bytes): Likewise.
29421         * locale/programs/locarchive.c (compute_hashval): Likewise.
29422         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29423         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29424         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29425         * nss/getent.c (print_rpc, print_protocols): Likewise.
29426         (print_passwd, print_group, print_aliases): Likewise.
29427         * nis/nss-nisplus.h (niserr2nss): Likewise.
29428         * nscd/connections.c (restart_p): Likewise.
29429         Change return type to bool.
29431 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29433         * Makeconfig (all-Depend-files): Add existing
29434         $(sorted-subdirs:=/Depend) files.
29435         (all-subdirs): Remove nss.
29436         * sysdeps/unix/inet/Subdirs: Add it here instead.
29437         * hesiod/Depend: New file.
29439         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29440         instead of calling alloca.
29442         * io/lseek.c (__lseek): Rename to __libc_lseek.
29443         Define __lseek as an alias.
29445         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29447 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29449         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29450         else clause and remove check for non-standard endianness.
29452 2013-02-04  David S. Miller  <davem@davemloft.net>
29454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29456 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29458         [BZ #13550]
29459         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29460         (__ubp_memchr): Remove prototype.
29461         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29462         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29463         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29464         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29465         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29466         Remove alias.
29467         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29468         (__ubp_memchr): Likewise.
29469         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29470         (__ubp_memchr): Likewise.
29471         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29472         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29473         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29474         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29475         CHECK_STRING.
29476         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29477         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29478         (__getcwd): Do not use CHECK_STRING.
29479         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29480         <bp-checks.h>.
29481         (__real_chown): Do not use CHECK_STRING.
29482         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29483         <bp-checks.h>.
29484         (fchownat): Do not use CHECK_STRING.
29485         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29486         CHECK_STRING.
29487         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29488         <bp-checks.h>.
29489         (__lchown): Do not use CHECK_STRING.
29490         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29491         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29492         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29493         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29495         include <bp-checks.h>.
29496         (truncate64): Do not use CHECK_STRING.
29497         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29498         <bp-checks.h>.
29499         (__real_chown): Do not use CHECK_STRING.
29500         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29501         <bp-checks.h>.
29502         (__lchown): Do not use CHECK_STRING.
29503         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29504         <bp-checks.h>.
29505         (__chown): Do not use CHECK_STRING.
29506         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29507         <bp-checks.h>.
29508         (truncate64): Do not use CHECK_STRING.
29509         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29510         Likewise.
29511         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29512         (__xmknod): Do not use CHECK_STRING.
29513         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29514         <bp-checks.h>.
29515         (__xmknodat): Do not use CHECK_STRING.
29516         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29517         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29519 2013-02-04  Andreas Schwab  <schwab@suse.de>
29521         [BZ #14142]
29522         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29523         * include/netdb.h: Likewise for h_errno.
29524         * elf/tst-stackguard1.c: Include <tls.h>.
29526 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29528         * elf/link.h (struct link_map): Extend the l_addr comment.
29529         * include/link.h (struct link_map): Likewise.
29531 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29533         [BZ #13550]
29534         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29535         (BOUNDED_1): Remove macro.
29536         * debug/backtrace.c: Don't include <bp-checks.h>.
29537         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29538         (__backtrace): Likewise.
29539         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29540         <bp-checks.h>.
29541         (__backtrace): Don't use BOUNDED_1.
29542         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29543         <bp-checks.h>.
29544         (__backtrace): Don't use BOUNDED_1.
29545         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29546         (__backtrace): Don't use BOUNDED_1.
29547         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29548         (shmat): Don't use BOUNDED_N.
29550 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29552         [BZ #13550]
29553         * sysdeps/generic/bp-start.h: Remove file.
29554         * csu/libc-start.c: Don't include <bp-start.h>.
29555         (LIBC_START_MAIN): Set up __environ directly instead of using
29556         INIT_ARGV_and_ENVIRON.
29557         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29558         <bp-start.h>.
29560         [BZ #13550]
29561         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29562         definitions.
29563         (CHECK_FCNTL): Likewise.
29564         (CHECK_N_PAGES): Likewise.
29566         [BZ #13550]
29567         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29568         definitions.
29569         (CHECK_SIGSET_NULL_OK): Likewise.
29570         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29571         <bp-checks.h>.
29572         (sigpending): Don't use CHECK_SIGSET.
29573         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29574         <bp-checks.h>.
29575         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29576         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29577         <bp-checks.h>.
29578         (do_sigsuspend): Don't use CHECK_SIGSET.
29579         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29580         use CHECK_SIGSET.
29581         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29582         (do_sigwait): Don't use CHECK_SIGSET.
29583         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29584         use CHECK_SIGSET.
29585         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29586         include <bp-checks.h>.
29587         (sigpending): Don't use CHECK_SIGSET.
29588         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29589         include <bp-checks.h>.
29590         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29591         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29592         <bp-checks.h>.
29593         (sigpending): Don't use CHECK_SIGSET.
29594         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29595         <bp-checks.h>.
29596         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29598         [BZ #13550]
29599         * sysdeps/generic/bp-semctl.h: Remove file.
29600         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29601         <bp-checks.h> and <bp-semctl.h>.
29602         (__old_semctl): Don't use CHECK_SEMCTL.
29603         (__new_semctl): Likewise.
29604         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29605         and <bp-semctl.h>.
29606         (__old_semctl): Don't use CHECK_SEMCTL.
29607         (__new_semctl): Likewise.
29608         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29609         <bp-checks.h> and <bp-semctl.h>.
29610         (__old_semctl): Don't use CHECK_SEMCTL.
29611         (__new_semctl): Likewise.
29612         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29613         <bp-checks.h> and <bp-semctl.h>.
29614         (semctl): Don't use CHECK_SEMCTL.
29616         [BZ #13550]
29617         * Makerules (elide-bp-thunks): Remove variable.
29618         (elide-routines.oS): Don't use $(elide-bp-thunks).
29619         (elide-routines.os): Likewise.
29620         (elide-routines.o): Likewise.
29621         (elide-routines.op): Likewise.
29622         (elide-routines.og): Likewise.
29623         (objects): Don't use $(bp-thunks).
29624         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29625         include.
29626         (common-generated): Do not add s-proto-bp.d.
29627         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29628         (int): Likewise.
29629         (typ): Likewise.
29630         Do not generate makefile rules for bounded-pointer thunks.
29631         * sysdeps/generic/bp-thunks.h: Remove file.
29632         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29633         * sysdeps/unix/s-proto-bp.S: Likewise.
29635         [BZ #15062]
29636         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29637         parts of result separately when argument is not close to line from
29638         -i to i and one part of argument is small.
29639         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29640         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29641         * math/libm-test.inc (cacos_test): Add more tests.
29642         (casin_test): Likewise.
29643         (casinh_test): Likewise.
29644         * sysdeps/i386/fpu/libm-test-ulps: Update.
29645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29647 2013-01-31  David S. Miller  <davem@davemloft.net>
29649         * po/de.po: Update from translation team.
29651 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29653         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29655 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29657         * configure.in (_AC_PROG_CC_C89): New definition.
29658         * configure: Regenerate.
29660         * configure.in (AC_PROG_CPP): New definition.
29661         * configure: Regenerate.
29663 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29665         * debug/tst-backtrace.h: New file.
29666         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29667         (ret): Remove variable.
29668         (x): Likewise.
29669         (FAIL): Remove macro.
29670         (NO_INLINE): Likewise.
29671         (fn1): Use match function instead of strstr.
29672         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29673         (ret): Remove variable.
29674         (x): Likewise.
29675         (FAIL): Remove macro.
29676         (NO_INLINE): Likewise.
29677         (fn): Use match function instead of strstr.
29678         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29679         (ret): Remove variable.
29680         (x): Likewise.
29681         (FAIL): Remove macro.
29682         (NO_INLINE): Likewise.
29683         (handle_signal): Use match function instead of strstr.
29684         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29685         (ret): Remove variable.
29686         (x): Likewise.
29687         (FAIL): Remove macro.
29688         (NO_INLINE): Likewise.
29689         (handle_signal): Use match function instead of strstr.
29691 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29693         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29695 2013-01-23  David S. Miller  <davem@davemloft.net>
29697         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29698         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29699         argument of CAS if possible.
29700         * sysdeps/sparc/sparc64/bits/atomic.h
29701         (__arch_compare_and_exchange_val_32_acq): Likewise.
29702         (__arch_compare_and_exchange_val_64_acq): Likewise.
29704 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29706         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29707         * sysdeps/posix/ulimit.c: ... this.
29708         Include <limits.h>.
29709         * sysdeps/unix/bsd/ulimit.c: Remove file.
29711 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29713         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29714         (LDFLAGS-tst-array5): Likewise.
29716 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29718         [BZ #15036]
29719         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29720         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29721         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29722         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29724 2013-01-21  David S. Miller  <davem@davemloft.net>
29726         * sysdeps/sparc/backtrace.c: New file.
29727         * sysdeps/sparc/sparc32/backtrace.h: New file.
29728         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29729         * sysdeps/sparc/sparc64/backtrace.h: New file.
29730         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29731         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29732         -funwind-tables.
29734 2013-01-21  Andreas Schwab  <schwab@suse.de>
29736         [BZ #15020]
29737         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29738         closed its stdout.
29740 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
29742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29743         "mpa2.h".
29744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29746 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
29747             Mark Mitchell  <mark@codesourcery.com>
29748             Tom de Vries  <tom@codesourcery.com>
29749             Paul Pluzhnikov  <ppluzhnikov@google.com>
29751         * debug/tst-backtrace2.c: New file.
29752         * debug/tst-backtrace3.c: Likewise.
29753         * debug/tst-backtrace4.c: Likewise.
29754         * debug/tst-backtrace5.c: Likewise.
29755         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29756         (CFLAGS-tst-backtrace3.c): Likewise.
29757         (CFLAGS-tst-backtrace4.c): Likewise.
29758         (CFLAGS-tst-backtrace5.c): Likewise.
29759         (LDFLAGS-tst-backtrace2): Likewise.
29760         (LDFLAGS-tst-backtrace3): Likewise.
29761         (LDFLAGS-tst-backtrace4): Likewise.
29762         (LDFLAGS-tst-backtrace5): Likewise.
29763         (tests): Add new tests tst-backtrace2, tst-backtrace3,
29764         tst-backtrace4 and tst-backtrace5.
29766 2013-01-18  Anton Blanchard  <anton@samba.org>
29767             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29769         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29770         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29771         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29772         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29774         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29775         "+r" and remove output regs list as redundant.  Add explicit inline
29776         asm to specify register of return val to work around compiler codegen
29777         bug.  Remove (int) cast on return value.  Add return type parameter to
29778         use in macro so that this macro does not truncate return value for
29779         64-bit values.
29780         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29781         pass to INTERNAL_VSYSCALL_NCS.
29782         (INLINE_VSYSCALL): Add 'long int' as return type to
29783         INTERNAL_VSYSCALL_NCS macro invocation.
29784         (INTERNAL_VSYSCALL): Add 'long int' as return type to
29785         INTERNAL_VSYSCALL_NCS macro invocation.
29786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29788 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29790         [BZ #14496]
29791         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29792         Fix application of SIMD FP exception mask.
29794         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29795         mp_no from a power of two.
29796         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29797         __mpexp_twomm1.  Use __pow_mp.
29799         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29800         multiplication.
29802 2013-01-17  David S. Miller  <davem@davemloft.net>
29804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29806 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29808         [BZ #15023]
29809         * include/complex.h: Condition contents on [!_COMPLEX_H].
29810         (__kernel_casinhf): New prototype.
29811         (__kernel_casinh): Likewise.
29812         (__kernel_casinhl): Likewise.
29813         * math/Makefile (libm_calls): Add k_casinh.
29814         * math/k_casinh.c: New file.
29815         * math/k_casinhf.c: Likewise.
29816         * math/k_casinhl.c: Likewise.
29817         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29818         finite nonzero arguments.
29819         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29820         finite nonzero arguments.
29821         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29822         finite nonzero arguments.
29823         * math/s_casinh.c: Do not include <float.h>.
29824         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29825         * math/s_casinhf.c: Do not include <float.h>.
29826         (__casinhf): Move code for finite nonzero arguments to
29827         k_casinhf.c.
29828         * math/s_casinhl.c: Do not include <float.h>.
29829         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29830         redefine.
29831         (__casinhl): Move code for finite nonzero arguments to
29832         k_casinhl.c.
29833         * math/libm-test.inc (cacos_test): Add more tests.
29834         * sysdeps/i386/fpu/libm-test-ulps: Update.
29835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29837 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
29839         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29840         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29841         [!HAVE_MREMAP]: Remove [defined linux] case.
29842         * malloc/arena.c: Do not include <malloc-sysdep.h>.
29844 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29846         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29848 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
29850         * elf/elf.h (R_386_SIZE32): New relocation.
29851         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29852         R_386_SIZE32.
29853         (elf_machine_rela): Likewise.
29854         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29855         R_X86_64_SIZE64 and R_X86_64_SIZE32.
29857 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29859         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29860         (FP_FAST_FMA): Do not define.
29861         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29862         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29863         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29864         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29865         !_SOFT_FLOAT]: Likewise.
29866         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29867         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29868         value.
29869         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29870         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29871         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29872         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29873         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29874         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29875         file.
29877 2013-01-16  Andreas Schwab  <schwab@suse.de>
29879         [BZ #14327]
29880         * include/stdlib.h (__mktemp): Add declaration.
29881         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29882         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29884 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29886         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29887         definitions.
29888         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29889         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29890         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29891         definitions here.
29892         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29893         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29894         definitions.
29895         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29896         and ONE.
29897         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29898         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29899         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29900         definitions.
29901         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29902         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29903         definitions.
29904         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29906         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29908 2013-01-15  David S. Miller  <davem@davemloft.net>
29910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29911         trunc{,f} to libm-sysdep_routes.
29912         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29914         file.
29915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29917         file.
29918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29919         file.
29920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29922         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29923         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29924         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29925         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29926         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29927         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29930         nearbyint{,f} to libm-sysdep_routes.
29931         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29933         New file.
29934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29935         file.
29936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29937         New file.
29938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29939         file.
29940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29942         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29943         file.
29944         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29945         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29946         file.
29947         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29948         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29949         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29951         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29952         libc_feholdexcept and libc_fesetenv.
29954 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
29956         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29958 2013-01-14  David S. Miller  <davem@davemloft.net>
29960         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29961         (SPARC_ASM_VIS2_IFUNC): Likewise.
29962         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29964         use of 'siam' instruction.
29965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29966         Likewise.
29967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29968         Likewise.
29969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29970         Likewise.
29971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29974         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29976         file.
29977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29978         file.
29979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29980         file.
29981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29982         file.
29983         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29984         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29985         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29986         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29988         new VIS2 routines.
29989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29992         Likewise.
29993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29995         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29996         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29998         routines to libm-sysdep_routines.
29999         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30002         fdim/fdimf to libm-sysdep_routines.
30003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30004         file.
30005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30007         file.
30008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30011         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30012         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30013         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30014         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30016 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30018         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30019         to optimize copies.
30021         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30022         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30023         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30026         local variable MPTWO.
30027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30028         Likewise.
30030 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30032         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30033         GLOB_NOESCAPE.
30035 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30037         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30039 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30041         * manual/pattern.texi (glob_t): Document gl_flags.
30042         (glob64_t): Likewise.
30044 2013-01-11  David S. Miller  <davem@davemloft.net>
30046         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30047         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30048         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30049         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30050         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30051         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30052         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30053         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30054         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30055         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30056         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30057         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30058         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30060         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30061         sparc V9 rather than using V8 code.
30062         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30063         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30065         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30066         Move to...
30067         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30068         Here.
30070 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30072         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30073         not in the main loop.
30074         * configure: Regenerated.
30076 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30078         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30079         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30080         to just #else.
30081         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30082         [!__GLIBC_HAVE_LONG_LONG] case.
30083         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30084         condition to just #else.
30085         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30086         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30087         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30088         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30089         unconditional.
30090         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30091         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30092         #elif condition to just #else.
30093         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30094         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30095         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30096         #elif condition to just #else.
30098 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30100         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30101         (EF_MIPS_ARCH_64): Fix value.
30102         (EF_MIPS_ARCH_32R2): New.
30103         (EF_MIPS_ARCH_64R2): New.
30105 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30107         * Makeconfig (+link-pie-before-libc): New.
30108         (+link-pie-after-libc): Likewise.
30109         (+link-pie-tests): Likewise.
30110         (+link-pie): Rewritten.
30111         (link-before-libc): Remove $(config-LDFLAGS).
30112         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30113         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30114         (config-LDFLAGS): Renamed to ...
30115         (rtld-LDFLAGS): This.
30116         (rtld-tests-LDFLAGS): New macro.
30117         (link-libc-rpath-link): Likewise.
30118         (link-libc-tests-rpath-link): Likewise.
30119         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30120         (link-libc): Prepand $(link-libc-rpath-link).
30121         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30122         (test-program-prefix): New macro.
30123         (test-via-rtld-prefix): Likewise.
30124         (test-program-cmd): Likewise.
30125         (host-test-program-cmd): Likewise.
30126         * Makefile ($(common-objpfx)testrun.sh): Replace
30127         $(run-program-prefix) with $(test-program-prefix).
30128         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30129         $(rtld-LDFLAGS).
30130         ($(common-objpfx)shlib.lds): Likewise.
30131         (build-module-helper): Likewise.
30132         ($(common-objpfx)format.lds): Likewise.
30133         * Rules (binaries-pie-tests): New.
30134         (binaries-pie-notests): Likewise.
30135         (binaries-pie): Rewritten.
30136         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30137         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30138         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30139         (make-test-out): Replace $(host-built-program-cmd) with
30140         $(host-test-program-cmd).
30141         * config.make.in (build-hardcoded-path-in-tests): New variable.
30142         * configure.in (--enable-hardcoded-path-in-tests): New configure
30143         option.
30144         (hardcoded_path_in_tests): New AC_SUBST.
30145         * configure: Regenerated.
30146         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30147         $(built-program-cmd) with $(test-program-cmd).
30148         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30149         (test_program_cmd): This.
30150         * elf/Makefile ($(objpfx)order.out): Run test with
30151         $(test-program-prefix).
30152         ($(objpfx)order2.out): Likewise.
30153         ($(objpfx)tst-initorder.out): Likewise.
30154         ($(objpfx)tst-initorder2.out): Likewise.
30155         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30156         $(test-program-cmd).
30157         ($(objpfx)tst-array1-static.out): Likewise.
30158         ($(objpfx)tst-array2.out): Likewise.
30159         ($(objpfx)tst-array3.out): Likewise.
30160         ($(objpfx)tst-array4.out): Likewise.
30161         ($(objpfx)tst-array5.out): Likewise.
30162         ($(objpfx)tst-array5-static.out): Likewise.
30163         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30164         $(test-program-cmd).
30165         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30166         $(run-program-prefix) with $(test-program-prefix).
30167         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30168         (test_program_prefix): This.
30169         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30170         $(run-program-prefix) with $(test-program-prefix).
30171         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30172         (test_program_prefix): This.
30173         * iconvdata/tst-tables.sh: Likewise.
30174         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30175         $(run-program-prefix) with $(test-program-prefix).
30176         ($(objpfx)tst-translit.out): Likewise.
30177         ($(objpfx)tst-gettext2.out): Likewise.
30178         ($(objpfx)tst-gettext4.out): Likewise.
30179         ($(objpfx)tst-gettext6.out): Likewise.
30180         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30181         (test_program_prefix): This.
30182         * intl/tst-gettext2.sh: Likewise.
30183         * intl/tst-gettext4.sh  Likewise.
30184         * intl/tst-gettext6.sh: Likewise.
30185         * intl/tst-translit.sh: Likewise.
30186         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30187         with $(test-program-cmd).
30188         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30189         $(run-program-prefix) with $(test-program-prefix).
30190         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30191         (test_program_prefix): This.
30192         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30193         $(run-program-prefix) with $(test-program-prefix).
30194         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30195         (test_program_prefix): This.
30196         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30197         * posix/Makefile ($(objpfx)globtest.out): Replace
30198         $(run-via-rtld-prefix) and $(test-wrapper) with
30199         $(test-program-prefix) and $(test-via-rtld-prefix).
30200         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30201         $(test-program-prefix).
30202         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30203         $(host-test-program-cmd).
30204         (tst-spawn-ARGS): Likewise.
30205         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30206         $(test-program-prefix).
30207         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30208         (test_via_rtld_prefix): This.
30209         (test_wrapper): Renamed to ...
30210         (test_program_prefix): This.
30211         (run_program_prefix): Replaced by test_program_prefix.
30212         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30213         (test_program_prefix): This.
30214         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30215         with $(host-test-program-cmd).
30216         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30217         $(run-program-prefix) with $(test-program-prefix).
30218         ($(objpfx)tst-printf.out): Likewise.
30219         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30220         $(test-program-cmd).
30221         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30222         (test_program_prefix): This.
30223         * stdio-common/tst-unbputc.sh: Likewise.
30224         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30225         $(run-program-prefix) with $(test-program-prefix).
30226         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30227         (test_program_prefix): This.
30228         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30229         $(built-program-cmd) with $(test-program-cmd).
30231 2013-01-11  Andreas Jaeger  <aj@suse.de>
30233         [BZ #15003]
30234         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30235         value. Sync with Linux 3.7.
30237 2013-01-10  David S. Miller  <davem@davemloft.net>
30239         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30240         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30241         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30243 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30245         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30246         never set.
30247         * configure: Regenerated.
30249 2013-01-10  David S. Miller  <davem@davemloft.net>
30251         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30252         sparc V9 rather than using V8 code.
30253         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30254         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30256 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30258         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30259         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30260         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30261         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30262         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30263         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30264         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30265         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30266         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30267         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30268         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30269         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30270         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30271         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30272         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30273         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30274         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30275         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30276         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30277         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30278         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30279         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30280         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30281         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30282         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30283         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30284         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30286 2013-01-10  David S. Miller  <davem@davemloft.net>
30288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30290 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30292         * posix/Makefile (tests-static): New variable.
30293         (tests): Add $(tests-static).
30294         (tst-exec-static-ARGS): New variable.
30295         (tst-spawn-static-ARGS): Likewise.
30296         * posix/tst-exec-static.c: New file.
30297         * posix/tst-spawn-static.c: Likewise.
30298         * posix/tst-exec.c: Support run directly.
30299         * posix/tst-spawn.c: Likewise.
30301 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30303         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30304         long.
30305         * math/bits/mathcalls.h (llrint): Likewise.
30306         (llround): Likewise.
30307         * stdlib/stdlib.h (struct drand48_data): Likewise.
30308         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30309         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30310         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30311         Likewise.
30312         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30313         Likewise.
30314         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30315         (elf_greg_t): Likewise.
30316         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30317         (__jmp_buf): Likewise.
30318         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30319         definitions.
30320         (llrint): Likewise, for all definitions.
30321         (llrintl): Likewise.
30323         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30324         Remove [__GNUC__] condition.
30325         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30326         condition to just [__USE_ISOC99].
30327         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30329 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30331         [BZ #14200]
30332         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30333         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30334         defined.
30335         (_POSIX_V6_ILP32_OFF32): Likewise.
30336         (_XBS5_ILP32_OFF32): Likewise.
30337         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30338         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30340 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30342         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30344         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30345         doubles __mpexp_twomm1.  Adjust usage.
30346         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30347         Remove.
30349 2013-01-10  Andreas Schwab  <schwab@suse.de>
30351         [BZ #14964]
30352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30353         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30355 2013-01-09  David S. Miller  <davem@davemloft.net>
30357         [BZ #15003]
30358         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30359         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30360         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30361         (TCP_FASTOPEN): Define.
30362         (tcp_repair_opt): New structure.
30363         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30364         enum values.
30365         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30366         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30367         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30368         (tcp_cookie_transactions): New structure.
30370 2013-01-09  Anton Blanchard  <anton@samba.org>
30372         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30373         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30374         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30375         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30377 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30379         * include/features.h (__USE_ANSI): Remove.
30381 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30383         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30385         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30387 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30389         * sysdeps/s390/fpu/libm-test-ulps: Update.
30391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30393         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30394         (__acr): Likewise.
30395         (__cpy): Likewise.
30396         (norm): Likewise.
30397         (denorm): Likewise.
30398         (__mp_dbl): Likewise.
30399         (__dbl_mp): Likewise.
30400         (add_magnitudes): Likewise.
30401         (sub_magnitudes): Likewise.
30402         (__add): Likewise.
30403         (__sub): Likewise.
30404         (__mul): Likewise.
30405         (__inv): Likewise.
30406         (__dvd): Likewise.
30407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30408         (__acr): Likewise.
30409         (__cpy): Likewise.
30410         (norm): Likewise.
30411         (denorm): Likewise.
30412         (__mp_dbl): Likewise.
30413         (__dbl_mp): Likewise.
30414         (add_magnitudes): Likewise.
30415         (sub_magnitudes): Likewise.
30416         (__add): Likewise.
30417         (__sub): Likewise.
30418         (__mul): Likewise.
30419         (__inv): Likewise.
30420         (__dvd): Likewise.
30421         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30422         (__acr): Likewise.
30423         (__cpy): Likewise.
30424         (norm): Likewise.
30425         (denorm): Likewise.
30426         (__mp_dbl): Likewise.
30427         (__dbl_mp): Likewise.
30428         (add_magnitudes): Likewise.
30429         (sub_magnitudes): Likewise.
30430         (__add): Likewise.
30431         (__sub): Likewise.
30432         (__mul): Likewise.
30433         (__inv): Likewise.
30434         (__dvd): Likewise.
30436 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30438         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30439         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30440         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30441         2 && __USE_EXTERN_INLINES]: Likewise.
30443 2013-01-08  Andreas Jaeger  <aj@suse.de>
30445         [BZ# 14985]
30446         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30447         Remove.
30448         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30449         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30451 2013-01-07  Anton Blanchard  <anton@samba.org>
30453         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30454         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30455         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30456         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30457         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30458         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30459         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30460         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30461         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30462         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30463         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30464         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30465         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30466         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30467         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30468         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30469         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30470         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30471         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30472         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30473         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30474         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30475         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30476         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30477         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30478         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30479         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30480         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30481         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30482         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30483         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30485         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30486         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30487         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30488         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30489         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30490         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30491         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30492         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30493         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30494         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30495         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30497 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30499         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30500         (__MALLOC_PMT): Likewise.
30501         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30502         [__GNUC__], only on [_LIBC].
30503         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30504         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30505         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30506         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30507         forward declaration.
30508         (realloc_hook_ini): Likewise.
30509         (memalign_hook_ini): Likewise.
30510         (__libc_memalign): Do not use __MALLOC_PMT in variable
30511         declaration.
30512         (__libc_valloc): Likewise.
30513         (__libc_pvalloc): Likewise.
30514         (__libc_calloc): Likewise.
30515         (__posix_memalign): Likewise.
30517         [BZ #14996]
30518         * math/s_casinh.c: Include <float.h>.
30519         (__casinh): Do not do computation with squaring and square root
30520         for large arguments.
30521         * math/s_casinhf.c: Include <float.h>.
30522         (__casinhf): Do not do computation with squaring and square root
30523         for large arguments.
30524         * math/s_casinhl.c: Include <float.h>.
30525         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30526         (__casinhl): Do not do computation with squaring and square root
30527         for large arguments.
30528         * math/libm-test.inc (casin_test): Add more tests.
30529         (casinh_test): Likewise.
30530         * sysdeps/i386/fpu/libm-test-ulps: Update.
30531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30533 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30535         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30536         (__x86_64_raw_data_cache_size): Likewise.
30537         (__x86_64_data_cache_size_half): Likewise.
30538         (__x86_64_raw_data_cache_size_half): Likewise.
30539         (__x86_64_shared_cache_size): Likewise.
30540         (__x86_64_raw_shared_cache_size): Likewise.
30541         (__x86_64_shared_cache_size_half): Likewise.
30542         (__x86_64_raw_shared_cache_size_half): Likewise.
30543         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30544         to ...
30545         (__x86_data_cache_size): This.
30546         (__x86_64_raw_data_cache_size): Renamed to ...
30547         (__x86_raw_data_cache_size): This.
30548         (__x86_64_data_cache_size_half): Renamed to ...
30549         (__x86_data_cache_size_half): This.
30550         (__x86_64_raw_data_cache_size_half): Renamed to ...
30551         (__x86_raw_data_cache_size_half): This.
30552         (__x86_64_shared_cache_size): Renamed to ...
30553         (__x86_shared_cache_size): This.
30554         (__x86_64_raw_shared_cache_size): Renamed to ...
30555         (__x86_raw_shared_cache_size): This.
30556         (__x86_64_shared_cache_size_half): Renamed to ...
30557         (__x86_shared_cache_size_half): This.
30558         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30559         (__x86_raw_shared_cache_size_half): This.
30560         * sysdeps/x86_64/memcpy.S: Updated.
30561         * sysdeps/x86_64/memset.S: Likewise.
30562         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30563         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30564         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30566 2013-01-04  David S. Miller  <davem@davemloft.net>
30568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30570 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30572         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30573         1 to avoid redefinition warning.
30574         (__USE_GNU): Don't define.
30575         (init_signaling_nan): Protoize.
30577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30579 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30581         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30582         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30583         (__cpymn): Likewise.
30584         (norm): Remove commented code.
30585         (denorm): Likewise.
30586         (__mp_dbl): Likewise.
30587         (__inv): Likewise.
30588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30589         (__cpymn): Likewise.
30590         (norm): Remove commented code.
30591         (denorm): Likewise.
30592         (__mp_dbl): Likewise.
30593         (__inv): Likewise.
30595         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30596         mp_no value for 1.0 and 2.0.
30597         (norm): Use RADIXI instead of radixi.d.
30598         (denorm): Likewise.
30599         (__mul): Use 0.0 instead of zero.d.
30600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30601         mp_no value for 1.0 and 2.0.
30602         (norm): Use RADIXI instead of radixi.d.
30603         (denorm): Likewise.
30604         (__mul): Use 0.0 instead of zero.d.
30606 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30608         [BZ #14994]
30609         * math/s_casinh.c (__casinh): Reduce finite argument to first
30610         quadrant then set signs of results at the end.
30611         * math/s_casinhf.c (__casinhf): Likewise.
30612         * math/s_casinhl.c (__casinhl): Likewise.
30613         * math/libm-test.inc (casin_test): Add more tests.
30614         (casinh_test): Likewise.
30615         * sysdeps/i386/fpu/libm-test-ulps: Update.
30616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30618 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30620         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30622         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30624         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30625         declarations.
30626         (denorm): Likewise.
30627         (__mp_dbl): Likewise.
30628         (__inv): Likewise.
30630         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30631         and adjust the header comment.
30633         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30634         variable name from declaration.
30636 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30638         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30639         Initialize COMMON_CPUID_INDEX_7 element.
30640         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30641         (CPUID_RTM): Likewise.
30642         (HAS_RTM): Likewise.
30643         (COMMON_CPUID_INDEX_7): New enum.
30645 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30647         [BZ #14981]
30648         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30649         size is zero, record memory as freed.
30651 2013-01-03  Andreas Jaeger  <aj@suse.de>
30653         * po/ia.po: Add new Interlingua translation.
30655 2012-01-03  Allan McRae  <allan@archlinux.org>
30657         * locale/programs/localedef.c: Fix description of '--posix' flag.
30659 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30661         * NEWS: Update dates in second copyright notice.
30662         * README: Update copyright dates in example.
30663         * manual/libc.texinfo: Update copyright dates.
30664         * scripts/test-installation.pl: Update copyright date in --version
30665         output.
30667         * hurd/ctty-input.c: Fix copyright notice formatting.
30668         * hurd/ctty-output.c: Likewise.
30669         * hurd/dtable.c: Likewise.
30670         * hurd/hurd-raise.c: Likewise.
30671         * hurd/hurdprio.c: Likewise.
30672         * hurd/msgportdemux.c: Likewise.
30673         * misc/sys/file.h: Likewise.
30674         * misc/sys/ioctl.h: Likewise.
30675         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30676         * sysdeps/mach/hurd/chdir.c: Likewise.
30677         * sysdeps/mach/hurd/fchdir.c: Likewise.
30678         * sysdeps/mach/hurd/rename.c: Likewise.
30679         * sysdeps/mach/hurd/rmdir.c: Likewise.
30680         * sysdeps/mach/hurd/seekdir.c: Likewise.
30681         * sysdeps/mach/hurd/setsid.c: Likewise.
30682         * sysdeps/posix/wait3.c: Likewise.
30684         * All files with FSF copyright notices: Update copyright dates
30685         using scripts/update-copyrights.
30686         * intl/plural.c: Regenerated.
30687         * locale/programs/charmap-kw.h: Likewise.
30688         * locale/programs/locfile-kw.h: Likewise.
30690 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30692         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30693         four values.
30695         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30696         calculation loop and add branch prediction.
30698         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30699         check access beyond bounds of m1np.
30701         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30702         MPTWO.
30703         (__inv): Remove local variable MPTWO to use the global
30704         constant.
30705         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30706         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30707         variable MPTWO.
30708         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30709         MP3HALFS static const.
30711 2013-01-01  David S. Miller  <davem@davemloft.net>
30713         * po/ca.po: Update from translation team.
30715 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30717         * scripts/update-copyrights: New file.
30718         * Makeconfig: Reformat copyright notice.
30719         * ctype/ctype.h: Likewise.
30720         * debug/swprintf_chk.c: Likewise.
30721         * elf/dl-cache.c: Likewise.
30722         * elf/dl-debug.c: Likewise.
30723         * elf/dl-object.c: Likewise.
30724         * grp/initgroups.c: Likewise.
30725         * hurd/Makefile: Likewise.
30726         * hurd/hurd/signal.h: Likewise.
30727         * hurd/hurdfault.c: Likewise.
30728         * hurd/hurdioctl.c: Likewise.
30729         * hurd/hurdlookup.c: Likewise.
30730         * hurd/intr-msg.c: Likewise.
30731         * iconv/gconv_open.c: Likewise.
30732         * libio/swprintf.c: Likewise.
30733         * locale/lc-ctype.c: Likewise.
30734         * locale/nl_langinfo.c: Likewise.
30735         * mach/Machrules: Likewise.
30736         * mach/Makefile: Likewise.
30737         * malloc/obstack.h: Likewise.
30738         * manual/Makefile: Likewise.
30739         * manual/tsort.awk: Likewise.
30740         * misc/bits/stab.def: Likewise.
30741         * nis/nis_print_group_entry.c: Likewise.
30742         * nis/nis_table.c: Likewise.
30743         * nis/nss_compat/compat-pwd.c: Likewise.
30744         * nis/nss_compat/compat-spwd.c: Likewise.
30745         * po/Makefile: Likewise.
30746         * posix/fnmatch.c: Likewise.
30747         * posix/regex.h: Likewise.
30748         * resolv/Makefile: Likewise.
30749         * resolv/nss_dns/dns-network.c: Likewise.
30750         * resolv/res_hconf.c: Likewise.
30751         * scripts/gen-sorted.awk: Likewise.
30752         * soft-fp/soft-fp.h: Likewise.
30753         * stdio-common/printf.h: Likewise.
30754         * stdlib/monetary.h: Likewise.
30755         * stdlib/random.c: Likewise.
30756         * stdlib/random_r.c: Likewise.
30757         * sysdeps/generic/Makefile: Likewise.
30758         * sysdeps/gnu/Makefile: Likewise.
30759         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30760         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30761         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30762         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30763         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30764         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30766         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30767         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30769         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30770         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30771         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30772         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30773         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30774         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30775         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30776         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30777         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30778         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30779         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30780         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30781         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30782         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30783         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30784         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30785         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30786         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30787         * sysdeps/mach/hurd/errnos.awk: Likewise.
30788         * sysdeps/mach/hurd/fork.c: Likewise.
30789         * sysdeps/mach/hurd/getcwd.c: Likewise.
30790         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30791         * sysdeps/mach/hurd/mmap.c: Likewise.
30792         * sysdeps/mach/hurd/utimes.c: Likewise.
30793         * sysdeps/mach/hurd/xmknod.c: Likewise.
30794         * sysdeps/posix/profil.c: Likewise.
30795         * sysdeps/posix/readdir_r.c: Likewise.
30796         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30797         * sysdeps/powerpc/bits/setjmp.h: Likewise.
30798         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30799         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30801         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30802         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30803         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30805         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30806         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30807         * sysdeps/pthread/lio_listio.c: Likewise.
30808         * sysdeps/sparc/dl-procinfo.h: Likewise.
30809         * sysdeps/unix/i386/sysdep.S: Likewise.
30810         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30811         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30812         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30813         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30815         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30816         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30817         * sysdeps/unix/sysv/linux/speed.c: Likewise.
30818         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30819         * sysdeps/wordsize-32/divdi3.c: Likewise.
30820         * time/sys/time.h: Likewise.
30821         * wcsmbs/Makefile: Likewise.
30823 2013-01-01  David S. Miller  <davem@davemloft.net>
30825         * po/fr.po: Update from translation team.
30827         * catgets/gencat.c: Update copyright year.
30828         * csu/version.c: Likewise.
30829         * debug/catchsegv.sh: Likewise.
30830         * debug/pcprofiledump.c: Likewise.
30831         * debug/xtrace.sh: Likewise.
30832         * elf/ldconfig.c: Likewise.
30833         * elf/ldd.bash.in: Likewise.
30834         * elf/pldd.c: Likewise.
30835         * elf/sotruss.ksh: Likewise.
30836         * elf/sprof.c: Likewise.
30837         * iconv/iconv_prog.c: Likewise.
30838         * iconv/iconvconfig.c: Likewise.
30839         * locale/programs/locale.c: Likewise.
30840         * locale/programs/localedef.c: Likewise.
30841         * login/programs/pt_chown.c: Likewise.
30842         * malloc/memusage.sh: Likewise.
30843         * malloc/memusagestat.c: Likewise.
30844         * malloc/mtrace.pl: Likewise.
30845         * nscd/nscd.c: Likewise.
30846         * nss/getent.c: Likewise.
30847         * nss/makedb.c: Likewise.
30848         * posix/getconf.c: Likewise.
30850 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30852         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30853         numbers.
30855 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
30857         * math/bits/mathcalls.h (modf): Use __nonnull.
30859 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30861         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30862         (split): Use macro CN instead of the bare value.
30863         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30864         could be used.
30865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30866         instead of the bare value.
30867         (power1): Likewise.
30869 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30872         __ATAN_TWOM.
30873         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30875         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30876         their values.
30877         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30878         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30879         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30880         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30882 2012-12-28  Andreas Jaeger  <aj@suse.de>
30884         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
30885         values are from Linux 3.7.
30887         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30888         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
30890 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30892         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30893         TRUE case.
30895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30896         (norm): Likewise.
30897         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30898         variables with preprocessor constants.
30899         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30900         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30901         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30903 2012-12-27  Bruno Haible  <bruno@clisp.org>
30905         [BZ #14317]
30906         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30907         only if needed.
30909 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30911         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30912         and use variable directly.
30913         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30915         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30916         MPONE.
30917         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30918         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30919         variable MPONE.
30920         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30921         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30922         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30923         include directive.  Remove local variable MPONE.
30924         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30925         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30926         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30928 2012-12-25  David S. Miller  <davem@davemloft.net>
30930         * version.h (RELEASE): Set to "development".
30931         (VERSION): Set to "2.17.90".
30932         * NEWS: Add 2.18 section.
30934 2012-12-21  David S. Miller  <davem@davemloft.net>
30936         * po/hr.po: Update from translation team.
30938 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30940         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30942 2012-12-19  Steve Ellcey  <sellcey@mips.com>
30944         * NEWS:  Mention new memcpy for MIPS.
30946 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30948         * manual/contrib.texi (Contributors): Spelling correction.
30950 2012-12-15  David S. Miller  <davem@davemloft.net>
30952         * po/ru.po: Update from translation team.
30954 2012-12-13  David S. Miller  <davem@davemloft.net>
30956         * NEWS: Mention IFUNC testsuite enhancements.
30958         * po/pl.po: Update from translation team.
30959         * po/bg.po: Likewise.
30961         * manual/contrib.texi (Contributors): Update entries for Hongjiu
30962         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
30964 2012-12-11  David S. Miller  <davem@davemloft.net>
30966         * po/sv.po: Update from translation team.
30968         * po/vi.po: Update from translation team.
30970         * po/cs.po: Update from translation team.
30972         * po/de.po: Update from translation team.
30973         * po/eo.po: Likewise.
30974         * po/nl.po: Likewise.
30976 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30978         [BZ #14246]
30979         * manual/argp.texi (Argp Helper Functions): Move node to follow
30980         Argp Parsing State.
30982         [BZ #14872]
30983         * manual/conf.texi (Limits on File System Capacity): Mention if
30984         terminating null is included in the max size.
30986 2012-12-10  Andreas Jaeger  <aj@suse.de>
30988         * po/cs.po: Update from translation team.
30990 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30992         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30993         void pointer and cast to uintptr_t.
30994         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30995         path.
30996         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30997         * sysdeps/s390/s390-64/memset.S: Likewise.
30999 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31001         [BZ #14833]
31002         * menual/message.texi (Message Translation): Fix typos.
31003         (Helper programs for gettext): Likewise.
31005 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31007         [BZ #14898]
31008         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31009         Change to -1.
31011 2012-12-07  David S. Miller  <davem@davemloft.net>
31013         * po/libc.pot: Update.
31015 2012-12-07  Richard Henderson  <rth@redhat.com>
31017         [BZ #10114]
31018         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31019         normal/normal case to before the switch.
31020         (_FP_DIV): Likewise.
31022 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31023             Mike Frysinger  <vapier@gentoo.org>
31025         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31026         check for __NR_fadvise64_64.
31028 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31030         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31031         0, not just to plain "0" as a statement.
31032         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31033         with cw.
31035 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31037         * NEWS: Use sourceware.org in Bugzilla URL.
31039 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31042         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31044         * stdio-common/tst-put-error.c (do_test): Add newline to the
31045         padded test to ensure flush.
31047 2012-12-05  Jeff Law  <law@redhat.com>
31049         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31051 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31053         * README: Don't refer to ports add-on as distributed separately.
31054         Mention AArch64 in list of systems supported in the ports add-on.
31056         * LICENSES: Add more non-FSF copyright and license notices.
31058         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31059         ((unused)).
31061         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31063         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31064         10000 as width of padded output.
31066 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31068         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31070         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31071         variable LX with __attribute__ ((unused)).
31072         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31073         Likewise.
31074         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31075         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31076         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31077         with __attribute__ ((unused)).
31079 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31081         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31083 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31085         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31086         (CFLAGS-nldbl-acos.c): New variable.
31087         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31088         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31089         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31090         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31091         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31092         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31093         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31094         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31095         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31096         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31097         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31098         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31099         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31100         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31101         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31102         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31103         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31104         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31105         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31106         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31107         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31108         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31109         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31110         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31111         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31112         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31113         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31114         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31115         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31116         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31117         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31118         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31119         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31120         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31121         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31122         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31123         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31124         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31125         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31126         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31127         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31128         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31129         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31130         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31131         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31132         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31133         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31134         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31135         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31136         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31137         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31138         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31139         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31140         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31141         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31142         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31143         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31144         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31145         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31146         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31147         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31148         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31149         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31150         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31151         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31152         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31153         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31154         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31155         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31156         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31157         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31158         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31159         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31160         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31161         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31162         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31163         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31164         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31165         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31166         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31167         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31168         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31169         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31170         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31171         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31172         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31173         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31174         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31175         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31176         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31177         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31178         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31179         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31180         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31181         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31182         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31183         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31186         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31188         [BZ #14914]
31189         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31190         whole low double instead of just low 47 bits when splitting values
31191         into two parts.
31193 2012-12-03  Allan McRae  <allan@archlinux.org>
31195         * manual/stdio.texi (Predefined Printf Handlers): Remove
31196         @hsep and @vsep usage.
31198 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31200         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31201         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31203 2012-12-03  Jeff Law  <law@redhat.com>
31205         * time/sys/time.h (settimeofday): Do not mark TV argument
31206         as __nonnull.
31208 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31210         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31211         when currently writing and seek to current position when not.
31212         * libio/Makefile (tests): Remove bug-fclose1.
31213         * libio/bug-fclose1.c: Delete.
31215 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31217         * manual/arith.texi (feenableexcept): Fix typo.
31218         (fedisableexcept): Likewise.
31220 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31222         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31223         second, differently-typed declaration, rather than a cast.
31225 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31227         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31228         * include/rpc/svc.h: ... here.
31230 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31232         [BZ #13013]
31233         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31234         depending n and resplen2 to catch cases where answer
31235         equals answerp2.
31237 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31239         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31240         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31242 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31244         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31246 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31248         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31250 2012-11-28  Jeff Law  <law@redhat.com>
31252         [BZ #13761]
31253         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31254         dataset_temporary.  Track alloca usage into alloca_used.
31255         If dataset is large allocate and release it via malloc/free.
31257 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31259         [BZ #14197]
31260         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31262 2012-11-28  David S. Miller  <davem@davemloft.net>
31264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31266 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31268         [BZ #14803]
31269         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31270         of pi/2 rounded to nearest to 64 bits.
31271         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31272         nearest to 64 bits.
31273         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31274         bits.
31276 2012-11-28  Jeff Law <law@redhat.com>
31277             Martin Osvald <mosvald@redhat.com>
31279         [BZ #14889]
31280         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31281         * sunrpc/svc.c: Include time.h.
31282         (__svc_accept_failed): New function.
31283         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31284         any reason other than EINTR, call __svc_accept_failed.
31285         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31286         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31288 2012-11-28  Andreas Schwab  <schwab@suse.de>
31290         * scripts/abilist.awk: Also handle indirect functions in .opd
31291         section.
31293 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31295         [BZ #13881]
31296         * sysdeps/x86/fpu/powl_helper.c: New file.
31297         * sysdeps/x86/fpu/Makefile: Likewise.
31298         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31299         (p3): New object.
31300         (__ieee754_powl): Use __powl_helper for finite arguments except
31301         integer exponents below 8.
31302         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31303         (p3): New object.
31304         (__ieee754_powl): Use __powl_helper for finite arguments except
31305         integer exponents below 8.
31306         * math/libm-test.inc (pow_test): Add more tests and enable some
31307         previously disabled tests.
31308         * sysdeps/i386/fpu/libm-test-ulps: Update.
31309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31311 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31312             Carlos O'Donell  <carlos_odonell@mentor.com>
31314         * nss/makedb.c (is_prime): Assert that input is odd and greater
31315         than 4.  Note that fact in a comment too.
31316         (next_prime): Add 4 to input.
31318 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31320         [BZ #11741]
31321         * libio/Makefile (tests): Add test case tst-fwrite-error.
31322         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31323         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31324         * libio/tst-fwrite-error.c: New test case.
31326 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31328         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31329         before casting to void *.
31330         * include/libc-internal.h (__pointer_type): New macro.
31331         (__integer_if_pointer_type_sub): Likewise.
31332         (__integer_if_pointer_type): Likewise.
31333         (cast_to_integer): Likewise.
31334         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31335         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31336         before casting to atomic64_t.
31337         (atomic_exchange_acq): Likewise.
31338         (__arch_exchange_and_add_body): Likewise.
31339         (__arch_add_body): Likewise.
31340         (atomic_add_negative): Likewise.
31341         (atomic_add_zero): Likewise.
31343 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31345         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31346         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31347         (add_fdes): Likewise.
31348         (linear_search_fdes): Likewise.
31349         (binary_search_unencoded_fdes): Likewise.
31351 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31353         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31355 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31357         * configure.in: Autodetect C++ header directories.
31358         * configure: Regenerated.
31360 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31362         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31364 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31368 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31370         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31371         LDBL_MANT_DIG == 106]: Disable some tests.
31372         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31373         Likewise.
31374         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31375         Likewise.
31377         [BZ #14871]
31378         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31379         input for small inputs.  Return +/- pi/2 for large inputs.
31380         * math/libm-test.inc (atan_test): Add more tests.
31382         * sysdeps/generic/unwind-dw2-fde-glibc.c
31383         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31384         __attribute__ ((unused)).
31386         [BZ #14645]
31387         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31388         x * y if x and y are nonzero and z is zero.
31390         [BZ #14811]
31391         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31392         nonzero exponents with absolute value below 0x1p-117 to +/-
31393         0x1p-117.
31395         [BZ #14869]
31396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31397         up arguments below 2**-450, not just those below 2**-500.
31398         * math/libm-test.inc (hypot_test): Add another test.
31400         [BZ #14868]
31401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31402         Return a+b for ratio over 2**120, not 2**60.
31403         * math/libm-test.inc (hypot_test): Add another test.
31405         * math/libm-test.inc (clog_test): Use
31406         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31407         (clog10_test): Likewise.
31409         [BZ #6778]
31410         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31412 2012-11-22  Andreas Schwab  <schwab@suse.de>
31414         * sysdeps/i386/fpu/libm-test-ulps: Update.
31416 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31418         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31419         printf output with newline.
31421 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31423         [BZ #14865]
31424         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31425         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31426         -z nodlopen, -z initfirst and -z execstack support.
31427         * configure: Regenerated.
31429         * elf/elf.h (DF_1_NODIRECT): New macro.
31430         (DF_1_IGNMULDEF): Likewise.
31431         (DF_1_NOKSYMS): Likewise.
31432         (DF_1_NOHDR): Likewise.
31433         (DF_1_EDITED): Likewise.
31434         (DF_1_NORELOC): Likewise.
31435         (DF_1_SYMINTPOSE): Likewise.
31436         (DF_1_GLOBAUDIT): Likewise.
31437         (DF_1_SINGLETON): Likewise.
31438         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31439         DT_1_SUPPORTED_MASK bits.
31440         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31442 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31444         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31446 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31448         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31449         macro.
31451         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31452         (sendmmsg): Move declarations...
31453         * socket/sys/socket.h: ... here.
31454         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31455         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31456         include it from...
31457         * socket/recvmmsg.c: ... this new file.
31458         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31459         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31460         definition of __sendmmsg hidden.
31461         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31462         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31463         Move ENOSYS stub into and include it from...
31464         * socket/sendmmsg.c: ... this new file.
31465         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31466         (sysdep_routines): Move recvmmsg and sendmmsg...
31467         * socket/Makefile (routines): ... here.
31468         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31469         (GLIBC_PRIVATE): Add __sendmmsg.
31470         * include/sys/socket.h (__sendmmsg): Add declarations.
31471         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31472         sendmmsg.
31474 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31476         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31477         variable I1 with __attribute__ ((unused)).
31478         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31480 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31482         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31483         DUMMY variables with __attribute__ ((unused)).
31485         * bits/byteswap.h: Include <bits/types.h>.
31486         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31488 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31490         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31491         string_t.  Do not manually set errno.
31492         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31493         length with __strnlen.  Make sure to both set errno and return it on
31494         failure.
31496 2012-11-19  David S. Miller  <davem@davemloft.net>
31498         With help from Joseph Myers.
31499         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31500         very large arguments properly.
31501         * math/libm-test.inc (atan_test): New tests.
31502         (atan2_test): New tests.
31503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31504         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31506 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31508         [BZ #14856]
31509         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31510         Define to 3.
31512         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31513         [POSIX] (EADDRNOTAVAIL): Likewise.
31514         [POSIX] (EAFNOSUPPORT): Likewise.
31515         [POSIX] (EALREADY): Likewise.
31516         [POSIX] (ECONNABORTED): Likewise.
31517         [POSIX] (ECONNREFUSED): Likewise.
31518         [POSIX] (ECONNRESET): Likewise.
31519         [POSIX] (EDESTADDRREQ): Likewise.
31520         [POSIX] (EDQUOT): Likewise.
31521         [POSIX] (EHOSTUNREACH): Likewise.
31522         [POSIX] (EIDRM): Likewise.
31523         [POSIX] (EISCONN): Likewise.
31524         [POSIX] (ELOOP): Likewise.
31525         [POSIX] (EMULTIHOP): Likewise.
31526         [POSIX] (ENETDOWN): Likewise.
31527         [POSIX] (ENETUNREACH): Likewise.
31528         [POSIX] (ENOBUFS): Likewise.
31529         [POSIX] (ENODATA): Likewise.
31530         [POSIX] (ENOLINK): Likewise.
31531         [POSIX] (ENOMSG): Likewise.
31532         [POSIX] (ENOPROTOOPT): Likewise.
31533         [POSIX] (ENOSR): Likewise.
31534         [POSIX] (ENOSTR): Likewise.
31535         [POSIX] (ENOTCONN): Likewise.
31536         [POSIX] (ENOTSOCK): Likewise.
31537         [POSIX] (EOPNOTSUPP): Likewise.
31538         [POSIX] (EOVERFLOW): Likewise.
31539         [POSIX] (EPROTO): Likewise.
31540         [POSIX] (EPROTONOSUPPORT): Likewise.
31541         [POSIX] (EPROTOTYPE): Likewise.
31542         [POSIX] (ESTALE): Likewise.
31543         [POSIX] (ETIME): Likewise.
31544         [POSIX] (ETXTBSY): Likewise.
31545         [POSIX] (EWOULDBLOCK): Likewise.
31546         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31547         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31548         [POSIX] (SEEK_CUR): Likewise.
31549         [POSIX] (SEEK_END): Likewise.
31550         [POSIX || UNIX98] (mode_t): Do not require.
31551         [POSIX] (off_t): Likewise.
31552         [POSIX] (pid_t): Likewise.
31553         [POSIX] (sys/stat.h): Do not allow header.
31554         [POSIX] (unistd.h): Likewise.
31555         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31556         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31557         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31558         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31559         require.
31560         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31561         sigevent): Specify elements.
31562         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31563         entry.
31564         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31565         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31567         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31568         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31569         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31570         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31571         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31572         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31573         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31574         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31575         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31576         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31577         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31578         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31579         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31580         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31581         Likewise.
31582         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31583         Likewise.
31584         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31585         Likewise.
31586         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31587         Likewise.
31588         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31589         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31590         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31591         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31592         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31593         Specify lower bound on value.
31594         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31595         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31596         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31597         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31598         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31599         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31600         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31601         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31602         value.
31603         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31604         as optional.
31605         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31606         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31607         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31608         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31609         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31610         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31611         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31612         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31613         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31614         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31615         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31616         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31617         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31618         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31619         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31620         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31621         entry.
31622         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31623         optional.
31624         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31625         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31626         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31627         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31628         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31629         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31630         Likewise.
31631         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31632         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31633         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31634         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31635         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31636         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31637         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31638         as optional.
31639         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31640         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31641         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31642         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31643         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31644         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31645         specify as optional.
31646         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31647         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31648         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31649         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31650         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31651         [XPG3] (NL_LANGMAX): Likewise.
31652         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31653         [POSIX || XPG3] (NL_NMAX): Likewise.
31654         [POSIX || XPG3] (NL_SETMAX): Likewise.
31655         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31656         [XPG3] (NZERO): Likewise.
31657         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31658         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31659         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31660         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31661         (REG_ERANGE): Expect.
31662         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31663         optional-constant.
31664         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31665         Use (void) in prototype.
31666         [POSIX] (*_t): Allow.
31667         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31668         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31669         (WRDE_BADVAL): Expect.
31671         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31672         expect.
31673         [XPG3 || XPG4] (O_RSYNC): Likewise.
31674         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31675         Likewise.
31676         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31677         [XPG3 || XPG4] (sigqueue): Likewise.
31678         [XPG3 || XPG4] (sigtimedwait): Likewise.
31679         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31680         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31681         [XPG3 || XPG4] (vsnprintf): Likewise.
31682         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31683         Likewise.
31684         [XPG3 || XPG4] (blksize_t): Likewise.
31685         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31686         Likewise.
31687         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31688         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31689         [XPG3 || XPG4] (struct itimerspec): Likewise.
31690         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31691         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31692         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31693         [XPG3 || XPG4] (clockid_t): Likewise.
31694         [XPG3 || XPG4] (timer_t): Likewise.
31695         [XPG3 || XPG4] (clock_getres): Likewise.
31696         [XPG3 || XPG4] (clock_gettime): Likewise.
31697         [XPG3 || XPG4] (clock_settime): Likewise.
31698         [XPG3 || XPG4] (nanosleep): Likewise.
31699         [XPG3 || XPG4] (timer_create): Likewise.
31700         [XPG3 || XPG4] (timer_delete): Likewise.
31701         [XPG3 || XPG4] (timer_gettime): Likewise.
31702         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31703         [XPG3 || XPG4] (timer_settime): Likewise.
31704         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31705         [XPG3 || XPG4] (getlogin_r): Likewise.
31706         [XPG3 || XPG4] (pread): Likewise.
31707         [XPG3 || XPG4] (pthread_atfork): Likewise.
31708         [XPG3 || XPG4] (pwrite): Likewise.
31710         [BZ #14835]
31711         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31712         <bits/siginfo.h>.
31714 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31716         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31717         finalizing MALLSTREAM.
31719         * sysdeps/mach/hurd/syncfs.c: New file.
31721 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31723         [BZ #14719]
31724         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31725         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31726         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31727         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31728         (_nss_dns_gethostbyname4_r): Likewise.
31729         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31730         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31732 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31734         [BZ #13763]
31735         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31737 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31739         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31740         * elf/cache.c (print_entry): Print ",AArch64" for
31741         FLAG_AARCH64_LIB64
31743         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31744         * elf/cache.c (print_entry): Print ",hard-float" for
31745         FLAG_ARM_LIBHF.
31747 2012-11-18  David S. Miller  <davem@davemloft.net>
31749         With help from Joseph Myers.
31750         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31751         cutoff to 2**-13.
31752         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31753         cutoff to 2**-25.
31754         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31755         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31756         small.
31757         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31758         * math/libm-test.inc (y0_test): New tests.
31759         (y1_test): New tests.
31760         * sysdeps/i386/fpu/libm-test-ulps: Update.
31761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31764 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
31766         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31767         64-bit targets.
31768         * configure: Regenerated.
31770 2012-11-17  David S. Miller  <davem@davemloft.net>
31772         [BZ #14811]
31773         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31774         nonzero exponents with absolute value below 0x1p-128 to +/-
31775         0x1p-128.
31777 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
31779         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31781         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31783         * posix/getconf-speclist.c: New file.
31784         * posix/posix-envs.def: Likewise.
31785         * posix/confstr.c (START_ENV_GROUP): New macro.
31786         (END_ENV_GROUP): Likewise.
31787         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31788         (KNOWN_PRESENT_ENV_STRING): Likewise.
31789         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31790         (UNKNOWN_ENVIRONMENT): Likewise.
31791         (confstr): Include posix-envs.def instead of handling
31792         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31793         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31794         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31795         (END_ENV_GROUP): Likewise.
31796         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31797         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31798         (UNKNOWN_ENVIRONMENT): Likewise.
31799         (__sysconf): Include posix-envs.def instead of handling associated
31800         cases directly here.
31801         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31802         preprocessing getconf-speclist.c rather than running getconf or
31803         generating empty file.
31805 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
31807         * scripts/check-local-headers.sh: Ignore 'mach' headers.
31809 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
31811         [BZ #14672]
31812         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31814 2012-11-16  David S. Miller  <davem@davemloft.net>
31816         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31817         smaller than LDBL_EPSILON/2.0L, just return xm1.
31819 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
31821         * elf/tst-array1.c (init): Set constructor priority to 1000.
31822         (fini): Set destructor priority to 1000.
31823         * elf/tst-array2dep.c: Likewise.
31825 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31827         [BZ #11741]
31828         * libio/fileops.c (_IO_new_file_write): Correctly return error.
31829         (_IO_new_file_xsputn): Also return EOF if none of the input
31830         data was written when overflow failed.
31831         * libio/iopadn.c (_IO_padn): Likewise.
31832         * libio/iowpadn.c (_IO_wpadn): Likewise.
31833         * stdio-common/tst-put-error.c: Add copyright notice.
31834         (do_test): Add case for printing padded string.
31835         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31836         _IO_padn returned error.
31837         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31838         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31839         return EOF.
31841 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31843         * libio/libioP.h: Add comment note that the references to C++
31844         bits are now obsolete.
31846 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31848         * math/libm-test.inc (check_complex): Use asprintf.
31850 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
31852         * debug/pcprofiledump.c (print_version): Update copyright year.
31853         * malloc/memusagestat.c (print_version): Likewise.
31855 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
31857         [BZ #14831]
31858         * elf/Makefile (tests): Add tst-audit8.
31859         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31860         ($(objpfx)tst-audit8.out): New target.
31861         (tst-audit8-ENV): New variable.
31862         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31863         audit if l_reloc_result is NULL.
31864         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31865         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31866         * elf/tst-audit8.c: New file.
31868 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31870         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31871         * misc/Makefile (CFLAGS-select.c): Define.
31872         * posix/Makefile (CFLAGS-pause.c): Define.
31874 2012-11-13  David S. Miller  <davem@davemloft.net>
31876         * crypt/Makefile: Move test targets after toplevel Rules
31877         inclusion.  Grab any necessary sysdep routines when linking.
31878         * crypt/md5.c (md5_process_block): Remove define, we will always
31879         name it __md5_process_block.
31880         (md5_finish_ctx): Update md5_process_block call.
31881         (md5_stream): Likewise.
31882         (md5_process_bytes): Likewise.
31883         (md5_process_block): Rename to __md5_process_block and move to ...
31884         * crypt/md5-block.c: ... here.
31885         * crypt/sha256.c (sha256_process_block): Move to ...
31886         * crypt/sha256-block.c: ... here.
31887         * crypt/sha512.c (sha512_process_block): Move to ...
31888         * crypt/sha512-block.c: ... here.
31889         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31890         path.
31891         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31892         * sysdeps/sparc/sparc64/multiarch/Makefile
31893         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31894         crypt subdir.
31895         (localedef-aux): Add md5 crypto assembler when in locale subdir.
31896         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31897         multiarch changes.
31898         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31899         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31900         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31901         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31902         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31903         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31904         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31905         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31906         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31907         file.
31908         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31909         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31910         file.
31911         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31913 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
31915         * timezone/tzselect.ksh: Update from tzcode git revision
31916         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31917         * timezone/zdump.c: Likewise.
31918         * timezone/zic.c: Likewise.
31919         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31920         in TZVERSION setting, not $(PKGVERSION).
31921         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
31922         REPORT_BUGS_TO settings.
31924         [BZ #14838]
31925         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31926         macro.
31928 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31930         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31931         detection to immediately after _FP_ROUND().
31932         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31933         bits are 0.
31935 2012-11-11  David S. Miller  <davem@davemloft.net>
31937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31938         inttypes.h
31939         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31940         __close rather than their public counterparts.
31942 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
31944         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31945         file.
31946         [UNIX98] (sem_timedwait): Do not expect.
31947         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31948         [XPG4 || UNIX98] (sockatmark): Do not expect.
31949         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31950         (clock_getcpuclockid): Do not expect.
31951         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31952         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31953         Do not expect.
31954         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31955         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31956         [UNIX98] (vwscanf): Likewise.
31957         [UNIX98] (vswscanf): Likewise.
31959 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
31961         * timezone/version.h: Remove file.
31962         * timezone/README: Do not refer to version.h.
31963         * timezone/Makefile ($(objpfx)zic.o): New dependency on
31964         $(objpfx)version.h.
31965         ($(objpfx)zdump.o): Likewise.
31966         ($(objpfx)version.h): New target.
31968         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31969         2012i.
31970         * timezone/README: Don't mention modification to tzselect.ksh.
31971         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31972         work on unmodified tzselect.ksh.  Substitute version numbers in
31973         tzselect.ksh.
31975         * Makefile (format-me): Remove.
31976         (INSTALL): Adjust indentation.  Use commands directly instead of
31977         using $(format-me).
31979         * aclocal.m4 (ACX_PKGVERSION): New macro.
31980         (ACX_BUGURL): Likewise.
31981         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31982         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31983         (REPORT_BUGS_TO): Likewise.
31984         * configure: Regenerated.
31985         * config.h.in (PKGVERSION): New macro.
31986         (REPORT_BUGS_TO): Likewise.
31987         * config.make.in (PKGVERSION): New variable.
31988         (PKGVERSION_TEXI): Likewise.
31989         (REPORT_BUGS_TO): Likewise.
31990         (REPORT_BUGS_TEXI): Likewise.
31991         * Makefile (format-me): Use -I$(common-objpfx)manual.
31992         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31993         ($(common-objpfx)manual/%): New target.
31994         (manual/%): Remove target.
31995         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31996         (print_version): Use PKGVERSION.
31997         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31998         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31999         and REPORT_BUGS_TO.
32000         ($(objpfx)xtrace): Likewise.
32001         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32002         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32003         (print_version): Use PKGVERSION.
32004         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32005         (do_version): Use PKGVERSION.
32006         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32007         REPORT_BUGS_TO.
32008         (common-ldd-rewrite): Likewise.
32009         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32010         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32011         (print_version): Use PKGVERSION.
32012         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32013         * elf/pldd.c (argp_program_bug_address): Remove variable.
32014         (more_help): New function.
32015         (argp): Use more_help.
32016         (print_version): Use PKGVERSION.
32017         * elf/sln.c (main): Use PKGVERSION.
32018         (usage): Use REPORT_BUGS_TO.
32019         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32020         (top level): Use PKGVERSION.
32021         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32022         (print_version): Use PKGVERSION.
32023         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32024         (print_version): Use PKGVERSION.
32025         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32026         (print_version): Use PKGVERSION.
32027         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32028         (print_version): Use PKGVERSION.
32029         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32030         (print_version): Use PKGVERSION.
32031         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32032         (print_version): Use PKGVERSION.
32033         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32034         and BUGURL.
32035         ($(objpfx)memusage): Likewise.
32036         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32037         (do_version): Use PKGVERSION.
32038         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32039         (print_version): Use PKGVERSION.
32040         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32041         ($PKGVERSION): New variable.
32042         ($REPORT_BUGS_TO): Likewise.
32043         (usage): Use $REPORT_BUGS_TO.
32044         (top level): Use $PKGVERSION.
32045         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32046         ($(objpfx)pkgvers.texi): New rule.
32047         ($(objpfx)stamp-pkgvers): Likewise.
32048         * manual/install.texi: Include pkgvers.texi.
32049         (--with-pkgversion): Document new configure option.
32050         (--with-bugurl): Likewise.
32051         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32052         than necessarily for this particular distribution.  Use
32053         REPORT_BUGS_TO for where to report bugs.
32054         * INSTALL: Regenerated.
32055         * manual/libc.texinfo: Include pkgvers.texi.
32056         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32057         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32058         (print_version): Use PKGVERSION.
32059         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32060         (print_version): Use PKGVERSION.
32061         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32062         (print_version): Use PKGVERSION.
32063         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32064         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32065         macro.
32066         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32067         (print_version): Use PKGVERSION.
32068         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32069         (print_version): Use PKGVERSION.
32070         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32071         and PKGVERSION.
32073         * timezone/checktab.awk: Update from tzcode 2012i.
32074         * timezone/ialloc.c: Likewise.
32075         * timezone/private.h: Likewise.
32076         * timezone/scheck.c: Likewise.
32077         * timezone/tzfile.h: Likewise.
32078         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32079         (TZVERSION): Hardcode tzcode version number.
32080         * timezone/zdump.c: Update from tzcode 2012i.
32081         * timezone/zic.c: Likewise.
32082         * timezone/version.h: New file.
32083         * timezone/README: Describe version.h.  Update upstream location.
32085         [BZ #14824]
32086         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32087         (mktemp): Enable declaration.
32088         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32089         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32090         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32091         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32092         Likewise.
32093         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32094         Likewise.
32095         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32096         Likewise.
32097         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32098         Likewise.
32099         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32100         Likewise.
32101         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32102         Likewise.
32104         [BZ #14821]
32105         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32106         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32107         for copies of such integer values.
32108         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32109         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32111 2012-11-09  Andreas Jaeger  <aj@suse.de>
32113         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32114         definitions and declarations that are provided by
32115         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32117 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32119         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32120         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32121         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32122         definition.
32124 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32126         * elf/elf.h: Update comment before AArch64 relocations.
32128 2012-11-07  David S. Miller  <davem@davemloft.net>
32130         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32131         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32132         (__start_context): Declare.
32133         (__makecontext_ret): Delete.
32134         (__makecontext): Hook up __start_context instead of
32135         __makecontext_ret.
32136         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32137         (sysdep_routines): Add __start_context when in stdlib.
32139 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32141         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32142         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32143         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32144         hardcoded "nm".
32145         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32146         (READELF): New variable.  Use it instead of hardcoded "readelf".
32148 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32150         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32151         * sysdeps/x86/Makefile: Here.
32152         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32153         * sysdeps/x86/tst-xmmymm.sh: This.
32155 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32157         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32158         expectations.
32159         [UNIX98] (pthread_barrier_t): Do not expect.
32160         [UNIX98] (pthread_barrierattr_t): Likewise.
32161         [UNIX98] (pthread_spinlock_t): Likewise.
32162         [UNIX98] (pthread_barrier_destroy): Likewise.
32163         [UNIX98] (pthread_barrier_init): Likewise.
32164         [UNIX98] (pthread_barrier_wait): Likewise.
32165         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32166         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32167         [UNIX98] (pthread_barrierattr_init): Likewise.
32168         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32169         [UNIX98] (pthread_getcpuclockid): Likewise.
32170         [UNIX98] (pthread_mutex_timedlock): Likewise.
32171         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32172         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32173         [UNIX98] (pthread_sigmask): Likewise.
32174         [UNIX98] (pthread_spin_destroy): Likewise.
32175         [UNIX98] (pthread_spin_init): Likewise.
32176         [UNIX98] (pthread_spin_lock): Likewise.
32177         [UNIX98] (pthread_spin_trylock): Likewise.
32178         [UNIX98] (pthread_spin_unlock): Likewise.
32179         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32180         Do not expect.
32181         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32182         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32183         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32184         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32185         [XPG3 || XPG4] (pthread_key_t): Likewise.
32186         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32187         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32188         [XPG3 || XPG4] (pthread_once_t): Likewise.
32189         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32190         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32191         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32192         [XPG3 || XPG4] (pthread_t): Likewise.
32194         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32195         not expect.
32196         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32198         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32199         Change function return type to int.
32201         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32202         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32203         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32204         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32205         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32206         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32207         [!POSIX] (posix_madvise): Likewise.
32208         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32209         && !UNIX98].
32210         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32211         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32212         (mode_t): Likewise.
32213         (posix_mem_offset): Likewise.
32214         (posix_typed_mem_get_info): Likewise.
32215         (posix_typed_mem_open): Likewise.
32217         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32218         Change condition to [XOPEN2K8].
32220         * conform/conformtest.pl: Preprocess allow-header data with -x c
32221         instead of from stdin.
32222         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32223         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32224         [C99-based standards] (cerfc): Likewise.
32225         [C99-based standards] (cexp2): Likewise.
32226         [C99-based standards] (cexpm1): Likewise.
32227         [C99-based standards] (clog10): Likewise.
32228         [C99-based standards] (clog1p): Likewise.
32229         [C99-based standards] (clog2): Likewise.
32230         [C99-based standards] (clgamma): Likewise.
32231         [C99-based standards] (ctgamma): Likewise.
32232         [C99-based standards] (cerff): Likewise.
32233         [C99-based standards] (cerfcf): Likewise.
32234         [C99-based standards] (cexp2f): Likewise.
32235         [C99-based standards] (cexpm1f): Likewise.
32236         [C99-based standards] (clog10f): Likewise.
32237         [C99-based standards] (clog1pf): Likewise.
32238         [C99-based standards] (clog2f): Likewise.
32239         [C99-based standards] (clgammaf): Likewise.
32240         [C99-based standards] (ctgammaf): Likewise.
32241         [C99-based standards] (cerfl): Likewise.
32242         [C99-based standards] (cerfcl): Likewise.
32243         [C99-based standards] (cexp2l): Likewise.
32244         [C99-based standards] (cexpm1l): Likewise.
32245         [C99-based standards] (clog10l): Likewise.
32246         [C99-based standards] (clog1pl): Likewise.
32247         [C99-based standards] (clog2l): Likewise.
32248         [C99-based standards] (clgammal): Likewise.
32249         [C99-based standards] (ctgammal): Likewise.
32250         * conform/data/inttypes.h-data [C99-based standards]: Include
32251         stdint.h-data.  Remove all expectations for stdint.h contents.
32252         [C99-based standards] (PRI*): Do not allow.
32253         [C99-based standards] (SCN*): Likewise.
32254         [C99-based standards] (*_t): Likewise.
32255         [C99-based-standards] (PRId8): Expect macro.
32256         [C99-based-standards] (PRIi8): Likewise.
32257         [C99-based-standards] (PRIo8): Likewise.
32258         [C99-based-standards] (PRIu8): Likewise.
32259         [C99-based-standards] (PRIx8): Likewise.
32260         [C99-based-standards] (PRIX8): Likewise.
32261         [C99-based-standards] (SCNd8): Likewise.
32262         [C99-based-standards] (SCNi8): Likewise.
32263         [C99-based-standards] (SCNo8): Likewise.
32264         [C99-based-standards] (SCNu8): Likewise.
32265         [C99-based-standards] (SCNx8): Likewise.
32266         [C99-based-standards] (PRIdLEAST8): Likewise.
32267         [C99-based-standards] (PRIiLEAST8): Likewise.
32268         [C99-based-standards] (PRIoLEAST8): Likewise.
32269         [C99-based-standards] (PRIuLEAST8): Likewise.
32270         [C99-based-standards] (PRIxLEAST8): Likewise.
32271         [C99-based-standards] (PRIXLEAST8): Likewise.
32272         [C99-based-standards] (SCNdLEAST8): Likewise.
32273         [C99-based-standards] (SCNiLEAST8): Likewise.
32274         [C99-based-standards] (SCNoLEAST8): Likewise.
32275         [C99-based-standards] (SCNuLEAST8): Likewise.
32276         [C99-based-standards] (SCNxLEAST8): Likewise.
32277         [C99-based-standards] (PRIdFAST8): Likewise.
32278         [C99-based-standards] (PRIiFAST8): Likewise.
32279         [C99-based-standards] (PRIoFAST8): Likewise.
32280         [C99-based-standards] (PRIuFAST8): Likewise.
32281         [C99-based-standards] (PRIxFAST8): Likewise.
32282         [C99-based-standards] (PRIXFAST8): Likewise.
32283         [C99-based-standards] (SCNdFAST8): Likewise.
32284         [C99-based-standards] (SCNiFAST8): Likewise.
32285         [C99-based-standards] (SCNoFAST8): Likewise.
32286         [C99-based-standards] (SCNuFAST8): Likewise.
32287         [C99-based-standards] (SCNxFAST8): Likewise.
32288         [C99-based-standards] (PRId16): Likewise.
32289         [C99-based-standards] (PRIi16): Likewise.
32290         [C99-based-standards] (PRIo16): Likewise.
32291         [C99-based-standards] (PRIu16): Likewise.
32292         [C99-based-standards] (PRIx16): Likewise.
32293         [C99-based-standards] (PRIX16): Likewise.
32294         [C99-based-standards] (SCNd16): Likewise.
32295         [C99-based-standards] (SCNi16): Likewise.
32296         [C99-based-standards] (SCNo16): Likewise.
32297         [C99-based-standards] (SCNu16): Likewise.
32298         [C99-based-standards] (SCNx16): Likewise.
32299         [C99-based-standards] (PRIdLEAST16): Likewise.
32300         [C99-based-standards] (PRIiLEAST16): Likewise.
32301         [C99-based-standards] (PRIoLEAST16): Likewise.
32302         [C99-based-standards] (PRIuLEAST16): Likewise.
32303         [C99-based-standards] (PRIxLEAST16): Likewise.
32304         [C99-based-standards] (PRIXLEAST16): Likewise.
32305         [C99-based-standards] (SCNdLEAST16): Likewise.
32306         [C99-based-standards] (SCNiLEAST16): Likewise.
32307         [C99-based-standards] (SCNoLEAST16): Likewise.
32308         [C99-based-standards] (SCNuLEAST16): Likewise.
32309         [C99-based-standards] (SCNxLEAST16): Likewise.
32310         [C99-based-standards] (PRIdFAST16): Likewise.
32311         [C99-based-standards] (PRIiFAST16): Likewise.
32312         [C99-based-standards] (PRIoFAST16): Likewise.
32313         [C99-based-standards] (PRIuFAST16): Likewise.
32314         [C99-based-standards] (PRIxFAST16): Likewise.
32315         [C99-based-standards] (PRIXFAST16): Likewise.
32316         [C99-based-standards] (SCNdFAST16): Likewise.
32317         [C99-based-standards] (SCNiFAST16): Likewise.
32318         [C99-based-standards] (SCNoFAST16): Likewise.
32319         [C99-based-standards] (SCNuFAST16): Likewise.
32320         [C99-based-standards] (SCNxFAST16): Likewise.
32321         [C99-based-standards] (PRId32): Likewise.
32322         [C99-based-standards] (PRIi32): Likewise.
32323         [C99-based-standards] (PRIo32): Likewise.
32324         [C99-based-standards] (PRIu32): Likewise.
32325         [C99-based-standards] (PRIx32): Likewise.
32326         [C99-based-standards] (PRIX32): Likewise.
32327         [C99-based-standards] (SCNd32): Likewise.
32328         [C99-based-standards] (SCNi32): Likewise.
32329         [C99-based-standards] (SCNo32): Likewise.
32330         [C99-based-standards] (SCNu32): Likewise.
32331         [C99-based-standards] (SCNx32): Likewise.
32332         [C99-based-standards] (PRIdLEAST32): Likewise.
32333         [C99-based-standards] (PRIiLEAST32): Likewise.
32334         [C99-based-standards] (PRIoLEAST32): Likewise.
32335         [C99-based-standards] (PRIuLEAST32): Likewise.
32336         [C99-based-standards] (PRIxLEAST32): Likewise.
32337         [C99-based-standards] (PRIXLEAST32): Likewise.
32338         [C99-based-standards] (SCNdLEAST32): Likewise.
32339         [C99-based-standards] (SCNiLEAST32): Likewise.
32340         [C99-based-standards] (SCNoLEAST32): Likewise.
32341         [C99-based-standards] (SCNuLEAST32): Likewise.
32342         [C99-based-standards] (SCNxLEAST32): Likewise.
32343         [C99-based-standards] (PRIdFAST32): Likewise.
32344         [C99-based-standards] (PRIiFAST32): Likewise.
32345         [C99-based-standards] (PRIoFAST32): Likewise.
32346         [C99-based-standards] (PRIuFAST32): Likewise.
32347         [C99-based-standards] (PRIxFAST32): Likewise.
32348         [C99-based-standards] (PRIXFAST32): Likewise.
32349         [C99-based-standards] (SCNdFAST32): Likewise.
32350         [C99-based-standards] (SCNiFAST32): Likewise.
32351         [C99-based-standards] (SCNoFAST32): Likewise.
32352         [C99-based-standards] (SCNuFAST32): Likewise.
32353         [C99-based-standards] (SCNxFAST32): Likewise.
32354         [C99-based-standards] (PRId64): Likewise.
32355         [C99-based-standards] (PRIi64): Likewise.
32356         [C99-based-standards] (PRIo64): Likewise.
32357         [C99-based-standards] (PRIu64): Likewise.
32358         [C99-based-standards] (PRIx64): Likewise.
32359         [C99-based-standards] (PRIX64): Likewise.
32360         [C99-based-standards] (SCNd64): Likewise.
32361         [C99-based-standards] (SCNi64): Likewise.
32362         [C99-based-standards] (SCNo64): Likewise.
32363         [C99-based-standards] (SCNu64): Likewise.
32364         [C99-based-standards] (SCNx64): Likewise.
32365         [C99-based-standards] (PRIdLEAST64): Likewise.
32366         [C99-based-standards] (PRIiLEAST64): Likewise.
32367         [C99-based-standards] (PRIoLEAST64): Likewise.
32368         [C99-based-standards] (PRIuLEAST64): Likewise.
32369         [C99-based-standards] (PRIxLEAST64): Likewise.
32370         [C99-based-standards] (PRIXLEAST64): Likewise.
32371         [C99-based-standards] (SCNdLEAST64): Likewise.
32372         [C99-based-standards] (SCNiLEAST64): Likewise.
32373         [C99-based-standards] (SCNoLEAST64): Likewise.
32374         [C99-based-standards] (SCNuLEAST64): Likewise.
32375         [C99-based-standards] (SCNxLEAST64): Likewise.
32376         [C99-based-standards] (PRIdFAST64): Likewise.
32377         [C99-based-standards] (PRIiFAST64): Likewise.
32378         [C99-based-standards] (PRIoFAST64): Likewise.
32379         [C99-based-standards] (PRIuFAST64): Likewise.
32380         [C99-based-standards] (PRIxFAST64): Likewise.
32381         [C99-based-standards] (PRIXFAST64): Likewise.
32382         [C99-based-standards] (SCNdFAST64): Likewise.
32383         [C99-based-standards] (SCNiFAST64): Likewise.
32384         [C99-based-standards] (SCNoFAST64): Likewise.
32385         [C99-based-standards] (SCNuFAST64): Likewise.
32386         [C99-based-standards] (SCNxFAST64): Likewise.
32387         [C99-based-standards] (PRIdMAX): Likewise.
32388         [C99-based-standards] (PRIiMAX): Likewise.
32389         [C99-based-standards] (PRIoMAX): Likewise.
32390         [C99-based-standards] (PRIuMAX): Likewise.
32391         [C99-based-standards] (PRIxMAX): Likewise.
32392         [C99-based-standards] (PRIXMAX): Likewise.
32393         [C99-based-standards] (SCNdMAX): Likewise.
32394         [C99-based-standards] (SCNiMAX): Likewise.
32395         [C99-based-standards] (SCNoMAX): Likewise.
32396         [C99-based-standards] (SCNuMAX): Likewise.
32397         [C99-based-standards] (SCNxMAX): Likewise.
32398         [C99-based-standards] (PRIdPTR): Likewise.
32399         [C99-based-standards] (PRIiPTR): Likewise.
32400         [C99-based-standards] (PRIoPTR): Likewise.
32401         [C99-based-standards] (PRIuPTR): Likewise.
32402         [C99-based-standards] (PRIxPTR): Likewise.
32403         [C99-based-standards] (PRIXPTR): Likewise.
32404         [C99-based-standards] (SCNdPTR): Likewise.
32405         [C99-based-standards] (SCNiPTR): Likewise.
32406         [C99-based-standards] (SCNoPTR): Likewise.
32407         [C99-based-standards] (SCNuPTR): Likewise.
32408         [C99-based-standards] (SCNxPTR): Likewise.
32409         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32410         allow.
32411         * conform/data/stdint.h-data: Update comments to clarify
32412         requirements.
32413         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32414         type.
32415         [C99-based standards] (INT8_MAX): Likewise.
32416         [C99-based standards] (INT16_MIN): Likewise.
32417         [C99-based standards] (INT16_MAX): Likewise.
32418         [C99-based standards] (INT32_MIN): Likewise.
32419         [C99-based standards] (INT32_MAX): Likewise.
32420         [C99-based standards] (INT64_MIN): Likewise.
32421         [C99-based standards] (INT64_MAX): Likewise.
32422         [C99-based standards] (UINT8_MAX): Likewise.
32423         [C99-based standards] (UINT16_MAX): Likewise.
32424         [C99-based standards] (UINT32_MAX): Likewise.
32425         [C99-based standards] (UINT64_MAX): Likewise.
32426         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32427         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32428         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32429         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32430         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32431         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32432         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32433         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32434         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32435         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32436         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32437         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32438         [C99-based standards] (INT_FAST8_MIN): Likewise.
32439         [C99-based standards] (INT_FAST8_MAX): Likewise.
32440         [C99-based standards] (INT_FAST16_MIN): Likewise.
32441         [C99-based standards] (INT_FAST16_MAX): Likewise.
32442         [C99-based standards] (INT_FAST32_MIN): Likewise.
32443         [C99-based standards] (INT_FAST32_MAX): Likewise.
32444         [C99-based standards] (INT_FAST64_MIN): Likewise.
32445         [C99-based standards] (INT_FAST64_MAX): Likewise.
32446         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32447         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32448         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32449         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32450         [C99-based standards] (INTPTR_MIN): Likewise.
32451         [C99-based standards] (INTPTR_MAX): Likewise.
32452         [C99-based standards] (UINTPTR_MAX): Likewise.
32453         [C99-based standards] (INTMAX_MIN): Likewise.
32454         [C99-based standards] (INTMAX_MAX): Likewise.
32455         [C99-based standards] (UINTMAX_MAX): Likewise.
32456         [C99-based standards] (PTRDIFF_MIN): Likewise.
32457         [C99-based standards] (PTRDIFF_MAX): Likewise.
32458         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32459         [C99-based standards] (SIZE_MAX): Likewise.
32460         [C99-based standards] (WCHAR_MAX): Likewise.
32461         [C99-based standards] (WINT_MAX): Likewise.
32462         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32463         constraint on value.
32464         [C99-based standards] (WCHAR_MIN): Likewise.
32465         [C99-based standards] (WINT_MIN): Likewise.
32466         [C99-based standards] (*_t): Allow.
32467         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32468         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32469         Include math.h-data and complex.h-data.  Remove all expectations
32470         of math.h and complex.h contents.
32471         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32472         at end of line.
32473         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32474         (struct tm): Expect tag.
32475         [C99-based-standards] (wcstof): Expect function.
32476         [C99-based-standards] (wcstold): Likewise.
32477         [C99-based-standards] (wcstoll): Likewise.
32478         [C99-based-standards] (wcstoull): Likewise.
32479         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32480         macro-int-constant.  Specify type.
32481         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32482         constraint on value.
32483         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32484         Specify type.
32485         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32486         Specify value.
32487         [ISO C standards]: Do not allow headers.
32488         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32489         wcs[abcdefghijklmnopqrstuvwxyz]*.
32490         [ISO C standards] (*_t): Do not allow.
32491         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32492         Expect function.
32493         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32494         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32495         Specify type.
32496         [ISO C standards]: Do not allow headers.
32497         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32498         is[abcdefghijklmnopqrstuvwxyz]*.
32499         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32500         to[abcdefghijklmnopqrstuvwxyz]*.
32501         [ISO C standards] (*_t): Do not allow.
32502         * conform/data/stdalign.h-data: New file.
32503         * conform/data/stdbool.h-data: Likewise.
32504         * conform/data/stdnoreturn.h-data: Likewise.
32506 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32508         [BZ #14815]
32509         * manual/filesys.texi (Directory Entries): Typo fix.
32510         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32512 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32514         * elf/elf.h (EM_AARCH64): New macro.
32515         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32516         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32517         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32518         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32519         (R_AARCH64_TLSDESC): Likewise.
32520         (NT_ARM_TLS): Likewise.
32521         (NT_ARM_HW_BREAK): Likewise.
32522         (NT_ARM_HW_WATCH): Likewise.
32524 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32526         [BZ #14811]
32527         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32528         (__ieee754_powl): Saturate nonzero exponents with absolute value
32529         below 0x1p-79 to +/- 0x1p-79.
32530         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32531         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32532         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32533         nonzero exponents with absolute value below 0x1p-32 to +/-
32534         0x1p-32.
32535         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32536         (__ieee754_powl): Saturate nonzero exponents with absolute value
32537         below 0x1p-79 to +/- 0x1p-79.
32538         * math/libm-test.inc (pow_test): Add more tests.
32540 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32542         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32543         _dl_s390_cap_flags with kernel. Increase string length.
32544         (_dl_s390_platforms): Add z196 and zEC12.
32546 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32548         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32549         Change XOPEN21K to XOPEN2K.
32551 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32553         * string/memmove.c: Use memcpy when possible.
32555 2012-11-06  Andreas Jaeger  <aj@suse.de>
32557         * po/eo.po: Update from translation team.
32559 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32561         [BZ #14793]
32562         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32563         exponent and small x and y exponents, scale x or y up.  Increase
32564         by 2 the exponent used in scaling up.
32565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32566         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32567         * math/libm-test.inc (fma_test): Add more tests.
32568         (fma_test_towardzero): Likewise.
32569         (fma_test_downward): Likewise.
32570         (fma_test_upward): Likewise.
32572 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32574         [BZ #14805]
32575         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32576         fenv_t *.
32578         [BZ #14801]
32579         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32580         namespace for names of struct fields.
32581         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32582         fenv_t fields.
32583         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32584         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32586 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32588         [BZ #3665]
32589         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32591 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32593         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32594         PTR_DEMANGLE.
32596         [BZ #5246]
32597         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32598         PTR_DEMANGLE.
32600 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32602         [BZ #14797]
32603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32604         definitely overflow as x * y not x * y + z.
32605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32607         * math/libm-test.inc (fma_test): Add more tests.
32608         (fma_test_towardzero): Likewise.
32609         (fma_test_downward): Likewise.
32610         (fma_test_upward): Likewise.
32612 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32614         [BZ #157]
32616         * include/stub-tag.h: Remove file.
32617         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32618         '#include' of it.
32619         * manual/maint.texi (Porting): Don't reference it.
32620         * Makerules ($(objpfx)stubs): Likewise.
32621         * dirent/closedir.c: Don't include <stub-tag.h>.
32622         * dirent/dirfd.c: Likewise.
32623         * dirent/fdopendir.c: Likewise.
32624         * dirent/getdents.c: Likewise.
32625         * dirent/getdents64.c: Likewise.
32626         * dirent/opendir.c: Likewise.
32627         * dirent/readdir.c: Likewise.
32628         * dirent/readdir64.c: Likewise.
32629         * dirent/readdir64_r.c: Likewise.
32630         * dirent/readdir_r.c: Likewise.
32631         * dirent/rewinddir.c: Likewise.
32632         * dirent/seekdir.c: Likewise.
32633         * dirent/telldir.c: Likewise.
32634         * gmon/profil.c: Likewise.
32635         * grp/setgroups.c: Likewise.
32636         * inet/if_index.c: Likewise.
32637         * io/access.c: Likewise.
32638         * io/chdir.c: Likewise.
32639         * io/chmod.c: Likewise.
32640         * io/chown.c: Likewise.
32641         * io/close.c: Likewise.
32642         * io/dup.c: Likewise.
32643         * io/dup2.c: Likewise.
32644         * io/dup3.c: Likewise.
32645         * io/euidaccess.c: Likewise.
32646         * io/faccessat.c: Likewise.
32647         * io/fchdir.c: Likewise.
32648         * io/fchmod.c: Likewise.
32649         * io/fchmodat.c: Likewise.
32650         * io/fchown.c: Likewise.
32651         * io/fchownat.c: Likewise.
32652         * io/fcntl.c: Likewise.
32653         * io/flock.c: Likewise.
32654         * io/fstatfs.c: Likewise.
32655         * io/fstatfs64.c: Likewise.
32656         * io/fstatvfs.c: Likewise.
32657         * io/fstatvfs64.c: Likewise.
32658         * io/futimens.c: Likewise.
32659         * io/fxstat.c: Likewise.
32660         * io/fxstat64.c: Likewise.
32661         * io/fxstatat.c: Likewise.
32662         * io/fxstatat64.c: Likewise.
32663         * io/getcwd.c: Likewise.
32664         * io/isatty.c: Likewise.
32665         * io/lchmod.c: Likewise.
32666         * io/lchown.c: Likewise.
32667         * io/link.c: Likewise.
32668         * io/linkat.c: Likewise.
32669         * io/lseek.c: Likewise.
32670         * io/lseek64.c: Likewise.
32671         * io/lxstat64.c: Likewise.
32672         * io/mkdir.c: Likewise.
32673         * io/mkdirat.c: Likewise.
32674         * io/mkfifo.c: Likewise.
32675         * io/mkfifoat.c: Likewise.
32676         * io/open.c: Likewise.
32677         * io/open64.c: Likewise.
32678         * io/openat.c: Likewise.
32679         * io/openat64.c: Likewise.
32680         * io/pipe.c: Likewise.
32681         * io/pipe2.c: Likewise.
32682         * io/poll.c: Likewise.
32683         * io/posix_fadvise.c: Likewise.
32684         * io/posix_fadvise64.c: Likewise.
32685         * io/posix_fallocate.c: Likewise.
32686         * io/posix_fallocate64.c: Likewise.
32687         * io/read.c: Likewise.
32688         * io/readlink.c: Likewise.
32689         * io/readlinkat.c: Likewise.
32690         * io/rmdir.c: Likewise.
32691         * io/sendfile.c: Likewise.
32692         * io/sendfile64.c: Likewise.
32693         * io/statfs.c: Likewise.
32694         * io/statfs64.c: Likewise.
32695         * io/statvfs.c: Likewise.
32696         * io/statvfs64.c: Likewise.
32697         * io/symlink.c: Likewise.
32698         * io/symlinkat.c: Likewise.
32699         * io/ttyname.c: Likewise.
32700         * io/ttyname_r.c: Likewise.
32701         * io/umask.c: Likewise.
32702         * io/unlink.c: Likewise.
32703         * io/unlinkat.c: Likewise.
32704         * io/utime.c: Likewise.
32705         * io/utimensat.c: Likewise.
32706         * io/write.c: Likewise.
32707         * io/xmknod.c: Likewise.
32708         * io/xmknodat.c: Likewise.
32709         * io/xstat.c: Likewise.
32710         * io/xstat64.c: Likewise.
32711         * login/getpt.c: Likewise.
32712         * login/grantpt.c: Likewise.
32713         * login/unlockpt.c: Likewise.
32714         * math/e_acoshl.c: Likewise.
32715         * math/e_acosl.c: Likewise.
32716         * math/e_asinl.c: Likewise.
32717         * math/e_atan2l.c: Likewise.
32718         * math/e_atanhl.c: Likewise.
32719         * math/e_coshl.c: Likewise.
32720         * math/e_expl.c: Likewise.
32721         * math/e_fmodl.c: Likewise.
32722         * math/e_gammal_r.c: Likewise.
32723         * math/e_hypotl.c: Likewise.
32724         * math/e_j0l.c: Likewise.
32725         * math/e_j1l.c: Likewise.
32726         * math/e_jnl.c: Likewise.
32727         * math/e_lgammal_r.c: Likewise.
32728         * math/e_log10l.c: Likewise.
32729         * math/e_log2l.c: Likewise.
32730         * math/e_logl.c: Likewise.
32731         * math/e_powl.c: Likewise.
32732         * math/e_rem_pio2l.c: Likewise.
32733         * math/e_sinhl.c: Likewise.
32734         * math/e_sqrtl.c: Likewise.
32735         * math/fclrexcpt.c: Likewise.
32736         * math/fedisblxcpt.c: Likewise.
32737         * math/feenablxcpt.c: Likewise.
32738         * math/fegetenv.c: Likewise.
32739         * math/fegetexcept.c: Likewise.
32740         * math/fegetround.c: Likewise.
32741         * math/feholdexcpt.c: Likewise.
32742         * math/fesetenv.c: Likewise.
32743         * math/fesetround.c: Likewise.
32744         * math/feupdateenv.c: Likewise.
32745         * math/fgetexcptflg.c: Likewise.
32746         * math/fraiseexcpt.c: Likewise.
32747         * math/fsetexcptflg.c: Likewise.
32748         * math/ftestexcept.c: Likewise.
32749         * math/k_cosl.c: Likewise.
32750         * math/k_rem_pio2l.c: Likewise.
32751         * math/k_sinl.c: Likewise.
32752         * math/k_tanl.c: Likewise.
32753         * math/s_asinhl.c: Likewise.
32754         * math/s_atanl.c: Likewise.
32755         * math/s_cbrtl.c: Likewise.
32756         * math/s_erfl.c: Likewise.
32757         * math/s_expm1l.c: Likewise.
32758         * math/s_log1pl.c: Likewise.
32759         * math/s_tanhl.c: Likewise.
32760         * misc/acct.c: Likewise.
32761         * misc/brk.c: Likewise.
32762         * misc/chflags.c: Likewise.
32763         * misc/chroot.c: Likewise.
32764         * misc/fchflags.c: Likewise.
32765         * misc/fgetxattr.c: Likewise.
32766         * misc/flistxattr.c: Likewise.
32767         * misc/fremovexattr.c: Likewise.
32768         * misc/fsetxattr.c: Likewise.
32769         * misc/fsync.c: Likewise.
32770         * misc/ftruncate.c: Likewise.
32771         * misc/futimes.c: Likewise.
32772         * misc/futimesat.c: Likewise.
32773         * misc/getdomain.c: Likewise.
32774         * misc/getdtsz.c: Likewise.
32775         * misc/gethostid.c: Likewise.
32776         * misc/gethostname.c: Likewise.
32777         * misc/getloadavg.c: Likewise.
32778         * misc/getpagesize.c: Likewise.
32779         * misc/getsysstats.c: Likewise.
32780         * misc/getxattr.c: Likewise.
32781         * misc/gtty.c: Likewise.
32782         * misc/ioctl.c: Likewise.
32783         * misc/lgetxattr.c: Likewise.
32784         * misc/listxattr.c: Likewise.
32785         * misc/llistxattr.c: Likewise.
32786         * misc/lremovexattr.c: Likewise.
32787         * misc/lsetxattr.c: Likewise.
32788         * misc/lutimes.c: Likewise.
32789         * misc/madvise.c: Likewise.
32790         * misc/mincore.c: Likewise.
32791         * misc/mlock.c: Likewise.
32792         * misc/mlockall.c: Likewise.
32793         * misc/mmap.c: Likewise.
32794         * misc/mprotect.c: Likewise.
32795         * misc/msync.c: Likewise.
32796         * misc/munlock.c: Likewise.
32797         * misc/munlockall.c: Likewise.
32798         * misc/munmap.c: Likewise.
32799         * misc/preadv.c: Likewise.
32800         * misc/preadv64.c: Likewise.
32801         * misc/ptrace.c: Likewise.
32802         * misc/pwritev.c: Likewise.
32803         * misc/pwritev64.c: Likewise.
32804         * misc/readv.c: Likewise.
32805         * misc/reboot.c: Likewise.
32806         * misc/remap_file_pages.c: Likewise.
32807         * misc/removexattr.c: Likewise.
32808         * misc/revoke.c: Likewise.
32809         * misc/select.c: Likewise.
32810         * misc/setdomain.c: Likewise.
32811         * misc/setegid.c: Likewise.
32812         * misc/seteuid.c: Likewise.
32813         * misc/sethostid.c: Likewise.
32814         * misc/sethostname.c: Likewise.
32815         * misc/setregid.c: Likewise.
32816         * misc/setreuid.c: Likewise.
32817         * misc/setxattr.c: Likewise.
32818         * misc/sstk.c: Likewise.
32819         * misc/stty.c: Likewise.
32820         * misc/swapoff.c: Likewise.
32821         * misc/swapon.c: Likewise.
32822         * misc/sync.c: Likewise.
32823         * misc/syncfs.c: Likewise.
32824         * misc/syscall.c: Likewise.
32825         * misc/truncate.c: Likewise.
32826         * misc/ualarm.c: Likewise.
32827         * misc/usleep.c: Likewise.
32828         * misc/ustat.c: Likewise.
32829         * misc/utimes.c: Likewise.
32830         * misc/vhangup.c: Likewise.
32831         * misc/writev.c: Likewise.
32832         * posix/_exit.c: Likewise.
32833         * posix/alarm.c: Likewise.
32834         * posix/execve.c: Likewise.
32835         * posix/fexecve.c: Likewise.
32836         * posix/fork.c: Likewise.
32837         * posix/fpathconf.c: Likewise.
32838         * posix/getaddrinfo.c: Likewise.
32839         * posix/getegid.c: Likewise.
32840         * posix/geteuid.c: Likewise.
32841         * posix/getgid.c: Likewise.
32842         * posix/getgroups.c: Likewise.
32843         * posix/getlogin.c: Likewise.
32844         * posix/getlogin_r.c: Likewise.
32845         * posix/getpgid.c: Likewise.
32846         * posix/getpid.c: Likewise.
32847         * posix/getppid.c: Likewise.
32848         * posix/getresgid.c: Likewise.
32849         * posix/getresuid.c: Likewise.
32850         * posix/getsid.c: Likewise.
32851         * posix/getuid.c: Likewise.
32852         * posix/glob64.c: Likewise.
32853         * posix/nanosleep.c: Likewise.
32854         * posix/pathconf.c: Likewise.
32855         * posix/pause.c: Likewise.
32856         * posix/posix_madvise.c: Likewise.
32857         * posix/pread.c: Likewise.
32858         * posix/pread64.c: Likewise.
32859         * posix/pwrite.c: Likewise.
32860         * posix/pwrite64.c: Likewise.
32861         * posix/sched_getaffinity.c: Likewise.
32862         * posix/sched_getp.c: Likewise.
32863         * posix/sched_gets.c: Likewise.
32864         * posix/sched_primax.c: Likewise.
32865         * posix/sched_primin.c: Likewise.
32866         * posix/sched_rr_gi.c: Likewise.
32867         * posix/sched_setaffinity.c: Likewise.
32868         * posix/sched_setp.c: Likewise.
32869         * posix/sched_sets.c: Likewise.
32870         * posix/sched_yield.c: Likewise.
32871         * posix/setgid.c: Likewise.
32872         * posix/setlogin.c: Likewise.
32873         * posix/setpgid.c: Likewise.
32874         * posix/setresgid.c: Likewise.
32875         * posix/setresuid.c: Likewise.
32876         * posix/setsid.c: Likewise.
32877         * posix/setuid.c: Likewise.
32878         * posix/sleep.c: Likewise.
32879         * posix/spawni.c: Likewise.
32880         * posix/sysconf.c: Likewise.
32881         * posix/times.c: Likewise.
32882         * posix/wait.c: Likewise.
32883         * posix/wait3.c: Likewise.
32884         * posix/wait4.c: Likewise.
32885         * posix/waitpid.c: Likewise.
32886         * resolv/gai_sigqueue.c: Likewise.
32887         * resource/getpriority.c: Likewise.
32888         * resource/getrlimit.c: Likewise.
32889         * resource/getrusage.c: Likewise.
32890         * resource/nice.c: Likewise.
32891         * resource/setpriority.c: Likewise.
32892         * resource/setrlimit.c: Likewise.
32893         * resource/ulimit.c: Likewise.
32894         * rt/aio_cancel.c: Likewise.
32895         * rt/aio_fsync.c: Likewise.
32896         * rt/aio_read.c: Likewise.
32897         * rt/aio_sigqueue.c: Likewise.
32898         * rt/aio_suspend.c: Likewise.
32899         * rt/aio_write.c: Likewise.
32900         * rt/clock_getres.c: Likewise.
32901         * rt/clock_gettime.c: Likewise.
32902         * rt/clock_nanosleep.c: Likewise.
32903         * rt/clock_settime.c: Likewise.
32904         * rt/lio_listio.c: Likewise.
32905         * rt/mq_close.c: Likewise.
32906         * rt/mq_getattr.c: Likewise.
32907         * rt/mq_notify.c: Likewise.
32908         * rt/mq_open.c: Likewise.
32909         * rt/mq_receive.c: Likewise.
32910         * rt/mq_send.c: Likewise.
32911         * rt/mq_setattr.c: Likewise.
32912         * rt/mq_timedreceive.c: Likewise.
32913         * rt/mq_timedsend.c: Likewise.
32914         * rt/mq_unlink.c: Likewise.
32915         * rt/shm_open.c: Likewise.
32916         * rt/shm_unlink.c: Likewise.
32917         * rt/timer_create.c: Likewise.
32918         * rt/timer_delete.c: Likewise.
32919         * rt/timer_getoverr.c: Likewise.
32920         * rt/timer_gettime.c: Likewise.
32921         * rt/timer_settime.c: Likewise.
32922         * setjmp/__longjmp.c: Likewise.
32923         * setjmp/setjmp.c: Likewise.
32924         * signal/kill.c: Likewise.
32925         * signal/killpg.c: Likewise.
32926         * signal/raise.c: Likewise.
32927         * signal/sigaction.c: Likewise.
32928         * signal/sigaltstack.c: Likewise.
32929         * signal/sigblock.c: Likewise.
32930         * signal/sigignore.c: Likewise.
32931         * signal/sigintr.c: Likewise.
32932         * signal/signal.c: Likewise.
32933         * signal/sigpause.c: Likewise.
32934         * signal/sigpending.c: Likewise.
32935         * signal/sigqueue.c: Likewise.
32936         * signal/sigreturn.c: Likewise.
32937         * signal/sigset.c: Likewise.
32938         * signal/sigsetmask.c: Likewise.
32939         * signal/sigstack.c: Likewise.
32940         * signal/sigsuspend.c: Likewise.
32941         * signal/sigtimedwait.c: Likewise.
32942         * signal/sigvec.c: Likewise.
32943         * signal/sigwait.c: Likewise.
32944         * signal/sigwaitinfo.c: Likewise.
32945         * signal/sysv_signal.c: Likewise.
32946         * socket/accept.c: Likewise.
32947         * socket/accept4.c: Likewise.
32948         * socket/bind.c: Likewise.
32949         * socket/connect.c: Likewise.
32950         * socket/getpeername.c: Likewise.
32951         * socket/getsockname.c: Likewise.
32952         * socket/getsockopt.c: Likewise.
32953         * socket/isfdtype.c: Likewise.
32954         * socket/listen.c: Likewise.
32955         * socket/recv.c: Likewise.
32956         * socket/recvfrom.c: Likewise.
32957         * socket/recvmsg.c: Likewise.
32958         * socket/send.c: Likewise.
32959         * socket/sendmsg.c: Likewise.
32960         * socket/sendto.c: Likewise.
32961         * socket/setsockopt.c: Likewise.
32962         * socket/shutdown.c: Likewise.
32963         * socket/sockatmark.c: Likewise.
32964         * socket/socket.c: Likewise.
32965         * socket/socketpair.c: Likewise.
32966         * stdio-common/ctermid.c: Likewise.
32967         * stdio-common/cuserid.c: Likewise.
32968         * stdio-common/remove.c: Likewise.
32969         * stdio-common/rename.c: Likewise.
32970         * stdio-common/renameat.c: Likewise.
32971         * stdio-common/tempname.c: Likewise.
32972         * stdlib/getcontext.c: Likewise.
32973         * stdlib/makecontext.c: Likewise.
32974         * stdlib/setcontext.c: Likewise.
32975         * stdlib/swapcontext.c: Likewise.
32976         * stdlib/system.c: Likewise.
32977         * streams/fattach.c: Likewise.
32978         * streams/fdetach.c: Likewise.
32979         * streams/getmsg.c: Likewise.
32980         * streams/getpmsg.c: Likewise.
32981         * streams/putmsg.c: Likewise.
32982         * streams/putpmsg.c: Likewise.
32983         * sysdeps/unix/bsd/getpt.c: Likewise.
32984         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32985         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32986         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32988         Likewise.
32989         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32990         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32991         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32992         * sysvipc/msgctl.c: Likewise.
32993         * sysvipc/msgget.c: Likewise.
32994         * sysvipc/msgrcv.c: Likewise.
32995         * sysvipc/msgsnd.c: Likewise.
32996         * sysvipc/semctl.c: Likewise.
32997         * sysvipc/semget.c: Likewise.
32998         * sysvipc/semop.c: Likewise.
32999         * sysvipc/semtimedop.c: Likewise.
33000         * sysvipc/shmat.c: Likewise.
33001         * sysvipc/shmctl.c: Likewise.
33002         * sysvipc/shmdt.c: Likewise.
33003         * sysvipc/shmget.c: Likewise.
33004         * termios/tcdrain.c: Likewise.
33005         * termios/tcflow.c: Likewise.
33006         * termios/tcflush.c: Likewise.
33007         * termios/tcgetattr.c: Likewise.
33008         * termios/tcgetpgrp.c: Likewise.
33009         * termios/tcsendbrk.c: Likewise.
33010         * termios/tcsetattr.c: Likewise.
33011         * termios/tcsetpgrp.c: Likewise.
33012         * time/adjtime.c: Likewise.
33013         * time/clock.c: Likewise.
33014         * time/getitimer.c: Likewise.
33015         * time/gettimeofday.c: Likewise.
33016         * time/setitimer.c: Likewise.
33017         * time/settimeofday.c: Likewise.
33018         * time/stime.c: Likewise.
33019         * time/time.c: Likewise.
33021 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33023         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33024         /usr/old/bin.
33026         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33027         instead of spaces.
33028         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33030 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33032         [BZ #14796]
33033         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33034         FE_TONEAREST before applying Dekker multiplication and Knuth
33035         addition.  Clear inexact exceptions and check for exact zero
33036         results afterwards.
33037         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33038         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33039         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33040         * math/libm-test.inc (fma_test): Add more tests.
33041         (fma_test_towardzero): Likewise.
33042         (fma_test_downward): Likewise.
33043         (fma_test_upward): Likewise.
33044         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33045         function.
33046         (libc_fesetround): New macro.
33047         (libc_fesetroundf): Likewise.
33048         (libc_fesetroundl): Likewise.
33049         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33050         function.
33051         (libc_fesetround_387): Likewise.
33052         (libc_fesetroundf): New macro.
33053         (libc_fesetround): Likewise.
33054         (libc_fesetroundl): Likewise.
33055         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33056         function.
33057         (libc_fesetroundf): New macro.
33058         (libc_fesetround): Likewise.
33059         (libc_fesetroundl): Likewise.
33060         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33061         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33062         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33063         libm_hidden_ver.
33064         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33065         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33066         libm_hidden_def.
33067         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33068         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33069         libm_hidden_ver.
33070         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33071         libm_hidden_def.
33073         [BZ #3439]
33074         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33075         integer constant usable in #if and use that to give value to enum
33076         constant.
33077         (FE_DIVBYZERO): Likewise.
33078         (FE_UNDERFLOW): Likewise.
33079         (FE_OVERFLOW): Likewise.
33080         (FE_INVALID): Likewise.
33081         (FE_INVALID_SNAN): Likewise.
33082         (FE_INVALID_ISI): Likewise.
33083         (FE_INVALID_IDI): Likewise.
33084         (FE_INVALID_ZDZ): Likewise.
33085         (FE_INVALID_IMZ): Likewise.
33086         (FE_INVALID_COMPARE): Likewise.
33087         (FE_INVALID_SOFTWARE): Likewise.
33088         (FE_INVALID_SQRT): Likewise.
33089         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33090         (FE_TONEAREST): Likewise.
33091         (FE_TOWARDZERO): Likewise.
33092         (FE_UPWARD): Likewise.
33093         (FE_DOWNWARD): Likewise.
33094         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33095         (FE_DIVBYZERO): Likewise.
33096         (FE_OVERFLOW): Likewise.
33097         (FE_UNDERFLOW): Likewise.
33098         (FE_INEXACT): Likewise.
33099         (FE_TONEAREST): Likewise.
33100         (FE_DOWNWARD): Likewise.
33101         (FE_UPWARD): Likewise.
33102         (FE_TOWARDZERO): Likewise.
33103         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33104         (FE_UNDERFLOW): Likewise.
33105         (FE_OVERFLOW): Likewise.
33106         (FE_DIVBYZERO): Likewise.
33107         (FE_INVALID): Likewise.
33108         (FE_TONEAREST): Likewise.
33109         (FE_TOWARDZERO): Likewise.
33110         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33111         (FE_OVERFLOW): Likewise.
33112         (FE_UNDERFLOW): Likewise.
33113         (FE_DIVBYZERO): Likewise.
33114         (FE_INEXACT): Likewise.
33115         (FE_TONEAREST): Likewise.
33116         (FE_TOWARDZERO): Likewise.
33117         (FE_UPWARD): Likewise.
33118         (FE_DOWNWARD): Likewise.
33119         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33120         (FE_DIVBYZERO): Likewise.
33121         (FE_OVERFLOW): Likewise.
33122         (FE_UNDERFLOW): Likewise.
33123         (FE_INEXACT): Likewise.
33124         (FE_TONEAREST): Likewise.
33125         (FE_DOWNWARD): Likewise.
33126         (FE_UPWARD): Likewise.
33127         (FE_TOWARDZERO): Likewise.
33129 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33131         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33133 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33135         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33136         commands.  Quote $PWD.
33137         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33138         -x" by "export".
33139         (remove_newlines): Remove.
33141 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33143         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33144         * stdlib/stdlib.h (atof): Moved to ...
33145         * include/bits/stdlib-float.h: Here.  New file.
33146         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33147         * stdlib/bits/stdlib-float.h: New file.
33148         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33149         -mno-sse -mno-mmx.
33150         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33151         <xmmintrin.h>.
33153 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33155         * conform/conformtest.pl (@headers): Add fenv.h.
33156         * conform/data/fenv.h-data: New file.
33157         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33158         include of <math/fenv.h>.
33160         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33161         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33162         && !UNIX98].  Enables tests for XOPEN2K8.
33163         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33164         POSIX2008]: Likewise.
33166         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33167         (struct rusage): Do not expect type or its members.
33169         [BZ #3439]
33170         * math/math.h (FP_NAN): Define macro to integer constant usable in
33171         #if and use that to give value to enum constant.
33172         (FP_INFINITE): Likewise.
33173         (FP_ZERO): Likewise.
33174         (FP_SUBNORMAL): Likewise.
33175         (FP_NORMAL): Likewise.
33177 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33179         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33180         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33181         arguments.
33183 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33185         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33186         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33187         autoconf-time if not.
33188         * configure.in: Remove AC_PREREQ.
33190 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33192         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33193         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33194         of the internal implementation.
33196 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33198         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33199         except include of <misc/sys/syslog.h>.
33201 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33204         function returns with a NULL context exit with zero.
33206 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33208         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33210 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33212         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33213         (run_program_cmd): This.
33214         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33215         (tst_langinfo): New variable.  Use it.
33217 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33219         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33220         floating point opcodes.
33222 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33224         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33225         variable.
33227         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33229         * sysdeps/mach/hurd/powerpc: Remove directory.
33230         * sysdeps/mach/powerpc: Likewise.
33232 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33234         * scripts/check-local-headers.sh: Ignore c++ headers.
33236 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33238         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33239         __libc_cleanup_region_start argument.
33241 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33243         [BZ #14784]
33244         [BZ #14785]
33245         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33246         x * y using scaling, not as x * y + z.
33247         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33248         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33249         * math/libm-test.inc (fma_test): Add more tests.
33250         (fma_test_towardzero): Likewise.
33251         (fma_test_downward): Likewise.
33252         (fma_test_upward): Likewise.
33254 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33256         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33258 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33260         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33261         New variable.
33263 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33265         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33267 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33270         Fix sort order.
33271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33272         Likewise.
33274 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33277         Fix the order of the list for glibc 2.17.
33278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33279         Likewise.
33281 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33283         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33285 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33287         [BZ #14610]
33288         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33289         for low part of x being zero before using __atanl (y).
33290         * math/libm-test.inc (atan2_test): Add another test.
33292         * manual/install.texi (Configuring and compiling): Document
33293         general use of test-wrapper and test-wrapper-env.
33294         * INSTALL: Regenerated.
33296         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33297         (__fma): Do not extract and scale down low bits on after-rounding
33298         systems when result rounded to normal precision would have normal
33299         exponent.
33300         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33301         (__fmal): Do not extract and scale down low bits on after-rounding
33302         systems when result rounded to normal precision would have normal
33303         exponent.
33304         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33305         (__fmal): Do not extract and scale down low bits on after-rounding
33306         systems when result rounded to normal precision would have normal
33307         exponent.
33308         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33309         macro.
33310         (fma_test): Add more tests.
33311         (fma_test_towardzero): Likewise.
33312         (fma_test_downward): Likewise.
33313         (fma_test_upward): Likewise.
33315 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33317         * sysdeps/i386/tininess.h: Renamed to ...
33318         * sysdeps/x86/tininess.h: This.
33319         * sysdeps/x86_64/tininess.h: Removed.
33321 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33323         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33324         input.  Use $(build-program-cmd).
33325         ($(objpfx)tst-array1-static.out): Likewise.
33326         ($(objpfx)tst-array2.out): Likewise.
33327         ($(objpfx)tst-array3.out): Likewise.
33328         ($(objpfx)tst-array4.out): Likewise.
33329         ($(objpfx)tst-array5.out): Likewise.
33330         ($(objpfx)tst-array5-static.out): Likewise.
33332 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33334         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33335         if defined.
33337         * nss/nsswitch.h (nss_interface_function): Provide new
33338         macro for use with NSS functions.
33339         * grp/initgroups.c: Use new macro.
33340         * nss/getXXbyYY.c: Likewise.
33341         * nss/getXXbyYY_r.c: Likewise.
33342         * nss/getXXent.c: Likewise.
33343         * nss/getXXent_r.c: Likewise.
33344         * sysdeps/posix/getaddrinfo.c: Likewise.
33346 2012-10-30  Andreas Jaeger  <aj@suse.de>
33348         * po/ru.po: Update Russion translation from translation project.
33350 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33352         [BZ #14152]
33353         [BZ #14783]
33354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33355         result and shift together with sticky bit instead of replicating
33356         round-to-nearest rounding.
33357         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33358         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33359         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33360         missing underflow exceptions.
33361         (fma_test_towardzero): Add more tests.
33362         (fma_test_downward): Likewise.
33363         (fma_test_upward): Likewise.
33365         [BZ #14047]
33366         * sysdeps/generic/tininess.h: New file.
33367         * sysdeps/i386/tininess.h: Likewise.
33368         * sysdeps/sh/tininess.h: Likewise.
33369         * sysdeps/x86_64/tininess.h: Likewise.
33370         * stdlib/tst-strtod-underflow.c: Likewise.
33371         * stdlib/tst-tininess.c: Likewise.
33372         * stdlib/strtod_l.c: Include <tininess.h>.
33373         (round_and_return): Do not set errno for exact underflow cases.
33374         Force an underflow exception when setting errno for underflow.
33375         Determine underflow based on rounding to normal precision if
33376         TININESS_AFTER_ROUNDING.
33377         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33378         ERANGE for exact underflow cases.
33379         * stdlib/Makefile (tests): Add tst-tininess and
33380         tst-strtod-underflow.
33381         ($(objpfx)tst-tininess): Use $(link-libm).
33382         ($(objpfx)tst-strtod-underflow): Likewise.
33384 2012-10-30  Andreas Jaeger  <aj@suse.de>
33386         [BZ#14767]
33387         * elf/Makefile (tests): Remove conditional for have-initfini-array
33388         since this is now always required and the variable does not exist
33389         anymore.
33390         (tests-static): Likewise.
33391         (modules-names): Likewise.
33393         * po/eo.po: Add Esperanto translation from translation project.
33395         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33396         merged with constructor/destructor.
33397         (init_array): Likewise.
33398         * elf/tst-array2dep.c (fini_array): Likewise.
33399         (init_array): Likewise.
33401 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33403         * manual/message.texi: Delete @cartouche tags.
33405 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33407         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33408         EOPNOTSUPP.
33409         * sysdeps/mach/hurd/fsync.c: Likewise.
33411         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33412         [_POSIX_REALTIME_SIGNALS]: Change condition to
33413         [_POSIX_REALTIME_SIGNALS > 0].
33415 2012-10-27  Andreas Jaeger  <aj@suse.de>
33417         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33418         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33420         [__WORDSIZE != 64]: Likewise.
33422 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33424         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33425         *  iconvdata/tst-tables.sh: Likewise.
33427 2012-10-25  David S. Miller  <davem@davemloft.net>
33429         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33430         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33431         of strtoull.
33433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33434         ifunc-impl-list.c
33435         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33436         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33437         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33438         file.
33440 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33442         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33443         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33444         __getdirentries.
33446 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33447             Jim Blandy  <jimb@codesourcery.com>
33449         * scripts/cross-test-ssh.sh: New file.
33450         * manual/install.texi (Configuring and compiling): Document use of
33451         cross-test-ssh.sh.
33452         * INSTALL: Regenerated.
33454 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33456         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33457         EOPNOTSUPP.
33459 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33461         * Makeconfig (run-program-prefix): Fix comment.
33463 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33464             Jim Blandy  <jimb@codesourcery.com>
33466         * Makeconfig (test-wrapper): New variable,
33467         (test-wrapper-env): Likewise.
33468         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33469         (run-built-tests): Define to yes.
33470         (run-program-prefix): Use $(test-wrapper).
33471         (built-program-cmd): Likewise.
33472         * Rules (make-test-out): Use $(test-wrapper-env) and
33473         $(host-built-program-cmd).
33474         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33475         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33476         tst-pathopt.sh.
33477         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33478         $(test-wrapper-env) to tst-rtld-load-self.sh.
33479         ($(objpfx)order2.out): Use $(test-wrapper).
33480         ($(objpfx)tst-initorder.out): Likewise.
33481         ($(objpfx)tst-initorder2.out): Likewise.
33482         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33483         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33484         (test_wrapper_env): New variable.  Use it to run ld.so.
33485         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33486         Use it to run ld.so.
33487         (test_wrapper_env): Likewise.
33488         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33489         $(test-wrapper) to run-iconv-test.sh.
33490         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33491         (ICONV): Use $test_wrapper.
33492         * posix/Makefile ($(objpfx)globtest.out): Pass
33493         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33494         globtest.sh, not $(run-program-prefix).
33495         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33496         (test_wrapper): Likewise.
33497         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33498         set together with run_via_rtld_prefix.
33499         (run_program_prefix): Define in terms of test_wrapper and
33500         run_via_rtld_prefix.
33502 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33504         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33505         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33506         Targets removed.
33508         [BZ #14743]
33509         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33510         Declare __clock_getres, __clock_gettime, __clock_settime,
33511         __clock_nanosleep, and __clock_getcpuclockid.
33512         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33513         Remove librt_hidden_def (clock_gettime).
33514         * sysdeps/unix/clock_gettime.c: Likewise.
33515         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33516         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33517         * rt/clock_getres.c: Define __clock_getres as an alias.
33518         * sysdeps/posix/clock_getres.c: Likewise.
33519         * rt/clock_settime.c: Define __clock_settime as an alias.
33520         * sysdeps/unix/clock_settime.c: Likewise.
33521         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33522         * sysdeps/unix/clock_nanosleep.c: Likewise.
33523         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33524         * rt/clock-compat.c: New file.
33525         * rt/Makefile (librt-routines): Add clock-compat and move
33526         $(clock-routines) to ...
33527         (routines): ... here, new variable.
33528         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33529         Don't add get_clockfreq here.
33530         * rt/Versions (libc: GLIBC_2.17): New version set.
33531         Add clock_* symbols here.
33532         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33533         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33534         (GLIBC_2.17): Add clock_* symbols.
33535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33537         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33539         Likewise.
33540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33541         Likewise.
33542         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33543         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33544         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33546         * NEWS: Mention the move.
33548         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33549         Use __open, __read, __close rather than their public counterparts.
33550         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33551         (__get_clockfreq_via_cpuinfo): Likewise.
33552         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33553         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33555         * config.h.in (HAVE_IFUNC): New #undef.
33556         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33557         was successful.
33558         * configure: Regenerated.
33560 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33562         * configure.in: Move READELF check to start of file.
33563         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33564         libc_cv_asm_gnu_indirect_function in the process.
33565         * configure: Regenerated.
33567 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33569         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33570         send the output to /dev/null.
33571         (libc_cv_cc_with_libunwind): Likewise.
33572         (libc_cv_as_noexecstack): Likewise.
33573         * configure: Regenerate.
33575 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33577         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33579         * posix/globtest.sh (TMPDIR): Do not set.
33580         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33581         (testout): Likewise.
33583 2012-10-24  Andreas Jaeger  <aj@suse.de>
33585         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33586         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33587         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33588         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33589         posix_fadvise64, posix_fallocate64.
33591         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33592         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33593         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33594         Likewise.
33595         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33596         Likewise.
33597         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33600         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33601         <bits/fcntl-linux.h>.
33602         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33604         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33605         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33606         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33607         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33608         [__WORDSIZE != 64]: Likewise.
33610 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33612         * Makeconfig (run-built-tests): New variable.
33613         * Rules [$(cross-compiling) = yes]: Change condition to
33614         [$(run-built-tests) = no].
33615         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33616         to [$(run-built-tests) = yes].
33617         * elf/Makefile [$(cross-compiling) = no]: Likewise
33618         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33619         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33620         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33621         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33622         * io/Makefile [$(cross-compiling) = no]: Likewise.
33623         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33624         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33625         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33626         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33627         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33628         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33629         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33630         * string/Makefile [$(cross-compiling) = no]: Likewise.
33632         * posix/Makefile ($(objpfx)globtest.out): Pass
33633         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33634         $(rtld-installed-name).
33635         * posix/globtest.sh (elf_objpfx): Remove variable.
33636         (rtld_installed_name): Likewise.
33637         (library_path): Likewise.
33638         (run_program_prefix): New variable.  Use for running globtest
33639         binary.
33641 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33642             Joseph Myers  <joseph@codesourcery.com>
33644         * Makeconfig (host-built-program-cmd): New variable.
33645         * elf/Makefile (tst-stackguard1-ARGS): Use
33646         $(host-built-program-cmd).
33647         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33648         (tst-spawn-ARGS): Likewise.
33649         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33651 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33652             Jim Blandy  <jimb@codesourcery.com>
33654         * Makeconfig (run-via-rtld-prefix): New variable.
33655         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33656         (built-program-cmd): Likewise.
33658 2012-10-22  Andreas Jaeger  <aj@suse.de>
33660         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33661         __O_RSYNC if it exists, otherwise to O_SYNC.
33663 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33664             Joseph Myers  <joseph@codesourcery.com>
33666         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33667         /dev/null.
33668         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33669         from /dev/null
33670         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33671         /dev/null.
33673 2012-10-22  Andreas Jaeger  <aj@suse.de>
33675         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33676         Define always.
33677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33679         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33680         bits/fcntl-linux.h.
33682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33683         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33686         to __O_LARGEFILE.
33687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33688         to __O_LARGEFILE.
33690 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33691             Joseph Myers  <joseph@codesourcery.com>
33693         * config.make.in (NM): New variable.
33695 2012-10-21  Andreas Jaeger  <aj@suse.de>
33697         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33698         definitions and declarations that are provided by
33699         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33701 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33703         [BZ #14683]
33704         * elf/Makefile (tests-static): Add tst-leaks1-static.
33705         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33706         ($(objpfx)tst-leaks1-static): New rule.
33707         ($(objpfx)tst-leaks1-static-mem): Likewise.
33708         (tst-leaks1-static-ENV): New macro.
33709         * elf/dl-open.c (dl_open_worker): Check the main application
33710         only if SHARED is defined.
33711         * elf/tst-leaks1-static.c: New file.
33713 2012-10-20  Andreas Jaeger  <aj@suse.de>
33715         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33716         generic values for Linux.
33717         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33718         and declarations that are provided by <bits/fcntl-linux.h> and
33719         include <bits/fcntl-linux.h>.
33720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33721         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33723 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33725         * io/fcntl.h: Move include of <bits/types.h> to the top and
33726         include it unconditionally.
33728 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33730         * wcsmbs/Makefile (tests-ifunc): New variable.
33731         (tests): Add $(tests-ifunc).
33732         * wcsmbs/test-wcschr-ifunc.c: New file.
33733         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33734         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33735         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33736         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33737         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33739         * string/Makefile (tests-ifunc): New variable.
33740         (tests): Add $(tests-ifunc).
33741         * string/test-memccpy.c (TEST_NAME): New macro.
33742         * string/test-memchr.c (TEST_NAME): Likewise.
33743         * string/test-memcmp.c (TEST_NAME): Likewise.
33744         * string/test-memcpy.c (TEST_NAME): Likewise.
33745         * string/test-memmem.c (TEST_NAME): Likewise.
33746         * string/test-memmove.c (TEST_NAME): Likewise.
33747         * string/test-memset.c (TEST_NAME): Likewise.
33748         * string/test-rawmemchr.c (TEST_NAME): Likewise.
33749         * string/test-stpcpy.c (TEST_NAME): Likewise.
33750         * string/test-stpncpy.c (TEST_NAME): Likewise.
33751         * string/test-strcasecmp.c (TEST_NAME): Likewise.
33752         * string/test-strcasestr.c (TEST_NAME): Likewise.
33753         * string/test-strcat.c (TEST_NAME): Likewise.
33754         * string/test-strchr.c (TEST_NAME): Likewise.
33755         * string/test-strcmp.c(TEST_NAME): Likewise.
33756         * string/test-strcpy.c (TEST_NAME): Likewise.
33757         * string/test-strcspn.c (TEST_NAME): Likewise.
33758         * string/test-strlen.c (TEST_NAME): Likewise.
33759         * string/test-strncasecmp.c (TEST_NAME): Likewise.
33760         * string/test-strncmp.c (TEST_NAME): Likewise.
33761         * string/test-strncpy.c (TEST_NAME): Likewise.
33762         * string/test-strnlen.c (TEST_NAME): Likewise.
33763         * string/test-strpbrk.c (TEST_NAME): Likewise.
33764         * string/test-strrchr.c (TEST_NAME): Likewise.
33765         * string/test-strspn.c (TEST_NAME): Likewise.
33766         * string/test-strstr.c (TEST_NAME): Likewise.
33767         * string/test-bcopy-ifunc.c: New file.
33768         * string/test-bzero-ifunc.c: Likewise.
33769         * string/test-memccpy-ifunc.c: Likewise.
33770         * string/test-memchr-ifunc.c: Likewise.
33771         * string/test-memcmp-ifunc.c: Likewise.
33772         * string/test-memcpy-ifunc.c: Likewise.
33773         * string/test-memmem-ifunc.c: Likewise.
33774         * string/test-memmove-ifunc.c: Likewise.
33775         * string/test-mempcpy-ifunc.c: Likewise.
33776         * string/test-memset-ifunc.c: Likewise.
33777         * string/test-rawmemchr-ifunc.c: Likewise.
33778         * string/test-stpcpy-ifunc.c: Likewise.
33779         * string/test-stpncpy-ifunc.c: Likewise.
33780         * string/test-strcasecmp-ifunc.c: Likewise.
33781         * string/test-strcasestr-ifunc.c: Likewise.
33782         * string/test-strcat-ifunc.c: Likewise.
33783         * string/test-strchr-ifunc.c: Likewise.
33784         * string/test-strchrnul-ifunc.c: Likewise.
33785         * string/test-strcmp-ifunc.c: Likewise.
33786         * string/test-strcpy-ifunc.c: Likewise.
33787         * string/test-strcspn-ifunc.c: Likewise.
33788         * string/test-strlen-ifunc.c: Likewise.
33789         * string/test-strncasecmp-ifunc.c: Likewise.
33790         * string/test-strncat-ifunc.c: Likewise.
33791         * string/test-strncmp-ifunc.c: Likewise.
33792         * string/test-strncpy-ifunc.c: Likewise.
33793         * string/test-strnlen-ifunc.c: Likewise.
33794         * string/test-strpbrk-ifunc.c: Likewise.
33795         * string/test-strrchr-ifunc.c: Likewise.
33796         * string/test-strspn-ifunc.c: Likewise.
33797         * string/test-strstr-ifunc.c: Likewise.
33799         * debug/Makefile (tests-ifunc): New variable.
33800         (tests): Add $(tests-ifunc).
33801         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33802         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33803         * debug/test-stpcpy_chk-ifunc.c: New file.
33804         * debug/test-strcpy_chk-ifunc.c: Likewise.
33806 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33808         [BZ #13601]
33809         * elf/dl-load.c (open_verify): Retry read if the entire ELF
33810         header is not read in.
33812 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
33814         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
33815         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
33816         directly.  Pass built executable to script as
33817         $(built-program-cmd).
33818         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
33819         $testprogram without using LD_LIBRARY_PATH and $ldso.
33821         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33822         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33823         $(rtld-installed-name).
33824         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33825         (rtld_installed_name): Likewise.
33826         (library_path): Likewise.
33827         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
33828         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33829         $(run-program-prefix) to tst-tables.sh.
33830         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
33831         it to run tst-table-from and tst-table-to.
33832         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33833         Pass it to tst-table.sh.
33834         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33835         $(run-program-prefix) to tst-gettext.sh.
33836         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33837         tst-translit.sh.
33838         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33839         tst-gettext2.sh.
33840         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
33841         to run tst-gettext.
33842         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
33843         to run tst-gettext2.
33844         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
33845         to run tst-translit.
33846         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33847         $(run-program-prefix) to tst-mtrace.sh.
33848         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
33849         to run tst-mtrace.
33850         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33851         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33852         $(rtld-installed-name).
33853         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33854         (rtld_installed_name): Likewise.
33855         (run_program_prefix): New variable.  Use it to run wordexp-test.
33857         * Makeconfig (ARCH): Remove all definitions.
33858         (machine): Likewise.
33859         [ARCH]: Remove conditional code.
33860         [!objdir]: Give error.
33861         [!objdir] (objpfx): Remove.
33862         [!objdir] (common-objpfx): Likewise.
33863         [!objdir] (common-objdir): Likewise.
33864         * configure.in (config_makefile): Remove.  Hardcode Makefile in
33865         AC_CONFIG_FILES call.
33866         * configure: Regenerated.
33868         [BZ #13888]
33869         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33870         or TMPDIR.
33871         (testout): Likewise.
33873         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33874         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33875         $(rtld-installed-name).
33876         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33877         (rtld_installed_name): Likwise.
33878         (runit): Remove function.
33879         (run_getconf): New variable,  Use it for running getconf binary.
33881 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
33883         [BZ #14716]
33884         * string/test-memmem.c (check_result): New function.
33885         (do_one_test): Use it.
33886         (check1): New function.
33887         (test_main): Use it.
33889 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
33891         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33893 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
33895         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33896         (_G_LSEEK64): Likewise.
33897         (_G_MMAP64): Likewise.
33898         (_G_FSTAT64): Likewise.
33899         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33900         (_G_LSEEK64): Likewise.
33901         (_G_MMAP64): Likewise.
33902         (_G_FSTAT64): Likewise.
33903         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33904         unconditional.  Call __mmap64 directly.
33905         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33906         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
33907         __lseek64 directly.
33908         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33909         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
33910         __mmap64 directly.
33911         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33912         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33913         __lseek64 directly.
33914         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33915         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33916         __lseek64 directly.
33917         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33918         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
33919         __lseek64 directly.
33920         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33921         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
33922         __fxstat64 directly.
33923         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33924         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33925         unconditional.
33926         (freopen64) [!_G_OPEN64]: Remove conditional code.
33927         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33928         unconditional.
33929         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33930         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33931         unconditional.
33932         (ftello64) [!_G_LSEEK64]: Remove conditional code.
33933         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33934         unconditional.
33935         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33936         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33937         unconditional.
33938         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33939         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33940         unconditional.
33941         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33942         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33943         unconditional.
33944         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33945         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33946         unconditional.
33947         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33949 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33951         [BZ #12140]
33952         * manual/memory.texi (Malloc Tunable Parameters): Add note
33953         about free list pointers overwriting some perturb bytes.
33954         Wording suggested by Roland McGrath.
33956 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
33958         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33959         (lgamma_test): Likewise.
33960         (tgamma_test): Likewise.
33962 2012-10-16  Florian Weimer  <fweimer@redhat.com>
33964         [BZ #14700]
33965         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33966         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33968 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
33970         * NEWS: Mention BZ #14716.
33971         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33972         when removing AVAILABLE1_USES_J macro.
33974 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
33976         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33977         (__bswap_64): __uint64_t for unsigned 64-bit int.
33979 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33981         * include/string.h (memmem): Declare libc hidden alias.
33982         * string/memmem.c (memmem): Define libc hidden alias.
33983         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33984         __read, __close instead of open, read, close.
33986 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33988         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33989         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33990         global and hidden.
33991         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33992         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33993         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33994         Likewise.
33995         (__rawmemchr_sse2): Likewise.
33996         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33997         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33998         (__strchr_sse2): Likewise.
33999         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34000         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34001         (__strcasecmp_sse2): Likewise.
34002         (__strncasecmp_sse2): Likewise.
34003         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34004         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34005         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34006         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34007         (__strrchr_sse2): Likewise.
34008         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34009         ifunc-impl-list.c.
34010         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34011         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34012         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34013         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34014         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34015         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34016         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34017         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34018         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34019         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34020         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34021         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34022         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34023         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34024         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34025         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34026         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34027         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34028         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34029         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34030         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34031         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34032         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34033         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34034         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34035         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34036         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34037         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34038         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34039         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34041         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34042         global and hidden.
34043         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34044         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34045         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34046         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34047         Likewise.
34048         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34049         Likewise.
34050         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34051         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34052         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34053         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34054         ifunc-impl-list.c.
34055         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34056         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34057         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34058         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34059         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34060         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34061         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34062         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34063         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34064         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34065         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34066         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34067         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34068         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34069         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34070         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34071         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34072         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34073         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34074         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34075         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34076         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34077         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34078         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34079         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34080         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34081         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34082         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34083         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34084         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34085         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34086         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34087         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34088         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34089         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34090         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34091         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34092         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34093         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34094         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34095         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34097         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34098         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34099         * include/ifunc-impl-list.h: New file.
34100         * misc/ifunc-impl-list.c: Likewise.
34101         * misc/Makefile (routines): Add ifunc-impl-list.
34102         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34103         * string/test-string.h: Include <ifunc-impl-list.h>.
34104         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34105         TEST_NAME]: New variables.
34106         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34107         are defined.
34108         (test_init): Call __libc_ifunc_impl_list to initialize
34109         func_list if TEST_IFUNC and TEST_NAME are defined.
34111         * string/Makefile (strop-tests): Add bcopy and bzero.
34112         * string/test-bcopy.c: New file.
34113         * string/test-bzero.c: Likewise.
34114         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34115         defined.
34116         * string/test-memset.c: Support bzero test if TEST_BZERO is
34117         defined.
34118         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34119         __libc_memmove.
34120         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34121         __libc_memset.
34122         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34123         of memset.
34125 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34127         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34128         * configure: Regenerated.
34130         * Makeconfig (+link-static-before-libc): Don't include
34131         $(link-static-libc).
34133         * libio/libio.h (_IO_pos_t): Remove.
34135 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34137         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34138         McGrath.
34140 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34142         * crypt/crypt-entry.c: Include fips-private.h.
34143         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34144         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34145         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34146         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34148 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34150         * crypt/crypt-private.h: Include stdbool.h.
34151         (_ufc_setup_salt_r): Return bool.
34152         * crypt/crypt-entry.c: Include errno.h.
34153         (__crypt_r): Return NULL with EINVAL for bad salt.
34154         * crypt/crypt_util.c (bad_for_salt): New.
34155         (_ufc_setup_salt_r): Check that salt is long enough and within
34156         the specified alphabet.
34157         * crypt/badsalttest.c: New file.
34158         * crypt/Makefile (tests): Add it.
34159         ($(objpfx)badsalttest): New.
34161 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34163         * NEWS: Add entry for BZ #14602.
34165 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34167         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34168         type-generic.
34169         * math/libm-test.inc: Update comment listing what functions and
34170         macros are tested.
34171         (isgreater_test): New function.
34172         (isgreaterequal_test): Likewise.
34173         (isless_test): Likewise.
34174         (islessequal_test): Likewise.
34175         (islessgreater_test): Likewise.
34176         (isunordered_test): Likewise.
34177         (main): Call the new functions.
34179 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34181         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34182         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34183         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34184         * sysdeps/i386/configure: Regenerated.
34185         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34186         * sysdeps/mach/configure: Regenerated.
34187         * sysdeps/mach/hurd/configure: Regenerated.
34188         * sysdeps/powerpc/configure: Regenerated.
34189         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34190         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34191         * sysdeps/s390/s390-32/configure: Regenerated.
34192         * sysdeps/s390/s390-64/configure: Regenerated.
34193         * sysdeps/sh/configure: Regenerated.
34194         * sysdeps/sparc/configure: Regenerated.
34195         * sysdeps/unix/sysv/linux/configure: Regenerated.
34196         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34197         * sysdeps/x86_64/configure: Regenerated.
34199         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34200         defined.  Don't check if MAP is NULL.
34202 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34204         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34205         (_G_stat64): Likewise.
34206         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34207         (_G_stat64): Likewise.
34208         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34209         instead of struct _G_stat64.
34210         * libio/fileops.c (mmap_remap_check): Likewise.
34211         (decide_maybe_mmap): Likewise.
34212         (_IO_new_file_seekoff): Likewise.
34213         (_IO_file_stat): Likewise.
34214         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34215         _G_off64_t.
34216         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34217         instead of struct _G_stat64.
34218         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34220 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34222         [BZ #14602]
34223         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34224         Replace with ...
34225         (CHECK_EOL): New macro.
34226         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34227         CHECK_EOL.
34228         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34229         Replace with CHECK_EOL.
34230         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34231         Replace with CHECK_EOL.
34233 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34235         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34236         type-generic.
34237         * math/libm-test.inc: Update comment listing what functions and
34238         macros are tested.
34239         (finite_test): New function.
34240         (isinf_test): Likewise.
34241         (isnan_test): Likewise.
34242         (fpclassify_test): Test subnormal input.
34243         (isfinite_test): Likewise.
34244         (isnormal_test): Likewise.
34245         (main): Call the new functions.
34247 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34249         [BZ #14660]
34250         * Makerules (%.dynsym): Force C locale when running
34251         $(OBJDUMP) --dynamic-syms.
34253 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34255         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34256         <stdint.h>.
34258 2012-10-06  David S. Miller  <davem@davemloft.net>
34260         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34261         upper 32-bits of the length value in %o2 since we use branch-on-register
34262         tests which consider the entire 64-bit register.
34264 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34266         * string/test-strstr.c (check2): Add a test for page boundary.
34268 2012-10-05  David S. Miller  <davem@davemloft.net>
34270         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34271         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34272         file.
34273         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34274         sysdep_routines.
34275         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34276         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34277         and bzero when HWCAP_SPARC_CRYPTO is present.
34279 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34281         [BZ #14602]
34282         * string/test-strstr.c (check2): New function.
34283         (test_main): Call check2.
34285         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34286         and bug-strchr1.
34287         * string/bug-strcasestr1.c (do_test): Moved to ...
34288         * string/test-strcasestr.c (check1): Here.  New function.
34289         (do_one_test): Break out result checking code into ...
34290         (check_result): This.  New function.
34291         (do_one_test): Call check_result.
34292         (test_main): Call check1.
34293         * string/bug-strchr1.c (do_test): Moved to ...
34294         * string/test-strchr.c (check1): Here.  New function.
34295         (do_one_test): Break out result checking code into ...
34296         (check_result): This.  New function.
34297         (do_one_test): Call check_result.
34298         (test_main): Call check1.
34299         * string/bug-strstr1.c (main): Moved to ...
34300         * string/test-strstr.c (check1): Here.  New function.
34301         (do_one_test): Break out result checking code into ...
34302         (check_result): This.  New function.
34303         (do_one_test): Call check_result.
34304         (test_main): Call check1.
34305         * string/bug-strcasestr1.c: Removed.
34306         * string/bug-strchr1.c: Likewise.
34307         * string/bug-strstr1.c: Likewise.
34309         * elf/Makefile (dl-routines): Add hwcaps.
34310         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34311         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34312         (_dl_important_hwcaps): Moved to ...
34313         * elf/dl-hwcaps.c: Here.  New file.
34314         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34316         [BZ #14557]
34317         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34318         if IS_IN_rtld isn't defined.
34320         * elf/dl-support.c (_dl_sysinfo_map): New.
34321         Include "get-dynamic-info.h" and "setup-vdso.h".
34322         (_dl_non_dynamic_init): Call setup_vdso.
34323         * elf/dynamic-link.h: Don't include <assert.h>.
34324         (elf_get_dynamic_info): Moved to ...
34325         * elf/get-dynamic-info.h: Here.  New file.
34326         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34327         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34328         * elf/setup-vdso.h: Here.  New file.
34329         * elf/rtld.c: Include "setup-vdso.h".
34330         (dl_main): Call setup_vdso.
34332 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34334         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34335         creal in comment listing functions tested.  List finite, isinf,
34336         isnan, isless, islessequal, isgreater, isgreaterequal,
34337         islessgreater, isunordered, lgamma_r and pow10 as functions and
34338         macros not tested.  Mention which functions not tested are aliases
34339         for other functions.  Fix typo.  Note that signs of NaNs are not
34340         tested.
34342         * scripts/config.guess: Update from config.git.
34343         * scripts/config.sub: Likewise.
34345 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34347         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34348         * misc/madvise.c (madvise): Renamed to __madvise.
34349         Make madvise a weak alias.
34350         * include/sys/mman.h: Declare __madvise.
34351         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34352         * sysdeps/unix/syscalls.list
34353         (madvise): Make __madvise the strong name, and madvise a weak alias.
34354         * sysdeps/unix/sysv/linux/syscalls.list
34355         (madvise, mmap): Remove redundant entries.
34356         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34357         * malloc/malloc.c (mtrim): Likewise.
34358         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34360 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34362         * sysdeps/mach/hurd/dl-cache.c: File removed.
34363         * config.h.in (USE_LDCONFIG): New #undef.
34364         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34365         * configure: Regenerated.
34366         * elf/Makefile (dl-routines): Add dl-cache only under
34367         [$(use-ldconfig) = yes].
34368         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34369         cache on [USE_LDCONFIG].
34370         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34371         [USE_LDCONFIG].
34372         * elf/rtld.c (dl_main): Likewise.
34374 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34376         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34377         _SC_LEVEL4_CACHE_LINESIZE.
34379 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34381         * sysdeps/unix/bsd/confstr.h: File removed.
34383 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34385         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34386         sys/sdt-config.h.
34388 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34390         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34391         Make 'mapoff' field ElfW(Off) rather than off_t.
34393 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34395         * nscd/Makefile: Remove nscd-cflags and all its users.
34396         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34397         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34399         [BZ #10631]
34400         * malloc.c (malloc_printerr): Clarify error message.
34402 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34404         [BZ #14648]
34405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34406         Set bit_FMA_Usable if FMA is supported.
34407         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34408         macro.
34409         (bit_FMA4_Usable): Updated.
34410         (index_FMA_Usable): New macro.
34411         (CPUID_FMA): Likewise
34412         (HAS_FMA): Defined with bit_FMA_Usable.
34414 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34416         * bits/types.h (__swblk_t): Type removed.
34417         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34418         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34420         (__SWBLK_T_TYPE): Likewise.
34421         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34422         (__SWBLK_T_TYPE): Likewise.
34423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34424         (__SWBLK_T_TYPE): Likewise.
34425         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34426         (__SWBLK_T_TYPE): Likewise.
34428 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34429             Honza Horak <hhorak@redhat.com>
34431         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34432         (xdr_mapname): Use YPMAXMAP as maxsize.
34433         (xdr_peername): Use YPMAXPEER as maxsize.
34434         (xdr_keydat): Use YPAXRECORD as maxsize.
34435         (xdr_valdat): Use YPMAXRECORD as maxsize.
34437 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34439         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34441         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34442         * csu/init-first.c: ... here.
34443         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34444         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34445         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34446         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34447         * sysdeps/i386/init-first.c: File removed.
34448         * sysdeps/sh/init-first.c: File removed.
34450 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34452         [BZ #14645]
34453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34454         if x * y might underflow to zero and z is zero.
34455         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34456         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34457         * math/libm-test.inc (min_subnorm_value): New variable.
34458         (fma_test): Add more tests.
34459         (fma_test_towardzero): Likewise.
34460         (fma_test_downward): Likewise
34461         (fma_test_upward): Likewise.
34462         (initialize): Set min_subnorm_value.
34464 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34466         [BZ #14638]
34467         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34468         0 + 0.
34469         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34470         mode for addition resulting in exact zero.
34471         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34472         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34473         exact 0 + 0.
34474         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34475         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34476         * math/libm-test.inc (fma_test): Add more tests.
34477         (fma_test_towardzero): New function.
34478         (fma_test_downward): Likewise.
34479         (fma_test_upward): Likewise.
34480         (main): Call the new functions.
34482 2012-09-28  David S. Miller  <davem@davemloft.net>
34484         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34486 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34488         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34489         instead of SIGALRM.
34491         * sysdeps/gnu/_G_config.h: Moved to ...
34492         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34493         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34494         * sysdeps/generic/_G_config.h: ... here.
34496         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34498         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34500         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34501         Conditionalize target on [libnss_test1.so-version].
34503         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34505         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34506         (elfobjdir): Move out of conditionals.
34508         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34509         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34510         (__nss_lookup_function): Conditionalize label remove_from_tree on
34511         [!DO_STATIC_NSS || SHARED], matching its only use.
34513 2012-09-28  David S. Miller  <davem@davemloft.net>
34515         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34516         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34517         file.
34518         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34519         sysdep_routines.
34520         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34521         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34522         when HWCAP_SPARC_CRYPTO is present.
34524 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34526         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34528 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34530         [BZ #6530]
34531         * stdio-common/vfprintf.c (process_string_arg): Revert
34532         2000-07-22 change.
34534 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34536         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34537         for testcase.
34538         * stdio-common/tst-sprintf.c: Include <locale.h>
34539         (main): Test sprintf's handling of incomplete multibyte
34540         characters.
34542 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34544         * elf/dl-runtime.c (VERSYMIDX): Removed.
34545         * elf/dl-version.c (VERSYMIDX): Likewise.
34546         * elf/do-rel.h (VERSYMIDX): Likewise.
34547         (VALIDX): Likewise.
34548         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34549         * elf/rtld.c (VALIDX): Likewise.
34550         (ADDRIDX): Likewise.
34551         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34552         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34553         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34554         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34555         (VALIDX): Likewise.
34556         (ADDRIDX): Likewise.
34558 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34560         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34562 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34564         [BZ #11438]
34565         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34566         to global scope.
34567         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34568         addresses are in the same scope as 192.0.2/24.
34569         * posix/gai.conf: Document new scope table defaults.
34571 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34573         [BZ #5298]
34574         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34575         for ftell.  Compute offsets from write pointers instead.
34576         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34578 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34580         [BZ #14543]
34581         * libio/Makefile (tests): New test case tst-fseek.
34582         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34583         combination works in wide mode.
34584         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34585         state when the external buffer state changes.
34587 2012-09-27  David S. Miller  <davem@davemloft.net>
34589         [BZ #14376]
34590         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34591         pass reloc->r_addend in as the 'high' argument to
34592         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34596 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34598         * rt/tst-aio2.c: Include <pthread.h>.
34599         * rt/tst-aio3.c: Likewise.
34601 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34603         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34605 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34607         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34608         contents on [SHARED].
34610 2012-09-26  Marek Polacek  <polacek@redhat.com>
34612         [BZ #14530]
34613         [BZ #13741]
34614         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34615         for C++ and GCC <4.3 as well as for non GCC compilers.
34617 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34621 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34623         * Makefile.in (all, install): Declare with .PHONY.
34624         Reported by Michael Hope <michael.hope@linaro.org>.
34626 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34628         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34629         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34630         system header.
34631         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34632         Likewise.
34633         (sydep_routines): Add the new and the internal functions.
34634         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34635         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34637         (GLIBC_2.17): Add the new function.
34638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34639         (GLIBC_2.17): Likewise.
34640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34641         (GLIBC_2.17): Likewise.
34642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34643         (GLIBC_2.17): Likewise.
34644         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34646 2012-09-25  Alan Modra  <amodra@gmail.com>
34648         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34649         Add release barrier before setting once_control to say
34650         initialisation is done.  Add hints on lwarx.  Use macro in
34651         place of isync.
34652         (clear_once_control): Add release barrier.
34654 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34656         [BZ #13629]
34657         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34658         specially.
34659         * math/s_clog10.c (__clog10): Likewise.
34660         * math/s_clog10f.c (__clog10f): Likewise.
34661         * math/s_clog10l.c (__clog10l): Likewise.
34662         * math/s_clogf.c (__clogf): Likewise.
34663         * math/s_clogl.c (__clogl): Likewise.
34664         * math/Makefile (libm-calls): Add x2y2m1.
34665         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34666         (__x2y2m1): Likewise.
34667         (__x2y2m1l): Likewise.
34668         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34669         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34670         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34671         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34672         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34673         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34674         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34675         * sysdeps/i386/fpu/libm-test-ulps: Update.
34676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34678         [BZ #14621]
34679         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34680         int as type of variable DEPTH.
34681         (glob): Use size_t instead of int as type of variables NEWCOUNT
34682         and OLD_PATHC.
34684 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34686         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34687         Add s_sincosf-sse2.
34688         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34689         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34690         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34691         macros for using routine as __sincosf_ia32.
34692         Use macro for function declaration and weak_alias.
34693         * sysdeps/i386/fpu/libm-test-ulps: Update.
34695         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34696         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34698         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34699         subnormal argument.
34700         * math/s_cexpf.c (__cexpf): Likewise.
34701         * math/s_csinf.c (__csinf): Likewise.
34702         * math/s_csinhf.c (__csinhf): Likewise.
34703         * math/s_ctanf.c (__ctanf): Likewise.
34704         * math/s_ctanhf.c (__ctanhf): Likewise.
34705         * math/s_ccosh.c (__ccoshf): Likewise.
34706         * math/s_cexp.c (__cexpl): Likewise.
34707         * math/s_csin.c (__csin): Likewise.
34708         * math/s_csinh.c (__csinh): Likewise.
34709         * math/s_ctan.c (__ctan): Likewise.
34710         * math/s_ctanh.c (ctanh): Likewise.
34711         * math/s_ccoshl.c (__ccoshl): Likewise.
34712         * math/s_cexpl.c (__cexpl): Likewise.
34713         * math/s_csinl.c (__csinl): Likewise.
34714         * math/s_csinhl.c (__csinhl): Likewise.
34715         * math/s_ctanl.c (__ctanl): Likewise.
34716         * math/s_ctanhl.c (__ctanhl): Likewise.
34718 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34720         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34721         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34722         (_IO_off_t): Define to __off_t, not _G_off_t.
34723         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34724         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34725         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34726         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34727         type of __dummy and __dummy2 fields.
34728         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34729         (_G_ssize_t): Likewise.
34730         (_G_off_t): Likewise.
34731         (_G_pid_t): Likewise.
34732         (_G_uid_t): Likewise.
34733         (_G_wchar_t): Likewise.
34734         (_G_wint_t): Likewise.
34735         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34736         (_G_ssize_t): Likewise.
34737         (_G_off_t): Likewise.
34738         (_G_pid_t): Likewise.
34739         (_G_uid_t): Likewise.
34740         (_G_wchar_t): Likewise.
34741         (_G_wint_t): Likewise.
34742         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34743         (_G_ssize_t): Likewise.
34744         (_G_off_t): Likewise.
34745         (_G_pid_t): Likewise.
34746         (_G_uid_t): Likewise.
34747         (_G_wchar_t): Likewise.
34748         (_G_wint_t): Likewise.
34750 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34752         * malloc/arena.c: Include malloc-sysdep.h.
34753         (shrink_heap): Use check_may_shrink_heap to decide if madvise
34754         is sufficient to shrink the heap or an unmap is needed.
34755         * sysdeps/generic/malloc-sysdep.h: New file.  Define
34756         new function check_may_shrink_heap.
34757         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
34758         new function check_may_shrink_heap.
34760 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34762         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34763         comments.
34765 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
34767         * catgets/test-gencat.sh: Add "set -e".
34768         * elf/tst-pathopt.sh: Likewise.
34769         * grp/tst_fgetgrent.sh: Likewise.
34770         * iconvdata/run-iconv-test.sh: Likewise.
34771         * intl/tst-gettext.sh: Likewise.
34772         * intl/tst-gettext2.sh: Likewise.
34773         * intl/tst-gettext4.sh: Likewise.
34774         * intl/tst-gettext6.sh: Likewise.
34775         * intl/tst-translit.sh: Likewise.
34776         * io/ftwtest-sh: Likewise.
34777         * libio/test-freopen.sh: Likewise.
34778         * malloc/tst-mtrace.sh: Likewise.
34779         * posix/globtest.sh: Likewise.
34780         * posix/tst-getconf.sh: Likewise.
34781         * posix/wordexp-tst.sh: Likewise.
34782         * stdio-common/tst-printf.sh: Likewise.
34783         * stdio-common/tst-unbputc.sh: Likewise.
34784         * stdlib/tst-fmtmsg.sh: Likewise.
34785         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34786         * catgets/Makefile: Do not specify -e option when running
34787         testsuite shell scripts.
34788         * elf/Makefile: Likewise.
34789         * grp/Makefile: Likewise.
34790         * iconvdata/Makefile: Likewise.
34791         * intl/Makefile: Likewise.
34792         * io/Makefile: Likewise.
34793         * libio/Makefile: Likewise.
34794         * malloc/Makefile: Likewise.
34795         * posix/Makefile: Likewise.
34796         * stdio-common/Makefile: Likewise.
34797         * stdlib/Makefile: Likewise.
34798         * sysdeps/x86_64/Makefile: Likewise.
34800         * io/ftwtest-sh: Add copyright header.
34801         * posix/globtest.sh: Likewise.
34802         * posix/tst-getconf.sh: Likewise.
34803         * posix/wordexp-tst.sh: Likewise.
34804         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34806 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
34808         [BZ #13679]
34809         * Makeconfig (+link): Defined as $(+link-static) if
34810         $(build-shared) isn't yes.
34811         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34812         isn't yes.
34813         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34815         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34817         [BZ #14562]
34818         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34819         new chunk size with MALLOC_ALIGN_MASK.
34821 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
34823         [BZ #5044]
34824         * stdio-common/printf_fphex.c: Include <stdbool.h> and
34825         <rounding-mode.h>.
34826         (__printf_fphex): Determine rounding using get_rounding_mode and
34827         round_away.
34828         * stdio-common/tst-printf-round.c (struct hex_test): New
34829         structure.
34830         (hex_tests): New variable.
34831         (test_hex_in_one_mode): New function.
34832         (do_test): Also run tests for hex float output.
34834 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
34836         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34837         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34838         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34839         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34840         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34841         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34842         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34843         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34845 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
34847         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34848         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34849         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34850         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34852 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
34854         [BZ #14579]
34855         * elf/rtld.c (dl_main): Limit the check for self loading to normal
34856         mode only.
34857         * elf/tst-rtld-load-self.sh: New test.
34858         * elf/Makefile: Run it.
34860 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
34862         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34863         (tst-writev-ENV): Remove.
34864         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34866 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
34868         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34870 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
34872         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34873         unconditional.
34874         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34875         Likewise.
34876         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34877         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34878         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34879         Likewise.
34881 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
34883         [BZ #14587]
34884         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34885         * config.make.in (have-cpp-asm-debuginfo): Removed.
34886         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34887         * configure: Regenerated.
34889 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
34891         [BZ #5044]
34892         * stdio-common/printf_fp.c: Include <stdbool.h> and
34893         <rounding-mode.h>.
34894         (___printf_fp): Determine rounding using get_rounding_mode and
34895         round_away.
34896         * stdio-common/tst-printf-round.c: New file.
34897         * stdio-common/Makefile (tests): Add tst-printf-round.
34898         (link-libm): New variable.
34899         ($(objpfx)tst-printf-round): Depend in $(link-libm).
34901 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
34903         [BZ #14576]
34904         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34905         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34906         Likewise.
34907         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34908         Likewise.
34910 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
34912         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34913         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34914         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34915         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34917 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
34919         [BZ #14518]
34920         * include/rounding-mode.h: New file.
34921         * sysdeps/generic/get-rounding-mode.h: Likewise.
34922         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34923         * stdlib/strtod_l.c: Include <rounding-mode.h>.
34924         (MAX_VALUE): New macro.
34925         (MIN_VALUE): Likewise.
34926         (overflow_value): New function.
34927         (underflow_value): Likewise.
34928         (round_and_return): Use overflow_value and underflow_value to
34929         determine return values in overflow and underflow cases.  Use
34930         round_away to determine rounding depending on rounding mode.
34931         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34932         determine return values in overflow and underflow cases.
34933         * stdlib/tst-strtod-round.c: Include <fenv.h>.
34934         (struct test_results): New structure.
34935         (struct test): Use struct test_results to store expected results
34936         for all rounding modes.
34937         (TEST): Include expected results for all rounding modes.
34938         (test_in_one_mode): New function.
34939         (do_test): Use test_in_one_mode to compute and check results.
34940         Check results for all rounding modes.
34941         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34942         $(link-libm).
34944 2012-12-09  Allan McRae  <allan@archlinux.org>
34946         * sysdeps/i386/fpu/libm-test-ulps: Update
34948 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
34950         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34951         (_G_int32_t): Likewise.
34952         (_G_uint16_t): Likewise.
34953         (_G_uint32_t): Likewise.
34954         (_G_HAVE_BOOL): Likewise.
34955         (_G_HAVE_ATEXIT): Likewise.
34956         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34957         (_G_HAVE_IO_FILE_OPEN): Likewise.
34958         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34959         (_G_int32_t): Likewise.
34960         (_G_uint16_t): Likewise.
34961         (_G_uint32_t): Likewise.
34962         (_G_HAVE_BOOL): Likewise.
34963         (_G_HAVE_ATEXIT): Likewise.
34964         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34965         (_G_HAVE_IO_FILE_OPEN): Likewise.
34966         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34967         (_G_int32_t): Likewise.
34968         (_G_uint16_t): Likewise.
34969         (_G_uint32_t): Likewise.
34970         (_G_HAVE_BOOL): Likewise.
34971         (_G_HAVE_ATEXIT): Likewise.
34972         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34973         (_G_HAVE_IO_FILE_OPEN): Likewise.
34975 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
34977         * csu/libc-tls.c: Update copyright years.
34979 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34981         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34982         [!_G_USING_THUNKS]: Remove conditional code.
34983         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34984         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34986         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34987         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34988         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34989         (_G_VTABLE_LABEL_PREFIX): Likewise.
34990         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34991         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34992         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34993         (_G_VTABLE_LABEL_PREFIX): Likewise.
34994         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34995         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34996         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34997         (_G_VTABLE_LABEL_PREFIX): Likewise.
34998         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35000 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35002         * libio/Makefile: Include ../Makeconfig before tests.
35003         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35004         only if $(build-shared) is yes.
35006         * iconv/gconv_db.c: Update copyright years.
35008 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35010         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35011         unwind info if defined PIC. Fix special cases description.
35012         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35014         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35015         DP_HI_MASK entry.
35016         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35018 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35020         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35022         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35023         is NULL.
35025         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35026         (LDLIBS-tst-chk4): This.
35027         (LDFLAGS-tst-chk5): Renamed to ...
35028         (LDLIBS-tst-chk5): This.
35029         (LDFLAGS-tst-chk6): Renamed to ...
35030         (LDLIBS-tst-chk6): This.
35031         (LDFLAGS-tst-lfschk4): Renamed to ...
35032         (LDLIBS-tst-lfschk4): This.
35033         (LDFLAGS-tst-lfschk5): Renamed to ...
35034         (LDLIBS-tst-lfschk5): This.
35035         (LDFLAGS-tst-lfschk6): Renamed to ...
35036         (LDLIBS-tst-lfschk6): This.
35038         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35039         on $(common-objpfx)soversions.mk.
35041 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35043         [BZ #10014]
35044         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35045         example host name.
35047 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35049         * malloc/arena.c (arena_get_retry): New function that gets
35050         another arena for the caller to try its request on.
35051         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35052         current arena cannot fulfill the request.
35053         (__libc_memalign): Likewise.
35054         (__libc_memalign): Likewise.
35055         (__libc_pvalloc): Likewise.
35056         (__libc_calloc): Likewise.
35058 2012-09-05  John Tobey  <john.tobey@gmail.com>
35060         [BZ #13542]
35061         * manual/arith.texi (Operations on Complex): Fix description
35062         of carg branch cut.
35064 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35066         [BZ #10014]
35067         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35068         host name.
35070         [BZ #10038]
35071         * manual/memory.texi (Memory): Make order of menu items match
35072         order of sections.
35074 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35076         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35077         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35078         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35080 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35082         * csu/libc-tls.c (static_dtv): Renamed to ...
35083         (_dl_static_dtv): This.  Make it global.
35084         (_dl_initial_dtv): Removed.
35085         (__libc_setup_tls): Updated.
35086         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35087         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35088         DL_INITIAL_DTV.
35090 2012-09-06  Petr Machata  <pmachata@redhat.com>
35092         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35093         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35094         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35095         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35097 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35099         [BZ #14545]
35100         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35101         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35102         freeing dtv[-1].
35104 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35106         [BZ #14544]
35107         * Makeconfig (link-static-before-libc): Replace $(+prector)
35108         with $(+prectorT).
35109         (link-static-after-libc): Replace $(+postctor) with
35110         $(+postctorT).
35111         (link-bounded): Replace $(+prector)/$(+postctor) with
35112         $(+prectorT)/$(+postctorT).
35113         (+prectorT): New macro.
35114         (+postctorT): Likewise.
35116 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35118         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35119         (round_str): Handle values above the maximum for IBM long double
35120         as inexact.
35121         * stdlib/tst-strtod-round.c (tests): Regenerated.
35123 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35125         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35126         assembler flag.
35127         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35128         zarch_nohighgprs around the zarch optimized routines.
35129         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35130         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35131         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35132         for zarch.
35134 2012-09-05  David S. Miller  <davem@davemloft.net>
35136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35138         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35139         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35140         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35141         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35142         entries.
35144 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35146         * malloc/arena.c: Fold copyright years.
35147         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35149 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35151         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35153 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35155         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35157 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35159         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35160         change internal state upon failure.
35162 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35164         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35165         * malloc/memusage.c (mmap): Likewise.
35166         (mmap64, mremap): Likewise.  Adjust name in comment.
35168 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35170         * libio/fileops.c: Fix typos in comments.
35171         * libio/oldfileops.c: Likewise.
35172         * libio/wfileops.c: Likewise.
35174 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35176         [BZ #1349]
35177         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35178         (tst-malloc-usable-ENV): Set environment for test case.
35179         * malloc/hooks.c (malloc_check_get_size): New function to get
35180         requested size.
35181         * malloc/malloc.c (musable): Use malloc_check_get_size.
35182         * malloc/tst-malloc-usable.c: New test case.
35184 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35186         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35188 2012-09-05  Allan McRae  <allan@archlinux.org>
35190         [BZ #13966]
35191         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35192         determine header location.
35193         * configure: Regenerated.
35195 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35197         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35198         float format.
35199         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35200         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35201         format.
35202         (test): Regenerate.
35204 2012-09-04  David S. Miller  <davem@davemloft.net>
35206         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35207         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35208         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35210 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35212         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35213         failures.
35215         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35217 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35219         [BZ #9914]
35220         * libio/iogetdelim.c: Include <limits.h>.
35221         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35222         + len + 1 would overflow.
35224 2012-09-03  Andreas Jaeger  <aj@suse.de>
35226         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35227         * sysdeps/i386/fpu/libm-test-ulps: Update.
35229 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35231         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35232         Add s_sinf-sse2, s_conf-sse2.
35234         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35235         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35236         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35237         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35239         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35240         for using routine as __sinf_ia32.
35241         Use macro for function declaration and weak_alias.
35242         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35243         for using routine as __cosf_ia32.
35244         Use macro for function declaration and weak_alias.
35246         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35247         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35249         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35250         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35253         * math/libm-test.inc (cos_test): Add more test cases.
35254         (sin_test): Likewise.
35255         (sincos_test): Likewise.
35257 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35259         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35260         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35261         hidden.
35262         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35264 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35266         [BZ #14538]
35267         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35268         first element of the GOT.
35269         (elf_machine_load_address): Return the difference between
35270         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35272 2012-09-01  Allan McRae  <allan@archlinux.org>
35274         [BZ #13412]
35275         * configure.in (AWK): Require gawk version 3.0 or later.
35276         * configure: Regenerated.
35278 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35280         * sysdeps/unix/sysv/linux/kernel-features.h
35281         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35282         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35283         [__NR_clock_getres]: Make code unconditional.
35284         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35285         (clock_getcpuclockid): Remove code left unreachable by removal of
35286         conditionals.
35287         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35288         code unconditional.
35289         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35290         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35291         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35292         Make code unconditional.
35293         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35294         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35295         * sysdeps/unix/sysv/linux/clock_settime.c
35296         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35297         conditional code.
35298         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35299         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35301 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35303         [BZ #14476]
35304         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35305         scripts/test-installation.pl.
35307         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35308         and $ld_so_version if it is set.
35310 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35312         [BZ #14516]
35313         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35314         failure if reading from procfs failed.
35315         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35317 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35319         * sysdeps/unix/sysv/linux/kernel-features.h
35320         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35321         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35322         Remove conditional code.
35323         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35324         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35325         Remove conditional code.
35326         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35327         * sysdeps/unix/sysv/linux/i386/fxstat.c
35328         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35329         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35330         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35331         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35332         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35333         * sysdeps/unix/sysv/linux/i386/lxstat.c
35334         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35335         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35336         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35337         Remove conditional code.
35338         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35339         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35340         Remove conditional code.
35341         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35342         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35343         <kernel-features.h>.
35344         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35345         Remove.
35346         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35347         Remove conditional code.
35348         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35349         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35350         Remove conditional.
35352 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35354         [BZ #5400]
35355         * NEWS: Add fixed bug number.
35357 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35359         [BZ #14519]
35360         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35361         underflowing exponent in case of negative sign.
35362         * stdlib/tst-strtod-round-data: Add more tests.
35363         * stdlib/tst-strtod-round.c (tests): Regenerated.
35365         [BZ #3479]
35366         * stdlib/strtod_l.c (NDIG): Remove.
35367         (HEXNDIG): Likewise.
35368         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35369         smallest representable value.
35370         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35371         lie within an exact representation of 1/2 ulp of the result.
35372         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35373         unconditionally.
35374         (TENS_P9_IDX): Define unconditionally.
35375         (TENS_P9_SIZE): Likewise.
35376         (TENS_P10_IDX): Likewise.
35377         (TENS_P10_SIZE): Likewise.
35378         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35379         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35380         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35381         entries for 10^2^13 and 10^2^14.
35382         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35383         (TENS_P13_IDX): Define.
35384         (TENS_P13_SIZE): Likewise.
35385         (TENS_P14_IDX): Likewise.
35386         (TENS_P14_SIZE): Likewise.
35387         (_fpioconst_pow10): Change array size to
35388         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35389         unconditional.
35390         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35391         1024]: Add entries for 10^2^13 and 10^2^14.
35392         [LAST_POW10 > _LAST_POW10]: Remove #error.
35393         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35394         (_fpioconst_pow10): Change array size to
35395         FPIOCONST_POW10_ARRAY_SIZE.
35396         * stdlib/gen-fpioconst.c: New file.
35397         * stdlib/gen-tst-strtod-round.c: Likewise.
35398         * stdlib/tst-strtod-round-data: Likewise.
35399         * stdlib/tst-strtod-round.c: Likewise.
35400         * stdlib/Makefile (tests): Add tst-strtod-round.
35402         [BZ #14459]
35403         * stdlib/strtod_l.c: Include <stdint.h>.
35404         (NDEBUG): Do not define.
35405         (round_and_return): Change EXPONENT parameter to type intmax_t.
35406         Rearrange calculations to avoid internal overflow possibilities.
35407         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35408         Rearrange calculations to avoid internal overflow possibilities.
35409         Assert that number fits inside MPNSIZE limbs.
35410         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35411         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35412         calculations and add assertions to avoid internal overflow
35413         possibilities.  Add casts to avoid signed/unsigned operations.
35414         * stdlib/tst-strtod-overflow.c: New file.
35415         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35417 2012-08-25  Marek Polacek  <polacek@redhat.com>
35419         * time/time.h: Fix some typos in comments.
35421 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35423         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35424         * posix/tst-rfc3484-2.c: Likewise.
35425         * posix/tst-rfc3484-3.c: Likewise.
35427 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35429         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35430         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35432 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35434         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35435         #include of fxstatat64.c.
35437 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35439         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35440         * shadow/getspent_r.c: Likewise.
35441         * shadow/getspnam.c: Likewise.
35442         * shadow/getspnam_r.c: Likewise.
35443         * gshadow/getsgent.c: Likewise.
35444         * gshadow/getsgent_r.c: Likewise.
35445         * gshadow/getsgnam.c: Likewise.
35446         * gshadow/getsgnam_r.c: Likewise.
35447         * inet/getnetbyad.c: Likewise.
35448         * inet/getnetbyad_r.c: Likewise.
35449         * inet/getnetbynm.c: Likewise.
35450         * inet/getnetbynm_r.c: Likewise.
35451         * inet/getnetent.c: Likewise.
35452         * inet/getnetent_r.c: Likewise.
35453         * inet/getproto.c: Likewise.
35454         * inet/getproto_r.c: Likewise.
35455         * inet/getprtent.c: Likewise.
35456         * inet/getprtent_r.c: Likewise.
35457         * inet/getprtname.c: Likewise.
35458         * inet/getprtname_r.c: Likewise.
35459         * inet/getrpcbyname.c: Likewise.
35460         * inet/getrpcbyname_r.c: Likewise.
35461         * inet/getrpcbynumber.c: Likewise.
35462         * inet/getrpcbynumber_r.c: Likewise.
35463         * inet/getrpcent.c: Likewise.
35464         * inet/getrpcent_r.c: Likewise.
35465         * inet/getaliasent.c: Likewise.
35466         * inet/getaliasent_r.c: Likewise.
35467         * inet/getaliasname.c: Likewise.
35468         * inet/getaliasname_r.c: Likewise.
35469         * nscd/getgrgid_r.c: Likewise.
35470         * nscd/getgrnam_r.c: Likewise.
35471         * nscd/gethstbyad_r.c: Likewise.
35472         * nscd/gethstbynm3_r.c: Likewise.
35473         * nscd/getpwnam_r.c: Likewise.
35474         * nscd/getpwuid_r.c: Likewise.
35475         * nscd/getsrvbynm_r.c: Likewise.
35476         * nscd/getsrvbypt_r.c: Likewise.
35477         * nscd/gai.c: Likewise.
35479         * configure.in (build_nscd): New substituted variable, set
35480         by --disable-build-nscd and defaults to $use_nscd.
35481         * configure: Regenerated.
35482         * config.make.in (build-nscd): New substituted variable.
35483         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35484         Change conditional to require [$(build-nscd) = yes] as well.
35485         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35487         [BZ# 13696]
35488         * configure.in (use_nscd): New substituted variable, set by
35489         --disable-nscd.  If enabled, define USE_NSCD.
35490         * configure: Regenerated.
35491         * config.h.in: Add USE_NSCD.
35492         * config.make.in (use-nscd): New substituted variable.
35493         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35494         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35495         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35496         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35497         (CFLAGS-getgrnam_r.c): Likewise.
35498         (CFLAGS-initgroups.c): Likewise.
35499         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35500         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35501         Variables removed.
35502         * inet/getnetgrent_r.c
35503         (nscd_setnetgrent): New function, broken out of ...
35504         (setnetgrent): ... here.  Call it.
35505         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35506         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35507         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35508         * nscd/Makefile (routines, aux): Move definitions after include of
35509         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35510         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35511         Conditionalize on [USE_NSCD].
35512         (is_nscd, nscd_init_cb): Likewise.
35513         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35514         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35515         * nss/nss_db/db-init.c: Likewise.
35516         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35517         [USE_NSCD].
35518         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35519         (make_request): Use it.
35520         (cache_valid_p): New function.
35521         (__check_pf): Use it.
35522         * NEWS: Add item for --disable-nscd.
35524 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35526         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35527         to support sed >= 4.2.1-20-ga9bf076.
35528         * configure: Regenerated.
35530 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35532         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35533         Conditionalize whole body on [IREL].
35535 2012-08-22  Jeff Law <law@redhat.com>
35537         [BZ #14505]
35538         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35539         if the family is PF_UNSPEC.
35541 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35543         * Makerules (lib-version): Rename from V.
35544         (install-lib-nosubdir): Change V to lib-version.
35546 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35548         [BZ #14252]
35549         * powerpc32/power6/wcschr.c: New file.
35550         * powerpc32/power6/wcscpy.c: New file.
35551         * powerpc32/power6/wcsrchr.c: New file.
35552         * powerpc64/power6/wcschr.c: New file.
35553         * powerpc64/power6/wcscpy.c: New file.
35554         * powerpc64/power6/wcsrchr.c: New file.
35556 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35558         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35559         (two_way_short_needle): Use it.
35560         * string/strstr.c (AVAILABLE1_USES_J): Define.
35561         * string/strcasestr.c: Likewise.
35563         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35564         array references.
35565         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35567         [BZ #11607]
35568         * NEWS: Add an entry.
35569         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35570         define their defaults.
35571         (two_way_short_needle): Detect end-of-string on-the-fly.
35572         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35573         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35574         * string/bug-strcasestr1.c: New test.
35575         * string/Makefile: Run it.
35577 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35579         [BZ #11607]
35580         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35581         the first character.
35583 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35585         * csu/elf-init.c (__libc_csu_irel): Function removed.
35586         * csu/libc-start.c (apply_irel): New function.
35587         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35589 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35591         * sysdeps/unix/sysv/linux/kernel-features.h
35592         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35593         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35594         <kernel-features.h>.
35595         [__NR_fadvise64_64]: Make code unconditional.
35596         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35597         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35598         !__NR_fadvise64_64)]: Likewise.
35599         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35600         !__NR_fadvise64_64))]: Likewise.
35601         [__NR_fadvise64]: Make code unconditional.
35602         [!__NR_fadvise64]: Remove conditional code.
35603         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35604         <kernel-features.h>.
35605         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35606         unconditional.
35607         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35608         conditional code.
35609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35610         not include <kernel-features.h>.
35611         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35612         unconditional.
35613         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35614         conditional code.
35615         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35616         include <kernel-features.h>.
35617         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35618         unconditional.
35619         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35620         conditional code.
35622 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35624         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35625         slight instruction rearrangements per scrollpipe analysis.
35626         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35628 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35630         * manual/syslog.texi (syslog; vsyslog, closelog):
35631         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35632         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35634         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35635         DSOCAPS to match condition on defining it.
35637 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35639         * sysdeps/unix/sysv/linux/kernel-features.h
35640         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35642         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35643         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35645         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35646         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35648         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35649         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35651         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35652         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35654         * sysdeps/unix/sysv/linux/kernel-features.h
35655         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35656         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35657         unconditional.
35658         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35659         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35660         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35661         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35662         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35663         Make code unconditional.
35664         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35665         (__mmap64) [!__NR_mmap2]: Likewise.
35666         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35667         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35668         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35669         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35670         [__NR_mmap2]: Make code unconditional.
35671         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35672         (__mmap64) [!__NR_mmap2]: Likewise.
35674 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35676         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35678 2012-08-18  Andreas Jaeger  <aj@suse.de>
35680         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35682 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35684         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35685         * include/unistd.h (__have_sock_cloexec): Likewise.
35686         (__have_pipe2): Likewise.
35687         (__have_dup3): Likewise.
35689 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35691         [BZ #9685]
35692         * include/unistd.h (__have_pipe2): Change define into an extern int.
35693         (__have_dup3): Likewise.
35694         * socket/have_sock_cloexec.c: Include fcntl.h.
35695         (__have_pipe2): New variable.
35696         (__have_dup3): Likewise.
35698 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35700         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35702 2012-08-17  Marek Polacek  <polacek@redhat.com>
35704         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35705         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35707 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35709         * configure.in: Add AC_SUBST for sysheaders.
35710         * configure: Regenerated.
35711         * config.make.in (sysheaders): New substituted variable.
35713         * sysdeps/unix/mkfifo.c: Moved ...
35714         * sysdeps/posix/mkfifo.c: ... here.
35715         * sysdeps/unix/mkfifoat.c: Moved ...
35716         * sysdeps/posix/mkfifoat.c: ... here.
35718         * sysdeps/unix/utime.c: Moved ...
35719         * sysdeps/posix/utime.c: ... here.
35721         * sysdeps/unix/time.c: Moved ...
35722         * sysdeps/posix/time.c: ... here.
35723         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35724         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35726         * sysdeps/unix/nice.c: Moved ...
35727         * sysdeps/posix/nice.c: ... here.
35729         * sysdeps/unix/alarm.c: Moved ...
35730         * sysdeps/posix/alarm.c: ... here.
35732         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35734 2012-08-17  Jeff Law <law@redhat.com>
35736         * intl/Makefile (codeset_mo): New variable.
35737         ($(codeset_mo)): New target.
35738         (tst-codeset.out): Depend on that.  Remove explicit rule.
35739         (tst-gettext3.out, tst-gettext5.out): Likewise.
35740         (LOCPATH-ENV, tst-codeset-ENV): New variables.
35741         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35742         * intl/tst-codeset.sh: Remove.
35743         * intl/tst-gettext3.sh: Likewise.
35744         * intl/tst-gettext5.sh: Likewise.
35746 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35748         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
35749         * sysdeps/unix/syscalls.list: ... here.
35751         * sysdeps/posix/getaddrinfo.c
35752         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35753         (gaiconf_init, gaiconf_reload): Use them.
35754         [!_STATBUF_ST_NSEC]
35755         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35756         Define using time_t rather than struct timespec.
35758         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35759         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35760         Macros removed.
35761         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35762         [!NO_THREADS].
35763         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35764         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35765         Likewise.
35767         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35768         __libc_cleanup_push argument.
35770         * bits/param.h: New file.
35771         * misc/sys/param.h: New file.
35772         * include/sys/param.h: New file.
35773         * misc/Makefile (headers): Add bits/param.h.
35774         * sysdeps/generic/sys/param.h: File removed.
35775         * sysdeps/unix/sysv/linux/bits/param.h: New file.
35776         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35777         * sysdeps/mach/hurd/bits/param.h: New file.
35778         * sysdeps/mach/hurd/sys/param.h: File removed.
35780         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35781         last change.
35783         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35784         [_IO_MTSAFE_IO].
35785         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35786         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35787         New macros.
35789         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35790         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35791         rather than -D_IO_MTSAFE_IO conditionally.
35792         * stdio-common/Makefile (CPPFLAGS): Likewise.
35793         * wcsmbs/Makefile (CPPFLAGS): Likewise.
35794         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35795         Use $(libio-mtsafe).
35796         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35797         of -D_IO_MTSAFE_IO.
35798         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35799         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35800         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35801         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35802         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35803         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35804         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35805         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35806         (CFLAGS-fread_u_chk.c): Likewise.
35807         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35808         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35809         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35810         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35811         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35812         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35813         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35814         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35815         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35817         * libio/Makefile: Test [$(libc-reentrant) = yes]
35818         instead of [$(filter %REENTRANT, $(defines)) nonempty].
35820         * Makeconfig
35821         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35822         * sysdeps/pthread/configure: File removed.
35823         * sysdeps/pthread/Makeconfig: New file.
35824         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35825         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35827 2012-08-16  Gary Benson  <gbenson@redhat.com>
35829         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35830         unmapping the first object in a namespace.
35832 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35834         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35835         (__internal_setnetgrent): ... this.  Add internal_function to
35836         definition.  Add libc_hidden_def.
35837         (setnetgrent): Update caller.
35838         (internal_endnetgrent): Renamed to ...
35839         (__internal_endnetgrent): ... this.  Add internal_function to
35840         definition.  Add libc_hidden_def.
35841         (endnetgrent): Update caller.
35842         (internal_getnetgrent_r): Renamed to ...
35843         (__internal_getnetgrent_r): ... this.  Add internal_function to
35844         definition.  Add libc_hidden_def.
35845         (__getnetgrent_r): Update caller.
35846         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
35848 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35850         * stdlib/longlong.h: Update from GCC.
35852 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35854         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35855         on _QL, which is set by umul_ppmm but never used.
35856         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35857         variables, which are set by GMP macros but never used.
35858         * stdio-common/_itowa.c (_itowa): Likewise.
35859         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35860         * stdlib/mod_1.c (mpn_mod_1): Likewise.
35862 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
35864         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35865         struct La_sh_regs is not constant.
35866         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35867         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35868         and struct La_sparc64_regs are not constant.
35870 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35872         * sysdeps/unix/sysv/linux/kernel-features.h
35873         (__ASSUME_POSIX_TIMERS): Remove.
35874         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35875         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35876         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35877         Make code unconditional.
35878         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35879         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35880         Make code unconditional.
35881         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35882         * sysdeps/unix/sysv/linux/clock_nanosleep.c
35883         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35884         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35885         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35886         Make code unconditional.
35887         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35888         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35889         (__libc_missing_posix_timers): Remove.
35891 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35893         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35894         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35896         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35898         * elf/dl-sym.c: Include <stdlib.h>.
35900         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35901         constants, which avoids warnings in 32-bit builds.
35903         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35904         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35906         * misc/lseek.c: File moved to ...
35907         * io/lseek.c: ... here.
35909         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35911         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35912         shifting LEN more than 31 bits at once.
35914 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35916         [BZ #14195]
35917         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35918         segmentation fault for a case of two empty input strings.
35919         * string/test-strncasecmp.c (check1): Renamed to...
35920         (bz12205): ...this.
35921         (bz14195): Add new testcase for two empty input strings and N > 0.
35922         (test_main): Call new testcase, adapt for renamed function.
35924 2012-08-15  Andreas Jaeger  <aj@suse.de>
35926         [BZ #14090]
35927         * crypt/md5test2.c: New test, based on test supplied by Serge
35928         Belyshev <belyshev@depni.sinp.msu.ru>.
35929         * crypt/Makefile (xtests): Add md5test-giant..
35930         * crypt/Makefile ($(objpfx)md5test-giant): Add.
35932 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
35934         [BZ #14090]
35935         * crypt/md5.c (md5_process_block): Don't assume the buffer
35936         length is less than 2**32.
35937         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35938         length is less than 2**64.
35940 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35942         * string/str-two-way.h: Include <sys/param.h>.
35943         (MAX): Macro removed.
35945         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35946         Move #define and #undef of memmove to just before and after
35947         including <string.h>.
35949         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35950         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35951         and after including <string.h>.  Move declarations of
35952         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35953         to before #include "string/memmove.c".
35955         * include/dirent.h: Declare __getdirentries.
35957         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35958         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35960 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
35962         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35963         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35964         * sysdeps/i386/configure: Regenerated.
35965         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35966         STABS_CURRENT_FILE, and STABS_FUN.
35967         (END): Remove call to STABS_FUN_END.
35968         (STABS_CURRENT_FILE1): Delete.
35969         (STABS_CURRENT_FILE): Likewise.
35970         (STABS_FUN): Likewise.
35971         (STABS_FUN_END): Likewise.
35972         (STABS_FUN2): Likewise.
35973         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35974         * sysdeps/x86_64/configure: Regenerated.
35976 2012-08-14  Roland McGrath  <roland@hack.frob.com>
35978         * elf/dl-open.c: Include <atomic.h>.
35979         * elf/dl-lookup.c: Likewise.
35981 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35983         * sysdeps/unix/sysv/linux/kernel-features.h
35984         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35985         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35986         unconditionally.
35987         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35988         unconditionally.
35989         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35990         condition on __ASSUME_CLONE_THREAD_FLAGS.
35992 2012-08-14  Andreas Jaeger  <aj@suse.de>
35994         * sysdeps/i386/fpu/libm-test-ulps: Update.
35996 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35998         * include/atomic.h (atomic_exchange_and_add): Split into ...
35999         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36000         New atomic macros.
36002 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36006 2012-08-13  Jeff Law <law@redhat.com>
36008         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36009         null byte in the output string.
36011 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36013         * sysdeps/unix/sysv/linux/kernel-features.h
36014         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36015         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36016         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36017         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36018         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36019         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36020         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36022 2012-08-09  Jeff Law <law@redhat.com>
36024         [BZ #13939]
36025         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36026         When avoid_arena is set, don't retry in the that arena.  Pick the
36027         next one, whatever it might be.
36028         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36029         (arena_lock): Pass in new parameter to arena_get2.
36030         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36031         arena_get2.
36032         (__libc_malloc): Unify retrying after main arena failure with
36033         __libc_memalign version.
36034         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36036 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36038         [BZ #14166]
36039         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36040         to __redirect_strstr.
36041         (__strstr_sse42): Use typeof __redirect_strstr.
36042         (__strstr_ia32): Likewise.
36043         (__libc_strstr): New prototype.
36044         (strstr): Renamed to ...
36045         (__libc_strstr): This.
36046         (strstr): New strong alias of __libc_strstr.
36047         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36048         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36049         __redirect_time.
36050         Include <time.h>.
36051         (__libc_time): New prototype.
36052         (time_ifunc): Replace time with __libc_time.
36053         (time): New strong alias and hidden definition of __libc_time.
36054         (__GI_time): Remove strong alias.
36055         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36056         Include <stddef.h>.
36057         (memmove): Redefined to __redirect_memmove.
36058         (__memmove_sse2): Use typeof __redirect_memmove.
36059         (__memmove_ssse3): Likewise.
36060         (__memmove_ssse3_back): Likewise.
36061         (__libc_memmove): New prototype.
36062         (memmove): Renamed to ...
36063         (__libc_memmove): This.
36064         (memmove): New strong alias of __libc_memmove.
36066 2012-08-08  Mark Salter  <msalter@redhat.com>
36068         * elf/elf.h
36069         (R_MN10300_TLS_GD): Define.
36070         (R_MN10300_TLS_LD): Likewise.
36071         (R_MN10300_TLS_LDO): Likewise.
36072         (R_MN10300_TLS_GOTIE): Likewise.
36073         (R_MN10300_TLS_IE): Likewise.
36074         (R_MN10300_TLS_LE): Likewise.
36075         (R_MN10300_TLS_DTPMOD): Likewise.
36076         (R_MN10300_TLS_DTPOFF): Likewise.
36077         (R_MN10300_TLS_TPOFF): Likewise.
36078         (R_MN10300_SYM_DIFF): Likewise.
36079         (R_MN10300_ALIGN): Likewise.
36080         (R_MN10300_NUM): Update.
36082 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36084         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36085         Remove.
36087 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36089         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36091         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36092         sysdeps/unix -> sysdeps/posix move.
36093         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36095 2012-08-07      Allan McRae     <allan@archlinux.org>
36097         [BZ #14303]
36098         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36099         (SUNOS_CPP): Likewise.
36100         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36101         not found.
36102         (open_input): Call CPP using execvp.
36104 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36106         * sysdeps/unix/sysv/linux/kernel-features.h
36107         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36108         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36109         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36110         (__ASSUME_WAITID_SYSCALL): Likewise.
36111         * sysdeps/unix/sysv/linux/dl-execstack.c
36112         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36113         code unconditional.
36114         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36115         conditional code.
36116         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36117         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36118         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36119         code.
36120         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36121         unconditional.
36122         [__ASSUME_WAITID_SYSCALL]: Likewise.
36123         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36125 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36127         * sysdeps/unix/closedir.c: Renamed to ...
36128         * sysdeps/posix/closedir.c: ... here.
36129         * sysdeps/unix/dirfd.c: Renamed to ...
36130         * sysdeps/posix/dirfd.c: ... here.
36131         * sysdeps/unix/dirstream.h: Renamed to ...
36132         * sysdeps/posix/dirstream.h: ... here.
36133         * sysdeps/unix/fdopendir.c: Renamed to ...
36134         * sysdeps/posix/fdopendir.c: ... here.
36135         * sysdeps/unix/opendir.c: Renamed to ...
36136         * sysdeps/posix/opendir.c: ... here.
36137         * sysdeps/unix/readdir.c: Renamed to ...
36138         * sysdeps/posix/readdir.c: ... here.
36139         * sysdeps/unix/readdir_r.c: Renamed to ...
36140         * sysdeps/posix/readdir_r.c: ... here.
36141         * sysdeps/unix/rewinddir.c: Renamed to ...
36142         * sysdeps/posix/rewinddir.c: ... here.
36143         * sysdeps/unix/seekdir.c: Renamed to ...
36144         * sysdeps/posix/seekdir.c: ... here.
36145         * sysdeps/unix/telldir.c: Renamed to ...
36146         * sysdeps/posix/telldir.c: ... here.
36147         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36148         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36149         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36150         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36152         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36153         * bits/fcntl.h: ... here.
36155         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36156         not 0.
36157         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36158         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36159         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36160         (struct flock): Move l_start, l_len to the beginning.
36161         Use __pid_t for l_pid.
36162         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36163         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36164         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36165         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36166         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36167         [__USE_LARGEFILE64] (struct flock64): New type.
36168         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36170         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36171         * bits/dirent.h: ... here.
36173         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36174         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36176 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36178         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36179         Change from 2.6.0 to 2.6.16.
36180         * sysdeps/unix/sysv/linux/configure: Regenerated.
36181         * sysdeps/unix/sysv/linux/kernel-features.h
36182         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36183         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36184         version.
36185         (__ASSUME_UTIMES): Likewise.
36186         (__ASSUME_CLONE_STOPPED): Remove.
36187         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36188         architectures, not kernel version.
36189         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36190         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36191         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36192         (__ASSUME_WAITID_SYSCALL): Likewise.
36193         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36194         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36195         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36196         refer to older versions.
36198 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36200         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36201         Define alphasort64 as an alias.
36202         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36203         Define versionsort64 as an alias.
36204         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36205         Define scandir64 as an alias.
36206         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36207         Define scandirat64 as an alias.
36208         * dirent/alphasort64.c (alphasort64):
36209         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36210         * dirent/versionsort64.c: Likewise.
36211         * dirent/scandir64.c: Likewise.
36212         * dirent/scandirat64.c: Likewise.
36213         * sysdeps/wordsize-64/alphasort.c: File removed.
36214         * sysdeps/wordsize-64/alphasort64.c: File removed.
36215         * sysdeps/wordsize-64/scandir.c: File removed.
36216         * sysdeps/wordsize-64/scandir64.c: File removed.
36217         * sysdeps/wordsize-64/scandirat.c: File removed.
36218         * sysdeps/wordsize-64/scandirat64.c: File removed.
36219         * sysdeps/wordsize-64/versionsort.c: File removed.
36220         * sysdeps/wordsize-64/versionsort64.c: File removed.
36221         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36222         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36223         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36224         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36225         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36226         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36227         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36228         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36230         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36231         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36232         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36233         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36234         [defined __arch64__ || defined __sparcv9]
36235         (__INO_T_MATCHES_INO64_T): New macro.
36236         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36237         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36238         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36239         * sysdeps/unix/sysv/linux/bits/dirent.h
36240         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36241         (_DIRENT_MATCHES_DIRENT64): New macro.
36243         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36244         Define lockf64 as an alias.
36245         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36246         Define fseeko64 as an alias.
36247         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36248         Define ftello64 as an alias.
36249         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36250         Define _IO_fgetpos64 and fgetpos64 as aliases.
36251         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36252         Define _IO_fsetpos64 and fsetpos64 as aliases.
36253         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36254         Conditionalize body on this.
36255         * libio/fseeko64.c: Likewise.
36256         * libio/ftello64.c: Likewise.
36257         * libio/iofgetpos64.c: Likewise.
36258         * libio/iofsetpos64.c: Likewise.
36259         * sysdeps/wordsize-64/lockf.c: File removed.
36260         * sysdeps/wordsize-64/lockf64.c: File removed.
36261         * sysdeps/wordsize-64/fseeko.c: File removed.
36262         * sysdeps/wordsize-64/fseeko64.c: File removed.
36263         * sysdeps/wordsize-64/ftello.c: File removed.
36264         * sysdeps/wordsize-64/ftello64.c: File removed.
36265         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36266         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36267         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36268         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36269         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36270         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36271         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36272         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36273         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36274         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36275         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36276         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36277         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36278         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36280         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36281         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36282         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36283         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36284         [defined __arch64__ || defined __sparcv9]
36285         (__OFF_T_MATCHES_OFF64_T): New macro.
36286         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36287         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36289         (__OFF_T_MATCHES_OFF64_T): New macro.
36291 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36293         * stdlib/secure-getenv.c (__secure_getenv): Replace
36294         GLIBC_2_16 with GLIBC_2_17.
36296 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36301 2012-08-03  David S. Miller  <davem@davemloft.net>
36303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36305 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36307         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36308         Remove.
36309         (__ASSUME_CORRECT_SI_PID): Likewise.
36310         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36311         (__ASSUME_TMPFS_NAME): Likewise.
36312         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36313         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36314         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36315         (HAVE_AUX_SECURE): Make definition unconditional.
36316         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36317         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36319 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36321         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36322         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36323         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36324         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36325         __eloop_threshold instead of SYMLOOP_MAX.
36327         * sysdeps/generic/eloop-threshold.h: New file.
36328         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36329         of MAXSYMLINKS.
36330         * elf/chroot_canon.c (chroot_canon): Likewise.
36332 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36334         [BZ #13717]
36335         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36336         Change to 2.6.0 everywhere.
36337         * sysdeps/unix/sysv/linux/configure: Regenerated.
36338         * sysdeps/unix/sysv/linux/kernel-features.h
36339         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36340         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36341         kernel versions.
36342         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36343         (__ASSUME_FUTEX_REQUEUE): Remove.
36344         (__ASSUME_STATFS64): Define unconditionally.
36345         (__ASSUME_AT_SECURE): Likewise.
36346         (__ASSUME_CORRECT_SI_PID): Likewise.
36347         (__ASSUME_TGKILL): Define without depending on kernel version for
36348         i386.
36349         (__ASSUME_UTIMES): Likewise.
36350         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36351         kernel version.
36352         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36353         (__ASSUME_TMPFS_NAME): Likewise.
36354         * README: Update reference to Linux kernel versions.
36356 2012-08-02  Marek Polacek  <polacek@redhat.com>
36358         [BZ# 14150]
36359         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36360         libc_cv_asm_type_prefix with %.
36361         * configure: Regenerated.
36362         * include/libc-symbols.h: Remove comment about
36363         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36364         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36365         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36366         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36367         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36368         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36369         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36370         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36371         * elf/tst-unique2mod1.c: Likewise.
36372         * elf/tst-unique1mod2.c: Likewise.
36373         * elf/tst-unique1mod1.c: Likewise.
36374         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36375         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36376         Replace ASM_TYPE_DIRECTIVE with .type.
36377         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36378         * sysdeps/i386/sysdep.h: Likewise.
36379         * sysdeps/x86_64/sysdep.h: Likewise.
36380         * sysdeps/sh/sysdep.h: Likewise.
36381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36382         Do not define ASM_TYPE_DIRECTIVE.
36383         * sysdeps/powerpc/sysdep.h: Likewise.
36384         * sysdeps/powerpc/powerpc32/sysdep.h:
36385         Replace ASM_TYPE_DIRECTIVE with .type.
36386         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36387         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36388         * sysdeps/i386/fpu/e_powf.S: Likewise.
36389         * sysdeps/i386/fpu/e_expl.S: Likewise.
36390         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36391         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36392         * sysdeps/i386/fpu/e_pow.S: Likewise.
36393         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36394         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36395         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36396         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36397         * sysdeps/i386/fpu/e_log2.S: Likewise.
36398         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36399         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36400         * sysdeps/i386/fpu/e_powl.S: Likewise.
36401         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36402         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36403         * sysdeps/i386/fpu/e_logl.S: Likewise.
36404         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36405         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36406         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36407         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36408         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36409         * sysdeps/i386/fpu/e_log.S: Likewise.
36410         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36411         * sysdeps/i386/fpu/e_logf.S: Likewise.
36412         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36413         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36414         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36415         * sysdeps/i386/fpu/e_log10.S: Likewise.
36416         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36417         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36418         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36419         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36420         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36421         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36422         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36423         * sysdeps/i386/i686/strtok.S: Likewise.
36424         * sysdeps/i386/i386-mcount.S: Likewise.
36425         * sysdeps/i386/strtok.S: Likewise.
36426         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36427         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36428         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36429         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36430         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36431         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36432         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36433         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36434         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36435         * sysdeps/x86_64/_mcount.S: Likewise.
36436         * sysdeps/x86_64/strtok.S: Likewise.
36437         * sysdeps/sh/_mcount.S: Likewise.
36439 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36441         * libio/iofopen.c: Include <fcntl.h>.
36442         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36443         (_IO_fopen64, fopen64): Define as aliases.
36444         * libio/iofopen64.c: Include <fcntl.h>.
36445         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36446         Conditionalize body on this.
36447         * sysdeps/wordsize-64/iofopen.c: File removed.
36448         * sysdeps/wordsize-64/iofopen64.c: File removed.
36450 2012-08-01  Marek Polacek  <polacek@redhat.com>
36452         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36453         Use dlfcn directly instead of a variable.
36454         (binfmt-subdir): Do not define.
36455         (dlfcn): Likewise.
36457 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36459         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36460         Remove all definitions.
36461         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36462         <kernel-features.h>.
36463         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36464         (miss_F_GETOWN_EX): Remove all definitions.
36465         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36466         macro definition.
36467         [!__ASSUME_FCNTL64]: Remove conditional code.
36468         [__ASSUME_FCNTL64]: Make code unconditional.
36469         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36470         <kernel-features.h>.
36471         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36472         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36473         (lockf64) [__NR_fcntl64]: Make code unconditional.
36474         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36476         * sysdeps/unix/sysv/linux/kernel-features.h
36477         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36478         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36479         Make code unconditional.
36480         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36481         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36483         [__NR_vfork]: Make code unconditional.
36484         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36485         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36487         [__NR_vfork]: Make code unconditional.
36488         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36489         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36491 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36493         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36494         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36496         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36497         Define mkstemp64 as an alias.
36498         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36499         Define mkstemps64 as an alias.
36500         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36501         Define mkostemp64 as an alias.
36502         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36503         Define mkostemps64 as an alias.
36504         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36505         Conditionalize body on this.
36506         * misc/mkostemp64.c: Likewise.
36507         * misc/mkostemps64.c: Likewise.
36508         * misc/mkstemps64.c: Likewise.
36509         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36510         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36511         * sysdeps/wordsize-64/mkostemp.c: File removed.
36512         * sysdeps/wordsize-64/mkstemp.c: File removed.
36513         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36514         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36515         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36516         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36518         [BZ #14138]
36519         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36520         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36521         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36522         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36524         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36525         compat_symbol macros from <shlib-compat.h> rather than the underlying
36526         default_symbol_version and symbol_version macros, so that DEFAULT
36527         lines in shlib-versions are respected.
36528         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36530 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36532         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36533         Declare with warn_unused_result.
36534         (setgid, setregid, setegid, setresgid): Likewise.
36535         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36536         Likewise.
36537         * WUR-REPORT: Remove set*id functions.
36539 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36541         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36543 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36545         [BZ #10191]
36546         * include/sys/socket.h (__libc_accept, __libc_accept4):
36547         Add attribute_hidden.
36548         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36550         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36551         use of PTR_MANGLE.
36552         * inet/getnetgrent_r.c (setup): Likewise.
36554         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36556 2012-07-31  David S. Miller  <davem@davemloft.net>
36558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36560 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36562         [BZ #13629]
36563         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36564         value between 1.0 and 2.0 and smaller part has absolute value less
36565         than 1.0.
36566         * math/s_clog10.c (__clog10): Likewise.
36567         * math/s_clog10f.c (__clog10f): Likewise.
36568         * math/s_clog10l.c (__clog10l): Likewise.
36569         * math/s_clogf.c (__clogf): Likewise.
36570         * math/s_clogl.c (__clogl): Likewise.
36571         * math/libm-test.inc (clog_test): Add more tests.
36572         (clog10_test): Likewise.
36573         * sysdeps/i386/fpu/libm-test-ulps: Update.
36574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36576 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36578         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36579         Exit with zero in case no suitable GID is found, and write a
36580         message to standard error.
36582 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36584         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36585         rather than to 1.
36586         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36587         (MAXPATHLEN): Removed.
36588         (NOGROUP, NODEV): New macros.
36589         (setbit, clrbit, isset, isclr): New macros.
36590         (howmany, roundup, powerof2): New macros.
36591         (DEV_BSIZE): New macro.
36593         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36594         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36596         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36597         definition on [!__NO_LONG_DOUBLE_MATH].
36599         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36600         PTR_MANGLE and PTR_DEMANGLE.
36602         * socket/accept4.c (accept4): Rename to __libc_accept4.
36603         Define accept4 as a weak alias.
36605         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36606         on [_DIRENT_HAVE_D_TYPE].
36607         * io/ftw.c (ftw_dir): Likewise.
36609         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36611         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36613         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36614         Use the BSD numbers rather than the arbitrary ones we had.
36615         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36616         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36617         (SIGXCPU, SIGXFSZ): New macros.
36618         (_NSIG): Now 32.
36620         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36621         initializer on [_LIBC_REENTRANT].
36623         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36624         definitions inside [_POSIX_MAPPED_FILES].
36626         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36628         * dirent/opendir.c: Include <fcntl.h>.
36630         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36631         (__libc_getspecific): Likewise.
36632         (__libc_key_create): Likewise.
36634         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36635         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36636         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36637         (tmpfile64): Define as alias.
36638         * sysdeps/wordsize-64/tmpfile.c: File removed.
36639         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36640         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36641         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36643         * stdio-common/vfscanf.c: Include <stdbool.h>.
36644         * nss/makedb.c: Likewise.
36645         * stdio-common/_i18n_number.h: Likewise.
36646         * argp/argp-help.c: Likewise.
36647         * posix/wordexp.c: Likewise.
36648         * sysdeps/posix/spawni.c: Likewise.
36649         * nss/nss_files/files-initgroups.c: Likewise.
36650         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36651         * nss/nss_files/files-initgroups.c: Likewise.
36652         * nss/nss_db/db-netgrp.c: Likewise.
36653         * nss/nss_db/db-initgroups.c: Likewise.
36654         * io/fchmodat.c: Include <sys/stat.h>.
36656         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36657         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36659         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36660         [HAVE_MMAP].
36662         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36663         Add multiple inclusion protection.
36665 2012-07-27  David S. Miller  <davem@davemloft.net>
36667         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36669 2012-07-27  Gary Benson  <gbenson@redhat.com>
36671         [BZ #14298]
36672         * elf/rtld.c: Include <stap-probe.h>.
36673         (dl_main): Added static probes "init_start" and "init_complete".
36674         * elf/dl-load.c: Include <stap-probe.h>.
36675         (lose): Take new parameter "nsid".
36676         Added static probe "map_failed".
36677         (_dl_map_object_from_fd): Pass namespace id to lose.
36678         Added static probe "map_start".
36679         (open_verify): Pass namespace id to lose.
36680         * elf/dl-open.c: Include <stap-probe.h>.
36681         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36682         and "reloc_complete".
36683         * elf/dl-close.c: Include <stap-probe.h>.
36684         (_dl_close_worker): Added static probes "unmap_start" and
36685         "unmap_complete".
36686         * elf/rtld-debugger-interface.txt: New file documenting the above.
36688 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36690         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36691         rather than a string variable.
36692         * sunrpc/rpc_main.c (h_output): Likewise.
36693         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36695 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36697         * inet/check_native.c: New file.
36699 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36701         [BZ #13629]
36702         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36703         if larger part has absolute value 1.0.
36704         * math/s_clog10.c (__clog10): Likewise.
36705         * math/s_clog10f.c (__clog10f): Likewise.
36706         * math/s_clog10l.c (__clog10l): Likewise.
36707         * math/s_clogf.c (__clogf): Likewise.
36708         * math/s_clogl.c (__clogl): Likewise.
36709         * math/libm-test.inc (clog_test): Add more tests.
36710         (clog10_test): Likewise.
36711         * sysdeps/i386/fpu/libm-test-ulps: Update.
36712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36714         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36715         (pltexit): Likewise.
36716         (La_regs): Likewise.
36717         (La_retval): Likewise.
36718         (int_retval): Likewise.
36719         Update #error for removed macros to refer only to definitions in
36720         tst-audit.h.
36721         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36722         macro.
36723         (pltexit): Likewise.
36724         (La_regs): Likewise.
36725         (La_retval): Likewise.
36726         (int_retval): Likewise.
36727         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36728         macro.
36729         (pltexit): Likewise.
36730         (La_regs): Likewise.
36731         (La_retval): Likewise.
36732         (int_retval): Likewise.
36733         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36734         macro.
36735         (pltexit): Likewise.
36736         (La_regs): Likewise.
36737         (La_retval): Likewise.
36738         (int_retval): Likewise.
36739         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36740         macro.
36741         (pltexit): Likewise.
36742         (La_regs): Likewise.
36743         (La_retval): Likewise.
36744         (int_retval): Likewise.
36745         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36746         macro.
36747         (pltexit): Likewise.
36748         (La_regs): Likewise.
36749         (La_retval): Likewise.
36750         (int_retval): Likewise.
36751         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36752         macro.
36753         (pltexit): Likewise.
36754         (La_regs): Likewise.
36755         (La_retval): Likewise.
36756         (int_retval): Likewise.
36757         * sysdeps/generic/tst-audit.h: Update comment to refer only to
36758         macro definitions in tst-audit.h.
36759         * sysdeps/i386/tst-audit.h: New file.
36760         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36761         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36762         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36763         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36764         * sysdeps/sh/tst-audit.h: Likewise.
36765         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36766         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36767         * sysdeps/x86_64/tst-audit.h: Likewise.
36769 2012-07-26  Andreas Jaeger  <aj@suse.de>
36771         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36772         ptrace.
36774         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36775         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36776         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36777         PTRACE_O_MASK.
36778         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36779         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36780         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36782         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36783         value.
36785         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36786         _sigsys.
36787         (si_call_addr, si_syscall, si_arch): Define new macro.
36788         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36789         _sigsys.
36790         (si_call_addr, si_syscall, si_arch): Define new marcro.
36791         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36792         _sigsys.
36793         (si_call_addr, si_syscall, si_arch): Define new macro.
36794         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36795         _sigsys.
36796         (si_call_addr, si_syscall, si_arch): Define new macro.
36798 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36800         [BZ #13717]
36801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36802         Change to 2.4.21 where previously 2.4.1.
36803         * sysdeps/unix/sysv/linux/configure: Regenerated.
36804         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36805         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36806         Linux kernel version.
36807         (__ASSUME_STD_AUXV): Remove.
36808         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36809         kernel version.
36810         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36811         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36812         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36813         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36814         (__ASSUME_NETLINK_SUPPORT): Likewise.
36815         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36816         (__no_netlink_support): Remove conditional definition.
36817         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36818         Remove.
36819         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36820         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36821         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36822         (if_nameindex_ioctl): Remove.
36823         (if_nameindex_netlink): Do not handle __no_netlink_support.
36824         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36825         code.
36826         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36827         Remove conditional code.
36828         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36829         code.
36830         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36831         unconditional.
36832         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36833         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36834         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36835         Remove.
36836         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36837         [!__ASSUME_STD_AUXV]: Remove conditional code.
36838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36839         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36840         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36842         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36843         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36844         code.
36845         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36847         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36848         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36849         conditional code.
36850         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36852         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36853         code.
36854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36855         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36856         conditional code.
36857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36858         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36859         code unconditional.
36860         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36861         conditional code.
36862         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36863         unconditional.
36864         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36865         conditional code.
36866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36867         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36868         unconditional.
36869         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36870         conditional code.
36871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36872         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36873         code unconditional.
36874         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36875         conditional code.
36876         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36877         unconditional.
36878         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36879         conditional code.
36880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36881         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36882         code unconditional.
36883         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36884         conditional code.
36885         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36886         unconditional.
36887         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36888         conditional code.
36890 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
36892         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36893         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36894         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36895         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36896         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36897         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36898         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36899         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36900         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36901         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36902         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36903         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36904         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36905         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36906         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36907         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36908         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36909         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36910         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36912         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36913         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36914         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36916 2012-07-25  Florian Weimer  <fweimer@redhat.com>
36918         * Versions.def: Add GLIBC_2.17.
36919         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36920         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36921         Introduce __libc_secure_getenv.
36922         * stdlib/Versions (2.17): Add secure_getenv
36923         (GLIBC_PRIVATE): Add __libc_secure_getenv.
36924         * stdlib/secure-getenv.c: Rename __secure_getenv to
36925         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
36926         symbol __secure_getenv for GLIBC_2.0.
36927         * stdlib/tst-secure-getenv.c: New.
36928         * stdlib/Makefile (tests): Add testcase.
36929         * manual/startup.texi (Environment Access): Document
36930         secure_getenv.
36931         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36932         __libc_secure_getenv.
36933         * inet/ruserpass.c (ruserpass): Likewise.
36934         * malloc/mtrace.c (mtrace): Likewise.
36935         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36936         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36937         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36938         * sysdeps/posix/tempname.c: Likewise.  Evaluate
36939         HAVE_SECURE_GETENV.
36940         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36941         __secure_getenv to __libc_secure_getenv.
36942         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36944         Likewise.
36945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36946         Likewise.
36947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36949         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36955 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36957         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36958         (struct La_i86_retval): Likewise.
36959         (struct La_x86_64_regs): Likewise.
36960         (struct La_x86_64_retval): Likewise.
36961         (struct La_x32_regs): Likewise.
36962         (struct La_x32_retval): Likewise.
36963         (struct La_ppc32_regs): Likewise.
36964         (struct La_ppc32_retval): Likewise.
36965         (struct La_ppc64_regs): Likewise.
36966         (struct La_ppc64_retval): Likewise.
36967         (struct La_sh_regs): Likewise.
36968         (struct La_sh_retval): Likewise.
36969         (struct La_s390_32_regs): Likewise.
36970         (struct La_s390_32_retval): Likewise.
36971         (struct La_s390_64_regs): Likewise.
36972         (struct La_s390_64_retval): Likewise.
36973         (struct La_sparc32_regs): Likewise.
36974         (struct La_sparc32_retval): Likewise.
36975         (struct La_sparc64_regs): Likewise.
36976         (struct La_sparc64_retval): Likewise.
36977         (struct audit_ifaces): Remove architecture-specific pltenter and
36978         pltexit members.
36979         * sysdeps/i386/ldsodefs.h: New file.
36980         * sysdeps/powerpc/ldsodefs.h: Likewise.
36981         * sysdeps/s390/ldsodefs.h: Likewise.
36982         * sysdeps/sh/ldsodefs.h: Likewise.
36983         * sysdeps/sparc/ldsodefs.h: Likewise.
36984         * sysdeps/x86_64/ldsodefs.h: Likewise.
36986 2012-07-25  Marek Polacek  <polacek@redhat.com>
36988         [BZ #6808]
36989         * math/libm-test.inc (yn_test): Add another test.
36990         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36991         to ERANGE when the result is +-Inf.
36992         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36993         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36994         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36995         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36997 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36999         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37000         equal to 0.
37001         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37002         clock_t.
37003         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37005 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37007         * configure.in <sysdeps resolving>: Correct printing
37008         Implies_before.
37009         * configure: Regenerate.
37011 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37013         * math/w_ilogb.c: Include <limits.h>.
37014         * math/w_ilogbl.c: Likewise.
37016 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37018         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37019         va_copy.  Document allowing for unavailable va_copy only as
37020         pre-C99 compatibility.
37021         * manual/string.texi (Copying and Concatenation): Use va_copy
37022         instead of __va_copy in concat example.
37024 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37026         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37027         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37028         it if not null.
37030         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37031         with O_NOLINK passed to __file_name_lookup.
37033         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37034         with O_NOLINK passed to __file_name_lookup.
37036         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37037         negative N or less than NGIDS.
37039         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37040         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37041         enough.  Use memcpy instead of strncpy.
37043 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37045         * elf/Makefile (check-data): Remove.
37046         (localplt.data): New vpath directive.
37047         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37048         instead of $(check-data).
37049         * scripts/data/localplt-generic.data: Move to ...
37050         * sysdeps/generic/localplt.data: ... here.
37051         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37052         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37053         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37055         ... here.
37056         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37058         ... here.
37059         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37060         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37061         ... here.
37062         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37064         ... here.
37065         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37066         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37067         ... here.
37068         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37069         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37070         ... here.
37072 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37074         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37075         PPC32 and PPC64 files.
37076         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37077         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37079 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37081         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37082         __makecontext_ret to ...
37083         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37084         ... here and call exit if uc_link is NULL.  New file.
37085         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37086         __makecontext_ret.S.
37087         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37088         __makecontext_ret to ...
37089         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37090         ... here and call exit if uc_link is NULL.  New file.
37091         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37092         __makecontext_ret.S.
37094 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37096         * elf/elf.h (R_390_IRELATIVE): New definition.
37097         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37098         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37099         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37100         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37101         (elf_machine_lazy_rel): Likewise.
37102         * sysdeps/s390/dl-irel.h: New file.
37103         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37104         * sysdeps/s390/s390-64/memset.S: New asm code.
37105         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37106         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37107         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37108         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37109         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37110         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37111         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37112         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37113         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37114         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37115         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37116         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37117         * sysdeps/s390/s390-32/memset.S: New asm code.
37118         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37120 2012-07-17  Marek Polacek  <polacek@redhat.com>
37122         [BZ #14349]
37123         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37124         * sysdeps/s390/s390-64/configure.in: Likewise.
37125         * sysdeps/sparc/configure.in: Likewise.
37126         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37127         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37128         * sysdeps/i386/configure.in: Likewise.
37129         * sysdeps/x86_64/configure.in: Likewise.
37130         * sysdeps/sh/configure.in: Likewise.
37131         * sysdeps/s390/s390-32/configure: Regenerated.
37132         * sysdeps/s390/s390-64/configure: Likewise.
37133         * sysdeps/x86_64/configure: Likewise.
37134         * sysdeps/sh/configure: Likewise.
37135         * sysdeps/powerpc/powerpc64/configure: Likewise.
37136         * sysdeps/powerpc/powerpc32/configure: Likewise.
37137         * sysdeps/sparc/configure: Likwise.
37138         * sysdeps/i386/configure: Likewise.
37140         * elf/dl-open.c: Comment fixes.
37142 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37144         * Makefile [CXX] (check-data): Remove.
37145         [CXX] (c++-types.data): New vpath directive.
37146         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37147         vpath.  Do not allow for C++ type data being missing.
37148         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37149         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37150         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37151         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37152         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37153         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37154         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37156         ... here.
37157         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37159         ... here.
37160         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37162         ... here.
37163         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37165         ... here.
37166         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37167         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37168         ... here.
37169         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37171         ... here.
37172         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37174         ... here.
37175         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37176         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37178         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37179         definitions to architecture-specific files.
37180         (TLS_IE): Likewise.
37181         (TLS_LD): Likewise.
37182         (TLS_GD): Likewise.
37183         * sysdeps/i386/tls-macros.h: New file.
37184         * sysdeps/powerpc/tls-macros.h: Likewise.
37185         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37186         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37187         * sysdeps/sh/tls-macros.h: Likewise.
37188         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37189         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37190         * sysdeps/x86_64/tls-macros.h: Likewise.
37192 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37194         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37195         zero value for regular exit case.
37197         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37198         (__start_context): Preserve zero value for regular exit case.
37200 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37201             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37203         * manual/setjmp.texi (setcontext): Clarify normal process
37204         termination when uc_link is the null pointer.
37205         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37206         exit call.
37208 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37210         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37211         preprocessor.  Test for each exception mask separately.
37213 2012-07-16  Andreas Jaeger  <aj@suse.de>
37215         * po/ru.po: Update from translation team.
37217 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37219         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37220         equal to 0.
37221         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37222         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37223         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37224         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37225         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37227 2012-07-13  Andreas Jaeger  <aj@suse.de>
37229         * po/fr.po: Update from translation team.
37231 2012-07-12  Marek Polacek  <polacek@redhat.com>
37233         [BZ #14173]
37234         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37235         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37236         loop condition.
37238 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37240         [BZ #13717]
37241         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37242         Change to 2.4.1 where previously 2.4.0.
37243         * sysdeps/unix/sysv/linux/configure: Regenerated.
37244         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37245         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37246         version.
37247         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37248         (__ASSUME_AT_CLKTCK): Remove.
37249         (__ASSUME_AT_PAGESIZE): Likewise.
37250         (__ASSUME_AT_XID): Likewise.
37251         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37252         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37253         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37254         unconditionally.
37255         (HAVE_AUX_PAGESIZE): Likewise.
37256         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37257         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37258         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37260 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37262         [BZ #14307]
37263         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37264         the temporary buffer used to invoke __gethostbyname2_r,
37265         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37266         host_data / struct gaih_addrtuple.
37267         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37268         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37269         header file nss/nsswitch.h.
37270         * nss/nsswitch.h (global scope): Add definition of implementation
37271         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37272         resolv/nss_dns/dns-host.c).
37274 2012-07-11  Andreas Jaeger  <aj@suse.de>
37276         * po/fr.po: Update from translation team.
37278         * po/sv.po: Update from translation team
37279         * po/fr.po: Another update from translation team.
37281 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37283         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37284         for subnormals or multiply small sinh result by itself.
37285         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37288 2012-07-11  David S. Miller  <davem@davemloft.net>
37290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37292 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37294         [BZ #14347]
37295         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37296         (INTERNAL_MARK): Shift it here.
37298 2012-07-10  Marek Polacek  <polacek@redhat.com>
37300         [BZ #14151]
37301         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37302         libc_cv_asm_global_directive with .globl.
37303         * configure: Regenerated.
37304         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37305         with .globl.
37306         * sysdeps/i386/configure: Regenerated.
37307         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37308         with .globl.
37309         * sysdeps/x86_64/configure: Regenerated.
37310         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37311         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37312         * elf/tst-unique2mod2.c: Likewise.
37313         * elf/tst-unique2mod1.c: Likewise.
37314         * elf/tst-unique1mod2.c: Likewise.
37315         * elf/tst-unique1mod1.c: Likewise.
37316         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37317         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37318         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37319         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37320         * sysdeps/mach/sysdep.h: Likewise.
37321         * sysdeps/i386/sysdep.h: Likewise.
37322         * sysdeps/i386/i386-mcount.S: Likewise.
37323         * sysdeps/x86_64/_mcount.S: Likewise.
37324         * sysdeps/x86_64/sysdep.h: Likewise.
37325         * sysdeps/sh/_mcount.S: Likewise.
37326         * sysdeps/sh/sysdep.h: Likewise.
37327         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37328         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37329         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37330         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37331         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37332         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37333         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37334         * locale/localeinfo.h: Likewise.
37335         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37336         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37338 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37340         [BZ #14336]
37341         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37342         system".
37343         * manual/message.texi (The Uniforum approach): Likewise.
37344         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37345         (glibc iconv Implementation): Likewise.
37347 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37349         [BZ #14337]
37350         * math/s_clog.c (__clog): Avoid scaling a value down where that
37351         could result in underflow.
37352         * math/s_clog10.c (__clog10): Likewise.
37353         * math/s_clog10f.c (__clog10f): Likewise.
37354         * math/s_clog10l.c (__clog10l): Likewise.
37355         * math/s_clogf.c (__clogf): Likewise.
37356         * math/s_clogl.c (__clogl): Likewise.
37357         * math/libm-test.inc (clog_test): Add more tests.
37358         (clog10_test): Likewise.
37359         * sysdeps/i386/fpu/libm-test-ulps: Update.
37360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37362 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37364         [BZ #14283]
37365         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37366         by 7 not 8 to examine high bit of fractional part.
37368         [BZ #14042]
37369         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37370         for call to __mcount_internal.
37371         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37372         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37373         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37375 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37377         [BZ #14154]
37378         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37379         approximation for values within 0x1p-13f of an odd multiple of
37380         pi/4.
37381         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37382         exception.  Add more tests.
37383         * sysdeps/i386/fpu/libm-test-ulps: Update.
37385         [BZ #6778]
37386         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37387         inputs and return -1 for them.  Do not check for +Inf in case not
37388         reachable for +Inf.
37389         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37390         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37391         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37392         and return -1 for them.  Do not check for +Inf in case not
37393         reachable for +Inf.
37394         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37395         define.
37396         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37397         and return -1 for them.  Do not check for +Inf in case not
37398         reachable for +Inf.
37399         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37400         spurious underflow.
37401         * sysdeps/i386/fpu/libm-test-ulps: Update.
37402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37404 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37406         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37408 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37410         [BZ #14157]
37411         [BZ #14331]
37412         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37413         could result in spurious underflow.  Scale down values above
37414         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37415         * math/s_csqrtf.c (__csqrtf): Likewise.
37416         * math/s_csqrtl.c (__csqrtl): Likewise.
37417         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37418         spurious underflow.
37419         * sysdeps/i386/fpu/libm-test-ulps: Update.
37420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37422 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37424         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37425         xopen-msg.sed.
37426         * catgets/xopen-msg.awk: New file.
37427         * catgets/xopen-msg.sed: Removed.
37429         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37430         po2text.sed.
37431         * intl/po2test.awk: New file.
37432         * intl/po2test.sed: Removed.
37434 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37436         [BZ #14328]
37437         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37438         or multiply small sinh result by itself.
37439         * math/s_ctanf.c (__ctanf): Likewise.
37440         * math/s_ctanh.c (__ctanh): Likewise.
37441         * math/s_ctanhf.c (__ctanhf): Likewise.
37442         * math/s_ctanhl.c (__ctanhl): Likewise.
37443         * math/s_ctanl.c (__ctanl): Likewise.
37444         * math/libm-test.inc (ctan_test_tonearest): New function.
37445         (ctan_test_towardzero): Likewise.
37446         (ctan_test_downward): Likewise.
37447         (ctan_test_upward): Likewise.
37448         (ctanh_test_tonearest): Likewise.
37449         (ctanh_test_towardzero): Likewise.
37450         (ctanh_test_downward): Likewise.
37451         (ctanh_test_upward): Likewise.
37452         (main): Call these new functions.
37453         * sysdeps/i386/fpu/libm-test-ulps: Update.
37454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37456 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37458         * .gitignore: Delete /ports entry.
37460 2012-07-03  Andreas Jaeger  <aj@suse.de>
37462         * po/bg.po: Update from translation team.
37463         * po/cs.po: Likewise.
37464         * po/de.po: Likewise.
37465         * po/hr.po: Likewise.
37466         * po/nl.pl: Likewise.
37467         * po/pl.po: Likewise.
37468         * po/vi.po: Likewise.
37470 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37472         * Makeconfig [!+link] (+link-before-libc): New variable.
37473         [!+link] (+link-after-libc): Likewise.
37474         [!+link] (+link-tests): Likewise.
37475         [!+link] (+link): Define in terms of $(+link-before-libc) and
37476         $(+link-after-libc).
37477         [!+link-static] (+link-static-before-libc): New variable.
37478         [!+link-static] (+link-static-after-libc): Likewise.
37479         [!+link-static] (+link-static-tests): Likewise.
37480         [!+link-static] (+link-static): Define in terms of
37481         $(+link-static-before-libc) and $(+link-static-after-libc).
37482         [build-shared] (link-libc-before-gnulib): New variable.
37483         [build-shared] (link-libc-tests): Likewise.
37484         [build-shared] (link-libc): Define in terms of
37485         $(link-libc-before-gnulib).
37486         [!build-shared] (link-libc-tests): New variable.
37487         (link-libc-static-tests): New variable.
37488         [!gnulib] (gnulib-arch): New variable.
37489         [!gnulib] (gnulib-tests): Likewise.
37490         [!gnulib] (static-gnulib-arch): Likewise.
37491         [!gnulib] (static-gnulib-tests): Likewise.
37492         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37493         Define with "=" instead of ":=".
37494         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37495         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37496         * Rules (binaries-all-notests): New variable.
37497         (binaries-all-tests): Likewise.
37498         (binaries-static-notests): Likewise.
37499         (binaries-static-tests): Likewise.
37500         (binaries-all): Define using $(binaries-all-notests) and
37501         $(binaries-all-tests).
37502         (binaries-static): Define using $(binaries-static-notests) and
37503         $(binaries-static-tests).
37504         (binaries-shared-tests): New variable.
37505         (binaries-shared-notests): Likewise.
37506         (binaries-shared): Remove variable.
37507         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37508         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37509         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37510         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37511         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37512         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37513         * elf/Makefile (sln-modules): New variable.
37514         (extra-objs): Add $(sln-modules:=.o).
37515         (ldconfig-modules): Add static-stubs.
37516         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37517         * elf/static-stubs.c: New file.
37519         [BZ #14283]
37520         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37521         by 7 not 8 to examine high bit of fractional part.  Use volatile
37522         variables when splitting into final array of floats if
37523         __FLT_EVAL_METHOD__ != 0.
37524         * math/libm-test.inc (cos_test): Add another test.
37525         (sin_test): Likewise.
37526         * sysdeps/i386/fpu/libm-test-ulps: Update.
37528         [BZ #14273]
37529         * math/libm-test.inc (cosh_test): Add more tests.
37531         * version.h (RELEASE): Set to "development".
37532         (VERSION): Set to "2.16.90".
37534 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37536         * NEWS: Update copyright. Remove last-updated date.
37537         Mention math library bug fixes and timezone data changes.
37538         * README: Mention GNU/Hurd, x32, and HPPA support status.
37540 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37542         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37544 2012-06-27  Andreas Jaeger  <aj@suse.de>
37546         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37548 2012-06-25  Andreas Jaeger  <aj@suse.de>
37550         * sysdeps/s390/fpu/libm-test-ulps: Update.
37552 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37553             Thomas Schwinge  <thomas@codesourcery.com>
37555         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37556         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37557         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37558         fanotify_mark.
37560 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37562         * sysdeps/mach/start.c: Remove file.
37563         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37564         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37565         * sysdeps/sh/init-first.c: Likewise.
37567         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37568         registers for frame unwinding purposes, add CFI directives.
37569         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37570         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37571         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37572         Likewise.
37574         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37575         __fortify_fail returning.
37576         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37578         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37579         sysdeps/sh/____longjmp_chk.S.
37580         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37581         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37582         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37583         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37585         * sysdeps/sh/abort-instr.h: New file.
37586         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37587         process in case exit returns.
37589         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37590         initialize the GOT register before use.
37592         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37593         calculation of ARGC > 4.
37595         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37596         meaningful names to some local labels.
37598 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37599             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37601         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37602         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37603         (__arch_compare_and_exchange_val_16_acq): Likewise.
37604         (__arch_compare_and_exchange_val_32_acq): Likewise.
37605         (atomic_exchange_and_add): Fix gUSA sequence.
37606         (atomic_add): Likewise.
37607         (atomic_add_negative): Likewise.
37608         (atomic_add_zero): Likewise.
37609         (atomic_bit_test_set): Likewise.
37611 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37613         [BZ #13579]
37614         * include/link.h (struct link_map): Add l_free_initfini.
37615         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37616         l_initfini.
37617         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37618         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37619         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37620         set.
37622 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37624         * configure.in: Use AC_LANG_SOURCE.
37625         * configure: Regenerate.
37627 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37629         * configure.in (libc_cv_localstatedir): New substituted variable.
37630         * configure: Regenerated.
37631         * config.make.in (localstatedir): New variable, substituted from
37632         libc_cv_localstatedir.
37633         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37634         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37635         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37636         * sysdeps/gnu/configure: Regenerated.
37638 2012-06-21  Jeff Law  <law@redhat.com>
37640         [BZ #14277]
37641         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37642         free.  Simplify list management for _LIBC case.
37644 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37646         [BZ #14273]
37647         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37648         Clear sign bit of 64-bit integer value before comparing against
37649         overflow value.
37651         * sysdeps/mach/configure: Regenerated.
37653 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37655         [BZ #14278]
37656         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37658 2012-06-21  Jeff Law  <law@redhat.com>
37660         [BZ #13882]
37661         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37662         uint16_t for elements in the "seen" array to avoid char overflows.
37663         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37664         * elf/dl-open.c (dl_open_worker): Likewise.
37666 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37668         * scripts/list-sources.sh: Scan PORTS for translations.
37669         * po/libc.pot: Regenerated.
37671 2012-06-21  Andreas Jaeger  <aj@suse.de>
37673         [BZ #12194]
37674         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37675         warning.
37676         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37677         * bits/byteswap-16.h (__bswap_16): Likewise.
37678         * bits/byteswap.h (__bswap_constant_16): Likewise.
37680 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37682         [BZ #14117]
37683         * sysdeps/i386/fpu_control.h: Removed.
37684         * sysdeps/x86_64/fpu_control.h: Moved to ...
37685         * sysdeps/x86/fpu_control.h: Here.
37687         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37688         (_FPU_SETCW): Likewise.
37690 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37692         [BZ #14117]
37693         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37694         * sysdeps/x86/fpu/bits/mathinline.h: This.
37695         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37697         [BZ #14050]
37698         [BZ #14117]
37699         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37700         functions if __x86_64__ is defined.
37702 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37704         * string/endian.h: Add !__ASSEMBLER__ condition for including
37705         conversion interfaces.
37707 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37709         [BZ #14241]
37710         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37711         of ABS(x) in calculating zero to negative powers other than odd
37712         integers.
37713         * math/libm-test.inc (pow_test): Add more tests.
37715 2012-06-15  Andreas Jaeger  <aj@suse.de>
37717         * manual/contrib.texi (Contributors): Update entry of Liubov
37718         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37719         Machado Filho.
37721 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37723         * string/string.h: Add __wur to GNU version of strerror_r.
37725 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37727         [BZ #14229]
37728         * string/Makefile (tests): Add tst-strtok_r.
37729         * string/tst-strtok_r.c: New file.
37730         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37731         RAX_LP/RDX_LP on SAVE_PTR.
37733 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37735         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37737 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37739         * libm_test.inc (csqrt_test): Allow more spurious underflow
37740         exceptions.
37741         (j0_test): Likewise.
37742         (j1_test): Likewise.
37743         (y0_test): Likewise.
37744         (y1_test): Likewise.
37746 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
37748         * po/Makefile (libc.pot): Use UTF-8 charset.
37750 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
37752         [BZ #14210]
37753         Suppress sign-conversion warning from FD_SET.
37754         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37755         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37756         not unsigned long int.
37757         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37759 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
37761         [BZ #14050]
37762         [BZ #14117]
37763         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37764         __extern_always_inline instead of __extern_inline.
37765         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37766         (__signbit): Likewise.
37767         (__signbitl): Support C++ namespace.
37768         (lrintf): New inline function.
37769         (lrint): Likewise.
37770         (llrintf): Likewise.
37771         (llrint): Likewise.
37772         (fmaxf): Likewise.
37773         (fmax): Likewise.
37774         (fminf): Likewise.
37775         (fmin): Likewise.
37776         (rint): Likewise.
37777         (rintf): Likewise.
37778         (ceil): Likewise.
37779         (ceilf): Likewise.
37780         (floor): Likewise.
37781         (floorf): Likewise.
37782         (nearbyint): Likewise.
37783         (nearbyintf): Likewise.
37785 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
37787         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37788         non-default versions.
37790 2012-06-11  Roland McGrath  <roland@hack.frob.com>
37792         [BZ #14218]
37793         * manual/argp.texi (Argp): Reword argp_parse description slightly.
37795 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
37797         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37798         (FE_UPWARD, FE_DOWNWARD): Don't define.
37799         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37800         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37802         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37803         reading it.
37804         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37805         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37807 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37809         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37810         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37811         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37812         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37814 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
37816         [BZ #14117]
37817         * sysdeps/i386/fpu/bits/fenv.h: Removed.
37818         * sysdeps/i386/fpu/Implies: New file.
37819         * sysdeps/x86_64/fpu/Implies: Likewise.
37820         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37821         * sysdeps/x86/fpu/bits/fenv.h: This.
37823         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37824         __SSE_MATH__.
37826 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37828         [BZ #14134]
37829         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37830         character 0xffff that matches the last element of the
37831         conversion table.
37833 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37835         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37836         fmodl commit.
37838 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37840         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37841         values higher than 25.6283.
37843 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37845         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37846         subnormal exponent extraction and add some __builtin_expect.
37847         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37848         Fix for subnormal mantissa calculation.
37850 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
37852         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37853         cpu2 is -1 and errno is not ENOSYS.
37855 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
37857         [BZ #14117]
37858         * sysdeps/i386/i486/bits/string.h: Renamed to ...
37859         * sysdeps/x86/bits/string.h: This.
37860         * sysdeps/x86_64/bits/string.h: Removed.
37862         * sysdeps/i386/i486/bits/string.h: Define inline functions only
37863         if not compiling for x86-64, but compiling for >= i486.
37865         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37866         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37868         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37869         New macro from Linux kernel 3.4.0.
37870         (FP_XSTATE_MAGIC2): Likewise.
37871         (FP_XSTATE_MAGIC2_SIZE): Likewise.
37872         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37873         (struct _fpx_sw_bytes): New struct.
37874         (struct _xsave_hdr): Likewise.
37875         (struct _ymmh_state): Likewise.
37876         (struct _xstate): Likewise.
37878         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37879         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37880         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37881         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37882         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37883         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37885         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37886         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37887         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37888         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37889         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37890         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37892 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37894         [BZ #13743]
37895         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37896         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37897         (sysdep_headers): Include sys/platform/ppc.h.
37898         * sysdeps/powerpc/test-gettimebase.c: Test for
37899         __ppc_get_timebase() to catch future ISA opcode/insn changes.
37900         * manual/Makefile (appendices): Include platform.texi.
37901         * manual/contrib.texi (Contributors): Update @node pointers.
37902         * manual/maint.texi (Maintenance): Likewise.
37903         (Platform): New node.
37904         * manual/platform.texi: New file.  Document the new features.
37906 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37907             Jakub Jelinek  <jakub@redhat.com>
37909         [BZ #14188]
37910         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37911         where __builtin_expect is unavailable.
37913 2012-06-03  David S. Miller  <davem@davemloft.net>
37915         * stdlib/longlong.h: Updated from GCC.
37917 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
37919         [BZ #14042]
37920         * sysdeps/powerpc/powerpc32/mcount.c: New file.
37921         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37922         __mcount_internal.
37923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37924         (GLIBC_2.16): Likewise.
37926 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37928         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37930 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37933         (default-abi): New variable.
37934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37935         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37936         variable.
37937         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37938         Likewise.
37939         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37940         Likewise.
37941         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37942         Likewise.
37944         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37945         definition.  Document in comment.
37947 2012-06-01  David S. Miller  <davem@davemloft.net>
37949         * stdlib/longlong.h: Updated from GCC.
37951 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37953         [BZ #14117]
37954         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37955         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37956         sys/debugreg.h sys/io.h here.
37957         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37958         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37959         sys/io.h.
37960         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37961         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37962         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37963         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37964         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37965         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37967         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37968         Define only if __x86_64__ is defined.
37970 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37972         [BZ #14048]
37973         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37974         Use int64_t for variable i.
37975         * math/libm-test.inc (fmod_test): Add more tests.
37977         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37978         z computation is not scheduled after fetestexcept.
37979         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37980         Use math_force_eval instead of asm to ensure calculation scheduled
37981         before exception test.
37982         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37983         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37985 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37987         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37988         computation is not scheduled after fetestexcept.
37990 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37992         [BZ #14117]
37993         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37994         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37996 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37998         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37999         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38001 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38003         [BZ #14117]
38004         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38005         <bits/wordsize.h>.
38006         (__WCHAR_MIN): Support __WORDSIZE == 64.
38007         (__WCHAR_MAX): Likewise.
38009         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38010         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38012         [BZ #14183]
38013         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38014         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38016         [BZ #14117]
38017         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38018         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38020         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38021         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38023         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38024         Defined to 1 if __x86_64__ isn't defined.
38025         (_STAT_VER_LINUX_OLD): New.
38026         (st_atime): Remove duplicate.
38027         (st_mtime): Likewise.
38028         (st_ctime): Likewise.
38030 2012-05-31  David S. Miller  <davem@davemloft.net>
38032         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38033         entries.
38035 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38037         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38038         gen-libm-test.pl.
38040         [BZ #14132]
38041         * elf/dl-reloc.c: Include <_itoa.h>.
38042         (_dl_reloc_bad_type): Remove use of INTUSE.
38043         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38044         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38045         * stdio-common/psiginfo.c (psiginfo): Likewise.
38046         * stdio-common/psignal.c (psignal): Likewise.
38047         * string/strsignal.c (strsignal): Likewise.
38048         * include/signal.h (_sys_siglist): Declare hidden proto.
38049         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38050         INTVARDEF with libc_hidden_data_def.
38051         * stdio-common/itoa-udigits.c: Likewise.
38052         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38053         (_itoa_lower_digits_internal): Remove declaration.
38054         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38055         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38056         (_sys_sigabbrev_internal): Remove aliases.
38057         (_sys_siglist): Define hidden alias.
38059 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38061         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38062         bits/sysctl.h.
38064 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38066         [BZ #14117]
38067         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38068         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38070         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38071         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38072         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38073         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38074         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38075         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38077         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38078         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38079         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38081         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38082         with __addr.
38083         (insw): Likewise.
38084         (insl): Likewise.
38085         (outsb): Likewise.
38086         (outsw): Likewise.
38087         (outsl): Likewise.
38089         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38090         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38091         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38093         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38094         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38095         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38096         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38097         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38098         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38100         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38101         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38103         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38104         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38106         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38107         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38108         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38110         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38111         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38112         to ...
38113         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38115         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38116         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38117         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38119         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38120         for x86-64.
38121         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38123 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38125         * math/math.h (M_El): Use two more decimal places.
38126         (M_LOG2El): Likewise.
38127         (M_LOG10El): Likewise.
38128         (M_LN2l): Likewise.
38129         (M_LN10l): Likewise.
38130         (M_PIl): Likewise.
38131         (M_PI_2l): Likewise.
38132         (M_PI_4l): Likewise.
38133         (M_1_PIl): Likewise.
38134         (M_2_PIl): Likewise.
38135         (M_2_SQRTPIl): Likewise.
38136         (M_SQRT2l): Likewise.
38137         (M_SQRT1_2l): Likewise.
38139 2012-05-31  David S. Miller  <davem@davemloft.net>
38141         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38142         values between float registers.
38143         * sysdeps/sparc/sparc64/memset.S: Likewise.
38144         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38146 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38148         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38149         -D_FORTIFY_SOURCE=1.
38150         (CPPFLAGS-tst-longjmp_chk.c): Define.
38151         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38152         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38153         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38154         CFLAGS-tst-wchar-h.c.
38156 2012-05-31  Marek Polacek  <polacek@redhat.com>
38158         [BZ #14132]
38159         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38160         __endmntent_internal): Remove declaration.
38161         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38162         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38163         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38165 2012-05-30  David S. Miller  <davem@davemloft.net>
38167         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38168         (___Q_simulate_exceptions): Use real FP ops rather than writing
38169         into the %fsr.
38170         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38171         Likewise.
38173 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38175         [BZ #14117]
38176         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38177         * sysdeps/x86/bits/xtitypes.h: This.
38179         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38180         * sysdeps/x86/bits/wordsize.h: This.
38182         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38183         * sysdeps/x86/bits/huge_vall.h: This.
38185         * sysdeps/i386/bits/select.h: Removed.
38186         * sysdeps/x86_64/bits/select.h: Renamed to ...
38187         * sysdeps/x86/bits/select.h: This.
38189         * sysdeps/i386/bits/setjmp.h: Removed.
38190         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38191         * sysdeps/x86/bits/setjmp.h: This.
38193         * sysdeps/i386/bits/mathdef.h: Removed.
38194         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38195         * sysdeps/x86/bits/mathdef.h: This.
38197 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38199         [BZ #14132]
38200         * include/sys/socket.h (__connect_internal)
38201         (__libc_sa_len_internal): Remove declaration.
38202         (__connect, __libc_sa_len): Declare hidden_proto.
38203         (SA_LEN): Remove use of INTUSE.
38204         * socket/connect.c: Add libc_hidden_def.
38205         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38206         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38207         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38208         alias.
38209         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38210         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38211         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38212         of adding _internal alias.
38214 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38216         [BZ #14117]
38217         * sysdeps/i386/bits/link.h: Removed.
38218         * sysdeps/i386/bits/linkmap.h: Likewise.
38219         * sysdeps/x86_64/bits/link.h: Renamed to ...
38220         * sysdeps/x86/bits/link.h: This.
38221         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38222         * sysdeps/x86/bits/linkmap.h: This.
38224         * sysdeps/i386/bits/endian.h: Removed.
38225         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38226         * sysdeps/x86/bits/endian.h: This.
38228         * sysdeps/i386/bits/byteswap.h: Removed.
38229         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38230         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38231         * sysdeps/x86/bits/byteswap.h: This.
38232         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38233         * sysdeps/x86/bits/byteswap-16.h: This.
38234         * sysdeps/i386/Implies: Add x86.
38235         * sysdeps/x86_64/Implies: Likewise.
38237 2012-05-30  David S. Miller  <davem@davemloft.net>
38239         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38240         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38241         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38242         (FP_TRAPPING_EXCEPTIONS): Define.
38243         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38244         (FP_TRAPPING_EXCEPTIONS): Define.
38245         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38246         subnormals only when inexact has been signalled or underflow
38247         exceptions are enabled.
38248         (_FP_PACK_CANONICAL): Likewise.
38250 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38252         [BZ #14183]
38253         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38254         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38256 2012-05-30  Richard Henderson  <rth@twiddle.net>
38258         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38259         with #ifndef NOT_IN_libc.
38261         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38262         marked to avoid plt entry.
38264 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38266         [BZ #14112]
38267         * Makeconfig (default-abi): New macro.
38268         (abi-includes): Likewise.
38269         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38270         $(abi-$(default-abi)-lib-soname) for soname if defined.
38271         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38272         abi-variants.
38273         * Makefile (installed-stubs): Likewise.
38274         * include/stubs-biarch.h: Removed.
38275         * scripts/lib-names.awk: Only handle one library at a time.
38276         * scripts/soversions.awk: Remove WORDSIZE support.
38277         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38278         entries.
38279         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38280         Removed.
38281         (syscall-list-default-condition): Likewise.
38282         (syscall-list-default-condition): Likewise.
38283         (syscall-list-includes): Likewise.
38284         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38285         syscall-list-* with abi-*.  Handle undefined abi-variants.
38286         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38287         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38288         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38289         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38290         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38291         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38292         Removed.
38293         (syscall-list-32-options): Likewise.
38294         (syscall-list-32-condition): Likewise.
38295         (syscall-list-64-options): Likewise.
38296         (syscall-list-64-condition): Likewise.
38297         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38298         macro.
38299         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38300         Renamed to ...
38301         (abi-*): This.
38302         (abi-64-ld-soname): New macro.
38303         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38304         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38305         Renamed to ...
38306         (abi-*): This.
38307         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38308         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38310 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38312         * sysdeps/unix/sysv/linux/kernel-features.h
38313         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38314         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38315         include <kernel-features.h>.
38316         [!__NR_ftruncate64]: Remove conditional code.
38317         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38318         [__NR_ftruncate64]: Make code unconditional.
38319         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38320         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38321         include <kernel-features.h>.
38322         [!__NR_ftruncate64]: Remove conditional code.
38323         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38324         [__NR_ftruncate64]: Make code unconditional.
38325         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38327         include <kernel-features.h>.
38328         [!__NR_ftruncate64]: Remove conditional code.
38329         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38330         [__NR_ftruncate64]: Make code unconditional.
38331         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38333         include <kernel-features.h>.
38334         [!__NR_ftruncate64]: Remove conditional code.
38335         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38336         [__NR_ftruncate64]: Make code unconditional.
38337         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38339         * configure.in (libc_cv_fpie): Weaken to a compile test using
38340         LIBC_TRY_CC_OPTION.
38341         * configure: Regenerated.
38343 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38345         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38346         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38347         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38348         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38349         Refreshed.
38350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38353         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38356         Refreshed.
38358 2012-05-27  David S. Miller  <davem@davemloft.net>
38360         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38361         (___Q_zero): New.
38362         (__Q_simulate_exceptions): Return void.  Change to simulate
38363         exceptions by writing into the %fsr.
38364         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38365         (__Qp_handle_exceptions): Likewise.
38366         (numbers): Delete.
38367         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38368         __Qp_handle_exceptions.
38369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38370         __Qp_handle_exceptions.
38371         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38372         as unused and give dummy FP_RND_NEAREST initializer.
38373         (FP_INHIBIT_RESULTS): Define.
38374         (___Q_simulate_exceptions): Update declaration.
38375         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38376         formatting.
38377         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38378         as unused and give dummy FP_RND_NEAREST initializer.
38379         (__Qp_handle_exceptions): Update declaration.
38380         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38381         formatting.
38383 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38385         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38386         the temporary FPU control word.
38387         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38388         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38389         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38390         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38391         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38392         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38393         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38394         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38395         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38396         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38397         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38399 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38401         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38402         fields.
38404 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38406         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38407         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38408         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38409         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38410         Likewise.
38411         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38412         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38413         Likewise.
38415 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38417         * po/h.po: Update from translation team.
38419 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38421         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38423         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38424         handling of denormals.
38425         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38426         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38427         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38428         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38429         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38430         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38432         Likewise.
38434 2012-05-26  Marek Polacek  <polacek@redhat.com>
38436         [BZ #14152]
38437         * math/libm-test.inc (fma_test): Don't always expect underflow
38438         exception.
38440 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38442         [BZ #12416]
38443         * elf/tst-execstack.c: Include stackinfo.h.
38444         (do_test): Adjust test case to ensure that pthread_getattr_np
38445         behaviour remains the same after marking stack executable.
38447 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38449         * sysdeps/unix/sysv/linux/kernel-features.h
38450         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38451         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38452         kernel-features.h.
38453         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38454         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38455         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38456         kernel-features.h.
38457         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38458         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38460 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38462         * configure.in: Define the default includes to being none.
38463         * configure: Regenerated.
38465 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38467         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38468         * sysdeps/x86_64/setjmp.S: Likewise.
38469         * sysdeps/i386/bsd-setjmp.S: Likewise.
38470         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38471         * sysdeps/i386/setjmp.S: Likewise.
38472         * sysdeps/i386/__longjmp.S: Likewise.
38473         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38474         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38476         * include/stap-probe.h: New file.
38477         * configure.in: Handle --enable-systemtap.
38478         * configure: Regenerated.
38479         * config.h.in (USE_STAP_PROBE): New #undef.
38480         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38481         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38482         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38484 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38486         [BZ #13717]
38487         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38488         to 2.4.0 where earlier.
38489         * sysdeps/unix/sysv/linux/configure: Regenerated.
38490         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38491         <kernel-features.h>.
38492         [__ASSUME_32BITUIDS]: Make code unconditional.
38493         [!__ASSUME_32BITUIDS]: Remove conditional code.
38494         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38495         <kernel-features.h>.
38496         [__ASSUME_32BITUIDS]: Make code unconditional.
38497         [!__ASSUME_32BITUIDS]: Remove conditional code.
38498         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38499         [__ASSUME_32BITUIDS]: Make code unconditional.
38500         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38501         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38502         <kernel-features.h>.
38503         [__ASSUME_32BITUIDS]: Make code unconditional.
38504         [!__ASSUME_32BITUIDS]: Remove conditional code.
38505         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38506         <kernel-features.h>.
38507         [__ASSUME_32BITUIDS]: Make code unconditional.
38508         [!__ASSUME_32BITUIDS]: Remove conditional code.
38509         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38510         <kernel-features.h>.
38511         [__ASSUME_32BITUIDS]: Make code unconditional.
38512         [!__ASSUME_32BITUIDS]: Remove conditional code.
38513         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38514         <kernel-features.h>.
38515         [__ASSUME_32BITUIDS]: Make code unconditional.
38516         [!__ASSUME_32BITUIDS]: Remove conditional code.
38517         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38518         <kernel-features.h>.
38519         [__ASSUME_32BITUIDS]: Make code unconditional.
38520         [!__ASSUME_32BITUIDS]: Remove conditional code.
38521         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38522         <kernel-features.h>.
38523         [__ASSUME_32BITUIDS]: Make code unconditional.
38524         [!__ASSUME_32BITUIDS]: Remove conditional code.
38525         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38526         <kernel-features.h>.
38527         [__ASSUME_32BITUIDS]: Make code unconditional.
38528         [!__ASSUME_32BITUIDS]: Remove conditional code.
38529         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38530         <kernel-features.h>.
38531         [__ASSUME_32BITUIDS]: Make code unconditional.
38532         [!__ASSUME_32BITUIDS]: Remove conditional code.
38533         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38534         <kernel-features.h>.
38535         [__ASSUME_32BITUIDS]: Make code unconditional.
38536         [!__ASSUME_32BITUIDS]: Remove conditional code.
38537         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38538         <kernel-features.h>.
38539         [__ASSUME_32BITUIDS]: Make code unconditional.
38540         [!__ASSUME_32BITUIDS]: Remove conditional code.
38541         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38542         <kernel-features.h>.
38543         [__NR_setresgid] (__setresgid): Do not declare.
38544         [__ASSUME_32BITUIDS]: Make code unconditional.
38545         [!__ASSUME_32BITUIDS]: Remove conditional code.
38546         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38547         <kernel-features.h>.
38548         [__NR_setresuid] (__setresuid): Do not declare.
38549         [__ASSUME_32BITUIDS]: Make code unconditional.
38550         [!__ASSUME_32BITUIDS]: Remove conditional code.
38551         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38552         <kernel-features.h>.
38553         [__ASSUME_32BITUIDS]: Make code unconditional.
38554         [!__ASSUME_32BITUIDS]: Remove conditional code.
38555         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38556         <kernel-features.h>.
38557         [__ASSUME_32BITUIDS]: Make code unconditional.
38558         [!__ASSUME_32BITUIDS]: Remove conditional code.
38559         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38560         <kernel-features.h>.
38561         [__ASSUME_32BITUIDS]: Make code unconditional.
38562         [!__ASSUME_32BITUIDS]: Remove conditional code.
38563         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38564         <kernel-features.h>.
38565         [__ASSUME_32BITUIDS]: Make code unconditional.
38566         [!__ASSUME_32BITUIDS]: Remove conditional code.
38567         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38568         <kernel-features.h>.
38569         [__ASSUME_32BITUIDS]: Make code unconditional.
38570         [!__ASSUME_32BITUIDS]: Remove conditional code.
38571         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38572         <kernel-features.h>.
38573         [__ASSUME_32BITUIDS]: Make code unconditional.
38574         [!__ASSUME_32BITUIDS]: Remove conditional code.
38575         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38576         <kernel-features.h>.
38577         [__ASSUME_32BITUIDS]: Make code unconditional.
38578         [!__ASSUME_32BITUIDS]: Remove conditional code.
38579         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38580         <kernel-features.h>.
38581         [__ASSUME_32BITUIDS]: Make code unconditional.
38582         [!__ASSUME_32BITUIDS]: Remove conditional code.
38583         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38584         <kernel-features.h>.
38585         [__ASSUME_32BITUIDS]: Make code unconditional.
38586         [!__ASSUME_32BITUIDS]: Remove conditional code.
38587         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38588         <kernel-features.h>.
38589         [__ASSUME_32BITUIDS]: Make code unconditional.
38590         [!__ASSUME_32BITUIDS]: Remove conditional code.
38591         * sysdeps/unix/sysv/linux/kernel-features.h
38592         (__ASSUME_SETRESUID_SYSCALL): Remove.
38593         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38594         (__ASSUME_32BITUIDS): Likewise.
38595         (__ASSUME_LDT_WORKS): Likewise.
38596         (__ASSUME_O_DIRECTORY): Likewise.
38597         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38598         architecture but not kernel version.
38599         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38600         (__ASSUME_MMAP2_SYSCALL): Likewise.
38601         (__ASSUME_STAT64_SYSCALL): Likewise.
38602         (__ASSUME_IPC64): Likewise.
38603         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38604         <kernel-features.h>.
38605         [__ASSUME_32BITUIDS]: Make code unconditional.
38606         [!__ASSUME_32BITUIDS]: Remove conditional code.
38607         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38608         <kernel-features.h>.
38609         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38610         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38611         132096]: Remove conditional code.
38612         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38613         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38614         <kernel-features.h>.
38615         [__ASSUME_32BITUIDS]: Make code unconditional.
38616         [!__ASSUME_32BITUIDS]: Remove conditional code.
38617         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38618         <kernel-features.h>.
38619         [__ASSUME_32BITUIDS]: Make code unconditional.
38620         [!__ASSUME_32BITUIDS]: Remove conditional code.
38621         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38622         <kernel-features.h>.
38623         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38624         unconditional.
38625         (__setresgid): Do not declare.
38626         [__ASSUME_32BITUIDS]: Make code unconditional.
38627         [!__ASSUME_32BITUIDS]: Remove conditional code.
38628         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38629         <kernel-features.h>.
38630         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38631         unconditional.
38632         (__setresuid): Do not declare.
38633         [__ASSUME_32BITUIDS]: Make code unconditional.
38634         [!__ASSUME_32BITUIDS]: Remove conditional code.
38635         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38636         <kernel-features.h>.
38637         [__ASSUME_32BITUIDS]: Make code unconditional.
38638         [!__ASSUME_32BITUIDS]: Remove conditional code.
38639         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38640         <kernel-features.h>.
38641         [__ASSUME_32BITUIDS]: Make code unconditional.
38642         [!__ASSUME_32BITUIDS]: Remove conditional code.
38644 2012-05-25  Richard Henderson  <rth@twiddle.net>
38646         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38647         dl_hwcap to ifunc resolver.
38648         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38649         elf_ifunc_invoke.
38650         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38651         dl_hwcap to ifunc resolver.
38652         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38654 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38656         [BZ #14153]
38657         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38658         for |x| <= 2**-26, not 2**-57.
38659         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38660         exception.
38662 2012-05-24  Jeff Law  <law@redhat.com>
38664         * stdio-common/Makefile (tests): Add bug25.
38665         * stdio-common/bug25.c: New test.
38667 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38669         [BZ #13576]
38670         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38671         multiple of MALLOC_ALIGNMENT in size.
38672         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38674 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38676         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38677         Require >= 256.
38678         (FILENAME_MAX): Use macro-int-constant.
38679         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38680         (_IOFBF): Use macro-int-constant.
38681         (_IOLBF): Likewise.
38682         (_IONBF): Likewise.
38683         (SEEK_CUR): Likewise.
38684         (SEEK_END): Likewise.
38685         (SEEK_SET): Likewise.
38686         (TMP_MAX): Likewise.
38687         (EOF): Use macro-int-constant.  Require < 0.
38688         (NULL): Use macro-constant.  Require == 0.
38689         (stdin): Require type to be FILE *.
38690         (stdout): Likewise.
38691         (stderr): Likewise.
38692         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38693         macro-int-constant.
38694         (EXIT_SUCCESS): Likewise.
38695         (NULL): Use macro-constant.  Require == 0.
38696         (RAND_MAX): Use macro-int-constant.
38697         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38698         [C99-based standards] (strtof): Require function.
38699         [C99-based standards] (strtold): Likewise.
38700         [C99-based standards] (strtoll): Likewise.
38701         [C99-based standards] (strtoull): Likewise.
38702         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38703         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38704         [ISO || ISO99 || ISO11] (math.h): Likewise.
38705         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38706         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38707         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38709 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38711         [BZ #14132]
38712         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38713         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38714         * intl/dgettext.c (DCGETTEXT): Likewise.
38715         * intl/gettext.c (DCGETTEXT): Likewise.
38716         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38717         * posix/regex_internal.h (gettext): Likewise.
38718         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38719         Remove declaration.
38720         * include/argz.h (__argz_count_internal)
38721         (__argz_stringify_internal): Remove declaration.
38722         (__argz_count, __argz_stringify): Declare hidden proto.
38723         * intl/dcgettext.c: Remove use of INTDEF.
38724         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38725         * string/argz-stringify.c: Likewise.
38726         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38727         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38728         Declare hidden proto.
38729         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38730         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38731         Declare hidden proto.
38732         * include/stdio.h (__asprintf_internal): Don't declare.
38733         (__asprintf): Don't define as macro.  Declare hidden proto.
38734         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38735         (__fsetlocking): Declare hidden proto.
38736         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38737         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38738         hidden proto.
38739         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38740         (_IO_setlinebuf): Remove use of INTUSE.
38741         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38742         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38743         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38744         Remove declaration.
38745         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38746         (_IO_do_flush): Remove use of INTUSE.
38747         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38748         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38749         (_IO_adjust_column, _IO_least_wmarker)
38750         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38751         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38752         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38753         (_IO_default_doallocate, _IO_wdefault_doallocate)
38754         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38755         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38756         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38757         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38758         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38759         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38760         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38761         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38762         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38763         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38764         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38765         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38766         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38767         proto.
38768         (_IO_flush_all_internal, _IO_adjust_column_internal)
38769         (_IO_default_uflow_internal, _IO_default_finish_internal)
38770         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38771         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38772         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38773         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38774         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38775         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38776         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38777         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38778         (_IO_file_close_internal, _IO_file_close_it_internal)
38779         (_IO_file_underflow_internal, _IO_file_overflow_internal)
38780         (_IO_file_init_internal, _IO_file_attach_internal)
38781         (_IO_file_fopen_internal, _IO_file_read_internal)
38782         (_IO_file_sync_internal, _IO_file_seek_internal)
38783         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38784         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38785         (_IO_str_underflow_internal, _IO_str_overflow_internal)
38786         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38787         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38788         (_IO_list_all_internal, _IO_link_in_internal)
38789         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38790         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38791         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38792         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38793         (_IO_do_write_internal, _IO_padn_internal)
38794         (_IO_getline_info_internal, _IO_getline_internal)
38795         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38796         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38797         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38798         (_IO_vfscanf_internal, _IO_vfprintf_internal)
38799         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38800         (_IO_init_internal, _IO_un_link_internal): Don't declare.
38801         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38802         with libc_hidden_ver, remove use of INTUSE.
38803         * libio/genops.c: Likewise.
38804         * libio/freopen.c: Likewise.
38805         * libio/freopen64.c: Likewise.
38806         * libio/iofclose.c: Likewise.
38807         * libio/iofdopen.c: Likewise.
38808         * libio/iofflush.c: Likewise.
38809         * libio/iofflush_u.c: Likewise.
38810         * libio/iofgets.c: Likewise.
38811         * libio/iofgets_u.c: Likewise.
38812         * libio/iofopen.c: Likewise.
38813         * libio/iofopncook.c: Likewise.
38814         * libio/iofread.c: Likewise.
38815         * libio/iofread_u.c: Likewise.
38816         * libio/ioftell.c: Likewise.
38817         * libio/iofwrite.c: Likewise.
38818         * libio/iogetline.c: Likewise.
38819         * libio/iogets.c: Likewise.
38820         * libio/iogetwline.c: Likewise.
38821         * libio/iopadn.c: Likewise.
38822         * libio/iopopen.c: Likewise.
38823         * libio/ioseekoff.c: Likewise.
38824         * libio/ioseekpos.c: Likewise.
38825         * libio/iosetbuffer.c: Likewise.
38826         * libio/iosetvbuf.c: Likewise.
38827         * libio/ioungetc.c: Likewise.
38828         * libio/ioungetwc.c: Likewise.
38829         * libio/iovdprintf.c: Likewise.
38830         * libio/iovsprintf.c: Likewise.
38831         * libio/iovsscanf.c: Likewise.
38832         * libio/memstream.c: Likewise.
38833         * libio/obprintf.c: Likewise.
38834         * libio/oldfileops.c: Likewise.
38835         * libio/oldiofclose.c: Likewise.
38836         * libio/oldiofdopen.c: Likewise.
38837         * libio/oldiofopen.c: Likewise.
38838         * libio/oldiopopen.c: Likewise.
38839         * libio/oldstdfiles.c: Likewise.
38840         * libio/putc.c: Likewise.
38841         * libio/setbuf.c: Likewise.
38842         * libio/setlinebuf.c: Likewise.
38843         * libio/stdfiles.c: Likewise.
38844         * libio/strops.c: Likewise.
38845         * libio/vasprintf.c: Likewise.
38846         * libio/vscanf.c: Likewise.
38847         * libio/vsnprintf.c: Likewise.
38848         * libio/vswprintf.c: Likewise.
38849         * libio/wfiledoalloc.c: Likewise.
38850         * libio/wfileops.c: Likewise.
38851         * libio/wgenops.c: Likewise.
38852         * libio/wmemstream.c: Likewise.
38853         * libio/wstrops.c: Likewise.
38854         * libio/__fpurge.c: Likewise.
38855         * libio/__fsetlocking.c: Likewise.
38856         * assert/assert.c: Likewise.
38857         * debug/fgets_chk.c: Likewise.
38858         * debug/fgets_u_chk.c: Likewise.
38859         * debug/fread_chk.c: Likewise.
38860         * debug/fread_u_chk.c: Likewise.
38861         * debug/gets_chk.c: Likewise.
38862         * debug/obprintf_chk.c: Likewise.
38863         * debug/vasprintf_chk.c: Likewise.
38864         * debug/vdprintf_chk.c: Likewise.
38865         * debug/vsnprintf_chk.c: Likewise.
38866         * debug/vsprintf_chk.c: Likewise.
38867         * malloc/mtrace.c: Likewise.
38868         * misc/error.c: Likewise.
38869         * misc/syslog.c: Likewise.
38870         * stdio-common/asprintf.c: Likewise.
38871         * stdio-common/fxprintf.c: Likewise.
38872         * stdio-common/getw.c: Likewise.
38873         * stdio-common/isoc99_fscanf.c: Likewise.
38874         * stdio-common/isoc99_scanf.c: Likewise.
38875         * stdio-common/isoc99_vfscanf.c: Likewise.
38876         * stdio-common/isoc99_vscanf.c: Likewise.
38877         * stdio-common/isoc99_vsscanf.c: Likewise.
38878         * stdio-common/printf-prs.c: Likewise.
38879         * stdio-common/printf_fp.c: Likewise.
38880         * stdio-common/printf_fphex.c: Likewise.
38881         * stdio-common/printf_size.c: Likewise.
38882         * stdio-common/putw.c: Likewise.
38883         * stdio-common/scanf.c: Likewise.
38884         * stdio-common/sprintf.c: Likewise.
38885         * stdio-common/tmpfile.c: Likewise.
38886         * stdio-common/vfprintf.c: Likewise.
38887         * stdio-common/vfscanf.c: Likewise.
38888         * stdlib/strfmon_l.c: Likewise.
38889         * sunrpc/openchild.c: Likewise.
38890         * sunrpc/xdr_stdio.c: Likewise.
38891         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38892         * sysdeps/mach/hurd/tmpfile.c: Likewise.
38894 2012-05-24  Roland McGrath  <roland@hack.frob.com>
38896         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38898         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38899         in the third column, to generate for the shared library an IFUNC
38900         that uses _dl_vdso_vsym.
38901         * Makerules (COMPILE.c, compile-stdin.c): New variables.
38902         * Makeconfig (object-suffixes-noshared): New variable.
38904         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38905         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38906         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38907         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38909         [BZ #14132]
38910         * include/sys/time.h (__gettimeofday): Remove macro.
38911         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38912         * time/gettimeofday.c (__gettimeofday): Remove #undef.
38913         Remove INTDEF.
38914         (__gettimeofday): Add libc_hidden_def.
38915         (gettimeofday): Add libc_hidden_weak.
38916         * sysdeps/mach/gettimeofday.c: Likewise.
38917         * sysdeps/posix/gettimeofday.c: Likewise.
38918         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38919         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38920         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38921         (__gettimeofday_internal): Remove strong_alias.
38922         (__gettimeofday): Add libc_hidden_def.
38923         (gettimeofday): Add libc_hidden_weak.
38924         * sysdeps/unix/syscalls.list (gettimeofday):
38925         Remove __gettimeofday_internal alias.
38927 2012-05-24  Daniel Jacobowitz  <drow@false.org>
38928             H.J. Lu  <hongjiu.lu@intel.com>
38930         [BZ #12495]
38931         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38932         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38933         (largebin_index_32_big): New.
38934         (largebin_index): Use it for 16-byte alignment.
38935         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
38936         correction with front_misalign.
38938 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38941         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38942         Likewise.
38943         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38944         Likewise.
38945         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38946         Likewise.
38947         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38948         Likewise.
38949         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38950         Likewise.
38951         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38952         Likewise.
38953         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38954         Likewise.
38955         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38956         Likewise.
38957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38958         Likewise.
38959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38960         Likewise.
38961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38962         Likewise.
38963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38964         Likewise.
38966         * scripts/data/c++-types-x32-linux-gnu.data: New file.
38967         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38969 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38971         [BZ #10846]
38972         [BZ #14036]
38973         * math/libm-test.inc (exp_test): Add test from bug 14036.
38974         (pow_test): Add test from bug 10846.
38976         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38977         and other flags.
38978         (special_function): Do not include flags in test name.
38979         (parse_args): Likewise.
38980         * sysdeps/i386/fpu/libm-test-ulps: Update.
38981         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38982         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38983         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38986         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38987         exceptions.
38988         * math/libm-test.inc ("Philosophy"): Update comment about
38989         exception testing.
38990         (UNDERFLOW_EXCEPTION): New macro.
38991         (UNDERFLOW_EXCEPTION_OK): Likewise.
38992         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38993         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38994         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38995         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38996         (INVALID_EXCEPTION_OK): Update value.
38997         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38998         (OVERFLOW_EXCEPTION_OK): Likewise.
38999         (IGNORE_ZERO_INF_SIGN): Likewise.
39000         (test_exceptions): Handle underflow exceptions.
39001         (acos_test): Update for underflow exception expectations.
39002         (cexp_test): Likewise.
39003         (clog_test): Likewise.
39004         (clog10_test): Likewise.
39005         (csqrt_test): Likewise.
39006         (ctan_test): Likewise.
39007         (ctanh_test): Likewise.
39008         (exp_test): Likewise.
39009         (exp10_test): Likewise.
39010         (exp2_test): Likewise.
39011         (expm1_test): Likewise.
39012         (fma_test): Likewise.
39013         (j0_test): Likewise.
39014         (jn_test): Likewise.
39015         (nexttoward_test): Likewise.
39016         (pow_test): Likewise.
39017         (scalbn_test): Likewise.
39018         (scalbln_test): Likewise.
39019         (tan_test): Likewise.
39020         (y1_test): Likewise.
39021         * sysdeps/i386/fpu/libm-test-ulps: Update.
39022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39024 2012-05-23  David S. Miller  <davem@davemloft.net>
39026         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39027         (__libc_sigaction): Remove unused local variables.
39029 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39031         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39033 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39035         mktime: avoid signed integer overflow
39036         * time/mktime.c (__mktime_internal): Do not mishandle the case
39037         where diff == INT_MIN.
39039         mktime: simplify computation of average
39040         * time/mktime.c (ranged_convert): Use new time_t_avg function
39041         instead of rolling our own (probably-slower) code.
39043         mktime: do not assume signed right shift propagates sign bit
39044         * time/mktime.c (isdst_differ): New static function.
39045         (__mktime_internal): No need to normalize tm_isdst now.
39046         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39047         tm_isdst values.
39049         mktime: merge another wrapv change from gnulib
39050         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39051         from some compilers.
39053         mktime: remove incorrect attempt at unusual arithmetics
39054         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39055         The code didn't really work on such machines anyway.
39056         (TYPE_MINIMUM): Assume two's complement.
39057         (twos_complement_arithmetic): Verify that long_int and time_t
39058         are two's complement (or unsigned, in the latter case).
39060         mktime: check signed shifts on long_int and time_t, too
39061         * time/mktime.c (SHR): Check that shifts work as desired
39062         on the types long_int and time_t too, as SHR is used on
39063         such types.
39065         mktime: do not assume 'long' is wide enough
39066         * time/mktime.c (verify): Move decl up.
39067         (long_int): New type.
39068         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39069         to remove assumption in the code that 'long' is wide enough to
39070         store year values.  This assumption is not true on x32 and on
39071         some non-glibc platforms.
39073         mktime: merge wrapv change from gnulib
39074         * time/mktime.c (WRAPV): New macro.
39075         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39076         (guess_time_tm, __mktime_internal): Do not assume that signed
39077         integer overflow wraps around; modern compilers generate code
39078         where this assumption is no longer valid.
39080 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39082         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39083         Replace "jmp L(pseudo_end)" with "ret".
39084         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39085         Likewise.
39087 2012-05-23  Andreas Jaeger  <aj@suse.de>
39089         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39090         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39092 2012-05-23  Andreas Jaeger  <aj@suse.de>
39093             Maximilian Attems  <max@stro.at>
39095         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39096         New macros.
39098 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39100         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39101         code so that pseudo_end is just ret and the stack pointer is
39102         correct also for static library in error case.
39104 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39106         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39107         move to syscalls.list.
39108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39113         * manual/install.texi (Running make install): Do not mention Linux
39114         kernel version for which pt_chown is not needed.
39115         (Linux): Do not mention problems with nscd with 2.0 kernels.
39116         * INSTALL: Regenerated.
39118 2012-05-23  Andreas Jaeger  <aj@suse.de>
39120         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39121         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39122         macro.
39123         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39124         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39125         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39126         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39127         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39128         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39129         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39130         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39131         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39132         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39133         * sysdeps/unix/sysv/linux/bits/in.h
39134         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39136 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39138         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39139         (PREPARE_VERSION): Just use assert instead, it will be elided
39140         under [NDEBUG] anyway.
39142 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39144         * sysdeps/unix/sysv/linux/Makefile: Include
39145         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39146         (sysdep_routines): Remove sysctl.
39147         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39148         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39149         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39150         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39151         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39153 2012-05-22  Andreas Jaeger  <aj@suse.de>
39155         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39156         that pseudo_end is just ret and the stack pointer is correct also
39157         for static library in error case.
39159 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39161         [BZ #14122]
39162         * nss/nsswitch.c (defconfig_entries): New variable.
39163         (__nss_database_lookup): Don't leak defconfig entries.
39164         (nss_parse_service_list): Don't leak on error paths.
39165         (free_database_entries): New function.
39166         (free_defconfig): New function.
39167         (free_mem): Move common code to free_database_entries.
39169 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39171         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39172         Add arch_prctl.
39173         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39175         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39176         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39178         New macro.
39179         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39180         (INTERNAL_SYSCALL_TYPES): Likewise.
39181         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39182         (LOAD_REGS_TYPES_[1-6]): Likewise.
39183         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39184         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39186 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39188         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39189         copysignl for GLIBC_2_0.
39190         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39191         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39193         logbl for GLIBC_2_0.
39194         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39195         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39197 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39199         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39200         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39202         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39203         Use "neg %eax".
39205         * time/mktime.c: Update copyright years.
39207 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39209         mktime: merge comment-quoting-style change from gnulib
39210         * time/mktime.c: Quote 'like this' in comments.
39211         The GNU coding standards suggest that we no longer quote `like this',
39212         as "`" and "'" are typically rendered asymmetrically nowadays.
39213         The typical gnulib style is to quote 'like this' when quoting
39214         code, and "like this" when quoting English.
39216         * time/mktime.c (compile-command): Add "-I.".
39218         mktime: merge mktime-internal.h change from gnulib
39219         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39221         mktime: merge time_r change from gnulib
39222         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39224         mktime: merge DEBUG change from gnulib
39225         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39226         case system <time.h> has a #define.
39228         mktime: merge <sys/types.h> change from gnulib
39229         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39230         since <time.t> is now guaranteed to define time_t.
39232         mktime: merge HAVE_CONFIG_H change from gnulib
39233         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39235 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39237         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39238         Use "neg %eax".
39240         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39241         __rlim_t cast.
39242         (struct rusage): Use anonymous union to pad each field to
39243         __syscall_slong_t.
39245 2012-05-21  David S. Miller  <davem@davemloft.net>
39247         * Makefules (o-iterator): Remove .s cases.
39248         (compile-command.s): Delete.
39249         (COMPILE.s): Delete.
39250         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39252 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39254         * configure.in (libc_cv_predef_stack_protector): Only consider
39255         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39256         * configure: Regenerated.
39258 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39261         New macro.  Use R*LP on int and pointer.
39262         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39263         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39264         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39265         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39267         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39268         [__WORDSIZE_TIME64_COMPAT32] instead of
39269         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39270         (struct utmp): Likewise.
39271         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39272         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39273         Renamed to ...
39274         (__WORDSIZE_TIME64_COMPAT32): This.
39275         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39276         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39277         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39278         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39279         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39280         (__WORDSIZE_TIME64_COMPAT32): New macro.
39282 2012-05-21  Andreas Jaeger  <aj@suse.de>
39284         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39285         only if [SHARED]. Add prototype for __wcschr_ia32.
39287 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39289         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39290         of %rbp unmolested in the jmp_buf while mangling the low bits.
39291         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39292         unmolested high bits of %rbp while demangling the low bits.
39293         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39295 2012-05-21  Andreas Jaeger  <aj@suse.de>
39297         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39298         * sunrpc/svc_simple.c: Use it for registerrpc.
39299         * sunrpc/xcrypt.c: Use it for passwd2des.
39301         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39303 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39305         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39306         Don't define if [__SYSCALL_WORDSIZE != 32].
39307         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39308         New macro.
39310 2012-05-21  Bruno Haible  <bruno@clisp.org>
39311             Andreas Jaeger  <aj@suse.de>
39313         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39314         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39315         inptr and inend for must_buffer_ch.
39316         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39317         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39318         * stdio-common/Makefile (tests): Remove bug15.
39319         (bug15-ENV): Remove macro.
39320         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39321         anymore.
39323 2012-05-19  Andreas Jaeger  <aj@suse.de>
39324             Roland McGrath  <roland@hack.frob.com>
39326         * manual/contrib.texi: Completely rewritten. It contains now an
39327         alphabetical list of contributors and their contributions.
39329 2012-05-21  Richard Henderson  <rth@twiddle.net>
39331         * misc/getauxval.c (__getauxval): Use unsigned long int.
39332         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39333         (getauxval): Use unsigned long int.
39335 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39337         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39339 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39341         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39342         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39343         __alignof__ (long double).
39345 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39349 2012-05-20  Richard Henderson  <rth@twiddle.net>
39351         * misc/getauxval.c: New file.
39352         * misc/sys/auxv.h: New file.
39353         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39354         (routines): Add getauxval.
39355         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39356         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39357         * elf/dl-sysdep.c (_dl_auxv): Remove.
39358         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39359         * elf/dl-support.c (_dl_auxv): New variable.
39360         (_dl_aux_init): Initialize it.
39361         * manual/startup.texi (Auxiliary Vector): New node.
39362         * sysdeps/generic/bits/hwcap.h: New file.
39363         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39364         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39365         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39366         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39367         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39368         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39370         Update.
39371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39374         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39375         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39380 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39384 2012-05-19  David S. Miller  <davem@davemloft.net>
39386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39388 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39390         [BZ #14123]
39391         * math/s_ccosh.c: Include <float.h>
39392         (__ccosh): Avoid internal overflow calculating sinh and cosh
39393         values before multiplying by sin and cos values.
39394         * math/s_ccoshf.c: Likewise.
39395         * math/s_ccoshl.c: Likewise.
39396         * math/s_csin.c: Likewise.
39397         * math/s_csinf.c: Likewise.
39398         * math/s_csinl.c: Likewise.
39399         * math/s_csinh.c: Likewise.
39400         * math/s_csinhf.c: Likewise.
39401         * math/s_csinhl.c: Likewise.
39402         * math/libm-test.inc (ccos_test): Add more tests.
39403         (ccosh_test): Likewise.
39404         (csin_test): Likewise.
39405         (csinh_test): Likewise.
39406         * sysdeps/i386/fpu/libm-test-ulps: Update.
39407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39409 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39411         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39412         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39414         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39416 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39418         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39419         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39420         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39421         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39422         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39423         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39424         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39425         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39426         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39427         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39428         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39429         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39430         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39431         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39432         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39433         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39434         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39435         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39436         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39437         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39438         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39439         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39440         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39441         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39442         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39443         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39444         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39445         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39446         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39447         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39448         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39450 2012-05-18  Andreas Jaeger  <aj@suse.de>
39452         * csu/.gitignore: Delete.
39454 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39456         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39457         (timex): Use __syscall_slong_t.
39459 2012-05-18  Andreas Jaeger  <aj@suse.de>
39460             Carlos O'Donell  <carlos_odonell@mentor.com>
39462         * manual/install.texi (Configuring and compiling): Update
39463         description about files modified in the source directory.
39464         * INSTALL: Regenerated.
39466 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39468         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39469         value.  Use "or" to set return value to -1.
39470         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39471         negate return value.
39473 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39475         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39476         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39477         failure if the compiler has Graphite support disabled.
39478         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39479         Likewise.
39480         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39481         (CFLAGS-memmove.c): Likewise.
39482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39483         Likewise.
39485 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39487         * sysdeps/x86_64/x32/_itoa.h: New file.
39489         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39490         getdents system call only if kernel and user dirents have the
39491         same d_ino and d_off.
39493         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39494         LLONG_MAX != LONG_MAX.
39495         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39496         (_fitoa_word): Likewise.
39498         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39499         years.
39500         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39501         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39502         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39504         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39505         include <bits/wordsize.h>.  Check __x86_64__ instead of
39506         __WORDSIZE.
39507         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39508         if __x86_64__ is defined.  Use anonymous union on fpstate.
39510         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39511         anonymous union.
39513 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39515         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39516         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39517         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39518         Refer to _rtld_local_ro instead of _rtld_global_ro.
39519         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39520         Likewise.
39521         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39522         Likewise.
39523         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39524         Likewise.
39525         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39526         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39527         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39529         * sysdeps/powerpc/powerpc32/dl-machine.c
39530         (__elf_machine_runtime_setup) [PROF]: Don't reference
39531         _dl_prof_resolve.
39533 2012-05-18  Andreas Jaeger  <aj@suse.de>
39535         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39536         function only available for GCCs before 3.4 since GCC 3.4
39537         introduced a builtin.
39538         (lrint): Likewise.
39539         (llrintf): Likewise.
39540         (llrint): Likewise.
39541         (fmaxf): Likewise.
39542         (fmax): Likewise.
39543         (fminf): Likewise.
39544         (fmin): Likewise.
39545         (rint): Likewise.
39546         (rintf): Likewise.
39547         (nearbyint): Likewise.
39548         (nearbyintf): Likewise.
39549         (ceil): Likewise.
39550         (ceilf): Likewise.
39551         (floor): Likewise.
39552         (floorf): Likewise.
39554 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39556         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39557         on both fields and cast pointer to __syscall_ulong_t.
39559         * bits/types.h (__fsword_t): New type.
39560         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39561         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39562         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39563         (__FSWORD_T_TYPE): Likewise.
39564         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39565         (__FSWORD_T_TYPE): Likewise.
39566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39567         (__FSWORD_T_TYPE): Likewise.
39568         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39569         (__FSWORD_T_TYPE): Likewise.
39570         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39571         __SWORD_TYPE with __fsword_t.
39572         (statfs64): Likewise.
39574 2012-05-17  David S. Miller  <davem@davemloft.net>
39576         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39578 2012-05-17  Andreas Jaeger  <aj@suse.de>
39580         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39581         warning.
39583 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39585         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39587 2012-05-17  Andreas Jaeger  <aj@suse.de>
39589         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39590         when it is used.
39592 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39594         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39596 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39598         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39599         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39601 2012-05-17  Andreas Jaeger  <aj@suse.de>
39602             Carlos O'Donell  <carlos_odonell@mentor.com>
39604         [BZ #14059]
39605         * sysdeps/x86_64/multiarch/init-arch.h
39606         (bit_YMM_Usable): Rename to...
39607         (bit_AVX_Usable): ... this.
39608         (bit_FMA4_Usable): New macro.
39609         (bit_XMM_state): New macro.
39610         (bit_YMM_state): New macro.
39611         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39612         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39613         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39614         (CPUID_OSXSAVE): New macro.
39615         (CPUID_AVX): New macro.
39616         (CPUID_FMA4): New macro.
39617         (index_YMM_Usable): Rename to...
39618         (index_AVX_Usable): ... this.
39619         (HAS_AVX): Use HAS_ARCH_FEATURE.
39620         (HAS_FMA4): Likewise.
39621         (HAS_YMM_USABLE): Remove.
39622         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39623         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39624         are present.
39625         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39626         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39627         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39628         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39629         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39631 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39633         * math/libm-test.c: Support platforms without multiple rounding modes.
39634         * math/bug-nextafter.c: Support platforms without FP exceptions.
39635         * math/bug-nexttoward.c: Likewise.
39636         * math/test-fenv.c: Likewise.
39637         * math/test-misc.c: Likewise.
39638         * stdlib/bug-getcontext.c: Likewise.
39640 2012-05-17  Andreas Jaeger  <aj@suse.de>
39642         * manual/examples/search.c (critter_cmp): Change signature to
39643         avoid warnings.
39644         * manual/string.texi (Collation Functions): Likewise.
39646 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39648         * bits/types.h: Fold copyright years.
39649         * bits/typesizes.h: Likewise.
39650         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39651         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39652         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39654         * time/time.h: Likewise.
39656 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39658         [BZ #208]
39659         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39660         in instead of returning them.  Return void.
39661         (__libc_mallinfo): Accumulate over all arenas.
39662         (__malloc_stats): Adjust for change in int_mallinfo interface.
39664 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39666         [BZ #10375]
39667         * configure.in (NM): Add AC_CHECK_TOOL for it.
39668         (libc_extra_cflags): New substituted variable.
39669         Check for -fstack-protector being used implicitly.
39670         * configure: Regenerated.
39671         * config.make.in (config-extra-cflags): New variable,
39672         gets @libc_extra_cflags@.
39673         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39675         [BZ #10375]
39676         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39677         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39678         * configure: Regenerated.
39679         * config.make.in (CPPUNDEFS): New substituted variable.
39680         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39681         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39682         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39684 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39686         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39687         (mq_attr): Use __syscall_slong_t.
39689 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39691         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39692         Check __x86_64__ instead of __WORDSIZE.
39693         (_STAT_VER_LINUX): Likewise.
39694         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39695         __syscall_ulong_t and __syscall_slong_t.
39696         (stat64): Likewise.
39698 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39700         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39702 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39704         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39706 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39708         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39709         __syscall_ulong_t.
39711         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39712         include <bits/wordsize.h>.  Check __x86_64__ instead of
39713         __WORDSIZE.
39714         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39715         defined.
39716         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39718         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39719         include <bits/wordsize.h>.  Check __x86_64__ instead of
39720         __WORDSIZE.
39721         (user_regs_struct): Use "__extension__ unsigned long long"
39722         instead of "unsigned long" if __x86_64__ is defined.
39723         (user): Likewise.  Pad after pointer field if __ILP32__ is
39724         defined.
39726 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39728         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39729         versions 5 to 9.
39730         * configure: Regenerated.
39731         * manual/install.texi (texinfo): Increase version requirement to
39732         4.5 or later.
39733         * INSTALL: Regenerated.
39735         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39737 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39739         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39741         * sysdeps/x86_64/x32/ffs.c: New file.
39743         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39744         __syscall_ulong_t.
39745         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39746         defined.  Use __syscall_ulong_t.
39747         (shminfo): Use __syscall_ulong_t.
39748         (shm_info): Likewise.
39750         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39751         __syscall_ulong_t.
39753         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39754         <bits/wordsize.h>.
39755         (msgqnum_t): Use __syscall_ulong_t.
39756         (msglen_t): Likewise.
39757         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
39758         __syscall_ulong_t.
39760         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39761         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39763         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39765         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39766         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39768         * sysvipc/sys/msg.h (msgbuf): Replace long int with
39769         __syscall_slong_t.
39771         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39772         include <bits/wordsize.h>.  Check __x86_64__ instead of
39773         __WORDSIZE.
39775         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39776         "unsigned long long int" if __x86_64__ is defined.
39777         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39779         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39780         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39781         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39783         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39784         <stdint.h>.
39785         (GET_PC): Cast to uintptr_t first.
39786         (GET_FRAME): Likewise.
39787         (GET_STACK): Likewise.
39789         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39790         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39791         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39792         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39793         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39794         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39795         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39796         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39797         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39798         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39799         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39800         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39801         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39802         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39803         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39804         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39805         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39806         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39807         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39808         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39809         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39810         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39811         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39812         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39813         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39814         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39815         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39816         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39817         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39819 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
39821         * Makerules (+depfiles): Also collect depfiles from .oS in
39822         $(extra-objs).
39823         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39824         .oS, $(libnldbl-routines)).
39826         * Makerules (native-compile-mkdep-flags): Define.
39827         * sunrpc/Makefile (extra-objs): Add $(addprefix
39828         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39829         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39830         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
39831         calling $(make-target-directory).
39833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39835         * bits/types.h (__snseconds_t): Removed.
39836         * time/time.h (struct timespec): Replace __snseconds_t with
39837         __syscall_slong_t.
39838         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39839         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39840         Likewise.
39841         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39842         (__SNSECONDS_T_TYPE): Likewise.
39843         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39844         (__SNSECONDS_T_TYPE): Likewise.
39845         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39846         (__SNSECONDS_T_TYPE): Likewise.
39848 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39850         * sysdeps/mach/hurd/bits/typesizes.h
39851         (__SYSCALL_SLONG_TYPE): New macro.
39852         (__SYSCALL_ULONG_TYPE): Likewise.
39854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39856         * bits/types.h (__syscall_slong_t): New type.
39857         (__syscall_ulong_t): Likewise.
39859         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39860         (__SYSCALL_ULONG_TYPE): Likewise.
39861         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39862         (__SYSCALL_SLONG_TYPE): Likewise.
39863         (__SYSCALL_ULONG_TYPE): Likewise.
39864         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39865         (__SYSCALL_SLONG_TYPE): Likewise.
39866         (__SYSCALL_ULONG_TYPE): Likewise.
39867         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39868         (__SYSCALL_SLONG_TYPE): Likewise.
39869         (__SYSCALL_ULONG_TYPE): Likewise.
39871 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39873         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39874         Add sigaltstack-offsets.sym.
39875         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39876         <sigaltstack-offsets.h>.
39877         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
39878         longjmp_msg pointer.
39879         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
39880         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39881         signal stack.
39882         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39884 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39886         * elf/stackguard-macros.h: Remove file.
39887         * sysdeps/generic/stackguard-macros.h: New file.
39888         * sysdeps/i386/stackguard-macros.h: Likewise.
39889         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39890         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39891         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39892         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39893         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39894         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39895         * sysdeps/x86_64/stackguard-macros.h: Likewise.
39896         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39897         <elf/stackguard-macros.h>.
39899         [BZ #14109]
39900         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39901         __aligned__ in attribute.
39902         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39903         (gregset_t): Likewise.
39905 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39907         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39908         * sysdeps/x86_64/64/Implies-after: Here.  New file.
39909         * sysdeps/x86_64/x32/Implies-after: New file.
39911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39913         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39914         and access return value for _dl_profile_fixup.  Use R10_LP to
39915         load frame size.
39917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39919         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39921 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39923         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39924         * sysdeps/x86_64/x32/sysdep.h: New file.
39926 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39928         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39929         * sysdeps/x86_64/setjmp.S: Likewise.
39931 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39933         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39934         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39935         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39936         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39937         remove unused global constant.
39939 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
39941         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39942         include of <not-cancel.h>.
39944 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39946         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39948 2012-05-15  Jeff Law  <law@redhat.com>
39949             Andreas Jaeger  <aj@suse.de>
39951         [BZ #13594]
39952         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39953         out from...
39954         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39955         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39956         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39957         code changing __hst_map_handle.map.
39959 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39961         * configure.in (sysnames): Look for Implies-before and Implies-after
39962         files.
39963         * configure: Regenerated.
39965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39967         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39968         8-byte data alignment with LP_SIZE alignment.
39970 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39972         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39973         into R10_LP.
39975 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39977         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39979 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39981         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39982         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39983         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39984         Likewise.
39985         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39987 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39989         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39990         (stackinfo_sub_sp): Likewise.
39992 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39994         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39995         RAX_LP.
39997 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39999         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40000         into R*_LP.
40002 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40004         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40005         sizes into R*_LP.
40007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40009         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40013         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40014         into R11_LP and load __x86_64_shared_cache_size_half into
40015         R8_LP.
40017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40019         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40020         R8_LP.
40022 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40024         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40025         logb for POWER7.
40026         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40027         logbf for POWER7.
40028         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40029         logbl for POWER7.
40030         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40031         powerpc32/power7/fpu/s_logb.c via #include.
40032         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40033         powerpc32/power7/fpu/s_logbf.c via #include.
40034         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40035         powerpc32/power7/fpu/s_logbl.c via #include.
40037 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40039         * README.libm: Remove file.
40041 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40043         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40044         count for x32.  Use R*_LP and omit operand-size suffix.
40046 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40048         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40049         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40050         * sysdeps/x86_64/x32/shlib-versions: New file.
40052 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40054         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40055         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40056         Use _dl_fatal_printf instead.
40058 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40060         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40061         set if not set by the user.  Do not allow for being unset.
40062         * sysdeps/unix/sysv/linux/configure: Regenerated.
40064 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40066         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40067         the `q' suffix from lea and replace .quad with ASM_ADDR.
40069 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40072         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40073         instead of $17.
40074         (PTR_DEMANGLE): Likewise.
40076 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40078         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40079         (LP_OP): Likewise.
40080         (ASM_ADDR): Likewise.
40081         (RAX_LP): Likewise.
40082         (RBP_LP): Likewise.
40083         (RBX_LP): Likewise.
40084         (RCX_LP): Likewise.
40085         (RDI_LP): Likewise.
40086         (RSI_LP): Likewise.
40087         (RSP_LP): Likewise.
40088         (R8_LP): Likewise.
40089         (R9_LP): Likewise.
40090         (R10_LP): Likewise.
40091         (R10_LP): Likewise.
40092         (R11_LP): Likewise.
40093         (R12_LP): Likewise.
40094         (R13_LP): Likewise.
40095         (R14_LP): Likewise.
40096         (R15_LP): Likewise.
40098 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40100         * sysdeps/x86_64/x32/dl-machine.h: New file.
40102 2012-05-14  Andreas Jaeger  <aj@suse.de>
40104         * manual/Makefile (subdir): Remove export of subdir.
40105         (all): Remove target.
40106         (.PHONY): Remove all from list.
40107         (mkinstalldirs): Remove.
40108         (.PHONY): Remove installdirs from list.
40109         ($(inst_infodir)/libc.info): Use make-target-directory.
40110         (installdirs): Remove.
40111         (subdir_%): Remove.
40112         (glibc-targets): Remove.
40113         (lib): Remove.
40114         (stubs): Remove.
40115         ($(objpfx)stubs ../po/manual.pot): Remove.
40116         ($(objpfx)stamp%): Remove.
40117         (make-target-directory): Remove.
40118         (subdir_install): Remove.
40119         (routines): Remove.
40120         (aux): Remove.
40121         (sources): Remove.
40122         (objects): Remove.
40123         (headers): Remove.
40125         [BZ #13750]
40126         * manual/.gitignore: Remove, it's not needed anymore.
40127         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40128         all files in it.
40129         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40130         directory.
40131         (texis): Renamed to $(objpfx)texis.
40132         (texis-path): New, contains path to generated files.
40133         (chapters.%): Use texis-path for complete path, add extra argument
40134         libc-texinfo.sh.
40135         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40136         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40137         (summary,texi, stamp-summary): Use complete path of
40138         files. Generate files in build dir.
40139         (dir-add.texi): Build in build dir.
40140         (libm-err.texi,stamp-libm-err): Likewise.
40141         (version.texi, stamp-version): Likewise.
40142         (.%c.texi): Likewise.
40143         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40144         (mostlyclean): Remove target.
40145         (realclean): Remove target.
40146         (generated): Add new variable with contents from mostlyclean and
40147         realclean, remove entries duplicated in common-mostlyclean, add
40148         stamp-libm-err and stamp-version.
40149         (generated-dirs): Add libc directory.
40150         ($(inst_infodir)/libc.info): Install files from build dir.
40152         * manual/install.texi (Configuring and compiling): Adjust since
40153         the info files are not part of the tar ball anymore.
40155 2012-05-14  Andreas Jaeger  <aj@suse.de>
40157         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40158         variable.
40160 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40162         [BZ #13717]
40163         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40164         to 2.2.0 where earlier.
40165         * sysdeps/unix/sysv/linux/configure: Regenerated.
40166         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40167         Remove conditional code.
40168         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40169         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40170         Remove conditional code.
40171         [!__NR_lchown]: Likewise.
40172         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40173         [__NR_lchown]: Likewise.
40174         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40175         comment referencing __ASSUME_LCHOWN_SYSCALL.
40176         * sysdeps/unix/sysv/linux/i386/sigaction.c
40177         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40178         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40179         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40180         Remove conditional code.
40181         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40182         (__protocol_available): Remove #if 0 code.
40183         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40184         conditional code.
40185         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40186         * sysdeps/unix/sysv/linux/kernel-features.h
40187         (__ASSUME_GETCWD_SYSCALL): Don't define.
40188         (__ASSUME_REALTIME_SIGNALS): Likewise.
40189         (__ASSUME_PREAD_SYSCALL): Likewise.
40190         (__ASSUME_PWRITE_SYSCALL): Likewise.
40191         (__ASSUME_POLL_SYSCALL): Likewise.
40192         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40193         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40194         non-SPARC.
40195         (__ASSUME_SIOCGIFNAME): Don't define.
40196         (__ASSUME_MSG_NOSIGNAL): Likewise.
40197         (__ASSUME_SENDFILE): Define unconditionally.
40198         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40199         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40200         conditional code.
40201         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40202         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40203         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40204         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40205         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40206         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40207         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40209         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40210         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40212         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40213         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40215         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40216         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40218         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40219         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40221         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40222         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40224         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40225         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40227         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40228         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40230         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40231         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40232         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40233         Remove conditional code.
40234         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40235         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40236         Remove conditional code.
40237         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40238         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40239         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40240         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40241         Remove conditional code.
40242         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40243         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40244         Remove conditional code.
40245         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40246         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40247         Remove conditional code.
40248         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40249         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40250         Remove conditional code.
40251         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40252         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40253         Remove conditional code.
40254         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40255         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40256         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40257         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40258         * sysdeps/unix/sysv/linux/sigaction.c
40259         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40260         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40261         * sysdeps/unix/sysv/linux/sigpending.c
40262         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40263         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40264         * sysdeps/unix/sysv/linux/sigprocmask.c
40265         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40266         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40267         * sysdeps/unix/sysv/linux/sigsuspend.c
40268         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40269         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40270         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40271         (__libc_missing_rt_sigs): Remove.
40272         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40273         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40274         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40275         Remove conditional code.
40276         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40277         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40278         return 1.
40279         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40280         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40281         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40282         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40284 2012-05-14  Andreas Jaeger  <aj@suse.de>
40286         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40287         it's not used in glibc.
40288         (__coshm1): Likewise.
40289         (__acosh1p): Likewise.
40290         (__sgn): Likewise.
40292         * manual/string.texi (Copying and Concatenation): Add missing
40293         variable in concat example.
40294         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40296 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40298         [BZ #14103]
40299         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40300         __builtin_clzl with __builtin_clzll.
40302 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40304         [BZ #14104]
40305         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40306         libc_freeres_ptr.
40308 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40310         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40311         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40312         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40313         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40315 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40317         * NEWS: Update ia64 info.
40319 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40321         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40322         used as bcopy.
40324 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40326         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40327         * sysdeps/unix/syscalls.list (dup3): Likewise.
40328         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40329         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40331 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40333         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40334         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40336 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40338         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40339         thread pointer.
40340         (TLS_IE): Use mov/add instead of movq/addq to load thread
40341         pointer.
40342         (TLS_GD_PREFIX): New.
40343         (TLS_GD): Use it.
40345 2012-05-11  David S. Miller  <davem@davemloft.net>
40347         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40348         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40349         (_FPU_SETCW): Likewise.
40351 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40353         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40354         is 32-byte aligned.
40356 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40358         [BZ #11837]
40359         * iconvdata/gb18030.c: Update tables.
40360         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40361         characters specially.
40362         (BODY for TO_LOOP): Add encoding of missing ranges.
40364 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40366         [BZ #13673]
40367         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40368         * sysdeps/mach/hurd/dup3.c: Likewise.
40369         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40370         * sysdeps/powerpc/memmove.c:: Likewise.
40372 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40374         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40375         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40377 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40379         * elf/elf.h (R_X86_64_RELATIVE64): New.
40380         (R_X86_64_NUM): Updated.
40381         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40382         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40383         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40384         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40385         tst-quad1pie tst-quad2pie
40386         (modules-names): Add tst-quadmod1 tst-quadmod2.
40387         ($(objpfx)tst-quad1): New dependency.
40388         ($(objpfx)tst-quad2): Likewise.
40389         ($(objpfx)tst-quad1pie): Likewise.
40390         ($(objpfx)tst-quad2pie): Likewise.
40391         * sysdeps/x86_64/tst-quad1.c: New file.
40392         * sysdeps/x86_64/tst-quad1pie.c: New file.
40393         * sysdeps/x86_64/tst-quad2.c: Likewise.
40394         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40395         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40396         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40397         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40398         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40400 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40402         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40403         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40404         * streams/stropts.h (t_scalar_t): Define type.
40406         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40407         (_PATH_PRESERVE): Set to "/var/lib".
40408         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40410         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40411         instead of int.
40413         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40414         if __dir_mkfile succeeded.
40416         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40417         checking for _hurd_dtablesize.  Unlock it right after having
40418         finished _hurd_dtable allocation.
40420 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40422         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40423         * sysdeps/mach/hurd/configure: Regenerated.
40424         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40425         special-casing to...
40426         * sysdeps/gnu/configure.in: ... this new file.
40427         * sysdeps/unix/sysv/linux/configure: Regenerated.
40428         * sysdeps/gnu/configure: New generated file.
40430         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40431         for Linux: use nsec instead of usec, as well as:
40432         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40433         members of type struct timespec.
40434         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40435         New macros.
40436         (struct stat64): Likewise.
40437         (_STATBUF_ST_NSEC): New macro.
40438         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40440         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40441         __strtoul_internal rather than strtoul.
40443 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40445         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40446         and reject them.
40448 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40450         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40451         which preserves existing values.
40452         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40454 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40456         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40457         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40458         greater than FD_SETSIZE.
40460 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40462         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40463         allocated, call __vm_protect to finish enabling the existing space, and
40464         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40465         allocate the remainder.
40467 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40469         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40470         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40472 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40474         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40475         sysdeps/mach/hurd/readlink.c.
40477         * posix/tst-sysconf.c (posix_options): Only use
40478         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40479         _POSIX_SYNCHRONIZED_IO when they are defined
40480         * sysdeps/mach/hurd/bits/posix_opt.h:
40481         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40482         (_XOPEN_REALTIME): Undefine macro.
40483         (_XOPEN_REALTIME_THREADS): Undefine macro.
40484         (_XOPEN_SHM): Undefine macro.
40485         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40486         macro to -1.
40487         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40488         macro to -1.
40489         (_POSIX_ASYNC_IO): Undefine macro.
40490         (_POSIX_PRIORITIZED_IO): Undefine macro.
40491         (_POSIX_SPIN_LOCKS): Define macro to -1.
40493         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40494         SA_NODEFER, SA_RESETHAND.
40495         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40496         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40497         F_DUPFD_CLOEXEC.
40499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40501         * elf/Makefile (pldd-modules): Define unconditionally.
40503 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40505         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40509         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40510         Return ENOENT when name is empty.
40511         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40515         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40517         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40521         Fix mlock in all cases except non-readable pages.
40522         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40523         instead of VM_PROT_ALL as parameter to __vm_wire function.
40525         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40526         (__mkdir): When path is `/', just fail with EEXIST.
40527         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40529 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40531         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40532         <sys/uio.h> (for writev).
40533         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40534         and <sys/param.h> (for MIN).
40536 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40538         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40539         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40540         if interrupted.
40542 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40544         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40545         Depend on against $(link-rpcuserlibs).
40547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40549         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40550         (__libc_stack_end): Do not use attribute_relro.
40551         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40552         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40553         to libthread-provided value.
40554         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40555         attribute_relro.
40557 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40559         [BZ #3748]
40560         * bits/libc-lock.h (__libc_once_get): New macro.
40561         * sysdeps/mach/bits/libc-lock.h: Likewise.
40562         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40563         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40564         instead of using implementation details.
40566         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40567         * libio/freopen.c: Likewise.
40568         * libio/freopen64.c: Likewise.
40569         * misc/syslog.c: Likewise.
40570         * nscd/connections.c: Likewise.
40571         * nscd/netgroupcache.c: Likewise.
40572         * sysdeps/posix/getcwd.c: Likewise.
40574 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40576         * math/w_ilogbf.c: Add #include <limits.h>.
40578 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40580         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40581         path instead of returning without unlocking.
40583         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40584         immediate-write ioctls.
40585         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40589         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40590         __builtin_frame_address instead of making assumptions about the
40591         location of the return address relative to DATA.  Force early load of
40592         the return address.
40593         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40594         __builtin_frame_address.
40596         dup3 for GNU Hurd.
40597         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40598         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40599         implement dup3 and do some further code clean-ups.
40600         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40601         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40605         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40607         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40608         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40609         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40610         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40611         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40612         d->port.lock.
40614         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40615         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40616         when handler == SIG_ERR, not when handler != SIG_ERR.
40618 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40620         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40621         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40622         definitions.
40624         accept4 for GNU Hurd.
40625         * include/sys/socket.h (__libc_accept4): New prototype.
40626         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40627         to implement __libc_accept4.
40628         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40629         __libc_accept4.
40630         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40632         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40633         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40634         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40635         signal-defines.sym.
40637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40639         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40641 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40643         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40644         assertion on O_CLOEXEC flag.
40645         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40646         * hurd/intern-fd.c: Likewise.
40647         * hurd/port2fd.c: Likewise.
40649 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40651         [BZ #3906]
40652         * bits/in.h (IPV6_PKTINFO): Define new macro.
40653         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40655 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40657         [BZ #13954]
40658         [BZ #13955]
40659         [BZ #13956]
40660         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40661         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40662         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40663         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40664         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40665         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40666         * math/libm-test.inc (logb_test) : Additional logb tests.
40668 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40669             Andreas Jaeger  <aj@suse.de>
40671         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40672         * configure: Regenerated.
40673         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40674         * config.make.in (link-obsolete-rpc): New substituted variable.
40675         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40676         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40677         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40678         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40679         so that libc.a contains the symbols.
40680         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40681         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40682         * sunrpc/auth_none.c: Likewise.
40683         * sunrpc/auth_unix.c: Likewise.
40684         * sunrpc/authdes_prot.c: Likewise.
40685         * sunrpc/authuxprot.c: Likewise.
40686         * sunrpc/clnt_gen.c: Likewise.
40687         * sunrpc/clnt_perr.c: Likewise.
40688         * sunrpc/clnt_raw.c: Likewise.
40689         * sunrpc/clnt_simp.c: Likewise.
40690         * sunrpc/clnt_tcp.c: Likewise.
40691         * sunrpc/clnt_udp.c: Likewise.
40692         * sunrpc/clnt_unix.c: Likewise.
40693         * sunrpc/des_crypt.c: Likewise.
40694         * sunrpc/des_soft.c: Likewise.
40695         * sunrpc/get_myaddr.c: Likewise.
40696         * sunrpc/key_call.c: Likewise.
40697         * sunrpc/key_prot.c: Likewise.
40698         * sunrpc/netname.c: Likewise.
40699         * sunrpc/pm_getmaps.c: Likewise.
40700         * sunrpc/pm_getport.c: Likewise.
40701         * sunrpc/pmap_clnt.c: Likewise.
40702         * sunrpc/pmap_prot.c: Likewise.
40703         * sunrpc/pmap_prot2.c: Likewise.
40704         * sunrpc/pmap_rmt.c: Likewise.
40705         * sunrpc/publickey.c: Likewise.
40706         * sunrpc/rpc_cmsg.c: Likewise.
40707         * sunrpc/rpc_common.c: Likewise.
40708         * sunrpc/rpc_dtable.c: Likewise.
40709         * sunrpc/rpc_prot.c: Likewise.
40710         * sunrpc/rpc_thread.c: Likewise.
40711         * sunrpc/rtime.c: Likewise.
40712         * sunrpc/svc.c: Likewise.
40713         * sunrpc/svc_auth.c: Likewise.
40714         * sunrpc/svc_raw.c: Likewise.
40715         * sunrpc/svc_run.c: Likewise.
40716         * sunrpc/svc_tcp.c: Likewise.
40717         * sunrpc/svc_udp.c: Likewise.
40718         * sunrpc/svc_unix.c: Likewise.
40719         * sunrpc/svcauth_des.c: Likewise.
40720         * sunrpc/xcrypt.c: Likewise.
40721         * sunrpc/xdr.c: Likewise.
40722         * sunrpc/xdr_array.c: Likewise.
40723         * sunrpc/xdr_float.c: Likewise.
40724         * sunrpc/xdr_intXX_t.c: Likewise.
40725         * sunrpc/xdr_mem.c: Likewise.
40726         * sunrpc/xdr_rec.c: Likewise.
40727         * sunrpc/xdr_ref.c: Likewise.
40728         * sunrpc/xdr_sizeof.c: Likewise.
40729         * sunrpc/xdr_stdio.c: Likewise.
40731 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40733         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40734         change.  Update copyright years.
40736 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40738         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40740 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
40741             Joseph Myers  <joseph@codesourcery.com>
40742             Paul Pluzhnikov  <ppluzhnikov@google.com>
40744         [BZ #14012]
40745         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40746         requiring rpcgen.
40747         [cross-compiling] (extra-libs): Likewise.
40748         [cross-compiling] (extra-libs-others): Likewise.
40749         [cross-compiling] (librpcsvc-routines): Likewise.
40750         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40751         [cross-compiling] (omit-deps): Likewise.
40752         (sunrpc-CPPFLAGS): New variable.
40753         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40754         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40755         (cross-rpcgen-objs): New variable.
40756         (extra-objs): Append $(cross-rpcgen-objs).
40757         ($(cross-rpcgen-objs)): New rule.
40758         ($(objpfx)cross-rpcgen): Likewise.
40759         (rpcgen-cmd): Define to use $(built-program-file).  Expand
40760         comment.
40761         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40762         ($(objpfx)x%.stmp): Likewise.
40763         * sunrpc/proto.h [IS_IN_build] (_): Define.
40764         [IS_IN_build] (_libc_intl_domainname): Likewise.
40766 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40768         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40769         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40770         and R_X86_64_TPOFF64.
40772 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40774         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40775         sysdeps/unix/sysv/syscalls.list.
40776         (stime): Likewise.
40777         (utime): Likewise.
40778         * sysdeps/unix/sysv/syscalls.list: Remove file.
40780 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
40782         [BZ #3440]
40783         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40784         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40785         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40786         (__LC_IDENTIFICATION): Make these macros useful in #if
40787         expressions, as required by C99.
40789 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
40791         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40792         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
40793         after this.
40795 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
40797         * stdlib/longlong.h: Updated from GCC.
40799 2012-05-09  Andreas Jaeger  <aj@suse.de>
40801         * nscd/nscd.c (run_modes): Make named enum, reorder so that
40802         default is first entry.
40803         (run_mode): Set type.
40804         (main): Remove informal message about syslog.
40805         (options): Fix typo.
40807         [BZ #14053]
40808         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40809         to asm.
40810         (lrint): Likewise.
40811         (llrintf): Likewise.
40812         (llrint): Likewise.
40813         (rint): Likewise.
40814         (rintf): Likewise.
40815         (nearbyint): Likewise.
40816         (nearbyintf): Likewise.
40818 2012-05-09  Andreas Jaeger  <aj@suse.de>
40819             Pedro Alves  <palves@redhat.com>
40821         * nscd/nscd.c (run_mode): Use enum.
40822         (main): Cleanup coding style issue.
40824 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
40825             Andreas Jaeger  <aj@suse.de>
40827         * nscd/nscd.c (go_background): Replaced with...
40828         (run_mode): ... this.
40829         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40830         (options): Add -F --foreground.
40831         (main): Implement it.
40832         (parse_opt): Parse it.
40834 2012-05-09  Andreas Jaeger  <aj@suse.de>
40836         [BZ #14083]
40837         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40838         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40839         -Wconversion warning.
40840         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40841         Likewise.
40843 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
40845         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
40846         == 0.
40847         (LC_ALL): Use macro-int-constant.
40848         (LC_COLLATE): Likewise.
40849         (LC_CTYPE): Likewise.
40850         (LC_MESSAGES): Likewise.
40851         (LC_MONETARY): Likewise.
40852         (LC_NUMERIC): Likewise.
40853         (LC_TIME): Likewise.
40854         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40855         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40856         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40857         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40858         Specify type.
40859         [C99-based standards] (float_t): Expect type.
40860         [C99-based standards] (double_t): Expect type.
40861         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
40862         type.
40863         [C99-based standards] (HUGE_VALL): Likewise.
40864         [C99-based standards] (INFINITY): Likewise.
40865         [C99-based standards] (NAN): Likewise.
40866         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40867         [C99-based standards] (FP_NAN): Likewise.
40868         [C99-based standards] (FP_NORMAL): Likewise.
40869         [C99-based standards] (FP_SUBNORMAL): Likewise.
40870         [C99-based standards] (FP_ZERO): Likewise.
40871         [C99-based standards] (FP_FAST_FMA): Use
40872         optional-macro-int-constant.  Specify type.  Require == 1.
40873         [C99-based standards] (FP_FAST_FMAF): Likewise.
40874         [C99-based standards] (FP_FAST_FMAL): Likewise.
40875         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40876         [C99-based standards] (FP_ILOGBNAN): Likewise.
40877         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40878         Specify type.
40879         [C99-based standards] (MATH_ERREXCEPT): Likewise.
40880         [C99-based standards] (math_errhandling): Specify type.
40881         [ISO99 || ISO11] (signgam): Do not allow.
40882         [non-C99-based standards] (copysignf): Do not allow.
40883         [non-C99-based standards] (exp2f): Likewise.
40884         [non-C99-based standards] (log2f): Likewise.
40885         [non-C99-based standards] (modff): Allow.
40886         [non-C99-based standards] (erff): Do not allow.
40887         [non-C99-based standards] (erfcf): Likewise.
40888         [non-C99-based standards] (gammaf): Likewise.
40889         [non-C99-based standards] (hypotf): Likewise.
40890         [non-C99-based standards] (j0f): Likewise.
40891         [non-C99-based standards] (j1f): Likewise.
40892         [non-C99-based standards] (jnf): Likewise.
40893         [non-C99-based standards] (lgammaf): Likewise.
40894         [non-C99-based standards] (tgammaf): Likewise.
40895         [non-C99-based standards] (y0f): Likewise.
40896         [non-C99-based standards] (y1f): Likewise.
40897         [non-C99-based standards] (ynf): Likewise.
40898         [non-C99-based standards] (isnanf): Likewise.
40899         [non-C99-based standards] (acoshf): Likewise.
40900         [non-C99-based standards] (asinhf): Likewise.
40901         [non-C99-based standards] (atanhf): Likewise.
40902         [non-C99-based standards] (cbrtf): Likewise.
40903         [non-C99-based standards] (expm1f): Likewise.
40904         [non-C99-based standards] (ilogbf): Likewise.
40905         [non-C99-based standards] (log1pf): Likewise.
40906         [non-C99-based standards] (logbf): Likewise.
40907         [non-C99-based standards] (nextafterf): Likewise.
40908         [non-C99-based standards] (remainderf): Likewise.
40909         [non-C99-based standards] (rintf): Likewise.
40910         [non-C99-based standards] (scalbf): Likewise.
40911         [non-C99-based standards] (copysignl): Likewise.
40912         [non-C99-based standards] (exp2l): Likewise.
40913         [non-C99-based standards] (log2l): Likewise.
40914         [non-C99-based standards] (modfl): Allow.
40915         [non-C99-based standards] (erfl): Do not allow.
40916         [non-C99-based standards] (erfcl): Likewise.
40917         [non-C99-based standards] (gammal): Likewise.
40918         [non-C99-based standards] (hypotl): Likewise.
40919         [non-C99-based standards] (j0l): Likewise.
40920         [non-C99-based standards] (j1l): Likewise.
40921         [non-C99-based standards] (jnl): Likewise.
40922         [non-C99-based standards] (lgammal): Likewise.
40923         [non-C99-based standards] (tgammal): Likewise.
40924         [non-C99-based standards] (y0l): Likewise.
40925         [non-C99-based standards] (y1l): Likewise.
40926         [non-C99-based standards] (ynl): Likewise.
40927         [non-C99-based standards] (isnanl): Likewise.
40928         [non-C99-based standards] (acoshl): Likewise.
40929         [non-C99-based standards] (asinhl): Likewise.
40930         [non-C99-based standards] (atanhl): Likewise.
40931         [non-C99-based standards] (cbrtl): Likewise.
40932         [non-C99-based standards] (expm1l): Likewise.
40933         [non-C99-based standards] (ilogbl): Likewise.
40934         [non-C99-based standards] (log1pl): Likewise.
40935         [non-C99-based standards] (logbl): Likewise.
40936         [non-C99-based standards] (nextafterl): Likewise.
40937         [non-C99-based standards] (remainderl): Likewise.
40938         [non-C99-based standards] (rintl): Likewise.
40939         [non-C99-based standards] (scalbl): Likewise.
40940         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40941         [non-C99-based standards] (FP_*): Do not allow.
40942         [C99-based standards] (FP_*): Change to
40943         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40944         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40945         allow.
40946         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40947         (SIG_ERR): Likewise.
40948         [X/Open-based standards] (SIG_HOLD): Likewise.
40949         (SIG_IGN): Likewise.
40950         (SIGABRT): Use macro-int-constant.  Specify type.  Require
40951         positive value.
40952         (SIGFPE): Likewise.
40953         (SIGILL): Likewise.
40954         (SIGINT): Likewise.
40955         (SIGSEGV): Likewise.
40956         (SIGTER): Likewise.
40957         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40958         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40959         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40960         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40961         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40962         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40963         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40964         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40965         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40966         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40967         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40968         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40969         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40970         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40971         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40972         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40973         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40974         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40975         [X/Open-based standards] (SIGTRAP): Likewise.
40976         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40977         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40978         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40979         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40980         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40981         allow.
40983 2012-05-08  Ian Wienand  <ianw@vmware.com>
40985         [BZ #14080]
40986         * time/tzset.c (__tzset_parse_tz): Update default rules for
40987         daylight time changes in the Energy Policy Act of 2005.
40989 2012-05-09  Andreas Jaeger  <aj@suse.de>
40991         [BZ #13983]
40992         * elf/ldconfig.c (parse_conf): Change string to make clear that
40993         ldconfig only issued a warning if ld.so.conf does not exist.
40995 2012-05-08  David S. Miller  <davem@davemloft.net>
40997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40998         movxtod instead of popping the value on the stack.
41000         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41002 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41004         * config.h.in: Add HAVE_ARM_PCS_VFP.
41006 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41008         [BZ #13979]
41009         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41010         checking but the checks are disabled for any reason.
41012 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41014         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41015         and ELF64_R_TYPE with ELFW(R_TYPE).
41017 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41019         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41020         (ulimit): Likewise.
41022         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41023         (settimeofday): Likewise.
41025 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41027         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41028         a struct th_u2 inside the union, and move tu_block/tu_code into
41029         a new th_u3 union of tu_block/tu_code inside of that.  Move
41030         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41031         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41032         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41033         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41034         (th_stuff): Change to th_u1.tu_stuff.
41035         (th_data): Define.
41036         (th_msg): Change to th_u1.th_u2.tu_data.
41038 2012-05-07  David S. Miller  <davem@davemloft.net>
41040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41042         [BZ #14074]
41043         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41044         (SETUP_PIC_REG): Use it.
41045         (SETUP_PIC_REG_LEAF): Use it.
41047 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41049         [BZ #13885]
41050         [BZ #13923]
41051         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41052         USE_AS_EXPM1L.
41053         (EXPL_FINITE): Likewise.
41054         (FLDLOG): Likewise.
41055         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41056         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41057         e_expl.S.
41058         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41059         USE_AS_EXPM1L.
41060         (EXPL_FINITE): Likewise.
41061         (FLDLOG): Likewise.
41062         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41063         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41064         e_expl.S.
41065         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41066         test of -max_value argument for long double.
41067         * sysdeps/i386/fpu/libm-test-ulps: Update.
41068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41070 2012-05-06  David S. Miller  <davem@davemloft.net>
41072         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41073         quad soft-float symbols whose references which are compiler
41074         generated.
41075         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41077 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41079         [BZ #13884]
41080         [BZ #13914]
41081         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41082         USE_AS_EXP10L.
41083         (EXPL_FINITE): Likewise.
41084         (FLDLOG): Likewise.
41085         (c0): Likewise.
41086         (c1): Likewise.
41087         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41088         Adjust comments for base varying.
41089         (__expl_finite): Change alias to EXPL_FINITE.
41090         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41091         e_expl.S.
41092         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41093         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41094         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41095         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41096         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41097         USE_AS_EXP10L.
41098         (EXPL_FINITE): Likewise.
41099         (FLDLOG): Likewise.
41100         (c0): Likewise.
41101         (c1): Likewise.
41102         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41103         Adjust comments for base varying.
41104         (__expl_finite): Change alias to EXPL_FINITE.
41105         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41106         tests for bugs.
41107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41109         [BZ #14064]
41110         * math/libm-test.inc (check_float_internal): Correct ulp
41111         calculation for subnormal expected results.
41113 2012-05-06  Andreas Jaeger  <aj@suse.de>
41115         * Makeconfig (+math-flags): New, set to -frounding-math.
41116         (+cflags): Add +math-flags so that all of glibc gets compiled with
41117         it.
41119         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41121 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41123         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41124         Disable one test.
41126         [BZ #13787]
41127         [BZ #13922]
41128         [BZ #14036]
41129         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41130         (__ieee754_expl): Allow for and saturate large arguments.
41131         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41132         (u_threshold): Likewise.
41133         (__exp): Call __ieee754_exp before checking for overflow and
41134         underflow.
41135         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41136         (u_threshold): Likewise.
41137         (__expf): Call __ieee754_expf before checking for overflow and
41138         underflow.
41139         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41140         (u_threshold): Likewise.
41141         (__expl): Call __ieee754_expl before checking for overflow and
41142         underflow.
41143         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41144         (__ieee754_expl): Allow for and saturate large arguments.
41145         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41146         missing overflow exception on overflow.
41147         (expm1_test): Do not allow missing overflow exception on overflow.
41149         * sysdeps/i386/fpu/e_expl.c: Move to ...
41150         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41151         rather than using inline asm.
41152         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41153         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41154         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41156         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41157         (nice): Likewise.
41158         (poll): Likewise.
41159         (signal): Likewise.
41160         (time): Likewise.
41161         (times): Likewise.
41163 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41165         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41166         sysdeps/unix/common/syscalls.list.
41167         (fchmod): Likewise.
41168         (fchown): Likewise.
41169         (ftruncate): Likewise.
41170         (getrusage): Likewise.
41171         (gettimeofday): Likewise.
41172         (setpgid): Likewise.
41173         (setregid): Likewise.
41174         (setreuid): Likewise.
41175         (sigaction): Likewise.
41176         (truncate): Likewise.
41177         (vhangup): Likewise.
41178         * sysdeps/unix/common/syscalls.list: Remove file.
41179         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41180         * sysdeps/unix/sysv/linux/Implies: Likewise.
41182 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41184         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41185         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41186         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41187         Moved to ...
41188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41189         Here.
41190         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41191         to ...
41192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41193         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41194         to ...
41195         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41196         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41197         to ...
41198         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41199         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41200         to ...
41201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41202         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41203         to ...
41204         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41205         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41206         to ...
41207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41208         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41209         to ...
41210         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41211         Here.
41212         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41213         to ...
41214         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41215         Here.
41216         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41217         to ...
41218         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41219         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41220         Moved to ...
41221         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41222         Here.
41223         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41224         to ...
41225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41227 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41229         * sysdeps/unix/common/bits/dirent.h: Remove file.
41230         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41232         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41233         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41234         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41235         * sysdeps/unix/bsd/isatty.c: Likewise.
41236         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41237         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41238         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41240 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41242         [BZ #13563]
41243         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41244         long double comparison inaccuracies.
41245         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41248 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41250         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41251         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41253 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41255         [BZ #14049]
41256         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41257         nonzero digits before rounding a hex value.
41258         * stdlib/tst-strtod.c (tests): Add another test.
41260 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41262         * sysdeps/s390/fpu/libm-test-ulps: Update.
41264 2012-05-03  Andreas Jaeger  <aj@suse.de>
41266         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41267         does not get optimized out.
41268         (malloc_opt_barrier): New.
41270 2012-05-03  Andreas Jaeger  <aj@suse.de>
41271             Roland McGrath  <roland@hack.frob.com>
41273         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41274         intermediate file deletion.
41275         (generated): Add .symlist files.
41277 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41279         [BZ #13775]
41280         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41281         Redirect under this condition.
41282         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41283         [__USE_GNU] (__dprintf_chk): Not under this condition.
41284         [__USE_GNU] (__vdprintf_chk): Likewise.
41285         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41286         under this condition.
41287         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41288         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41289         [__USE_XOPEN2K8] (vdprintf): Likewise.
41290         [__USE_GNU] (__dprintf_chk): Not under this condition.
41291         [__USE_GNU] (__vdprintf_chk): Likewise.
41292         [__USE_GNU] (dprintf): Likewise.
41293         [__USE_GNU] (vdprintf): Likewise.
41295 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41297         * elf/Makefile (common-generated): Set this instead of generated for
41298         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41299         $(all-built-dso)-derived lists.
41301 2012-05-03  Andreas Jaeger  <aj@suse.de>
41303         * sysdeps/i386/fpu/libm-test-ulps: Update.
41305         * FAQ: Removed.
41306         * FAQ.in: Likewise.
41307         * scripts/gen-FAQ.pl: Likewise.
41308         * manual/install.texi (Installation): Point to online location of
41309         FAQ.
41310         * Makefile (files-for-dist): Remove FAQ.
41311         (FAQ): Remove.
41313 2012-05-02  Allan McRae  <allan@archlinux.org>
41315         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41316         (LDFLAGS-reldepmod5.so): Likewise.
41317         (LDFLAGS-reldep6mod1.so): Likewise.
41318         (LDFLAGS-reldep6mod4.so): Likewise.
41319         (LDFLAGS-reldep8mod3.so): Likewise.
41320         (LDFLAGS-unload4mod1.so): Likewise.
41321         (LDFLAGS-unload4mod2.so): Likewise.
41322         (LDFLAGS-tst-initorder): Likewise.
41323         (LDFLAGS-tst-initordera2.so): Likewise.
41324         (LDFLAGS-tst-initordera3.so): Likewise.
41325         (LDFLAGS-tst-initordera4.so): Likewise.
41326         (LDFLAGS-tst-initorderb2.so): Likewise.
41327         (LDFLAGS-noload): Likewise.
41328         (LDFLAGS-next): Likewise.
41329         (LDFLAGS-order2mod1.so): Likewise.
41330         (LDFLAGS-order2mod2.so): Likewise.
41331         (LDFLAGS-tst-initorder2): Likewise.
41332         (LDFLAGS-tst-initorder2a.so): Likewise.
41333         (LDFLAGS-tst-initorder2b.so): Likewise.
41334         (LDFLAGS-tst-initorder2c.so): Likewise.
41335         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41337 2012-05-02  David S. Miller  <davem@davemloft.net>
41339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41341 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41343         [BZ #14055]
41344         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41346 2012-05-02  Andreas Jaeger  <aj@suse.de>
41348         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41349         since we manipulate rounding mode.
41350         (CPPFLAGS-test-idouble.c): Likewise.
41351         (CPPFLAGS-test-ifloat.c): Likewise.
41352         (CFLAGS-test-ldouble.c): Likewise.
41353         (CFLAGS-test-double.c): Likewise.
41354         (CFLAGS-test-float.c): Likewise.
41355         (CFLAGS-test-misc.c): Likewise.
41356         (CFLAGS-test-test-fenv.c): Likewise.
41358 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41360         [BZ #2550]
41361         [BZ #2570]
41362         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41363         comparisons to determine direction to adjust input.
41365 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41367         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41368         output to the target.
41370         * scripts/localplt.awk: New file.
41371         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41372         (check-localplt-CFLAGS): Variable removed.
41373         ($(all-built-dso:=.jmprel)): New static pattern rule.
41374         (generated): Add those targets.
41375         (localplt-built-dso): New variable.
41376         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41378         * elf/check-localplt.c: File removed.
41380         * scripts/check-execstack.awk: New file.
41381         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41382         (check-execstack-CFLAGS): Variable removed.
41383         ($(objpfx)check-execstack.h): Target removed.
41384         ($(objpfx)execstack-default): New target.
41385         (generated): Add that instead of check-execstack.h.
41386         ($(all-built-dso:=.phdr)): New static pattern rule.
41387         (generated): Add those targets.
41388         * elf/check-execstack.c: File removed.
41390         * scripts/check-textrel.awk: New file.
41391         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41392         (check-textrel-CFLAGS): Variable removed.
41393         (all-built-dso): Use := to define.o
41394         ($(all-built-dso:=.dyn)): New static pattern rule.
41395         (generated): Add those targets.
41396         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41397         * config.make.in (READELF): New substituted variable.
41398         * elf/check-textrel.c: File removed.
41400 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41402         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41403         allow.
41404         * conform/data/ctype.h-data [C99-based standards] (isblank):
41405         Expect function.
41406         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41407         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41408         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41409         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41410         Specify type.  Require positive value.
41411         (EILSEQ): Likewise.
41412         (ERANGE): Likewise.
41413         [ISO || POSIX] (EILSEQ): Do not expect.
41414         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41415         Specify type.  Require positive value.
41416         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41417         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41418         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41419         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41420         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41421         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41422         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41423         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41424         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41425         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41426         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41427         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41428         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41429         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41430         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41431         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41432         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41433         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41434         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41435         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41436         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41437         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41438         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41439         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41440         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41441         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41442         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41443         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41444         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41445         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41446         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41447         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41448         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41449         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41450         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41451         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41452         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41453         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41454         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41455         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41456         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41457         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41458         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41459         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41460         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41461         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41462         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41463         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41464         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41465         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41466         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41467         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41468         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41469         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41470         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41471         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41472         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41473         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41474         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41475         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41476         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41477         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41478         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41479         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41480         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41481         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41482         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41483         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41484         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41485         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41486         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41487         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41488         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41489         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41490         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41491         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41492         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41493         Require >= 2.
41494         (FLT_ROUNDS): Expect as macro, not constant.
41495         (FLT_MANT_DIG): Use macro-int-constant.
41496         (DBL_MANT_DIG): Likewise.
41497         (LDBL_MANT_DIG): Likewise.
41498         (FLT_DIG): Likewise.
41499         (DBL_DIG): Likewise.
41500         (LDBL_DIG): Likewise.
41501         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41502         (DBL_MIN_EXP): Likewise.
41503         (LDBL_MIN_EXP): Likewise.
41504         (FLT_MAX_EXP): Use macro-int-constant.
41505         (DBL_MAX_EXP): Likewise.
41506         (LDBL_MAX_EXP): Likewise.
41507         (FLT_MAX_10_EXP): Likewise.
41508         (DBL_MAX_10_EXP): Likewise.
41509         (LDBL_MAX_10_EXP): Likewise.
41510         (FLT_MAX): Use macro-constant.
41511         (DBL_MAX): Likewise.
41512         (LDBL_MAX): Likewise.
41513         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41514         (DBL_EPSILON): Likewise.
41515         (LDBL_EPSILON): Likewise.
41516         (FLT_MIN): Likewise.
41517         (DBL_MIN): Likewise.
41518         (LDBL_MIN): Likewise.
41519         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41520         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41521         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41522         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41523         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41524         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41525         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41526         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41527         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41528         [ISO11] (FLT_TRUE_MIN): Likewise.
41529         [ISO11] (LDBL_TRUE_MIN): Likewise.
41530         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41531         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41532         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41533         (SCHAR_MAX): Likewise.
41534         (UCHAR_MAX): Likewise.
41535         (CHAR_MIN): Likewise.
41536         (CHAR_MAX): Likewise.
41537         (MB_LEN_MAX): Use macro-int-constant.
41538         (SHRT_MIN): Use macro-int-constant.  Specify type.
41539         (SHRT_MAX): Likewise.
41540         (USHRT_MAX): Likewise.
41541         (INT_MAX): Likewise.
41542         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41543         bound negative.
41544         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41545         bound with "U".
41546         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41547         bound with "L".
41548         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41549         bound negative.  Suffix upper bound with "L".
41550         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41551         bound with "UL".
41552         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41553         Specify type.
41554         [C99-based standards] (LLONG_MAX): Likewise.
41555         [C99-based standards] (ULLONG_MAX): Likewise.
41556         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41557         == 0.
41558         [ISO11] (max_align_t): Require type.
41559         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41561         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41562         from $CFLAGS, without defining away __attribute__ calls.
41563         (checknamespace): Use $CFLAGS_namespace.
41565         * conform/conformtest.pl (@keywords): Only include C99 keywords
41566         for standards based on C99 or C11.
41568         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41569         Disable tests.
41570         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41571         UNIX98]: Likewise.
41573         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41574         usability of symbols in #if.
41576         * conform/conformtest.pl: If macro or constant types start
41577         "promoted:", expect the symbol to be of the following type
41578         promoted by the integer promotions.
41580         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41581         in one place.  Also handle "macro-constant".
41583         * conform/conformtest.pl: Only accept expected macro values with
41584         "==".  Parse all "macro" lines in one place.
41585         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41587         * conform/conformtest.pl: Handle braced types on "constant" lines
41588         instead of handling "typed-constant".
41589         * conform/data/signal.h-data: Use "constant" instead of
41590         "typed-constant".
41592         * conform/conformtest.pl: Handle "optional-" at start of lines in
41593         one place rather than duplicating several cases.  Handle each
41594         format of "macro" line with initial "optional-".
41596         * conform/conformtest.pl: Only accept expected constant or
41597         optional-constant values with "==".  Parse all "constant" lines in
41598         one place.  Parse all "optional-constant" lines in one place.
41599         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41600         * conform/data/fmtmsg.h-data: Likewise.
41601         * conform/data/netinet/in.h-data: Likewise.
41602         * conform/data/tar.h-data: Likewise.
41603         * conform/data/limits.h-data: Use "==" form on "constant" and
41604         "optional-constant" lines.
41606         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41607         Use -std=c99 for XOPEN2K.
41608         (@knownproblems): Remove.
41609         (newtoken): Don't check %isknown.
41611         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41612         Do not expect macro.
41613         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41614         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41615         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41616         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41617         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41618         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41619         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41620         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41621         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41622         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41623         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41624         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41625         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41626         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41627         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41628         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41629         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41630         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41631         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41632         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41633         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41634         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41635         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41636         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41637         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41638         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41639         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41640         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41641         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41642         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41643         [XPG3] (acosh): Likewise.
41644         [XPG3] (asinh): Likewise.
41645         [XPG3] (atanh): Likewise.
41646         [XPG3] (cbrt): Likewise.
41647         [XPG3] (expm1): Likewise.
41648         [XPG3] (ilogb): Likewise.
41649         [XPG3] (log1p): Likewise.
41650         [XPG3] (logb): Likewise.
41651         [XPG3] (nextafter): Likewise.
41652         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41653         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41654         [XPG3] (remainder): Likewise.
41655         [XPG3] (rint): Likewise.
41656         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41657         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41658         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41659         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41660         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41661         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41662         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41663         [UNIX98 || XOPEN2K] (scalb): Expect.
41664         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41665         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41666         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41667         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41668         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41669         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41670         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41671         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41672         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41673         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41674         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41675         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41676         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41677         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41678         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41679         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41680         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41681         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41682         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41683         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41684         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41685         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41686         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41687         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41688         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41689         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41690         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41691         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41692         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41693         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41694         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41695         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41696         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41697         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41698         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41699         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41700         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41701         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41702         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41703         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41704         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41705         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41706         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41707         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41708         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41709         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41710         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41711         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41712         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41713         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41714         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41715         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41716         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41717         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41718         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41719         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41720         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41721         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41722         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41723         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41724         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41725         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41726         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41727         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41728         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41729         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41730         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41731         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41732         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41733         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41734         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41735         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41736         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41737         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41738         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41739         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41740         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41741         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41742         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41743         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41744         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41745         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41746         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41747         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41748         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41749         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41750         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41751         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41752         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41753         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41754         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41755         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41756         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41757         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41758         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41759         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41760         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41761         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41762         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41763         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41764         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41765         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41766         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41767         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41768         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41769         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41770         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41771         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41772         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41773         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41774         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41775         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41776         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41777         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41778         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41779         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41780         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41781         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41782         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41783         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41784         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41785         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41786         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41787         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41788         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41789         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41790         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41791         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41792         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41793         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41794         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41795         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41796         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41797         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41798         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41799         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41800         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41802         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41803         _XOPEN_SOURCE_EXTENDED for XPG4.
41805         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41807         * Makeconfig (localtime): Remove variable.
41808         (inst_localtime-file): Likewise.
41810 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41813         Update.
41814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41815         Update.
41816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41817         Update.
41818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41819         Update.
41820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41821         Update.
41822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41823         Update.
41824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41825         Update.
41826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41827         Update.
41828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41829         Update.
41831 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41833         [BZ #2550]
41834         [BZ #2570]
41835         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41836         comparisons to determine direction to adjust input.
41837         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41838         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41839         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41840         Likewise.
41841         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41842         Likewise.
41843         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41844         Likewise.
41845         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41846         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41847         Likewise.
41848         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41849         Likewise.
41850         * math/libm-test.inc (nexttoward_test): Add more tests.
41852 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41854         [BZ #14040]
41855         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41856         in version GLIBC_2.1, not GLIBC_2.0.
41857         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41858         Likewise.
41860 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
41862         [BZ #13942]
41863         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41864         (1 - x) * (1 + x).
41865         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41866         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41867         * math/libm-test.inc (acos_test): Add more tests.
41868         (asin_test): Likewise.
41869         * sysdeps/i386/fpu/libm-test-ulps: Update.
41870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41872         [BZ #14034]
41873         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41874         of square root.
41875         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41876         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41877         * math/libm-test.inc (acos_test_tonearest): New function.
41878         (acos_test_towardzero): Likewise.
41879         (acos_test_downward): Likewise.
41880         (acos_test_upward): Likewise.
41881         (asin_test_tonearest): Likewise.
41882         (asin_test_towardzero): Likewise.
41883         (asin_test_downward): Likewise.
41884         (asin_test_upward): Likewise.
41885         (main): Call the new functions.
41886         * sysdeps/i386/fpu/libm-test-ulps: Update.
41887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41889         [BZ #13884]
41890         [BZ #13924]
41891         * math/e_exp10.c: Include <float.h>.
41892         (__ieee754_exp10): Handle underflow here rather than multiplying
41893         large negative argument by M_LN10.
41894         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41895         of __ieee754_expf.
41896         * math/e_exp10l.c: Include <float.h>.
41897         (__ieee754_exp10l): Handle underflow here rather than multiplying
41898         large negative argument by M_LN10l.
41899         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
41900         spurious overflow exception on underflow.
41902 2012-04-29  Marek Polacek  <polacek@redhat.com>
41904         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41905         (__fortify_function): New macro.
41906         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41907         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41908         __extern_always_inline.
41909         * libio/bits/stdio2.h: Likewise.
41910         * libio/bits/stdio.h: Likewise.
41911         * string/string.h: Likewise.
41912         * string/bits/string3.h: Likewise.
41913         * include/stdio.h: Likewise.
41914         * stdlib/bits/stdlib.h: Likewise.
41915         * stdlib/stdlib.h: Likewise.
41916         * rt/bits/mqueue2.h: Likewise.
41917         * rt/mqueue.h: Likewise.
41918         * posix/bits/unistd.h: Likewise.
41919         * posix/unistd.h: Likewise.
41920         * io/bits/poll2.h: Likewise.
41921         * io/bits/fcntl2.h: Likewise.
41922         * io/fcntl.h: Likewise.
41923         * io/sys/poll.h: Likewise.
41924         * misc/bits/syslog.h: Likewise.
41925         * misc/bits/syslog-ldbl.h: Likewise.
41926         * misc/sys/syslog.h: Likewise.
41927         * socket/bits/socket2.h: Likewise.
41928         * socket/sys/socket.h: Likewise.
41929         * debug/tst-chk1.c: Likewise.
41930         * wcsmbs/bits/wchar2.h: Likewise.
41931         * wcsmbs/bits/wchar-ldbl.h: Likewise.
41932         * wcsmbs/wchar.h: Likewise.
41934 2012-04-29  Andreas Jaeger  <aj@suse.de>
41936         * Makerules (tests): Remove enable-check-abi protection.
41937         (check-abi-warn): Remove.
41938         (check-abi-%): Remove check-abi-warn usage.
41940         * configure.in: Remove check-abi configure option.
41941         * configure: Regenerated.
41942         * config.make.in (enable-check-abi): Remove.
41944 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
41946         [BZ #14033]
41947         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41948         double functions to double *_finite functions.
41950         [BZ #13941]
41951         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41952         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41953         LDBL_MIN_EXP.
41954         * stdio-common/Makefile (tests): Add tst-sprintf3.
41955         * stdio-common/tst-sprintf3.c: New file.
41957         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41958         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41960 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41962         * conform/conformtest.pl: Remove duplicate typed-constant
41963         handling.
41965 2012-04-28  David S. Miller  <davem@davemloft.net>
41967         * Makerules (%.abilist): Add vpath on sysdep_dirs.
41968         (check-abi-%): Remove AWK script prerequisite and explicit
41969         abilist directory.
41970         (check-abi): Rewrite to just diff the symlist with the abilist.
41971         (config-tls, config-abi-config): Delete, no longer used.
41972         (update-abi-%): Remove AWK script and explicit abilist directory.
41973         (update-abi): Rewrite to simply compare and conditionally copy the
41974         symlist and the sysdep abilist file.  Remove update-abi-config
41975         checks.
41976         * abilist/ld.abilist: Remove.
41977         * abilist/libBrokenLocale.abilist: Remove.
41978         * abilist/libanl.abilist: Remove.
41979         * abilist/libcrypt.abilist: Remove.
41980         * abilist/libdl.abilist: Remove.
41981         * abilist/librt.abilist: Remove.
41982         * abilist/libthread_db.abilist: Remove.
41983         * abilist/libutil.abilist: Remove.
41984         * scripts/extract-abilist.awk: Remove.
41985         * scripts/merge-abilist.awk: Remove.
41986         * sysdeps/generic/libcidn.abilist: New file.
41987         * sysdeps/generic/libnss_compat.abilist: New file.
41988         * sysdeps/generic/libnss_db.abilist: New file.
41989         * sysdeps/generic/libnss_dns.abilist: New file.
41990         * sysdeps/generic/libnss_files.abilist: New file.
41991         * sysdeps/generic/libnss_hesiod.abilist: New file.
41992         * sysdeps/generic/libnss_nis.abilist: New file.
41993         * sysdeps/generic/libnss_nisplus.abilist: New file.
41994         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41995         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41996         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41997         file.
41998         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41999         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42000         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42001         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42002         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42003         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42004         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42005         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42006         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42007         file.
42008         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42009         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42010         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42011         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42012         file.
42013         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42014         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42015         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42016         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42017         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42018         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42019         file.
42020         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42021         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42022         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42023         file.
42024         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42025         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42026         New file.
42027         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42028         New file.
42029         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42030         New file.
42031         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42032         New file.
42033         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42034         New file.
42035         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42036         New file.
42037         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42038         New file.
42039         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42040         New file.
42041         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42042         New file.
42043         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42044         New file.
42045         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42046         New file.
42047         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42048         New file.
42049         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42050         New file.
42051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42052         file.
42053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42054         New file.
42055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42056         New file.
42057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42058         file.
42059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42060         New file.
42061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42062         New file.
42063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42064         file.
42065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42066         New file.
42067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42068         New file.
42069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42070         New file.
42071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42072         New file.
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42074         New file.
42075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42076         New file.
42077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42078         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42079         file.
42080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42081         New file.
42082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42083         file.
42084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42085         file.
42086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42087         file.
42088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42089         file.
42090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42091         file.
42092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42093         New file.
42094         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42095         file.
42096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42097         file.
42098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42099         New file.
42100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42101         file.
42102         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42104         file.
42105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42106         New file.
42107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42108         file.
42109         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42110         file.
42111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42112         file.
42113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42114         file.
42115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42116         file.
42117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42118         New file.
42119         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42120         file.
42121         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42122         file.
42123         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42124         New file.
42125         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42126         file.
42127         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42128         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42129         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42130         file.
42131         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42132         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42133         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42134         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42135         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42136         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42137         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42138         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42139         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42140         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42141         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42142         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42143         file.
42144         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42145         New file.
42146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42147         file.
42148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42149         file.
42150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42151         file.
42152         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42153         file.
42154         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42155         file.
42156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42157         New file.
42158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42159         New file.
42160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42161         file.
42162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42163         New file.
42164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42165         file.
42166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42167         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42168         file.
42169         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42170         New file.
42171         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42172         file.
42173         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42174         file.
42175         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42176         file.
42177         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42178         file.
42179         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42180         file.
42181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42182         New file.
42183         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42184         New file.
42185         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42186         file.
42187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42188         New file.
42189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42190         file.
42192 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42194         * conform/conformtest.pl: Fix typo in handling typed-constant from
42195         allow-header.
42197 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42199         * README: Cut down references to pre-2.6 Linux kernels and
42200         Linuxthreads.  Update lists of configurations in libc and ports
42201         and sort alphabetically.  Say "or newer" with Linux kernel version
42202         requirements.
42204         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42206 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42208         [BZ #887]
42209         * math/libm-test.inc (logb_test_downward): New test to expose
42210         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42211         rounding mode.
42213 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42215         [BZ #14027]
42216         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42217         to be done.
42218         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42219         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42221 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42223         * sysdeps/unix/i386/brk.S: Remove file.
42224         * sysdeps/unix/i386/dl-brk.S: Likewise.
42225         * sysdeps/unix/i386/pipe.S: Likewise.
42226         * sysdeps/unix/i386/sigreturn.S: Likewise.
42227         * sysdeps/unix/i386/syscall.S: Likewise.
42228         * sysdeps/unix/i386/vfork.S: Likewise.
42229         * sysdeps/unix/i386/wait.S: Likewise.
42231         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42232         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42234         * configure.in (arm*-none*): Do not allow without
42235         --enable-hacker-mode.
42236         (netbsd*): Remove case setting base_os.
42237         (386bsd*): Likewise.
42238         (freebsd*): Likewise.
42239         (bsdi*): Likewise.
42240         (osf*): Likewise.
42241         (sunos*): Likewise.
42242         (ultrix*): Likewise.
42243         (newsos*): Likewise.
42244         (dynix*): Likewise.
42245         (*bsd*): Likewise.
42246         (sysv*): Likewise.
42247         (isc*): Likewise.
42248         (esix*): Likewise.
42249         (sco*): Likewise.
42250         (minix*): Likewise.
42251         (irix4*): Likewise.
42252         (irix6*): Likewise.
42253         (solaris[2-9]*): Likewise.
42254         (none): Likewise.
42255         * configure: Regenerated.
42257 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42259         [BZ #11521]
42260         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42261         overflow or cancellation in calculating denominator.
42262         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42263         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42264         down expression to avoid unexpected rounding in newer GCCs.
42265         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42267 2012-04-26  David S. Miller  <davem@davemloft.net>
42269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42270         long-double compat symbols.
42271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42281         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42282         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42285 2012-04-25  David S. Miller  <davem@davemloft.net>
42287         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42288         HWCAP_* values only after the memory barriers have been defined.
42289         (atomic_full_barrier): Define.
42290         (atomic_read_barrier): Define.
42291         (atomic_write_barrier): Define.
42293 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42295         * shlib-versions: Add libgcc_s version information.
42296         * sysdeps/generic/libgcc_s.h: Remove.
42297         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42298         libgcc_s.h.
42299         * sysdeps/gnu/unwind-resume.c: Likewise.
42300         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42302 2012-04-25  David S. Miller  <davem@davemloft.net>
42304         * sysdeps/unix/sparc/brk.S: Delete.
42305         * sysdeps/unix/sparc/dl-brk.S: Delete.
42306         * sysdeps/unix/sparc/pipe.S: Delete.
42307         * sysdeps/unix/sparc/sysdep.S: Delete.
42308         * sysdeps/unix/sparc/sysdep.h: Delete.
42309         * sysdeps/unix/sparc/vfork.S: Delete.
42310         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42311         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42312         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42313         (ret_ERRVAL, r0, r1, MOVE): Define.
42314         (JUMPTARGET): Remove.
42315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42316         sysdeps/unix/sparc/sysdep.h
42317         (ENTRY, END): Remove.
42318         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42320 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42322         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42323         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42324         -DIS_IN_build.
42326         * timezone/README: Update upstream location and email address for
42327         tzcode and tzdata.
42328         * timezone/zdump.c: Update from tzcode 2012b.
42329         * timezone/zic.c: Likewise.
42331         * configure.in (libc_cv_as_needed): Remove test.
42332         * configure: Regenerated.
42333         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42334         conditional definition.
42335         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42336         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42337         * config.make.in (have-as-needed): Remove variable.
42339 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42340             Paul Pluzhnikov  <ppluzhnikov@google.com>
42342         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42343         strings correctly.
42345 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42347         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42348         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42349         * sysdeps/sh/strlen.S: Likewise.
42351 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42353         * sysdeps/unix/fork.S: Remove file.
42354         * sysdeps/unix/i386/fork.S: Likewise.
42355         * sysdeps/unix/sparc/fork.S: Likewise.
42357         * sysdeps/unix/system.c: Remove file.
42358         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42360         * sysdeps/unix/getegid.S: Remove file.
42361         * sysdeps/unix/geteuid.S: Likewise.
42363 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42365         * scripts/check-localplt.awk: New file.
42366         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42367         of diff.
42368         * scripts/data/localplt-generic.data: Add a comment.
42370         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42371         NODE when __dir_mkfile failed.
42372         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42373         Reported by Ludovic Courtès <ludo@gnu.org>.
42375 2012-04-24  Andreas Jaeger  <aj@suse.de>
42377         * Makerules (common-clean): Also remove gen-as-const-headers
42378         files.
42380 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42382         * Makerules (native-compile): Do not change working directory for
42383         build.  Use $(OUTPUT_OPTION) in command.
42384         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42386 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42388         [BZ #13886]
42389         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42390         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42391         * math/libm-test.inc (floor_test): Add more tests.
42392         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42394 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42396         * sysdeps/unix/getdents.c: Remove file.
42397         * sysdeps/unix/sysv/getdents.c: Likewise.
42398         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42400         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42401         sysdeps/unix/mman/syscalls.list.
42402         (mmap): Likewise.
42403         (mprotect): Likewise.
42404         (msync): Likewise.
42405         (munmap): Likewise.
42406         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42407         * sysdeps/unix/mman/syscalls.list: Remove.
42408         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42410         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42411         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42412         * configure: Regenerated.
42413         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42414         $(libgcc_s_suffix).
42415         * config.make.in (libgcc_s_suffix): Remove variable.
42417 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42419         * sysdeps/unix/sysv/gethostname.c: Move to ...
42420         * sysdeps/posix/gethostname.c: ... here.
42422         * sysdeps/unix/execve.S: Remove file.
42424         * sysdeps/unix/_exit.S: Remove file.
42426 2012-04-23  Andreas Jaeger  <aj@suse.de>
42428         [BZ #13739]
42429         * manual/Makefile: Remove make dist support, there's no
42430         need for a stand-alone documentation tar ball.
42431         (TEXI2DVI): Define always, it's not in Makeconfig.
42432         (dist): Removed.
42433         (tar-it): Removed.
42434         (edition): Removed.
42435         (glibc-doc-$(edition).tar): Removed
42436         (%.Z): Removed.
42437         (%.gz): Removed.
42438         (%.uu): Removed.
42439         (ETAGS): Remove, it's in Makeconfig.
42440         (move-if-change): Remove, it's in Makeconfig.
42442 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42444         [BZ #13970]
42445         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42446         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42447         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42448         (strtod_l, strtof_l, strtold_l): Remove __wur.
42449         It is not necessarily an error to ignore strtol's return value.
42450         One can reliably look at the stored endptr to decide whether
42451         the number had valid syntax.
42453 2012-04-21  Andreas Jaeger  <aj@suse.de>
42455         [BZ #13739]
42456         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42458 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42460         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42461         * sysdeps/unix/sysv/Versions: Remove file.
42463 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42465         [BZ #13927]
42466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42468 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42470         [BZ #7064]
42471         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42472         version from __vm86.
42474 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42476         * sysdeps/unix/common/lxstat.c: Remove file.
42477         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42479         * sysdeps/unix/sysv/Makefile: Remove file.
42481         * sysdeps/unix/sysv/direct.h: Remove file.
42483         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42484         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42485         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42486         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42487         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42488         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42489         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42491         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42493         * sysdeps/unix/xmknod.c: Remove file.
42494         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42496         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42498         * sysdeps/unix/sysv/i386/time.S: Remove file.
42500         * sysdeps/unix/fxstat.c: Remove file.
42501         * sysdeps/unix/xstat.c: Likewise.
42502         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42504         * sysdeps/unix/sysv/sigaction.c: Remove file.
42506         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42507         (sysdep_headers): Remove variable.
42508         [termio.h not in sysdep_headers] (generated): Likewise.
42509         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42510         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42511         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42512         * sysdeps/unix/sysv/tcflow.c: Likewise.
42513         * sysdeps/unix/sysv/tcflush.c: Likewise.
42514         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42515         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42516         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42517         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42518         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42520         * sysdeps/unix/siglist.c: Remove file.
42522         * sysdeps/unix/getppid.S: Remove file.
42524         * sysdeps/unix/mkdir.c: Remove file.
42525         * sysdeps/unix/rmdir.c: Likewise.
42527 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42529         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42530         ERR_MAX value.
42531         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42532         errlist-compat value.
42534 2012-04-18  David S. Miller  <davem@davemloft.net>
42536         * sysdeps/generic/memcopy.h (reg_char): Delete.
42537         * debug/strcat_chk.c: Use char, not reg_char.
42538         * debug/strcpy_chk.c: Likewise.
42539         * debug/strncat_chk.c: Likewise.
42540         * debug/strncpy_chk.c: Likewise.
42541         * string/memchr.c: Likewise.
42542         * string/memrchr.c: Likewise.
42543         * string/rawmemchr.c: Likewise.
42544         * string/strcat.c: Likewise.
42545         * string/strchr.c: Likewise.
42546         * string/strchrnul.c: Likewise.
42547         * string/strcmp.c: Likewise.
42548         * string/strcpy.c: Likewise.
42549         * string/strncat.c: Likewise.
42550         * string/strncmp.c: Likewise.
42551         * string/strncpy.c: Likewise.
42553 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42555         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42556         __builtin_memcopy is called when src and dest ranges are known to not
42557         overlap.
42559 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42561         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42562         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42563         fwd_align_merge macro call.
42564         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42565         bwd_align_merge macro call.
42566         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42568 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42570         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42571         bwd_align_merge macros.
42572         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42573         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42574         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42576 2012-04-18  David S. Miller  <davem@davemloft.net>
42578         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42580 2012-04-18  Andreas Jaeger  <aj@suse.de>
42582         [BZ# 6794]
42583         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42584         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42585         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42587         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42588         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42589         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42591         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42592         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42593         Adjust for changed ldbl-128 files.
42595         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42596         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42597         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42599 2012-04-17  David S. Miller  <davem@davemloft.net>
42601         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42603 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42605         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42606         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42607         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42608         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42609         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42610         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42612 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42614         [BZ #6794]
42615         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42616         * math/libm-test.inc: Add ilogb errno and exception tests.
42617         * math/w_ilogb.c: New file: ilogb wrapper.
42618         * math/w_ilogbf.c: New file: ilogbf wrapper.
42619         * math/w_ilogbl.c: New file: ilogbl wrapper.
42620         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42621         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42622         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42623         exception being thrown with 0.0 as argument.
42624         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42625         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42626         exception being thrown with 0.0 as argument.
42627         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42628         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42629         exception being thrown with 0.0 as argument.
42630         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42631         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42632         exception being thrown with 0.0 as argument.
42633         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42634         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42635         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42636         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42637         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42638         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42639         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42640         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42641         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42643 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42645         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42646         with altivec.
42648 2012-04-16  Marek Polacek  <polacek@redhat.com>
42650         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42652 2012-04-16  Marek Polacek  <polacek@redhat.com>
42654         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42655         operands of fdivp instruction.
42657 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42659         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42660         * elf/tst-auditmod3b.c: Likewise.
42661         * elf/tst-auditmod4b.c: Likewise.
42662         * elf/tst-auditmod5b.c: Likewise.
42663         * elf/tst-auditmod6b.c: Likewise.
42664         * elf/tst-auditmod6c.c: Likewise.
42665         * elf/tst-auditmod7b.c: Likewise.
42666         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42667         * sysdeps/x86_64/preconfigure.in: Likewise.
42668         * sysdeps/x86_64/preconfigure: Regenerated.
42670 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42672         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42673         __ILP32__.
42675 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42677         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42678         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42680 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42682         [BZ #13973]
42683         * locale/iso-639.def: Fix gl language name. Spotted by
42684         Yaron Shahrabani.
42686 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42688         [BZ #2074]
42689         * libio/libio.h (__io_write_fn): Update comment.
42691 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42693         [BZ #2074]
42694         * stdio.texi (Hook Functions): The user provided writer function
42695         is not allowed to return -1.
42697 2012-04-11  David S. Miller  <davem@davemloft.net>
42699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42701 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42703         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42704         Add a leading slash to rtkaio.
42706 2012-04-11  Jim Meyering  <meyering@redhat.com>
42708         [BZ #11959]
42709         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42710         It is not necessarily an error to ignore fwrite's return
42711         value.  One can reliably use ferror to test for errors after
42712         the fact.
42714 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42716         * bits/types.h (__snseconds_t): New type.
42717         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42719         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42720         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42721         (__SNSECONDS_T_TYPE): Likewise.
42722         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42723         (__SNSECONDS_T_TYPE): Likewise.
42724         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42725         (__SNSECONDS_T_TYPE): Likewise.
42727 2012-04-10  Andreas Jaeger  <aj@suse.de>
42729         [BZ #2636]
42730         * manual/time.texi (Processor Time): Return type of times is
42731         elapsed real time since an arbitrary point in the past.
42732         (CPU Time): Move CLK_TCK from here...
42733         (Processor Time): ...to here.  Correct description.
42734         * manual/conf.texi (Constants for Sysconf): Correct description of
42735         _SC_CLK_TCK.
42737 2012-04-10  David S. Miller  <davem@davemloft.net>
42739         [BZ #13967]
42740         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42741         where the is a gap between DT_REL(A) and DT_JMPREL.
42743 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42745         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42746         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42747         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42749 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42751         * elf/dl-support.c (_dl_inhibit_cache): New variable.
42752         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42753         (dl_main): Handle --inhibit-cache.
42754         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42755         _dl_inhibit_cache.
42756         * elf/dl-load.c (_dl_map_object): Use it.
42757         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42759 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42761         [BZ #13872]
42762         * sysdeps/i386/fpu/e_powl.S (p78): New object.
42763         (__ieee754_powl): Saturate large exponents rather than testing for
42764         overflow of y*log2(x).
42765         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42766         * math/libm-test.inc (pow_test): Do not permit spurious overflow
42767         exceptions.
42769         [BZ #11521]
42770         * math/s_ctan.c: Include <float.h>.
42771         (__ctan): Avoid internal overflow or cancellation in calculating
42772         denominator.
42773         * math/s_ctanf.c: Likewise.
42774         * math/s_ctanl.c: Likewise.
42775         * math/s_ctanh.c: Likewise.
42776         * math/s_ctanhf.c: Likewise.
42777         * math/s_ctanhl.c: Likewise.
42778         * math/libm-test.inc (ctan_test): Add more tests.
42779         (ctanh_test): Likewise.
42780         * sysdeps/i386/fpu/libm-test-ulps: Update.
42781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42783 2012-04-09  Andreas Jaeger  <aj@suse.de>
42785         [BZ #6894]
42786         * manual/filesys.texi (Directory Entries): Mention that d_namlen
42787         is an optional BSD extension.
42789         [BZ #10254]
42790         * manual/stdio.texi (Opening Streams): Document additional fopen
42791         parameters.
42793 2012-04-09  Roland McGrath  <roland@hack.frob.com>
42795         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42796         %eax without telling the compiler.
42798 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
42800         [BZ # 13963]
42801         * manual/install.texi: Use sourceware.org.
42803 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42805         [BZ #13873]
42806         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42807         (__ieee754_pow): Generate overflow and underflow using huge*huge
42808         and tiny*tiny rather than just returning constant infinity or zero
42809         for large exponents.
42810         * math/libm-test.inc (pow_test): Require overflow exceptions for
42811         applicable cases of large exponents.
42813         [BZ #706]
42814         * sysdeps/i386/fpu/e_pow.S (p10): New object.
42815         (__ieee754_pow): Use iterative multiplication algorithm only for
42816         integer exponents with absolute value below 1024.  Check for odd
42817         integer exponents when using algorithm for real exponents.
42818         * math/libm-test.inc (pow_test): Add more tests.
42819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42821 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
42823         [BZ #13705]
42824         * math/libm-test.inc (exp_test): Do not allow overflow exception
42825         on underflow test.
42827 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
42829         [BZ #13705]
42830         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42831         instead of __kernel_standard_f.
42833 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
42835         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42836         * sysdeps/x86_64/memset_chk.S: Likewise.
42838 2012-04-08  Andreas Jaeger  <aj@suse.de>
42840         [BZ #10153]
42841         * manual/startup.texi (Environment Access): Describe return value
42842         for putenv and setenv.
42844         [BZ #6895]
42845         * manual/filesys.texi (Directory Entries): Add description for
42846         DT_LNK.
42848         [BZ #6890]
42849         * manual/filesys.texi (Directory Entries): Clarify that it's file
42850         system not operating system in the description of DT_UNKNOWN.
42852         [BZ #6578]
42853         * manual/syslog.texi (closelog): Fix reference, it's openlog.
42855 2012-04-08  Stephen Compall  <s11@member.fsf.org>
42857         [BZ #6649]
42858         * manual/llio.texi (Opening and Closing Files): Add cross
42859         reference to explain mode argument.
42861 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
42863         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42864         * sysdeps/x86_64/memset_chk.S: Likewise.
42866 2012-04-07  David S. Miller  <davem@davemloft.net>
42868         * elf/elf.h (R_SPARC_WDISP10): Define.
42869         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42870         R_SPARC_SIZE32.
42871         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42872         R_SPARC_SIZE64 and R_SPARC_H34.
42874 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
42876         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42877         conditions and remove no longer applicable assertion.
42879 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42881         * bits/byteswap.h: Include <features.h>.
42882         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42883         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42885 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42887         * bits/byteswap.h (__bswap_16): Removed.
42888         Include <bits/byteswap-16.h> to get __bswap_16.
42889         * sysdeps/i386/bits/byteswap.h: Likewise.
42890         * sysdeps/s390/bits/byteswap.h: Likewise.
42891         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42892         * bits/byteswap-16.h: New file.
42893         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42894         * sysdeps/s390/bits/byteswap-16.h: Likewise.
42895         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42896         * string/Makefile (headers): Add bits/byteswap-16.h.
42898 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42900         [BZ #13895]
42901         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42902         extra indirection.
42903         * nss/Makefile (tests-static, tests): Add tst-nss-static.
42904         * nss/tst-nss-static.c: New.
42906 2012-04-06  Robert Millan  <rmh@gnu.org>
42908         [BZ #6486]
42909         * manual/llio.texi (File Position Primitive): lseek
42910         refers to WHENCE when it really means OFFSET.
42912 2012-04-06  Andreas Jaeger  <aj@suse.de>
42914         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42915         strncmp declarations.
42917         * abilist/libc.abilist: Add __poll and __ppoll.
42919 2012-04-05  David S. Miller  <davem@davemloft.net>
42921         * scripts/check-local-headers.sh: Accept a host triplet in the
42922         path matched by the exclude regexp.
42924         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42925         definition.
42926         * sysdeps/powerpc/powerpc32/dl-machine.h
42927         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42928         * sysdeps/s390/s390-32/dl-machine.h
42929         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42930         * sysdeps/sparc/sparc32/dl-machine.h
42931         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42932         * sysdeps/sparc/sparc64/dl-machine.h
42933         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42935         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42936         lazy binding.
42937         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42938         undefined symbol errors.
42940         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42941         DT_NEEDED entries.
42943 2012-04-05  Michael Matz  <matz@suse.de>
42945         [BZ #13592]
42946         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42948 2012-04-05  Andreas Jaeger  <aj@suse.de>
42950         [BZ #13908]
42951         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42952         comment.
42954 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42956         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42957         which ROUND is no valid rounding mode.
42959 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42961         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42962         read again.
42963         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42965 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42967         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42968         an exception using FPU order intentionally.
42970 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42972         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42973         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42974         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42975         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42977 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42979         [BZ #12340]
42980         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42981         EINVAL when BUFLEN is too smal.
42983 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42985         [BZ #13553]
42986         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42987         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42989 2012-04-03  Andreas Jaeger  <aj@suse.de>
42991         [BZ #13938]
42992         * manual/setjmp.texi (System V contexts): Fix sentence.
42994         [BZ #13926]
42995         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42996         New macro for this case.
42997         [!__GNUC__] (__bswap_64): New inline function for this case.
42998         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42999         * bits/byteswap.h: Likewise.
43000         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43001         ull, guard with __GLIBC_HAVE_LONG_LONG.
43003         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43004         __GLIBC_HAVE_LONG_LONG.
43006         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43007         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43009 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43011         [BZ #13691]
43012         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43013         inptr and inend, rather than using last_ch.
43015 2012-04-02  David S. Miller  <davem@davemloft.net>
43017         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43018         * stdio-common/printf-parse.h (read_int): Change return type to
43019         'int', return -1 on INT_MAX overflow.
43020         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43021         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43022         overflows INT_MAX.  Check for overflow of in-format-string precision
43023         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43024         SIZE_MAX not INT_MAX for integer overflow test.
43025         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43026         skip the construct in the format string but do not record anything.
43027         * stdio-common/bug22.c: Adjust to test both width/prevision
43028         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43029         explicitly for proper errno values.
43031 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43033         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43034         CHAR_MAX.
43035         * string/test-strcmp.c [! WIDE]: Likewise.
43036         * time/tst-mktime2.c: Likewise for INT_MAX.
43037         * string/test-string.h: #include <sys/param.h> for MIN.
43039         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43040         * sysdeps/i386/init-first.c (init): Likewise.
43041         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43042         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43043         * sysdeps/sh/init-first.c (init): Likewise.
43045 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43047         * po/ru.po: Update from translation team.
43048         * po/vi.po: Likewise.
43050 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43052         * resolv/nss_dns/dns-host.c: Merge copyright years.
43054 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43056         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43057         Optimize memcpy with prefetch if
43058         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43059         src, dst pointers have unequal 16 byte alignments.
43061 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43063         [BZ #13928]
43064         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43065         from a CNAME entry and return the minimum ttl for the query.
43066         (gaih_getanswer_slice): Likewise.
43068 2012-03-30  Jeff Law  <law@redhat.com>
43070         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43071         due to long keys.
43072         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43073         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43075         * resolv/nss_dns/dns-host.c: Update copyright year.
43077 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43079         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43080         requests to save a system call.  Fix check that all bytes are sent.
43082         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43083         comments for sendmmsg.
43085 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43087         [BZ #13691]
43088         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43089         with only 1 character between 0x0041 and 0x01b0.
43090         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43091         * wcsmbs/tst-mbsnrtowcs.c: New file.
43093 2012-03-29  David S. Miller  <davem@davemloft.net>
43095         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43096         small copies by hand.
43098 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43100         [BZ #13761]
43101         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43102         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43103         group memberships.
43105 2012-03-28  David S. Miller  <davem@davemloft.net>
43107         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43108         that branches into memcpy.
43109         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43110         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43112         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43113         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43114         bits.
43115         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43116         implementation too.
43117         * sysdeps/sparc/mempcpy.S: New file.
43119         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43120         the IFUNC routine in the libc case.
43121         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43123         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43124         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43125         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43126         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43127         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43128         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43129         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43130         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43132         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43133         loop to 256 bytes instead of 64 bytes and fix test signedness.
43135         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43136         * sysdeps/sparc/sparc32/Makefile: rather than here...
43137         * sysdeps/sparc/sparc64/Makefile: and here.
43139 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43141         * malloc/mallocbug.c: Avoid warnings about unused variables.
43143 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43145         [BZ #13760]
43146         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43147         in the right place. Discard and retry query if response is
43148         larger than input buffer size.
43150 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43152         [BZ #369]
43153         [BZ #2678]
43154         [BZ #3866]
43155         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43156         x for large integer exponent.
43157         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43158         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43159         sign of result as needed afterwards.
43160         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43161         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43162         result for underflowing pow the same as for overflow.
43163         (__kernel_standard_l): Handle powl overflow and underflow here
43164         rather than calling __kernel_standard.
43165         * math/libm-test.inc (pow_test): Add more tests.
43167         [BZ #3868]
43168         [BZ #13879]
43169         [BZ #13910]
43170         [BZ #13911]
43171         [BZ #13912]
43172         [BZ #13913]
43173         [BZ #13915]
43174         [BZ #13916]
43175         [BZ #13917]
43176         [BZ #13918]
43177         [BZ #13919]
43178         [BZ #13920]
43179         [BZ #13921]
43180         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43181         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43182         (__kernel_standard_l): New function.
43183         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43184         __kernel_standard.
43185         * math/w_acosl.c (__acosl): Likewise.
43186         * math/w_asinl.c (__asinl): Likewise.
43187         * math/w_atan2l.c (__atan2l): Likewise.
43188         * math/w_atanhl.c (__atanhl): Likewise.
43189         * math/w_coshl.c (__coshl): Likewise.
43190         * math/w_exp10l.c (__exp10l): Likewise.
43191         * math/w_exp2l.c (__exp2l): Likewise.
43192         * math/w_fmodl.c (__fmodl): Likewise.
43193         * math/w_hypotl.c (__hypotl): Likewise.
43194         * math/w_j0l.c (__j0l, __y0l): Likewise.
43195         * math/w_j1l.c (__j1l, __y1l): Likewise.
43196         * math/w_jnl.c (__jnl, __ynl): Likewise.
43197         * math/w_lgammal.c (__lgammal): Likewise.
43198         * math/w_log10l.c (__log10l): Likewise.
43199         * math/w_log2l.c (__log2l): Likewise.
43200         * math/w_logl.c (__logl): Likewise.
43201         * math/w_powl.c (__powl): Likewise.
43202         * math/w_remainderl.c (__remainderl): Likewise.
43203         * math/w_scalbl.c (sysv_scalbl): Likewise.
43204         * math/w_sinhl.c (__sinhl): Likewise.
43205         * math/w_sqrtl.c (__sqrtl): Likewise.
43206         * math/w_tgammal.c (__tgammal): Likewise.
43207         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43208         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43209         * math/libm-test.inc (acos_test): Add more tests.
43210         (acosh_test): Likewise.
43211         (asin_test): Likewise.
43212         (atanh_test): Likewise.
43213         (exp_test): Likewise.
43214         (exp10_test): Likewise.
43215         (exp2_test): Likewise.
43216         (expm1_test): Likewise.
43217         (lgamma_test): Likewise.
43218         (log_test): Likewise.
43219         (log10_test): Likewise.
43220         (log1p_test): Likewise.
43221         (log2_test): Likewise.
43222         (pow_test): Do not allow some spurious overflow exceptions.
43223         (sqrt_test): Add more tests.
43224         (tgamma_test): Likewise.
43225         (y0_test): Likewise.
43226         (y1_test): Likewise.
43227         (yn_test): Likewise.
43229 2012-03-27  Anton Blanchard  <anton@samba.org>
43231         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43232         MAP_HUGETLB.
43233         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43234         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43235         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43237 2012-03-27  David S. Miller  <davem@davemloft.net>
43239         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43241         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43242         have-as-vis3 check.
43244 2012-03-27  Andreas Jaeger  <aj@suse.de>
43246         * sysdeps/x86_64/elf/configure.in: Moved to ...
43247         * sysdeps/x86_64/configure.in: ... here.
43248         * sysdeps/x86_64/elf/start.S: Moved to ...
43249         * sysdeps/x86_64/start.S: ... here.
43250         * sysdeps/x86_64/elf/configure: Delete.
43252         * sysdeps/x86_64/configure.in: Merge contents from
43253         sysdeps/i386/configure.in (without i686 check).
43255         * sysdeps/i386/elf/Versions: Merge into ...
43256         * sysdeps/i386/Versions: ... this.
43257         * sysdeps/i386/elf/Versions: Delete file.
43258         * sysdeps/i386/elf/start.S: Moved to ...
43259         * sysdeps/i386/start.S: ...here.
43260         * sysdeps/i386/elf/configure.in: Merge into...
43261         * sysdeps/i386/configure.in: ...here.
43262         * sysdeps/i386/elf/configure.in: Delete file.
43263         * sysdeps/i386/elf/configure: Delete file.
43265         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43266         * debug/backtracesyms.c: ... here.
43267         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43268         * debug/backtracesymsfd.c: ... here.
43269         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43270         * sysdeps/generic/ifunc-sel.h: ... here.
43272         * sysdeps/unix/i386/start.c: Delete file.
43273         * sysdeps/unix/sparc/start.c: Delete file.
43274         * sysdeps/unix/start.c: Delete file.
43276         * sysdeps/sh/elf/configure.in: Moved to ...
43277         * sysdeps/sh/configure.in: ... here.
43278         * sysdeps/sh/elf/start.S: Moved to ...
43279         * sysdeps/sh/start.S: ... here.
43280         * sysdeps/sh/elf/configure: Delete file.
43282         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43283         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43284         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43285         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43286         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43287         * sysdeps/powerpc/powerpc64/start.S: here.
43288         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43289         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43290         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43291         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43292         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43294         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43295         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43296         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43297         * sysdeps/powerpc/powerpc32/start.S: ... here.
43298         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43299         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43300         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43302         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43303         * sysdeps/powerpc/ifunc-sel.h: ... here.
43304         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43305         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43307         * sysdeps/sparc/elf/configure.in: Moved to ...
43308         * sysdeps/sparc/configure.in: ... here.
43309         * sysdeps/sparc/elf/configure: Delete file.
43310         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43311         * sysdeps/sparc/sparc32/start.S: ... here.
43312         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43313         * sysdeps/sparc/sparc64/start.S: ... here.
43314         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43315         * sysdeps/sparc/sparc32/Makefile: ... this.
43316         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43317         * sysdeps/sparc/sparc64/Makefile: ... this.
43319         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43320         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43321         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43322         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43323         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43324         * sysdeps/s390/s390-32/setjmp.S: ... here.
43325         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43326         * sysdeps/s390/s390-32/configure.in: ... here.
43327         * sysdeps/s390/s390-32/elf/configure: Delete file.
43328         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43329         * sysdeps/s390/s390-32/start.S: ... here.
43331         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43332         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43333         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43334         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43335         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43336         * sysdeps/s390/s390-64/setjmp.S: ... here.
43337         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43338         * sysdeps/s390/s390-64/configure.in: ... here
43339         * sysdeps/s390/s390-64/elf/configure: Delete file.
43340         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43341         * sysdeps/s390/s390-64/start.S: ... here.
43342         * sysdeps/s390/s390-64/elf/configure: Delete.
43344         * configure.in: Remove support for elf directories in sysdeps.
43346         * configure: Regenerated.
43347         * sysdeps/i386/configure: Regenerated.
43348         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43349         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43350         * sysdeps/s390/s390-32/configure: Regenerated.
43351         * sysdeps/s390/s390-64/configure: Regenerated.
43352         * sysdeps/sh/configure: Regenerated.
43353         * sysdeps/sparc/configure: Regenerated.
43354         * sysdeps/x86_64/configure: Regenerated.
43356 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43360         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43361         denormal result into account.
43363 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43365         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43366         Reported by Allan McRae <allan@archlinux.org>.
43368 2012-03-23  Jeff Law  <law@redhat.com>
43370         * nss/getnssent.c (__nss_getent): Fix typo.
43372 2012-03-23  David S. Miller  <davem@davemloft.net>
43374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43376 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43378         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43379         to pad to uint64_t for each field.
43380         (dl_tls_index): Replace unsigned long with uint64_t.
43382 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43383         Paul Pluzhnikov  <ppluzhnikov@google.com>
43385         [BZ #6528]
43386         * grp/Makefile (otherlibs): Don't set it.
43387         * inet/Makefile (otherlibs): Likewise.
43388         * login/Makefile (otherlibs): Likewise.
43389         * nscd/Makefile (otherlibs): Likewise.
43390         * posix/Makefile (otherlibs): Likewise.
43391         * pwd/Makefile (otherlibs): Likewise.
43392         * rt/Makefile (otherlibs): Likewise.
43393         * sunrpc/Makefile (otherlibs): Likewise.
43394         * nss/Makefile (otherlibs): Likewise.
43395         Add libnss_files to routines and static-only-routines.
43396         ($(objpfx)getent): Remove rule.
43397         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43398         static-only-routines.
43400 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43402         [BZ #13892]
43403         * math/s_cexp.c: Include <float.h>.
43404         (__cexp): Handle exp result overflowing not necessarily
43405         overflowing both real and imaginary parts of result.
43406         * math/s_cexpf.c: Likewise.
43407         * math/s_cexpl.c: Likewise.
43408         * math/libm-test.inc (cexp_test): Add more tests.
43409         * sysdeps/i386/fpu/libm-test-ulps: Update.
43410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43412 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43414         * include/link.h (ELFW): New macro.
43415         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43416         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43418 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43420         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43421         with uint64_t.
43423 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43425         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43426         declaration.
43427         (struct La_x32_retval): Likewise.
43429 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43431         * sysdeps/x86_64/preconfigure.in: New file.
43432         * sysdeps/x86_64/preconfigure: New generated file.
43434 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43436         [BZ #13824]
43437         * math/e_exp2l.c: Include <float.h>.
43438         (__ieee754_exp2l): Handle overflow and underflow cases
43439         separately.  Only pass fractional part of argument to
43440         __ieee754_expl.
43441         * math/libm-test.inc (exp2_test): Add more tests.
43443         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43444         negating x to take absolute value.
43445         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43446         Likewise.
43447         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43448         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43449         Likewise.
43450         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43451         computing low part if x was negated.
43452         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43454 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43456         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43457         la_x32_gnu_pltexit.
43458         (pltexit): Cast int_retval to ptrdiff_t.
43459         * elf/tst-auditmod3b.c: Likewise.
43460         * elf/tst-auditmod4b.c: Likewise.
43461         * elf/tst-auditmod5b.c: Likewise.
43462         * elf/tst-auditmod6b.c: Likewise.
43463         * elf/tst-auditmod6c.c: Likewise.
43464         * elf/tst-auditmod7b.c: Likewise.
43466         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43467         and x32_gnu_pltexit.
43469         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43470         __ELF_NATIVE_CLASS.
43471         (La_x32_regs): New macro.
43472         (La_x32_retval): Likewise.
43473         (la_x32_gnu_pltenter): New function prototype.
43474         (la_x32_gnu_pltexit): Likewise.
43476 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43478         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43479         exponent.
43481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43483         * configure.in (libc_cv_cc_nofma): Check for option to disable
43484         generation of FMA instructions.
43485         * configure: Regenerate.
43486         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43487         * sysdeps/ieee754/dbl-64/Makefile: New file.
43488         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43489         Remove brandred-fma4.
43490         (CFLAGS-brandred-fma4.c): Remove.
43491         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43492         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43493         define.
43494         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43495         define.
43497 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43499         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43500         LLONG_MAX != LONG_MAX.
43501         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43502         (_fitoa_word): Likewise.
43503         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43504         LLONG_MAX != LONG_MAX.
43505         * stdio-common/_itowa.h: Include <_itoa.h>.
43506         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43507         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43508         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43509         only if not defined.
43510         (_ITOA_WORD_TYPE): Likewise.
43511         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43512         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43514 2012-03-21  David S. Miller  <davem@davemloft.net>
43516         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43518 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43520         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43521         of x86_64 when setting libc_cv_slibdir, libdir and
43522         libc_cv_localedir.
43523         * sysdeps/unix/sysv/linux/configure: Regenerated.
43525 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43527         * manual/lang.texi (Old Varargs): Remove section.
43528         (How Variadic): Update menu.
43529         (va_start): Do not mention varargs.h.
43531 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43532             Joseph Myers  <joseph@codesourcery.com>
43534         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43535         link test.
43536         * configure: Regenerated.
43538 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43540         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43541         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43542         conformtest.pl
43544 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43546         * NOTES: Remove.
43547         * Makefile (files-for-dist): Remove NOTES.
43548         (NOTES): Remove rule.
43549         * README: Don't refer to NOTES.
43550         * manual/creature.texi: Don't include macros.texi.
43551         * manual/intro.texi (creature.texi): Remove comment referring to
43552         NOTES.
43554         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43555         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43556         * configure: Regenerated.
43557         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43558         LIBC_TRY_CC_OPTION.
43559         (libc_cv_as_i686): Likewise.
43560         (libc_cv_cc_avx): Likewise.
43561         (libc_cv_cc_sse2avx): Likewise.
43562         (libc_cv_cc_fma4): Likewise.
43563         (libc_cv_cc_novzeroupper): Likewise.
43564         * sysdeps/i386/configure: Regenerated.
43566         [BZ #13883]
43567         * sysdeps/i386/fpu/s_cexp.S: Remove.
43568         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43569         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43570         * math/libm-test.inc (cexp_test): Add more tests.
43571         * sysdeps/i386/fpu/libm-test-ulps: Update.
43572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43574 2012-03-21  Allan McRae  <allan@archlinux.org>
43576         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43578 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43580         [BZ #13871]
43581         * math/w_exp2.c: Do not include <float.h>.
43582         (o_threshold, u_threshold): Remove.
43583         (__exp2): Calculate result before checking finiteness and calling
43584         __kernel_standard.
43585         * math/w_exp2f.c: Likewise.
43586         * math/w_exp2l.c: Likewise.
43587         * math/libm-test.inc (exp2_test): Require overflow exception for
43588         1e6 input.
43590         [BZ #3866]
43591         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43592         range of signed 64-bit integers before using fistpll.  Remove
43593         checks for whether integers fit in mantissa bits.
43594         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43595         the range of signed 32-bit integers before using fistpl.  Remove
43596         checks for whether integers fit in mantissa bits.
43597         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43598         (__ieee754_powl): Test for y outside the range of signed 64-bit
43599         integers before using fistpll.  Reduce 64-bit values to 63-bit
43600         ones as needed.
43601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43602         divide-by-zero is raised for zero to large negative powers.
43603         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43604         (__ieee754_powl): Test for y outside the range of signed 64-bit
43605         integers before using fistpll.  Reduce 64-bit values to 63-bit
43606         ones as needed.
43607         * math/libm-test.inc (pow_test): Add more tests.
43609 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43611         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43612         <stdio-common/_itoa.h>.
43613         * debug/segfault.c: Likewise.
43614         * elf/dl-cache.c: Likewise.
43615         * elf/dl-minimal.c: Likewise.
43616         * elf/dl-misc.c: Likewise.
43617         * elf/dl-sysdep.c: Likewise.
43618         * elf/dl-version.c: Likewise.
43619         * elf/rtld.c: Likewise.
43620         * hurd/hurdsock.c: Likewise.
43621         * hurd/lookup-retry.c: Likewise.
43622         * malloc/malloc.c: Likewise.
43623         * malloc/mtrace.c: Likewise.
43624         * nscd/nscd_getgr_r.c: Likewise.
43625         * nscd/nscd_getpw_r.c: Likewise.
43626         * nscd/nscd_getserv_r.c: Likewise.
43627         * posix/getopt_init.c: Likewise.
43628         * posix/wordexp.c: Likewise.
43629         * stdio-common/_itoa.c: Likewise.
43630         * stdio-common/printf_fphex.c: Likewise.
43631         * stdio-common/vfprintf.c: Likewise.
43632         * string/_strerror.c: Likewise.
43633         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43634         * sysdeps/i386/i686/hp-timing.h: Likewise.
43635         * sysdeps/mach/_strerror.c: Likewise.
43636         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43637         * sysdeps/mach/hurd/sethostid.c: Likewise.
43638         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43639         * sysdeps/mach/xpg-strerror.c: Likewise.
43640         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43642         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43643         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43644         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43645         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43646         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43647         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43648         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43649         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43650         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43651         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43652         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43653         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43654         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43655         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43656         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43657         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43658         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43659         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43660         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43662         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43664         * stdio-common/_itoa.h: Moved to ...
43665         * sysdeps/generic/_itoa.h: Here.
43667         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43669         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43670         instead of "_itoa.h" and "_itowa.h".
43671         * stdio-common/vfprintf.: Likewise.
43673 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43675         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43676         <bits/wordsize.h>.
43677         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43678         (__signbit): Likwise.
43679         (llrintf): Likwise.
43680         (llrint): Likwise.
43682 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43684         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43685         __WORDSIZE != 64.
43687 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43689         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43690         OVERFLOW_EXCEPTION_OK.
43691         * math/libm-test.inc ("Philosophy"): Update comment about
43692         exception testing.
43693         (OVERFLOW_EXCEPTION): Define.
43694         (OVERFLOW_EXCEPTION_OK): Likewise.
43695         (INVALID_EXCEPTION_OK): Renumber.
43696         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43697         (IGNORE_ZERO_INF_SIGN): Likewise.
43698         (test_exceptions): Handle FE_OVERFLOW.
43699         (exp10_test): Expect overflow exceptions.
43700         (exp2_test): Likewise.
43701         (expm1_test): Likewise.
43702         (nextafter_test): Likewise.
43703         (pow_test): Likewise.
43704         (scalbn_test): Likewise.
43705         (scalbln_test): Likewise.
43707 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43709         * sysdeps/x86_64/bits/atomic.h
43710         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43711         64bit integer.
43712         (atomic_exchange_acq): Likewise.
43713         (__arch_exchange_and_add_body): Likewise.
43714         (__arch_add_body): Likewise.
43715         (atomic_add_negative): Likewise.
43716         (atomic_add_zero): Likewise.
43718 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43720         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43721         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43723 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43725         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43726         Check __x86_64__ instead of __WORDSIZE.
43728 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43730         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43732 2012-03-19  David S. Miller  <davem@davemloft.net>
43734         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43736         * sysdeps/sparc/fpu/fenv_private.h: New file.
43737         * sysdeps/sparc/fpu/math_private.h: Use it.
43738         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43739         Remove.
43740         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43741         (libc_feholdexcept_setroundl): Remove.
43742         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43743         Remove.
43744         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43745         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43749         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43750         int64_t instead of long int.
43751         (INSERT_WORDS64): Likwise.
43753 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43755         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43756         _Unwind_GetCFA return to _Unwind_Ptr first.
43758 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
43760         [BZ #13629]
43761         * math/s_clog.c: Include <float.h>.
43762         (__clog): Scale large or subnormal inputs.
43763         * math/s_clogf.c: Likewise.
43764         * math/s_clogl.c: Likewise.
43765         * math/s_clog10.c: Include <float.h>.
43766         (M_LOG10_2): Define.
43767         (__clog10): Scale large or subnormal inputs.
43768         * math/s_clog10f.c: Likewise.
43769         * math/s_clog10l.c: Likewise.
43770         * math/libm-test.inc (clog_test): Add more tests.
43771         (clog10_test): Likewise.
43772         * sysdeps/i386/fpu/libm-test-ulps: Update.
43773         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43775         [BZ #11451]
43776         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43777         x and y.
43778         * math/libm-test.inc (atan2_test): Add another test.
43780         * Makerules (common-objdir-compile): Remove.
43781         * sysdeps/unix/Makefile (config-generated): Do not add
43782         $(unix-generated) to variable.
43783         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43784         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43785         Remove rule.
43786         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43787         Likewise.
43788         [generic bits/local_lim.h] (before-compile): Do not append to
43789         variable.
43790         [generic bits/local_lim.h] (common-generated): Likewise.
43791         [generic sys/param.h] (before-compile): Do not append to variable.
43792         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43793         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43794         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43795         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43796         include.
43797         [generic sys/param.h] (sys/param.h-includes): Remove variable.
43798         [generic sys/param.h] (sys/param.h-includes): Remove rule.
43799         [generic sys/param.h] ($(addprefix
43800         $(common-objpfx),$(sys/param.h-includes))): Likewise.
43801         [generic sys/param.h] (common-generated): Do not append to
43802         variable.
43803         [generic sys/param.h] (sysdep_headers): Likewise.
43804         [generic bits/errno.h] (before-compile): Do not append to
43805         variable.
43806         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43807         rule.
43808         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43809         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43810         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43811         [generic bits/errno.h] (common-generated): Do not append to
43812         variable.
43813         [generic bits/ioctls.h] (before-compile): Do not append to
43814         variable.
43815         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43816         rule.
43817         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43818         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43819         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43820         rule.
43821         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43822         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43823         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43824         [generic bits/ioctls.h] (common-generated): Do not append to
43825         variable.
43826         [generic sys/syscall.h] (syscall.h): Remove variable.
43827         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43828         rule.
43829         [generic sys/syscall.h] (before-compile): Do not append to
43830         variable.
43831         [generic sys/syscall.h] (common-generated): Likewise.
43832         * sysdeps/unix/errnos-tmpl.c: Remove file.
43833         * sysdeps/unix/errnos.awk: Likewise.
43834         * sysdeps/unix/ioctls-tmpl.c: Likewise.
43835         * sysdeps/unix/ioctls.awk: Likewise.
43836         * sysdeps/unix/mk-local_lim.c: Likewise.
43837         * sysdeps/unix/snarf-ioctls: Likewise.
43839 2012-03-19  Richard Henderson  <rth@twiddle.net>
43841         * sysdeps/i386/fpu/fenv_private.h: New file.
43842         * sysdeps/i386/fpu/math_private.h: Use it.
43843         (math_opt_barrier, math_force_eval): Remove.
43844         (libc_feholdexcept_setround_53bit): Remove.
43845         (libc_feupdateenv_53bit): Remove.
43846         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43847         (math_opt_barrier, math_force_eval): Remove.
43848         (libc_feholdexcept): Remove.
43849         (libc_feholdexcept_setround): Remove.
43850         (libc_fetestexcept, libc_fesetenv): Remove.
43851         (libc_feupdateenv_test): Remove.
43852         (libc_feupdateenv, libc_feholdsetround): Remove.
43853         (libc_feresetround): Remove.
43855         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43856         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43858         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43859         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43860         (libc_feupdateenv_testl): New.
43861         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43862         (libc_feupdateenv_testf): New.
43863         (libc_feupdateenv): Use libc_feupdateenv_test.
43864         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43865         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43867         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43868         (libc_feholdsetroundf, libc_feholdsetroundl): New.
43869         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43870         (libc_feresetround_noex): New.
43871         (libc_feresetround_noexf): New.
43872         (libc_feresetround_noexl): New.
43873         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43874         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43875         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43876         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43877         SET_RESTORE_ROUND.
43878         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43879         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43880         (__cos): Likewise.
43881         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43882         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43883         SET_RESTORE_ROUND_NOEX.
43884         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43885         SET_RESTORE_ROUND_NOEXF.
43886         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43887         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43888         (libc_feholdsetroundf): New.
43889         (libc_feresetround, libc_feresetroundf): New.
43891         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43892         (libc_feholdexcept_setround_53bit): Convert from macro to function.
43893         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
43895         * sysdeps/generic/math_private.h: Include <fenv.h>.
43896         (default_libc_feholdexcept): New.
43897         (default_libc_feholdexcept_setround): New.
43898         (default_libc_fesetenv, default_libc_feupdateenv): New.
43899         (libc_feholdexcept): Only define if undefined.
43900         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43901         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43902         (libc_feholdexcept_setroundl): Likewise.
43903         (libc_feholdexcept_setround_53bit): Likewise.
43904         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43905         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43906         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43907         (libc_feupdateenv_53bit): Likewise.
43908         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43909         (libc_feholdexcept): Convert from macro to inline function.
43910         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43911         (libc_fesetenv, libc_feupdateenv): Likewise.
43913         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43914         not previously defined.
43915         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43916         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43917         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43918         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43919         * sysdeps/ieee754/flt-32/math_private.h: New file.
43920         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43921         math_private.h below SET_FLOAT_WORD.
43922         (__isnan, __isinf_ns, __finite): Remove.
43923         (__isnanf, __isinf_nsf, __finitef): Remove.
43925 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
43927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43929 2012-03-17  David S. Miller  <davem@davemloft.net>
43931         [BZ #6471]
43932         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43933         for 2.16.
43935 2012-03-16  David S. Miller  <davem@davemloft.net>
43937         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43938         warnings.
43940         [BZ #6471]
43941         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43942         properly.
43943         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43944         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43945         sysdep_routines when subdir is sysvipc.
43946         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43947         __getshmlba helper.
43949         * sysdeps/sparc/fpu/libm-test/ulps: Update.
43951 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43953         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43954         [__LP64__].
43956 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43958         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43959         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43960         (__lround): Renamed to ...
43961         (__llround): This.  Replace long int with long long int.
43962         Define lround functions as aliases of llround functions.
43963         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43965 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43967         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43968         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
43969         adresses to uintptr_t.  Replace "long int" and "unsigned long
43970         int" with "greg_t" on va_arg.
43972 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43974         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43975         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43977         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43978         Move e_machine check before EI_CLASS check.  Handle x32
43979         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43980         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43981         SKIP_EM_IA_64 and include
43982         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43984         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43985         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43986         (add_system_dir): New macro.
43988         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43989         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43991 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43993         [BZ #2551]
43994         [BZ #2552]
43995         [BZ #2553]
43996         [BZ #2554]
43997         [BZ #2562]
43998         [BZ #2563]
43999         [BZ #2565]
44000         [BZ #2566]
44001         [BZ #2576]
44002         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44003         (y0): Likewise.
44004         * math/w_j0f.c (j0f): Likewise.
44005         (y0f): Likewise.
44006         * math/w_j0l.c (__j0l): Likewise.
44007         (__y0l): Likewise.
44008         * math/w_j1.c (j1): Likewise.
44009         (y1): Likewise.
44010         * math/w_j1f.c (j1f): Likewise.
44011         (y1f): Likewise.
44012         * math/w_j1l.c (__j1l): Likewise.
44013         (__y1l): Likewise.
44014         * math/w_jn.c (jn): Likewise.
44015         (yn): Likewise.
44016         * math/w_jnf.c (jnf): Likewise.
44017         (ynf): Likewise.
44018         * math/w_jnl.c (__jnl): Likewise.
44019         (__ynl): Likewise.
44020         * math/libm-test.inc (j0_test): Add more tests.
44021         (j1_test): Likewise.
44022         (jn_test): Likewise.  Add trailing semicolon to existing test.
44023         (y0_test): Likewise.
44024         (y1_test): Likewise.
44025         * sysdeps/i386/fpu/libm-test-ulps: Update.
44026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44028         [BZ #13851]
44029         [BZ #13854]
44030         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44031         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44032         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44033         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44034         (__tanl): Set errno for infinite argument.
44035         * sysdeps/i386/fpu/mptan.c: Remove.
44036         * sysdeps/i386/fpu/s_tan.S: Likewise.
44037         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44038         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44039         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44040         * math/libm-test.inc (tan_test): Add more tests and enable more
44041         tests for double and long double.
44042         * sysdeps/i386/fpu/libm-test-ulps: Update.
44043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44045 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44047         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44048         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44050 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44052         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44053         * configure.in: Use it for both main tree and add-ons.
44054         * configure: Regenerated.
44056 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44058         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44060 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44062         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44063         in comment.
44065         [BZ #13851]
44066         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44067         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44068         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44069         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44070         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44071         infinite argument.
44072         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44073         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44074         != 0 for prec == 2.
44075         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44076         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44077         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44078         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44079         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44080         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44081         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44082         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44083         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44084         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44085         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44086         * math/libm-test.inc (cos_test): Add more tests and enable more
44087         tests for long double.
44088         (sin_test): Likewise.
44089         (sincos_test): Likewise.
44090         * sysdeps/i386/fpu/libm-test-ulps: Update.
44091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44093 2012-03-16  David S. Miller  <davem@davemloft.net>
44095         * sysdeps/sparc/fpu/math_private.h: New file.
44097 2012-03-15  David S. Miller  <davem@davemloft.net>
44099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44100         file.
44101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44103         file.
44104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44109         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44110         sysdep routines.
44111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44113         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44114         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44116         * sysdeps/sparc/sparc-ifunc.h: New file.
44117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44118         sparc-ifunc.h
44119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44121         Likewise.
44122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44123         Likewise.
44124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44128         Likewise.
44129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44134         Likewise.
44135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44136         Likewise.
44137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44141         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44142         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44143         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44144         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44145         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44146         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44151         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44152         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44153         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44154         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44155         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44156         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44157         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44158         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44159         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44160         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44162 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44164         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44165         scaling.
44166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44168 2012-03-15  Andreas Jaeger  <aj@suse.de>
44170         [BZ #13852]
44171         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44172         ieee754/flt-32 implementation for sin, cos and sincos.
44173         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44174         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44175         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44176         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44177         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44178         ieee754/flt-32 implementation for tan.
44180         * math/libm-test.inc (cos_test): Enable some large input tests for
44181         float as well
44182         (sin_test): Likewise.
44183         (sincos_test): Likewise.
44184         (tan_test): Add tests for large input.
44186         * sysdeps/i386/fpu/libm-test-ulps: Update.
44188 2012-03-15  Andreas Jaeger  <aj@suse.de>
44190         [BZ #13658]
44191         * math/libm-test.inc (cos_test): Add more test cases.
44192         (sin_test): Likewise.
44193         (sincos_test): Likewise.
44195 2012-03-15  Andreas Jaeger  <aj@suse.de>
44197         [BZ #13837]
44198         * math/libm-test.inc (cos_test): Add a test case for large input
44199         value.
44200         (sin_test): Likewise.
44201         (sincos_test): Likewise.
44203 2012-03-15  Andreas Jaeger  <aj@suse.de>
44204             Joseph Myers  <joseph@codesourcery.com>
44206         [BZ #13658]
44207         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44208         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44209         * sysdeps/i386/fpu/branred.c: Likewise.
44210         * sysdeps/i386/fpu/dosincos.c: Likewise.
44211         * sysdeps/i386/fpu/mpa.c: Likewise.
44212         * sysdeps/i386/fpu/s_cos.S: Likewise.
44213         * sysdeps/i386/fpu/s_sin.S: Likewise.
44214         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44215         * sysdeps/i386/fpu/sincos32.c: Likewise.
44217         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44218         Define.
44219         (libc_feupdateenv_53bit): Define.
44220         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44221         Define.
44222         (libc_feupdateenv_53bit): Define.
44224         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44225         53 bit (without extend i386 double precision).
44227         * math/libm-test.inc (sincos_test): Add tests for large input.
44228         (sin): Likewise.
44229         (cos): Likewise.
44231         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44233 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44237 2012-03-15  David S. Miller  <davem@davemloft.net>
44239         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44240         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44241         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44242         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44243         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44246         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44247         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44248         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44249         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44250         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44251         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44252         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44253         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44255         file.
44256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44257         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44258         file.
44259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44261         file.
44262         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44264         file.
44265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44266         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44267         fmin/fmax sysdep routines.
44268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44270 2012-03-14  David S. Miller  <davem@davemloft.net>
44272         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44273         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44274         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44276         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44279         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44281         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44282         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44283         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44284         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44289         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44290         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44291         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44292         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44293         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44294         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44295         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44296         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44297         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44298         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44299         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44300         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44301         routines.
44302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44303         file.
44304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44306         file.
44307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44309         file.
44310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44312         file.
44313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44315         file.
44316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44318         file.
44319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44320         file.
44321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44322         file.
44323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44324         file.
44325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44326         New file.
44327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44328         file.
44329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44330         file.
44331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44333         file.
44334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44336         file.
44337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44339         file.
44340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44342         VIS3 routines.
44344         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44345         New file.
44347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44349         * sysdeps/sparc/configure.in: New file.
44350         * sysdeps/sparc/configure: Generate.
44351         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44352         * configure: Regenerate.
44353         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44354         * config.make.in (have-as-vis3): New.
44355         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44356         available use -Av9d instead of -Av9a.
44357         * sysdeps/sparc/sparc64/Makefile: Likewise.
44358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44360         New file.
44361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44362         file.
44363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44364         New file.
44365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44366         file.
44367         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44368         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44369         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44370         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44371         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44373         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44374         fzeros/fnegs to load 0x80000000 into a float register instead of
44375         using the stack.
44376         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44378 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44380         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44381         bits/syscall.h.
44382         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44383         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44384         ($(inst_includedir)/bits/syscall.h): Remove rule.
44385         ($(objpfx)bits/syscall.d): Include instead of
44386         $(objpfx)syscall-list.d.
44387         (generated): Change syscall-list.h and syscall-list.d to
44388         bits/syscall.h and bits/syscall.d.
44390 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44392         [BZ #13846]
44393         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44395 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44397         [BZ #13841]
44398         * math/s_csqrt.c: Include <float.h>.
44399         (__csqrt): Scale large or subnormal inputs.
44400         * math/s_csqrtf.c: Likewise.
44401         * math/s_csqrtl.c: Likewise.
44402         * math/libm-test.inc (csqrt_test): Add more tests.
44403         * sysdeps/i386/fpu/libm-test-ulps: Update.
44404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44406         [BZ #13840]
44407         * math/libm-test.inc (hypot_test): Add more tests.
44409 2012-03-13  David S. Miller  <davem@davemloft.net>
44411         [BZ #13840]
44412         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44413         double-precision for the calculation instead of scaling.
44415 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44417         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44418         manipulate bits before adding and subtracting TWO52[sx].
44419         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44420         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44421         Likewise.
44422         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44424 2012-03-13  David S. Miller  <davem@davemloft.net>
44426         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44427         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44428         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44429         rtld-global-offsets.h
44430         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44432         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44433         large parameters.
44435         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44437         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44438         'err' in the ifdef scope in which it is actually used.
44440         * nss/nss_db/db-init.c: Include string.h
44442 2012-03-12  David S. Miller  <davem@davemloft.net>
44444         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44445         masking out of the most significant byte of random value used.
44446         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44447         Fix coding style in previous change.
44449         * sysdeps/unix/sysv/linux/kernel-features.h
44450         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44451         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44452         expression.
44453         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44454         later.
44456 2012-03-11  David S. Miller  <davem@davemloft.net>
44458         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44459         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44460         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44461         for 'resultvar' otherwise things get truncated on 64-bit.
44463         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44464         Fix masking out of the most significant byte of random value used.
44466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44468 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44472 2012-03-09  David S. Miller  <davem@davemloft.net>
44474         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44475         variables with appropriate CPP guards.
44476         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44477         from the frame pointer, not the stack pointer.  Correct layout
44478         comments.  Fix test on resulting framesize and the management of
44479         the outregs buffer for pltexit.  Preserve floating point return
44480         values across _dl_call_pltexit call.
44481         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44482         framesize and the management of the outregs buffer for pltexit.
44483         Preserve floating point return values across _dl_call_pltexit
44484         call.
44485         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44486         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44487         (la_sparc64_gnu_pltexit): New functions.
44488         (print_exit): Fix format string for return register value.
44490 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44492         * sunrpc/Makefile (others): Add rpcgen.
44493         ($(objpfx)rpcgen): Remove special build rule and dependency on
44494         libc.
44495         * sunrpc/rpcgen.c: New file.
44497 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44499         [BZ #13673]
44500         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44501         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44502         * sysdeps/i386/crti.S: Likewise.
44503         * sysdeps/i386/crtn.S: Likewise.
44504         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44505         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44506         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44507         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44508         * sysdeps/sh/crti.S: Likewise.
44509         * sysdeps/sh/crtn.S: Likewise.
44510         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44512         [BZ #13673]
44513         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44514         with URL.
44515         * locale/programs/locfile-kw.gperf: Likewise.
44516         * locale/programs/charmap-kw.h: Regenerated.
44517         * locale/programs/locfile-kw.h: Likewise.
44519         [BZ #13673]
44520         * intl/plural.y: Replace FSF snail mail address with URL.
44521         * intl/plural.c: Regenerated.
44523 2012-03-09  Richard Henderson  <rth@twiddle.net>
44525         * include/math_private.h: Remove file.
44526         * math/math_private.h: Move file ...
44527         * sysdeps/generic/math_private.h: ... here.
44529         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44530         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44531         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44533         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44534         and <math_private.h>.
44535         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44536         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44537         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44538         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44539         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44540         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44541         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44542         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44543         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44544         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44545         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44546         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44547         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44548         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44549         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44550         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44551         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44552         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44553         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44554         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44555         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44556         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44557         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44558         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44559         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44560         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44561         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44562         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44563         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44565         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44566         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44567         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44568         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44569         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44570         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44571         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44572         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44573         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44574         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44575         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44576         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44577         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44578         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44579         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44580         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44581         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44582         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44583         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44584         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44585         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44586         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44587         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44588         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44589         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44590         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44591         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44592         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44593         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44594         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44595         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44596         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44598         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44599         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44600         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44601         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44602         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44603         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44604         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44605         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44606         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44607         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44608         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44609         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44610         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44611         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44612         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44613         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44614         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44615         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44616         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44617         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44618         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44619         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44620         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44621         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44622         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44623         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44624         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44625         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44626         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44627         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44628         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44629         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44630         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44631         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44632         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44633         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44634         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44635         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44636         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44637         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44638         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44639         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44640         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44641         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44642         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44643         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44644         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44645         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44646         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44647         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44648         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44649         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44650         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44651         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44652         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44653         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44654         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44655         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44656         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44657         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44658         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44659         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44660         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44661         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44662         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44663         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44664         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44665         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44666         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44667         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44668         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44669         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44670         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44671         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44672         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44673         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44674         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44675         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44676         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44677         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44678         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44679         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44680         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44681         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44682         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44683         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44684         * sysdeps/ieee754/k_standard.c: Likewise.
44685         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44686         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44687         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44688         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44689         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44690         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44691         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44692         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44693         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44694         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44695         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44696         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44697         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44698         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44699         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44700         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44701         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44702         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44703         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44704         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44705         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44706         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44707         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44708         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44709         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44710         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44711         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44712         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44713         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44714         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44715         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44716         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44717         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44718         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44719         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44720         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44721         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44722         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44723         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44724         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44725         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44726         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44727         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44728         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44729         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44730         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44731         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44732         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44733         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44734         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44735         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44736         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44737         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44738         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44739         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44740         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44741         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44742         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44743         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44744         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44745         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44746         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44747         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44748         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44749         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44750         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44751         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44752         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44753         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44754         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44755         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44756         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44757         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44758         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44759         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44760         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44761         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44762         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44763         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44764         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44765         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44766         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44767         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44768         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44769         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44770         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44771         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44772         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44773         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44774         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44775         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44776         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44777         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44778         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44779         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44780         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44781         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44782         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44783         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44784         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44785         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44786         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44787         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44788         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44789         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44790         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44791         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44792         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44793         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44794         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44795         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44796         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44797         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44798         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44799         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44800         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44801         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44802         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44803         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44804         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44805         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44806         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44807         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44808         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44809         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44810         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44811         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44812         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44813         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44814         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44815         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44816         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44817         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44818         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44819         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44820         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44821         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44822         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44823         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44824         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44825         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44826         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44827         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44828         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44829         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44830         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44831         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44832         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44833         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44834         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44835         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44836         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44837         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44838         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44839         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44840         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44841         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44842         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44843         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44844         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44845         * sysdeps/ieee754/s_lib_version.c: Likewise.
44846         * sysdeps/ieee754/s_matherr.c: Likewise.
44847         * sysdeps/ieee754/s_signgam.c: Likewise.
44848         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44849         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44850         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44851         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44852         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44853         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44854         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44855         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44856         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44857         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44858         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44859         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44860         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44861         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44862         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44863         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44864         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44865         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44866         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44867         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44868         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44870 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44872         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44873         * sunrpc/rpc_main.c: Likewise.
44874         * sunrpc/rpc_svcout.c: Likewise.
44876 2012-03-09  David S. Miller  <davem@davemloft.net>
44878         * include/math_private.h: New file.
44880 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44882         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44883         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44884         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44885         from <bits/socket_type.h>.
44886         (enum __socket_type): Don't define here.
44887         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44888         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44889         bits/socket_type.h.
44891         [BZ #13566]
44892         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44893         checking __USE_GNU.
44895         * Makerules ($(inst_includedir)/%.h): New rule.
44896         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44897         (install-others): Remove variable setting.
44898         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44900 2012-03-08  Richard Henderson  <rth@twiddle.net>
44902         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44903         from macro to inline function; merge with the
44904         !__LIBC_INTERNAL_MATH_INLINES version.
44905         (__ieee754_sqrtf): Likewise.
44907         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44908         to inline function.
44909         (__rintf, __floor, __floorf): Likewise.
44911         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44912         macro to inline function.
44913         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44915         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44916         not <math/math_private.h>.
44918 2012-03-08  David S. Miller  <davem@davemloft.net>
44920         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44921         copyright year.
44922         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44924 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
44926         * resolv/gai_misc.c (handle_requests): Fix struct timespec
44927         normalization.
44928         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44929         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44931 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
44933         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
44934         be defined individually, they must be defined as a block.  Define
44935         S for printing a string instead of hidint the different by using a
44936         macro for adding the 'l'.
44937         * stdio-common/tst-fphex-wide.c: Adjust.
44939 2012-03-07  Marek Polacek  <polacek@redhat.com>
44941         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44943 2012-03-08  Marek Polacek  <polacek@redhat.com>
44945         [BZ #13806]
44946         * stdio-common/Makefile (tests): Add tst-fphex-wide.
44947         * stdio-common/tst-fphex.c: Define a few macros to make the
44948         test reusable.  Use them.
44949         * stdio-common/tst-fphex-wide.c: New file.
44951 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
44953         [BZ #6911]
44954         * manual/macros.texi (gnusystems): New macro.
44955         (nongnusystems): Likewise.
44956         (gnulinuxhurdsystems): Likewise.
44957         (gnuhurdsystems): Likewise..
44958         (gnulinuxsystems): Likewise.
44959         * manual/charset.texi: Use new macros or @theglibc{} to refer to
44960         variants of the GNU system, not "GNU system".
44961         * manual/conf.texi: Likewise.
44962         * manual/errno.texi: Likewise.  Update example of errno macro
44963         expansion.
44964         * manual/filesys.texi: Likewise.
44965         (getumask): Document as specific to GNU/Hurd.
44966         * manual/install.texi: Likewise.  Reword some references to
44967         GNU/Linux.
44968         * manual/intro.texi: Likewise.
44969         * manual/io.texi: Likewise.
44970         (File Name Portability): Detail which constraints are inapplicable
44971         to all GNU systems and which are only inapplicable to GNU/Hurd.
44972         * manual/job.texi: Likewise.
44973         * manual/llio.texi: Likewise.
44974         (O_NOCTTY): Document as present on GNU/Linux.
44975         * manual/maint.texi: Likewise.
44976         * manual/memory.texi: Likewise.
44977         * manual/pattern.texi: Likewise.
44978         * manual/pipe.texi: Likewise.
44979         * manual/process.texi: Likewise.
44980         * manual/resource.texi: Likewise.
44981         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44982         child on GNU/Hurd.
44983         * manual/setjmp.texi: Likewise.
44984         * manual/signal.texi: Likewise.
44985         * manual/startup.texi: Likewise.
44986         * manual/stdio.texi: Likewise.
44987         * manual/terminal.texi: Likewise.
44988         (ONLCR): Document as POSIX.
44989         (OXTABS): Document availability on GNU/Linux as XTABS.
44990         (ONOEOT): Document availability separately from other bits.
44991         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44992         * manual/time.texi: Likewise.
44993         * manual/users.texi: Likewise.
44994         * INSTALL: Regenerated.
44995         * sysdeps/gnu/errlist.c: Regenerated.
44997         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44998         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44999         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45000         puts.
45001         * configure: Regenerated.
45003 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45005         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45006         default includes instead of AC_HEADER_CHECK.
45007         * sysdeps/i386/configure: Regenerated.
45009         [BZ #10716]
45010         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45011         * math/s_cacoshf.c (__cacoshf): Likewise.
45012         * math/s_cacoshl.c (__cacoshl): Likewise.
45013         * math/s_casinh.c (__casinh): Set signs of result from argument.
45014         * math/s_casinhf.c (__casinhf): Likewise.
45015         * math/s_casinhl.c (__casinhl): Likewise.
45016         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45017         (casinh_test): Add more tests.
45018         * sysdeps/i386/fpu/libm-test-ulps: Update.
45019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45021 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45023         * po/zh_TW.po: Update from translation team.
45025         * login/Makefile (distribute): Remove variable.
45026         * catgets/Makefile: Likewise.
45027         * mach/Makefile: Likewise.
45028         * malloc/Makefile: Likewise.
45029         * misc/Makefile: Likewise.
45030         * iconv/Makefile: Likewise.
45031         * nscd/Makefile: Likewise.
45032         * hurd/Makefile: Likewise.
45033         * manual/Makefile: Likewise.
45034         * locale/Makefile: Likewise.
45035         * intl/Makefile: Likewise.
45036         * conform/Makefile: Likewise.
45037         * nss/Makefile: Likewise.
45038         * time/Makefile: Likewise.
45039         * soft-fp/Makefile: Likewise.
45040         * dirent/Makefile: Likewise.
45041         * gmon/Makefile: Likewise.
45042         * po/Makefile: Likewise.
45043         * rt/Makefile: Likewise.
45044         * socket/Makefile: Likewise.
45045         * math/Makefile: Likewise.
45046         * signal/Makefile: Likewise.
45047         * debug/Makefile: Likewise.
45048         * elf/Makefile: Likewise.
45049         * timezone/Makefile: Likewise.
45050         * stdlib/Makefile: Likewise.
45051         * iconvdata/Makefile: Likewise.
45052         * sunrpc/Makefile: Likewise.
45053         * io/Makefile: Likewise.
45054         * argp/Makefile: Likewise.
45055         * inet/Makefile: Likewise.
45056         * hesiod/Makefile: Likewise.
45057         * grp/Makefile: Likewise.
45058         * csu/Makefile: Likewise.
45059         * wctype/Makefile: Likewise.
45060         * crypt/Makefile: Likewise.
45061         * libio/Makefile: Likewise.
45062         * string/Makefile: Likewise.
45063         * nis/Makefile: Likewise.
45064         * resolv/Makefile: Likewise.
45065         * stdio-common/Makefile: Likewise.
45066         * wcsmbs/Makefile: Likewise.
45067         * dlfcn/Makefile: Likewise.
45068         * posix/Makefile: Likewise.
45070         [BZ #6959]
45071         * timezone/Makefile: Don't install timezone files, just the programs
45072         and scripts.
45074 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45076         * nss/databases.def: Add missing gshadow entry.
45078         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45080 2012-03-06  Marek Polacek  <polacek@redhat.com>
45082         [BZ #13726]
45083         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45084         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45085         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45086         * stdio-common/tst-long-dbl-fphex.c: New file.
45088 2012-03-06  David S. Miller  <davem@davemloft.net>
45090         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45091         (set_obp_int): New function.
45092         (get_obp_int): New function.
45093         (__get_clockfreq_via_dev_openprom): Likewise.
45094         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45095         Avoid unused variable warnings on 'val' and use builtin_expect.
45096         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45097         __builtin_expect.
45098         (INLINE_CLONE_SYSCALL): Likewise.
45100 2012-03-05  David S. Miller  <davem@davemloft.net>
45102         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45104 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45108         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45109         only for |x| >= 40.
45110         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45112 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45114         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45115         Replace gettimeofday with __vdso_gettimeofday.
45117         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45118         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45119         __vdso_clock_gettime and __vdso_getcpu.
45121         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45122         time with __vdso_time.
45124 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45126         * manual/lang.texi (size_t): Note types to which size_t may be
45127         equivalent with the GNU C Library, but do not describe when
45128         differences between them are significant.
45130 2012-03-05  Andreas Jaeger  <aj@suse.de>
45132         * sysdeps/i386/fpu/libm-test-ulps: Update.
45134 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45136         [BZ #3976]
45137         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45138         (__ieee754_pow): Save and restore rounding mode and use
45139         round-to-nearest for main computations.
45140         * math/libm-test.inc (pow_test_tonearest): New function.
45141         (pow_test_towardzero): Likewise.
45142         (pow_test_downward): Likewise.
45143         (pow_test_upward): Likewise.
45144         (main): Call the new functions.
45145         * sysdeps/i386/fpu/libm-test-ulps: Update.
45146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45148         [BZ #3976]
45149         * math/libm-test.inc (cosh_test_tonearest): New function.
45150         (cosh_test_towardzero): Likewise.
45151         (cosh_test_downward): Likewise.
45152         (cosh_test_upward): Likewise.
45153         (sinh_test_tonearest): Likewise.
45154         (sinh_test_towardzero): Likewise.
45155         (sinh_test_downward): Likewise.
45156         (sinh_test_upward): Likewise.
45157         (main): Call the new functions.
45158         * sysdeps/i386/fpu/libm-test-ulps: Update.
45159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45161 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45163         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45164         default stack guard is set in last bytes.
45165         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45167 2012-03-05  Kees Cook  <keescook@chromium.org>
45169         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45171         [BZ #13656]
45172         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45173         possibly allocate from heap instead of stack.
45174         * stdio-common/bug-vfprintf-nargs.c: New file.
45175         * stdio-common/Makefile (tests): Add nargs overflow test.
45177 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45181 2012-03-03  Marek Polacek  <polacek@redhat.com>
45183         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45184         * math/math_private.h: Likewise.
45185         * stdlib/tst-strtod.c: Likewise.
45186         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45187         * sysdeps/x86_64/bits/atomic.h: Likewise.
45189 2012-03-02  David S. Miller  <davem@davemloft.net>
45191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45192         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45195         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45196         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45197         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45198         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45200 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45202         [BZ #13792]
45203         * manual/examples/README: New file, says the example source files
45204         can be used under GPL>=2.
45205         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45206         line containing just "*/".
45207         * manual/examples/add.c: Add copyright header (GPL>=2).
45208         * manual/examples/argp-ex1.c: Likewise.
45209         * manual/examples/argp-ex2.c: Likewise.
45210         * manual/examples/argp-ex3.c: Likewise.
45211         * manual/examples/argp-ex4.c: Likewise.
45212         * manual/examples/atexit.c: Likewise.
45213         * manual/examples/db.c: Likewise.
45214         * manual/examples/dir.c: Likewise.
45215         * manual/examples/dir2.c: Likewise.
45216         * manual/examples/execinfo.c: Likewise.
45217         * manual/examples/filecli.c: Likewise.
45218         * manual/examples/filesrv.c: Likewise.
45219         * manual/examples/fmtmsgexpl.c: Likewise.
45220         * manual/examples/genpass.c: Likewise.
45221         * manual/examples/inetcli.c: Likewise.
45222         * manual/examples/inetsrv.c: Likewise.
45223         * manual/examples/isockad.c: Likewise.
45224         * manual/examples/longopt.c: Likewise.
45225         * manual/examples/memopen.c: Likewise.
45226         * manual/examples/memstrm.c: Likewise.
45227         * manual/examples/mkfsock.c: Likewise.
45228         * manual/examples/mkisock.c: Likewise.
45229         * manual/examples/mygetpass.c: Likewise.
45230         * manual/examples/pipe.c: Likewise.
45231         * manual/examples/popen.c: Likewise.
45232         * manual/examples/rprintf.c: Likewise.
45233         * manual/examples/search.c: Likewise.
45234         * manual/examples/select.c: Likewise.
45235         * manual/examples/setjmp.c: Likewise.
45236         * manual/examples/sigh1.c: Likewise.
45237         * manual/examples/sigusr.c: Likewise.
45238         * manual/examples/stpcpy.c: Likewise.
45239         * manual/examples/strdupa.c: Likewise.
45240         * manual/examples/strftim.c: Likewise.
45241         * manual/examples/strncat.c: Likewise.
45242         * manual/examples/subopt.c: Likewise.
45243         * manual/examples/swapcontext.c: Likewise.
45244         * manual/examples/termios.c: Likewise.
45245         * manual/examples/testopt.c: Likewise.
45246         * manual/examples/testpass.c: Likewise.
45247         * manual/examples/timeval_subtract.c: Likewise.
45249         [BZ #13792]
45250         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45251         function to ...
45252         * manual/timeval_subtract.c.texi: ... here, new file.
45254 2012-03-02  David S. Miller  <davem@davemloft.net>
45256         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45258 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45260         [BZ #3976]
45261         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45262         (__sin): Save and restore rounding mode and use round-to-nearest
45263         for all computations.
45264         (__cos): Save and restore rounding mode and use round-to-nearest
45265         for all computations.
45266         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45267         <fenv.h>.
45268         (tan): Save and restore rounding mode and use round-to-nearest for
45269         all computations.
45270         * math/libm-test.inc (cos_test_tonearest): New function.
45271         (cos_test_towardzero): Likewise.
45272         (cos_test_downward): Likewise.
45273         (cos_test_upward): Likewise.
45274         (sin_test_tonearest): Likewise.
45275         (sin_test_towardzero): Likewise.
45276         (sin_test_downward): Likewise.
45277         (sin_test_upward): Likewise.
45278         (tan_test_tonearest): Likewise.
45279         (tan_test_towardzero): Likewise.
45280         (tan_test_downward): Likewise.
45281         (tan_test_upward): Likewise.
45282         (main): Call the new functions.
45283         * sysdeps/i386/fpu/libm-test-ulps: Update.
45284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45286         [BZ #10135]
45287         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45288         small n, then large n, before computing and testing k+n.
45289         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45290         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45291         Likewise.
45292         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45293         Likewise.
45294         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45295         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45296         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45297         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45298         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45299         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45300         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45301         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45302         * math/libm-test.inc (scalbn_test): Add more tests.
45303         (scalbln_test): Likewise.
45305         * manual/filesys.texi (mode_t): Describe constraints on size and
45306         signedness, not exact equivalence to a particular type.
45307         (ino_t): Likewise.
45308         (ino64_t): Likewise.
45309         (dev_t): Likewise.
45310         (nlink_t): Likewise.
45311         (blkcnt_t): Likewise.
45312         (blkcnt64_t): Likewise.
45313         * manual/llio.texi (off_t): Likewise.
45315         [BZ #3976]
45316         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45317         (__ieee754_exp): Save and restore rounding mode and use
45318         round-to-nearest for all computations.
45319         * math/libm-test.inc (exp_test_tonearest): New function.
45320         (exp_test_towardzero): Likewise.
45321         (exp_test_downward): Likewise.
45322         (exp_test_upward): Likewise.
45323         (main): Call the new functions.
45324         * sysdeps/i386/fpu/libm-test-ulps: Update.
45325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45327 2012-03-01  Chris Demetriou  <cgd@google.com>
45329         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45330         have predictable order.
45332 2012-03-01  David S. Miller  <davem@davemloft.net>
45334         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45336         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45337         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45338         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45339         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45341         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45342         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45343         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45345         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45346         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45347         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45348         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45349         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45351         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45353         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45354         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45355         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45357         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45358         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45359         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45360         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45361         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45362         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45363         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45364         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45365         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45366         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45367         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45368         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45369         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45370         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45371         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45372         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45373         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45374         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45375         * sysdeps/sparc/elf/configure: Regenerated.
45377 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45379         * configure.in (AS, LD): Require binutils 2.20 or later.
45380         * configure: Regenerated.
45381         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45382         as required minimum version.
45383         * INSTALL: Regenerated.
45385         [BZ #2541]
45386         [BZ #4108]
45387         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45388         before squaring exponent.
45389         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45390         bottom long double and 27 bits of top long double before squaring
45391         exponent.
45392         * math/libm-test.inc (erfc_test): Add more tests.
45393         * sysdeps/i386/fpu/libm-test-ulps: Update.
45394         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45397 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45399         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45400         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45401         containing bit-fields.
45402         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45403         * soft-fp/single.h (_FP_UNION_S): Likewise.
45404         * soft-fp/double.h (_FP_UNION_D): Likewise.
45406 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45408         [BZ #13786]
45409         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45410         not include ../strcmp.S.
45411         [USE_AS_STRNCASECMP_L]: Likewise.
45412         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45413         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45414         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45415         (__strncasecmp_l_ia32): Define as alias to
45416         __strncasecmp_l_nonascii.
45418         [BZ #5794]
45419         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45420         * sysdeps/i386/fpu/libm-test-ulps: Update.
45421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45423         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45426 2012-02-29  Jeff Law  <law@redhat.com>
45428         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45429         out of bounds read.
45431 2012-02-29  Marek Polacek  <polacek@redhat.com>
45433         [BZ #13706]
45434         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45435         * elf/Makefile: Add rules to run tst-unused-dep.out.
45437 2012-02-28  David S. Miller  <davem@davemloft.net>
45439         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45440         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45441         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45442         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45443         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45444         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45446 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45448         * math/libm-test.inc (llround_test): Move one test from
45449         lround_test.  Use TEST_f_L in moved test.
45450         (lround_test): Move misplaced test to llround_test.  Add testcase
45451         from bug 2561.
45453 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45455         * sysdeps/x86_64/fpu/e_expf.S: New file.
45456         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45458 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45460         [BZ #13637]
45461         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45462         of remain_len that may cause incomplete multi-byte character and
45463         false match.
45464         * posix/bug-regex33.c: New file.
45465         * posix/Makefile (tests): Add bug-regex33.
45467 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45469         * manual/macros.texi: New file.
45470         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45471         * manual/libc.texinfo: Include macros.texi.
45472         * manual/creatute.texi: Likewise.
45473         * manual/install.texi: Likewise.
45474         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45475         @glibcadj{} in references to the GNU C Library.
45476         * manual/charset.texi: Likewise.
45477         * manual/conf.texi: Likewise.
45478         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45479         when not using those macros.
45480         * manual/creature.texi: Likewise.
45481         * manual/crypt.texi: Likewise.
45482         * manual/errno.texi: Likewise.
45483         * manual/filesys.texi: Likewise.
45484         * manual/header.texi: Likewise.
45485         * manual/install.texi: Likewise.
45486         * manual/intro.texi: Likewise.
45487         * manual/io.texi: Likewise.
45488         * manual/job.texi: Likewise.
45489         * manual/lang.texi: Likewise.
45490         * manual/libc.texiinfo: Likewise.
45491         * manual/llio.texi: Likewise.
45492         * manual/locale.texi: Likewise.
45493         * manual/maint.texi: Likewise.
45494         * manual/math.texi: Likewise.
45495         * manual/memory.texi: Likewise.
45496         * manual/message.texi: Likewise.
45497         * manual/nss.texi: Likewise.
45498         * manual/pattern.texi: Likewise.
45499         * manual/process.texi: Likewise.
45500         * manual/resource.texi: Likewise.
45501         * manual/search.texi: Likewise.
45502         * manual/setjmp.texi: Likewise.
45503         * manual/signal.texi: Likewise.
45504         * manual/socket.texi: Likewise.
45505         * manual/startup.texi: Likewise.
45506         * manual/stdio.texi: Likewise.
45507         * manual/string.texi: Likewise.
45508         * manual/sysinfo.texi: Likewise.
45509         * manual/syslog.texi: Likewise.
45510         * manual/terminal.texi: Likewise.
45511         * manual/time.texi: Likewise.
45512         * manual/users.texi: Likewise.
45513         * INSTALL: Regenerated.
45514         * NOTES: Regenerated.
45515         * sysdeps/gnu/errlist.c: Regenerated.
45517 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45519         * include/dirent.h: Include <dirstream.h> before
45520         <dirent/dirent.h>.
45522 2012-02-28  David S. Miller  <davem@davemloft.net>
45524         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45525         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45526         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45527         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45529 2012-02-27  David S. Miller  <davem@davemloft.net>
45531         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45532         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45533         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45534         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45536         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45537         frame pointer instead of stack pointer relative arg slot.
45538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45539         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45540         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45542 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45544         [BZ #3992]
45545         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45547 2012-02-27  David S. Miller  <davem@davemloft.net>
45549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45553         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45554         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45555         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45556         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45558 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45560         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45561         later.  Allow versions 5-9.
45562         * configure: Regenerated.
45563         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45564         required minimum version and 4.6 as recommended version.  Do not
45565         mention bugs in GCC 2.7 and 2.8.
45566         * INSTALL: Regenerated.
45568 2012-02-27  David S. Miller  <davem@davemloft.net>
45570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45574         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45575         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45576         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45577         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45579         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45580         manipulate bits before adding and subtracting TWO112[sx].
45581         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45583 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45585         [BZ #13775]
45586         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45587         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45588         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45589         being in POSIX, because they are in 1003.1-2008.
45591         * rt/tst-aio.c: Include <fcntl.h>.
45592         * rt/tst-aio7.c: Likewise.
45593         * rt/tst-aio64.c: Likewise.
45595         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45597 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45599         * manual/install.texi (--with-headers): Describe headers as
45600         interface headers, not private headers.
45601         (Specific advice for GNU/Linux systems): Describe use of headers
45602         from "make headers_install", not private headers from older
45603         kernels.
45604         * INSTALL: Regenerated.
45605         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45606         Change to 2.6.19.
45607         * sysdeps/unix/sysv/linux/configure: Regenerated.
45609         * manual/llio.texi (fclean): Remove documentation.
45611         * manual/Makefile (libc-texi-generated): New variable.  Include
45612         version.texi.
45613         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45614         $(libc-texi-generated), not duplicated list of files.
45615         (version.texi, stamp-version): New rules.
45616         (realclean): Remove $(libc-texi-generated), not individual files
45617         from that list.  Do not remove dir-add.texinfo.
45618         * manual/libc.texinfo: Comment out uses of edition numbers and
45619         references to printed manual.  Remove last-updated dates.
45620         (EDITION): Comment out.
45621         (ISBN): Likewise.
45622         (VERSION, UPDATED): Remove.
45623         (version.texi): Include.
45625 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45627         * sysdeps/posix/spawni.c: Include <signal.h>.
45628         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45629         * sysdeps/pthread/aio_fsync.c: Likewise.
45631 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45633         * conform/Makefile (tests): Run only when not cross-compiling and
45634         when fast-check is not defined.
45636         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45637         * conform/data/limits.h-data: Fixes for POSIX2008.
45638         * conform/run-conformtest.sh: Run all tests.
45639         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45640         headers.
45641         * include/bits/dlfcn.h: Likewise.
45642         * include/langinfo.h: Likewise.
45643         * include/monetary.h: Likewise.
45644         * include/sys/poll.h: Likewise.
45646         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45647         for __USE_GNU.
45648         * posix/spawn.h: Define __need_sigset_t.
45649         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45650         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45651         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45652         to get sigevent_t only.
45653         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45654         only for __USE_GNU.
45655         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45656         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45657         process_vm_writev only for __USE_GNU.
45658         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45660         * conform/Makefile: For now ignore errors from run-conformtest.
45661         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45662         POSIX to avoid namespace pollution.  Don't prepend headers.
45663         * conform/data/aio.h-data: Fixes for POSIX testing.
45664         * conform/data/fcntl.h-data: Likewise.
45665         * conform/data/glob.h-data: Likewise.
45666         * conform/data/grp.h-data: Likewise.
45667         * conform/data/pthread.h-data: Likewise.
45668         * conform/data/pwd.h-data: Likewise.
45669         * conform/data/signal.h-data: Likewise.
45670         * conform/data/spawn.h-data: Likewise.
45671         * conform/data/stdio.h-data: Likewise.
45672         * conform/data/stdlib.h-data: Likewise.
45673         * conform/data/stropts.h-data: Likewise.
45674         * conform/data/sys/mman.h-data: Likewise.
45675         * conform/data/sys/stat.h-data: Likewise.
45676         * conform/data/sys/types.h-data: Likewise.
45677         * conform/data/sys/wait.h-data: Likewise.
45678         * conform/data/time.h-data: Likewise.
45679         * conform/data/unistd.h-data: Likewise.
45680         * conform/data/utime.h-data: Likewise.
45682         * io/sys/stat.h: fchmod was always in POSIX.
45683         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45684         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45685         * rt/aio.h: Define __need_timespec before including <time.h>.
45686         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45687         struct.  Add forward declaration of pthread_attr_t and use it in
45688         sigevent.
45689         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45691         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45692         always remove CLK_TCK definition.
45694 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45696         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45698 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45700         * conform/run-conformtest.sh: New file.
45701         * conform/Makefile: Run run-conformtest for tests.
45702         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45703         support.
45705         * conform/data/uchar.h-data: New file.
45706         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45707         * conform/data/arpa/inet.h-data: Likewise.
45708         * conform/data/assert.h-data: Likewise.
45709         * conform/data/complex.h-data: Likewise.
45710         * conform/data/cpio.h-data: Likewise.
45711         * conform/data/ctype.h-data: Likewise.
45712         * conform/data/dirent.h-data: Likewise.
45713         * conform/data/dlfcn.h-data: Likewise.
45714         * conform/data/errno.h-data: Likewise.
45715         * conform/data/fcntl.h-data: Likewise.
45716         * conform/data/float.h-data: Likewise.
45717         * conform/data/fmtmsg.h-data: Likewise.
45718         * conform/data/fnmatch.h-data: Likewise.
45719         * conform/data/ftw.h-data: Likewise.
45720         * conform/data/glob.h-data: Likewise.
45721         * conform/data/grp.h-data: Likewise.
45722         * conform/data/iconv.h-data: Likewise.
45723         * conform/data/inttypes.h-data: Likewise.
45724         * conform/data/langinfo.h-data: Likewise.
45725         * conform/data/libgen.h-data: Likewise.
45726         * conform/data/limits.h-data: Likewise.
45727         * conform/data/locale.h-data: Likewise.
45728         * conform/data/math.h-data: Likewise.
45729         * conform/data/monetary.h-data: Likewise.
45730         * conform/data/mqueue.h-data: Likewise.
45731         * conform/data/ndbm.h-data: Likewise.
45732         * conform/data/net/if.h-data: Likewise.
45733         * conform/data/netdb.h-data: Likewise.
45734         * conform/data/netinet/in.h-data: Likewise.
45735         * conform/data/nl_types.h-data: Likewise.
45736         * conform/data/poll.h-data: Likewise.
45737         * conform/data/pthread.h-data: Likewise.
45738         * conform/data/pwd.h-data: Likewise.
45739         * conform/data/regex.h-data: Likewise.
45740         * conform/data/sched.h-data: Likewise.
45741         * conform/data/search.h-data: Likewise.
45742         * conform/data/semaphore.h-data: Likewise.
45743         * conform/data/setjmp.h-data: Likewise.
45744         * conform/data/signal.h-data: Likewise.
45745         * conform/data/spawn.h-data: Likewise.
45746         * conform/data/stdarg.h-data: Likewise.
45747         * conform/data/stdio.h-data: Likewise.
45748         * conform/data/stdlib.h-data: Likewise.
45749         * conform/data/string.h-data: Likewise.
45750         * conform/data/strings.h-data: Likewise.
45751         * conform/data/stropts.h-data: Likewise.
45752         * conform/data/sys/ipc.h-data: Likewise.
45753         * conform/data/sys/mman.h-data: Likewise.
45754         * conform/data/sys/msg.h-data: Likewise.
45755         * conform/data/sys/resource.h-data: Likewise.
45756         * conform/data/sys/select.h-data: Likewise.
45757         * conform/data/sys/sem.h-data: Likewise.
45758         * conform/data/sys/shm.h-data: Likewise.
45759         * conform/data/sys/socket.h-data: Likewise.
45760         * conform/data/sys/stat.h-data: Likewise.
45761         * conform/data/sys/statvfs.h-data: Likewise.
45762         * conform/data/sys/time.h-data: Likewise.
45763         * conform/data/sys/timeb.h-data: Likewise.
45764         * conform/data/sys/times.h-data: Likewise.
45765         * conform/data/sys/types.h-data: Likewise.
45766         * conform/data/sys/uio.h-data: Likewise.
45767         * conform/data/sys/un.h-data: Likewise.
45768         * conform/data/sys/utsname.h-data: Likewise.
45769         * conform/data/sys/wait.h-data: Likewise.
45770         * conform/data/syslog.h-data: Likewise.
45771         * conform/data/tar.h-data: Likewise.
45772         * conform/data/termios.h-data: Likewise.
45773         * conform/data/utime.h-data: Likewise.
45774         * conform/data/utmpx.h-data: Likewise.
45775         * conform/data/varargs.h-data: Likewise.
45776         * conform/data/wchar.h-data: Likewise.
45777         * conform/data/wctype.h-data: Likewise.
45778         * conform/data/wordexp.h-data: Likewise.
45780         * include/stropts.h: New file.
45781         * include/uchar.h: New file.
45782         * include/aio.h: Changes to allow conformtest.pl to use the headers.
45783         * include/assert.h: Likewise.
45784         * include/ctype.h: Likewise.
45785         * include/dirent.h: Likewise.
45786         * include/dlfcn.h: Likewise.
45787         * include/fcntl.h: Likewise.
45788         * include/fnmatch.h: Likewise.
45789         * include/glob.h: Likewise.
45790         * include/grp.h: Likewise.
45791         * include/libio.h: Likewise.
45792         * include/locale.h: Likewise.
45793         * include/math.h: Likewise.
45794         * include/net/if.h: Likewise.
45795         * include/netdb.h: Likewise.
45796         * include/netinet/in.h: Likewise.
45797         * include/pthread.h: Likewise.
45798         * include/pwd.h: Likewise.
45799         * include/regex.h: Likewise.
45800         * include/sched.h: Likewise.
45801         * include/search.h: Likewise.
45802         * include/setjmp.h: Likewise.
45803         * include/signal.h: Likewise.
45804         * include/stdio.h: Likewise.
45805         * include/stdlib.h: Likewise.
45806         * include/string.h: Likewise.
45807         * include/sys/cdefs.h: Likewise.
45808         * include/sys/mman.h: Likewise.
45809         * include/sys/msg.h: Likewise.
45810         * include/sys/resource.h: Likewise.
45811         * include/sys/select.h: Likewise.
45812         * include/sys/socket.h: Likewise.
45813         * include/sys/stat.h: Likewise.
45814         * include/sys/statvfs.h: Likewise.
45815         * include/sys/time.h: Likewise.
45816         * include/sys/times.h: Likewise.
45817         * include/sys/uio.h: Likewise.
45818         * include/sys/utsname.h: Likewise.
45819         * include/sys/wait.h: Likewise.
45820         * include/termios.h: Likewise.
45821         * include/time.h: Likewise.
45822         * include/ulimit.h: Likewise.
45823         * include/unistd.h: Likewise.
45824         * include/utime.h: Likewise.
45825         * include/wchar.h: Likewise.
45826         * include/wctype.h: Likewise.
45827         * include/wordexp.h: Likewise.
45829         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45831         * time/time.h: TIME_UTC must be a macro.
45832         Make timespec_get available for ISO C11 only as well.
45834 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
45836         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45837         Reported by Peng Haitao <penght@cn.fujitsu.com>.
45839 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45841         * configure.in: Use -o not -a in test for unsupported multi-arch.
45843 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45845         * manual/texinfo.tex: Update to version 2012-01-19.16.
45847 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45849         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45851 2012-02-24  Roland McGrath  <roland@hack.frob.com>
45853         [BZ #13738]
45854         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45855         * manual/fdl-1.3.texi: New file.
45856         * manual/fdl-1.1.texi: File removed.
45858         [BZ #13738]
45859         * manual/libc.texinfo (FDL_VERSION): New @set.
45860         Use it for mention of FDL in cover text.
45861         (Documentation License): Use it in @include file name.
45863 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45864             Roland McGrath  <roland@hack.frob.com>
45866         [BZ #5461]
45867         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45868         (not LONG_LONG_MAX and LONG_LONG_MIN.
45869         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45870         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
45871         name.
45872         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45874 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45876         [BZ #2547]
45877         [BZ #11365]
45878         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45879         manipulate bits before adding and subtracting TWO23[sx].
45880         * math/libm-test.inc (nearbyint_test): Add more tests.
45882 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45884         [BZ #2548]
45885         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45886         bits before adding and subtracting TWO23[sx].
45887         * math/libm-test.inc (rint_test): Add more tests.
45888         (rint_test_tonearest): Likewise.
45889         (rint_test_towardzero): Likewise.
45890         (rint_test_downward): Likewise.
45891         (rint_test_upward: Likewise.
45893 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45895         [BZ #10110]
45896         * include/stdc-predef.h: New file.  Extracted from features.h.
45897         * include/features.h: Include stdc-predef.h.
45898         * Makefile (headers): Add stdc-predef.h.
45899         * CONFORMANCE (Compiler limitations): Update.
45901 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45903         * manual/libc.texinfo (VERSION, UPDATED): Revert.
45905 2012-02-21  David S. Miller  <davem@davemloft.net>
45907         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45908         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45910 2012-02-20  David S. Miller  <davem@davemloft.net>
45912         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45913         using a normal save/restore sequence, rather than allocating a
45914         dummy stack frame just to store a frame pointer and restore.
45915         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45917 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45919         * manual/install.texi: Fix stray word in line-wrapped comment.
45921 2012-02-20  David S. Miller  <davem@davemloft.net>
45923         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45924         both binutils and gcc support GOTDATA.
45926         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45927         "rd %pc" in the PIC register setup sequences.
45929         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45930         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45931         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45932         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45933         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45934         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45935         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45936         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45937         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45938         (SYSCALL_ERROR_HANDLER): Likewise.
45939         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45940         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45942         (SYSCALL_ERROR_HANDLER): Likewise.
45944         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45945         (HAVE_GCC_GOTDATA): New.
45946         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45947         relocation support in both binutils and gcc.
45948         * sysdeps/sparc/elf/configure: Regenerate.
45950         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45951         * sysdeps/sparc/sparc32/elf/configure: Delete.
45952         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45953         * sysdeps/sparc/sparc64/elf/configure: Delete.
45954         * sysdeps/sparc/elf/configure.in: New file.
45955         * sysdeps/sparc/elf/configure: Generate.
45957         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45958         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45959         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45960         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45961         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45963 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45965         * manual/install.texi: Do not mention specific glibc version
45966         numbers.
45967         * manual/libc.texinfo (VERSION, UPDATED): Update.
45968         (@copying): Use @copyright{} and range of years.
45970 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45972         [BZ #13695]
45973         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45974         [crti.S not in sysdirs] (generated): Do not append.
45975         [crti.S not in sysdirs] (omit-deps): Likewise.
45976         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45977         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45978         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45979         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45980         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45981         Likewise.
45982         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45983         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45984         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45985         * csu/defs.awk: Remove file.
45986         * sysdeps/generic/initfini.c: Likewise.
45987         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45988         variable.
45989         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45990         Likewise.
45992 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45994         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45995         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45996         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45997         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45998         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45999         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46000         <bits/epoll.h>.
46001         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46002         (__EPOLL_PACKED): Define to empty if not defined by
46003         <bits/epoll.h>.
46004         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46005         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46006         bits/epoll.h.
46008 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46010         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46011         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46012         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46013         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46014         <bits/timerfd.h>.
46015         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46017         bits/timerfd.h.
46019 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46021         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46022         in C locale.
46023         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46024         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46025         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46028 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46030         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46031         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46033 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46035         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46036         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46037         defined.
46038         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46039         Likewise.
46040         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46041         entry for 2.16.
46043 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46045         * math/w_acos.c: Use non-signaling floating-point comparisons.
46046         * math/w_acosf.c: Likewise.
46047         * math/w_acosh.c: Likewise.
46048         * math/w_acoshf.c: Likewise.
46049         * math/w_acoshl.c: Likewise.
46050         * math/w_acosl.c: Likewise.
46051         * math/w_asin.c: Likewise.
46052         * math/w_asinf.c: Likewise.
46053         * math/w_asinl.c: Likewise.
46054         * math/w_atanh.c: Likewise.
46055         * math/w_atanhf.c: Likewise.
46056         * math/w_atanhl.c: Likewise.
46057         * math/w_exp2.c: Likewise.
46058         * math/w_exp2f.c: Likewise.
46059         * math/w_exp2l.c: Likewise.
46060         * math/w_j0.c: Likewise.
46061         * math/w_j0f.c: Likewise.
46062         * math/w_j0l.c: Likewise.
46063         * math/w_j1.c: Likewise.
46064         * math/w_j1f.c: Likewise.
46065         * math/w_j1l.c: Likewise.
46066         * math/w_jn.c: Likewise.
46067         * math/w_jnf.c: Likewise.
46068         * math/w_log.c: Likewise.
46069         * math/w_log10.c: Likewise.
46070         * math/w_log10f.c: Likewise.
46071         * math/w_log10l.c: Likewise.
46072         * math/w_log2.c: Likewise.
46073         * math/w_log2f.c: Likewise.
46074         * math/w_log2l.c: Likewise.
46075         * math/w_logf.c: Likewise.
46076         * math/w_logl.c: Likewise.
46077         * math/w_sqrt.c: Likewise.
46078         * math/w_sqrtf.c: Likewise.
46079         * math/w_sqrtl.c: Likewise.
46080         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46081         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46082         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46083         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46084         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46086 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46088         [BZ #9739]
46089         * manual/string.texi (strnlen): Use correct parameter name in
46090         equivalent expression.
46092 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46094         [BZ #11174]
46095         * manual/users.texi (seteuid): Consistently use neweuid for
46096         argument name.
46098 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46100         [BZ #13704]
46101         * manual/nss.texi (Services in the NSS configuration): Correct
46102         list of services in example configuration file.
46104 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46106         [BZ #11322]
46107         * manual/arith.texi: Remove statements about negative zero
46108         behaving identically to zero.
46110 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46112         [BZ #5993]
46113         * manual/install.texi: Do not document upgrading from libc5.
46115 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46117         [BZ #4596]
46118         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46120 2012-02-18  David S. Miller  <davem@davemloft.net>
46122         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46123         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46124         %o7 across the call.
46125         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46126         instead.
46127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46128         SETUP_PIC_REG_LEAF.
46129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46130         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46131         * sysdeps/sparc/crtn.S: Likewise.
46133 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46135         * aout/Makefile: Remove.
46137 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46139         [BZ #13058]
46140         * manual/examples/argp-ex1.c (main): Format definition in GNU
46141         style.
46142         * manual/examples/argp-ex2.c (main): Likewise.
46143         * manual/examples/argp-ex3.c (main): Likewise.
46144         * manual/examples/argp-ex4.c (main): Likewise.
46145         * manual/examples/longopt.c (main): Use new-style prototype
46146         definition.
46147         * manual/examples/strncat.c (main): Specify return type and use
46148         (void) for arguments.
46149         * manual/examples/subopt.c (main): Use char **argv argument.
46151 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46153         [BZ #5077]
46154         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46155         rounding modes.
46157 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46159         [BZ #6907]
46160         * manual/string.texi (strchr): Change when strchrnul is
46161         recommended.
46163 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46165         [BZ #174]
46166         * manual/locale.texi (setlocale): Document LOCPATH.
46168 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46170         [BZ #10210]
46171         * manual/process.texi (execle): Move @dots{} before last argument.
46173 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46175         [BZ #12047]
46176         * manual/charset.texi (Generic Charset Conversion): Fix typo
46177         (LC_TYPE -> LC_CTYPE).
46179 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46181         [BZ #5805]
46182         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46183         (scalbnf): Likewise.
46184         (scalbnl): Likewise.
46185         (scalbln): Likewise.
46186         (scalblnf): Likewise.
46187         (scalblnl): Likewise.
46188         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46189         (vwarnx): Likewise.
46190         (verr): Likewise.
46191         (verrx): Likewise.
46192         * manual/filesys.texi (telldir): Use braces around return type.
46193         * manual/llio.texi (mmap): Add space after comma.
46194         (mmap64): Likewise.
46195         * manual/math.texi (jn): Use @var{} on parameter names.
46196         (jnf): Likewise.
46197         (jnl): Likewise.
46198         (yn): Likewise.
46199         (ynf): Likewise.
46200         (ynl): Likewise.
46201         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46202         line.
46203         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46204         "...".
46205         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46206         (sched_get_priority_max): Likewise.
46207         * manual/signal.texi (sigvec): Add space after comma.
46208         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46209         names.
46210         (if_indextoname): Likewise.
46211         (if_freenameindex): Likewise.
46212         (sendto): Use ',' instead of '.' in prototype.
46213         * manual/startup.texi (syscall): Use @dots{} instead of literal
46214         "...".
46215         * manual/stdio.texi (__fpending): Separate initial words of
46216         paragraph from @deftypefun line.
46217         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46218         "...".
46219         (vsyslog): Use @var{} on parameter names.
46220         * manual/terminal.texi (stty): Use @var{} on parameter names.
46221         * manual/users.texi (getutmp): Use @var{} on parameter names.
46222         (getutmpx): Likewise.
46224 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46226         [BZ #6884]
46227         * manual/stdio.texi (fopen): Fix typos in description of
46228         ",ccs=STRING".
46230 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46232         [BZ #4026]
46233         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46234         get clock_id definition.
46236 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46238         [BZ #4822]
46239         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46240         (madvise): Cast every argument to void on its own.
46242 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46244         [BZ #9902]
46245         * manual/startup.texi (Exit Status): Fix typo.
46247 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46249         [BZ #10140]
46250         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46251         * manual/examples/argp-ex2.c: Likewise.
46252         * manual/examples/argp-ex3.c: Likewise.
46254 2012-02-16  Richard Henderson  <rth@redhat.com>
46256         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46257         * sysdeps/s390/s390-32/initfini.c: Remove.
46258         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46259         * sysdeps/s390/s390-64/initfini.c: Remove.
46261 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46263         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46264         compiler output for sysdeps/generic/initfini.c.
46265         * sysdeps/sh/elf/initfini.c: Remove file.
46267 2012-02-16  David S. Miller  <davem@davemloft.net>
46269         [BZ #11494]
46270         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46272         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46273         * sysdeps/sparc/crti.S: New file.
46274         * sysdeps/sparc/crtn.S: New file.
46275         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46276         * sysdeps/sparc/sparc64/Makefile: Likewise.
46278 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46280         [BZ #3335]
46281         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46283 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46285         [BZ #4822]
46286         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46288         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46289         (write, read, close): Likewise.
46290         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46292 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46294         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46295         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46296         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46297         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46298         <bits/signalfd.h>.
46299         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46300         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46301         bits/signalfd.h.
46303 2012-02-14  Marek Polacek  <polacek@redhat.com>
46305         * sysdeps/x86_64/crti.S: New file.
46306         * sysdeps/x86_64/crtn.S: New file.
46307         * sysdeps/x86_64/elf/initfini.c: Remove file.
46309 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46311         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46312         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46313         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46314         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46315         <bits/inotify.h>.
46316         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46318         bits/inotify.h.
46320 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46322         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46323         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46324         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46325         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46326         <bits/eventfd.h>.
46327         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46329         bits/eventfd.h.
46331 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46333         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46334         __feraiseexcept instead of feraiseexcept.
46336         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46337         nanosleep invocations.
46338         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46339         strings, and add error checking for a nanosleep invocations.
46341 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46343         Replace FSF snail mail address with URLs, as per GNU coding standards.
46344         Most of the snail mail addresses were wrong anyway, and omitting
46345         them makes the source code easier to maintain.  Almost all of the
46346         changes are to license notices and to locale LC_IDENTIFICATION
46347         addresses, except for this one:
46348         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46349         not its snail mail address.
46351 2012-02-09  Richard Henderson  <rth@twiddle.net>
46353         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46354         of kernel-features.h.
46356         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46358 2012-02-08  Marek Polacek  <polacek@redhat.com>
46360         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46361         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46362         * sysdeps/gnu/_G_config.h: Likewise.
46363         * sysdeps/generic/_G_config.h: Likewise.
46365 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46367         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46368         tests.
46369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46371         * sysdeps/powerpc/powerpc32/crti.S: New file.
46372         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46373         * sysdeps/powerpc/powerpc64/crti.S: New file.
46374         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46376         * Makeconfig (have-initfini): Don't set.
46377         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46378         * configure.in (nopic_initfini): Don't substitute.
46379         * config.h.in (HAVE_INITFINI): Don't #undef.
46380         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46381         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46383 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46385         Support crti.S and crtn.S provided directly by architectures.
46386         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46387         [crti.S in sysdirs] (omit-deps): Likewise.
46388         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46389         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46390         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46391         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46392         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46393         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46394         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46395         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46396         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46397         compiler output for sysdeps/generic/initfini.c.
46398         * sysdeps/i386/elf/Makefile: Remove file.
46399         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46401 2012-02-07  Marek Polacek  <polacek@redhat.com>
46403         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46404         * sysdeps/gnu/_G_config.h: Likewise.
46405         * sysdeps/mach/hurd/_G_config.h: Likewise.
46407 2012-02-07  Marek Polacek  <polacek@redhat.com>
46409         * math/Makefile (tests): Add tst-CMPLX2.
46410         * math/tst-CMPLX2.c: New file.
46412 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46414         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46416         * math/libm-test.inc (jn_test): Add missing L suffix.
46418 2012-02-06  Marek Polacek  <polacek@redhat.com>
46420         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46421         * sysdeps/i386/fpu/e_powf.S: Likewise.
46422         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46423         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46424         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46425         * sysdeps/i386/fpu/e_pow.S: Likewise.
46426         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46427         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46428         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46429         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46430         * sysdeps/i386/fpu/e_log2.S: Likewise.
46431         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46432         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46433         * sysdeps/i386/fpu/e_powl.S: Likewise.
46434         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46435         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46436         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46437         * sysdeps/i386/fpu/e_logl.S: Likewise.
46438         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46439         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46440         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46441         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46442         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46443         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46444         * sysdeps/i386/fpu/e_log.S: Likewise.
46445         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46446         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46447         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46448         * sysdeps/i386/fpu/e_logf.S: Likewise.
46449         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46450         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46451         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46452         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46453         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46454         * sysdeps/i386/fpu/e_log10.S: Likewise.
46455         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46456         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46457         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46458         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46459         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46460         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46461         * sysdeps/i386/asm-syntax.h: Likewise.
46462         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46463         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46464         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46465         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46466         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46467         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46468         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46469         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46470         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46471         * sysdeps/powerpc/sysdep.h: Likewise.
46472         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46473         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46475 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46477         [BZ #411]
46478         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46480 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46482         * sysdeps/i386/sysdep.h: Include <features.h>.
46483         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46484         version.
46486 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46488         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46489         Define.
46490         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46491         LOAD_PIC_REG_STR.
46493 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46495         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46496         (SETUP_PIC_REG): Use GET_PC_THUNK.
46497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46498         macro.
46500 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46502         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46503         for non-PIC compilation.
46504         (SETUP_PIC_REG): Add .p2align directive.
46505         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46506         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46507         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46508         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46509         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46510         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46511         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46512         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46513         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46514         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46515         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46516         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46517         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46518         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46519         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46520         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46521         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46522         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46523         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46524         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46525         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46526         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46527         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46528         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46529         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46530         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46531         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46532         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46533         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46534         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46535         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46536         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46537         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46538         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46539         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46540         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46541         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46542         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46543         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46544         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46545         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46547 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46549         * math/tst-CMPLX.c: Include <stdio.h>.
46551 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46553         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46554         float.
46555         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46556         * sysdeps/sparc/bits/mathdef.h: Likewise.
46558 2012-01-31  Marek Polacek  <polacek@redhat.com>
46560         * libio/libio.h: Don't define _PARAMS.
46561         * locale/programs/config.h: Don't define PARAMS.
46562         * stdlib/strtol_l.c: Likewise.
46563         (__strtol_l): Remove PARAMS from the prototype.
46565 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46567         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46568         names.  Just use the correct names.  Remove unnecessary wrapper
46569         functions.
46570         * malloc/arena.c: Likewise.
46571         * malloc/hooks.c: Likewise.
46573         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46574         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46575         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46577 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46579         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46580         into tail calls.
46581         (update_get_addr): New function.
46582         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46583         GET_ADDR_MODULE parameter.
46585 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46587         * crypt/cert.c: Remove __STDC__ conditionals.
46588         * crypt/crypt-entry.c: Likewise.
46589         * crypt/crypt_util.c: Likewise.
46590         * libio/filedoalloc.c: Likewise.
46591         * libio/fileops.c: Likewise.
46592         * libio/genops.c: Likewise.
46593         * libio/iofclose.c: Likewise.
46594         * libio/iofdopen.c: Likewise.
46595         * libio/iofopen.c: Likewise.
46596         * libio/iofopen64.c: Likewise.
46597         * libio/iogetdelim.c: Likewise.
46598         * libio/iopopen.c: Likewise.
46599         * libio/obprintf.c: Likewise.
46600         * libio/oldfileops.c: Likewise.
46601         * libio/oldiofclose.c: Likewise.
46602         * libio/oldiofdopen.c: Likewise.
46603         * libio/oldiofopen.c: Likewise.
46604         * libio/oldiopopen.c: Likewise.
46605         * libio/wfiledoalloc.c: Likewise.
46606         * libio/wgenops.c: Likewise.
46607         * locale/programs/xmalloc.c: Likewise.
46608         * misc/syslog.c: Likewise.
46609         * stdio-common/xbug.c: Likewise.
46610         * string/memchr.c: Likewise.
46611         * string/memcmp.c: Likewise.
46612         * string/memrchr.c: Likewise.
46613         * string/rawmemchr.c: Likewise.
46614         * sysdeps/posix/getcwd.c: Likewise.
46615         * time/strftime_l.c: Likewise.
46617 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46619         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46620         * config.make.in (config-cflags-sse2avx): Define.
46621         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46622         Fix typo.
46624 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46626         * scripts/config.guess: Update from upstream config git repository.
46627         * scripts/config.sub: Likewise.
46629 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46631         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46632         (EM_NUM): Update.
46633         (R_TILEPRO_*, R_TILEGX_*): New macros.
46635         * scripts/firstversions.awk: Fix bug in version range handling.
46637         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46639         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46641         * include/sys/epoll.h: New file.
46642         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46643         libc_hidden_def.
46645 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46647         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46648         Avoid unnecessary __WORDSIZE == 64 test.
46649         (fmaxf): Use VEX format if possible.
46650         (fmax): Likewise.
46651         (fminf): Likewise.
46652         (fmin): Likewise.
46654         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46655         * math/math_private.h: Remove libc_fegetround* and
46656         libc_fesetround*.
46657         * sysdeps/i386/configure.in: Check for -msse2avx.
46658         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46659         also if SSE2AVX is defined.
46660         Remove libc_fegetround* and libc_fesetround*.
46661         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46662         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46663         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46664         of HAS_YMM_USABLE.
46665         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46666         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46667         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46668         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46669         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46671         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46673 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46675         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46676         size is not set.
46677         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46679 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46681         [BZ #13618]
46682         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46683         relocation.
46684         * Makeconfig (libm): Define.
46685         * elf/Makefile: Add rules to build and run tst-relsort1.
46686         * elf/tst-relsort1.c: New file.
46687         * elf/tst-relsort1mod1.c: New file.
46688         * elf/tst-relsort1mod2.c: New file.
46690 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46692         * math/s_ldexp.c: Remove __STDC__ conditionals.
46693         * math/s_ldexpf.c: Likewise.
46694         * math/s_ldexpl.c: Likewise.
46695         * math/s_nextafter.c: Likewise.
46696         * math/s_nexttowardf.c: Likewise.
46697         * math/s_significand.c: Likewise.
46698         * math/s_significandf.c: Likewise.
46699         * math/s_significandl.c: Likewise.
46700         * math/w_jnl.c: Likewise.
46701         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46702         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46703         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46704         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46705         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46706         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46707         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46708         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46709         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46710         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46711         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46712         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46713         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46714         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46715         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46716         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46717         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46718         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46719         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46720         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46721         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46722         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46723         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46724         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46725         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46726         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46727         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46728         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46729         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46730         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46731         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46732         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46733         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46734         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46735         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46736         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46737         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46738         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46739         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46740         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46741         * sysdeps/ieee754/k_standard.c: Likewise.
46742         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46743         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46744         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46745         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46746         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46747         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46748         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46749         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46750         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46751         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46752         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46753         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46754         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46755         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46756         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46757         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46758         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46759         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46760         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46761         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46762         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46763         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46764         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46765         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46766         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46767         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46768         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46769         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46771         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46772         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46773         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46774         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46775         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46776         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46777         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46778         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46779         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46780         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46781         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46782         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46783         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46784         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46785         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46786         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46787         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46788         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46789         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46790         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46791         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46792         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46793         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46794         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46795         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46796         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46797         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46798         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46799         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46800         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46801         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46802         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46803         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46804         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46805         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46806         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46807         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46808         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46809         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46810         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46811         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46812         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46813         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46814         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46815         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46816         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46817         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46818         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46819         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46820         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46821         * sysdeps/ieee754/s_matherr.c: Likewise.
46822         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46823         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46824         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46825         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46827 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46829         * crypt/md5.h: Remove __STDC__ conditionals.
46830         * libio/libioP.h: Likewise.
46831         * locale/programs/config.h: Likewise.
46832         * sysdeps/generic/sysdep.h: Likewise.
46833         * sysdeps/i386/asm-syntax.h: Likewise.
46834         * sysdeps/s390/asm-syntax.h: Likewise.
46835         * sysdeps/unix/sysdep.h: Likewise.
46836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46839 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46841         * libio/libio.h: Remove __STDC__ conditionals.
46842         * malloc/obstack.h: Likewise.
46843         * math/complex.h: Likewise.
46844         * math/math.h: Likewise.
46845         * sysdeps/generic/_G_config.h: Likewise.
46846         * sysdeps/gnu/_G_config.h: Likewise.
46847         * sysdeps/mach/hurd/_G_config.h: Likewise.
46848         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46849         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46850         * sysdeps/sparc/bits/mathdef.h: Likewise.
46852 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
46854         [BZ #13583]
46855         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46856         Clean up HAS_* macros.
46857         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46858         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46859         possible.
46860         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46861         HAS_AVX.
46862         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46863         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46864         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46865         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46866         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46868 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
46870         * elf/tst-unique3.cc (gets): Remove declaration.
46871         * elf/tst-unique3lib.cc (gets): Likewise.
46872         * elf/tst-unique3lib2.cc (gets): Likewise.
46873         * elf/tst-unique4.cc (gets): Likewise.
46875 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
46877         * include/stdio.h: Add C++ protection.  Add gets declarations and
46878         definitions.
46879         * debug/tst-chk1.c: Don't declare gets here.
46880         * stdio-common/tst-gets.c: Likewise.
46882 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46884         * posix/glob: Remove directory.
46886 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46888         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46890 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
46892         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46893         of the non-standard EPFNOSUPPORT.
46895 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46897         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46898         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46899         ANYWHERE set to 1 only on KERN_NO_SPACE error.
46901 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
46903         * wcsmbs/uchar.h: Test __STDC_VERSION__.
46905 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
46907         * nscd/aicache.c (addhstaiX): Do not cache negative results of
46908         transient errors.
46909         * nscd/grpcache.c (cache_addgr): Likewise.
46910         * nscd/hstcache.c (cache_addhst): Likewise.
46911         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46912         * nscd/pwdcache.c (cache_addpw): Likewise.
46913         * nscd/servicescache.c (cache_addserv): Likewise.
46915 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
46917         * malloc/malloc.c: Various cleanups.
46918         * malloc/hooks.c: Likewise.
46920         * stdlib/Makefile (tests): Add bug-fmtmsg1.
46921         * stdlib/bug-fmtmsg1.c: New file.
46923         * stdlib/fmtmsg.c (init): Add missing unlock.
46924         Patch by Peng Haitao <penght@cn.fujitsu.com>.
46926 2012-01-12  Marek Polacek  <polacek@redhat.com>
46928         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46929         and _GNU_SOURCE.
46931 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46933         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46934         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46935         macro to ensure uniqueness of label name.
46936         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46937         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46939 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
46941         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46943         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46944         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46945         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46946         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46948 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
46950         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46952         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46953         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46954         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46956         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46958         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46959         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46960         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46961         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46963         * math/bits/math-finite.h: Add ldexp support.
46965 2012-01-10  Marek Polacek  <polacek@redhat.com>
46967         * locale/programs/localedef.h (show_archive_content): Add noreturn
46968         attribute.
46970 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
46972         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46974 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46976         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46978         * io/Makefile (headers): Add bits/poll2.h.
46980 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46983         typo #include statement.
46985 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46987         * include/sys/cdefs.h: Define __attribute_alloc_size.
46988         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46989         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46990         * elf/pldd.c: Likewise.
46991         * iconv/iconv_charmap.c: Likewise.
46992         * iconv/iconvconfig.c: Likewise.
46993         * iconv/strtab.c: Likewise.
46994         * locale/programs/locale.c: Likewise.
46995         * locale/programs/localedef.h: Likewise.
46996         * locale/programs/simple-hash.c: Likewise.
46997         * nscd/nscd.h: Likewise.
46998         * nss/makedb.c: Likewise.
46999         * sysdeps/generic/ldconfig.h: Likewise.
47000         * locale/programs/localedef.c: Remove xmalloc prototype.
47001         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47003 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47005         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47006         appropriate.
47008 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47010         * math/Makefile (tests): Add tst-CMPLX.
47011         * math/tst-CMPLX.c: New file.
47013         * math/complex.h (CMPLXL): Fix typo.
47015         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47016         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47017         GLIBC_2.16.
47018         * debug/tst-chk1.c: Add poll and ppoll tests.
47019         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47020         * include/sys/poll.h: Add hidden proto for ppoll.
47021         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47022         * sysdeps/mach/hurd/ppoll.c: Likewise.
47023         * io/ppoll.c: Likewise.
47024         * debug/poll_chk.c: New file.
47025         * debug/ppoll_chk.c: New file.
47026         * include/bits/poll2.h: New file.
47027         * io/bits/poll2.h: New file.
47029         [BZ #1350]
47030         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47032         * configure.in: static is always set to yes.  Remove.
47033         * config.make.in: Don't set build-static.
47034         * Makeconfig: Remove use of build-static.
47035         * dlfcn/Makefile: Likewise.
47036         * elf/Makefile: Likewise.
47037         * math/Makefile: Likewise.
47038         * misc/Makefile: Likewise.
47039         * nptl/Makefile: Likewise.
47040         * sysdeps/mach/hurd/Makefile: Likewise.
47042         * configure.in: PWD_P is not used anymore.
47043         * config.make.in: Remove PWD_P entry.
47045         * configure.in: Remove last remnants of RANLIB.
47046         No need to check for signed size_t anymore.
47047         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47048         and IA-64.
47049         Remove __builtin_expect test because we require at least gcc 3.4.
47050         * aclocal.m4: Likewise.
47052         * wcsmbs/mbrtoc16.c: Implement using towc function.
47053         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47054         * wcsmbs/wcsmbsload.c: Likewise.
47055         * iconv/gconv_simple.c: Likewise.
47056         * iconv/gconv_int.h: Likewise.
47057         * iconv/gconv_builtin.h: Likewise.
47058         * iconv/iconv_prog.c: Remove CHAR16 handling.
47060         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47062         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47064         * configure.in: Remove --with-elf and --enable-bounded options.
47065         Dont set base_machine for ia64.  More non-ELF conditions removed.
47066         Remove testing and setting of leading underscore information.
47067         * config.make.in (build-bounded): Set to no.
47068         * config.h.in: Remove NO_UNDERSCORES entry.
47069         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47070         them.
47071         * csu/start.c: Remove !NO_UNDERSCORE code.
47072         * locale/localeinfo.h: Likewise.
47073         * sysdeps/generic/machine-gmon.h: Likewise.
47074         * sysdeps/generic/sysdep.h: Likewise.
47075         * sysdeps/i386/sysdep.h: Likewise.
47076         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47077         * sysdeps/mach/sysdep.h: Likewise.
47078         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47079         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47080         * sysdeps/sh/sysdep.h: Likewise.
47081         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47082         * sysdeps/unix/i386/sysdep.S: Likewise.
47083         * sysdeps/unix/sparc/start.c: Likewise.
47084         * sysdeps/unix/sparc/sysdep.S: Likewise.
47085         * sysdeps/unix/sparc/sysdep.h: Likewise.
47086         * sysdeps/unix/start.c: Likewise.
47087         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47088         * sysdeps/x86_64/sysdep.h: Likewise.
47090 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47092         [BZ #13553]
47093         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47094         for non-gcc.
47095         * argp/argp-fmtstream.h: Use const instead __const.
47096         * argp/argp.h: Likewise.
47097         * assert/assert.h: Likewise.
47098         * bits/fenv.h: Likewise.
47099         * bits/sched.h: Likewise.
47100         * bits/sigset.h: Likewise.
47101         * bits/sigthread.h: Likewise.
47102         * catgets/nl_types.h: Likewise.
47103         * conform/data/pthread.h-data: Likewise.
47104         * crypt/crypt-private.h: Likewise.
47105         * crypt/crypt.h: Likewise.
47106         * crypt/crypt_util.c: Likewise.
47107         * ctype/ctype.h: Likewise.
47108         * debug/execinfo.h: Likewise.
47109         * debug/mbsnrtowcs_chk.c: Likewise.
47110         * debug/mbsrtowcs_chk.c: Likewise.
47111         * debug/wcsnrtombs_chk.c: Likewise.
47112         * debug/wcsrtombs_chk.c: Likewise.
47113         * debug/wcstombs_chk.c: Likewise.
47114         * dirent/dirent.h: Likewise.
47115         * dlfcn/dlfcn.h: Likewise.
47116         * elf/neededtest4.c: Likewise.
47117         * grp/grp.h: Likewise.
47118         * gshadow/gshadow.h: Likewise.
47119         * iconv/gconv.h: Likewise.
47120         * iconv/gconv_int.h: Likewise.
47121         * iconv/gconv_simple.c: Likewise.
47122         * iconv/iconv.h: Likewise.
47123         * iconv/loop.c: Likewise.
47124         * iconv/skeleton.c: Likewise.
47125         * include/aio.h: Likewise.
47126         * include/aliases.h: Likewise.
47127         * include/argz.h: Likewise.
47128         * include/arpa/inet.h: Likewise.
47129         * include/assert.h: Likewise.
47130         * include/dirent.h: Likewise.
47131         * include/dlfcn.h: Likewise.
47132         * include/execinfo.h: Likewise.
47133         * include/fcntl.h: Likewise.
47134         * include/fenv.h: Likewise.
47135         * include/glob.h: Likewise.
47136         * include/grp.h: Likewise.
47137         * include/libintl.h: Likewise.
47138         * include/mntent.h: Likewise.
47139         * include/netdb.h: Likewise.
47140         * include/pwd.h: Likewise.
47141         * include/rpc/netdb.h: Likewise.
47142         * include/sched.h: Likewise.
47143         * include/search.h: Likewise.
47144         * include/shadow.h: Likewise.
47145         * include/signal.h: Likewise.
47146         * include/stdio.h: Likewise.
47147         * include/stdlib.h: Likewise.
47148         * include/string.h: Likewise.
47149         * include/sys/socket.h: Likewise.
47150         * include/sys/stat.h: Likewise.
47151         * include/sys/statfs.h: Likewise.
47152         * include/sys/statvfs.h: Likewise.
47153         * include/sys/syslog.h: Likewise.
47154         * include/sys/time.h: Likewise.
47155         * include/sys/uio.h: Likewise.
47156         * include/time.h: Likewise.
47157         * include/unistd.h: Likewise.
47158         * include/utmp.h: Likewise.
47159         * include/wchar.h: Likewise.
47160         * include/wctype.h: Likewise.
47161         * inet/aliases.h: Likewise.
47162         * inet/arpa/inet.h: Likewise.
47163         * inet/netinet/ether.h: Likewise.
47164         * inet/netinet/in.h: Likewise.
47165         * intl/libintl.h: Likewise.
47166         * io/bits/fcntl2.h: Likewise.
47167         * io/fcntl.h: Likewise.
47168         * io/ftw.h: Likewise.
47169         * io/sys/poll.h: Likewise.
47170         * io/sys/stat.h: Likewise.
47171         * io/sys/statfs.h: Likewise.
47172         * io/sys/statvfs.h: Likewise.
47173         * io/utime.h: Likewise.
47174         * libio/bits/stdio.h: Likewise.
47175         * libio/bits/stdio2.h: Likewise.
47176         * libio/libio.h: Likewise.
47177         * libio/libioP.h: Likewise.
47178         * libio/stdio.h: Likewise.
47179         * locale/lc-ctype.c: Likewise.
47180         * locale/locale.h: Likewise.
47181         * login/utmp.h: Likewise.
47182         * malloc/arena.c: Likewise.
47183         * malloc/malloc.c: Likewise.
47184         * malloc/malloc.h: Likewise.
47185         * malloc/mcheck.c: Likewise.
47186         * malloc/mtrace.c: Likewise.
47187         * math/bits/mathcalls.h: Likewise.
47188         * math/fenv.h: Likewise.
47189         * math/math_private.h: Likewise.
47190         * misc/bits/error.h: Likewise.
47191         * misc/bits/syslog.h: Likewise.
47192         * misc/err.h: Likewise.
47193         * misc/error.h: Likewise.
47194         * misc/fstab.h: Likewise.
47195         * misc/mntent.h: Likewise.
47196         * misc/regexp.h: Likewise.
47197         * misc/search.h: Likewise.
47198         * misc/sgtty.h: Likewise.
47199         * misc/sys/mman.h: Likewise.
47200         * misc/sys/syslog.h: Likewise.
47201         * misc/sys/uio.h: Likewise.
47202         * misc/sys/xattr.h: Likewise.
47203         * misc/ttyent.h: Likewise.
47204         * nis/rpcsvc/ypclnt.h: Likewise.
47205         * nss/nss.h: Likewise.
47206         * posix/bits/unistd.h: Likewise.
47207         * posix/fnmatch.h: Likewise.
47208         * posix/glob.h: Likewise.
47209         * posix/sched.h: Likewise.
47210         * posix/spawn.h: Likewise.
47211         * posix/sys/wait.h: Likewise.
47212         * posix/unistd.h: Likewise.
47213         * posix/wordexp.h: Likewise.
47214         * pwd/pwd.h: Likewise.
47215         * resolv/netdb.h: Likewise.
47216         * resource/sys/resource.h: Likewise.
47217         * rt/aio.h: Likewise.
47218         * rt/bits/mqueue2.h: Likewise.
47219         * rt/mqueue.h: Likewise.
47220         * shadow/shadow.h: Likewise.
47221         * signal/signal.h: Likewise.
47222         * socket/send.c: Likewise.
47223         * socket/sendto.c: Likewise.
47224         * socket/sys/socket.h: Likewise.
47225         * stdio-common/printf.h: Likewise.
47226         * stdlib/bits/stdlib.h: Likewise.
47227         * stdlib/fmtmsg.h: Likewise.
47228         * stdlib/monetary.h: Likewise.
47229         * stdlib/stdlib.h: Likewise.
47230         * stdlib/ucontext.h: Likewise.
47231         * streams/stropts.h: Likewise.
47232         * string/argz.h: Likewise.
47233         * string/bits/string2.h: Likewise.
47234         * string/string.h: Likewise.
47235         * string/strings.h: Likewise.
47236         * sunrpc/rpc/auth.h: Likewise.
47237         * sunrpc/rpc/auth_des.h: Likewise.
47238         * sunrpc/rpc/clnt.h: Likewise.
47239         * sunrpc/rpc/netdb.h: Likewise.
47240         * sunrpc/rpc/pmap_clnt.h: Likewise.
47241         * sunrpc/rpc/xdr.h: Likewise.
47242         * sysdeps/generic/inttypes.h: Likewise.
47243         * sysdeps/generic/net/if.h: Likewise.
47244         * sysdeps/generic/sys/swap.h: Likewise.
47245         * sysdeps/gnu/net/if.h: Likewise.
47246         * sysdeps/gnu/utmpx.h: Likewise.
47247         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47248         * sysdeps/i386/i486/bits/string.h: Likewise.
47249         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47250         * sysdeps/s390/bits/string.h: Likewise.
47251         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47252         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47253         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47254         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47255         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47256         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47257         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47258         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47259         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47260         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47261         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47262         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47263         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47264         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47265         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47266         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47267         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47268         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47269         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47270         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47271         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47272         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47273         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47274         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47275         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47276         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47277         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47278         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47279         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47280         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47281         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47282         * sysvipc/sys/ipc.h: Likewise.
47283         * sysvipc/sys/msg.h: Likewise.
47284         * sysvipc/sys/sem.h: Likewise.
47285         * sysvipc/sys/shm.h: Likewise.
47286         * termios/termios.h: Likewise.
47287         * time/sys/time.h: Likewise.
47288         * time/time.h: Likewise.
47289         * wcsmbs/bits/wchar2.h: Likewise.
47290         * wcsmbs/uchar.h: Likewise.
47291         * wcsmbs/wchar.h: Likewise.
47292         * wctype/wctype.h: Likewise.
47294         [BZ #13551]
47295         * Makeconfig: Remove all but ELF support including AIX support.
47296         * Makerules: Likewise.
47297         * config.h.in: Likewise.
47298         * config.make.in: Likewise.
47299         * configure: Likewise.
47300         * configure.in: Likewise.
47301         * csu/Makefile: Likewise.
47302         * csu/version.c: Likewise.
47303         * debug/Makefile: Likewise.
47304         * dlfcn/Makefile: Likewise.
47305         * elf/Makefile: Likewise.
47306         * extra-lib.mk: Likewise.
47307         * iconv/Makefile: Likewise.
47308         * include/libc-symbols.h: Likewise.
47309         * include/shlib-compat.h: Likewise.
47310         * resolv/Makefile: Likewise.
47311         * resolv/res_libc.c: Likewise.
47312         * rt/Makefile: Likewise.
47313         * sysdeps/i386/asm-syntax.h: Likewise.
47314         * sysdeps/i386/sysdep.h: Likewise.
47315         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47316         * sysdeps/mach/sysdep.h: Likewise.
47317         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47318         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47319         * sysdeps/s390/asm-syntax.h: Likewise.
47320         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47321         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47322         * sysdeps/sh/sysdep.h: Likewise.
47323         * sysdeps/unix/sparc/sysdep.h: Likewise.
47324         * sysdeps/wordsize-32/divdi3.c: Likewise.
47325         * sysdeps/x86_64/sysdep.h: Likewise.
47327         * argp/Versions: Remove _argp_unlock_xxx.
47329         [BZ #13559]
47330         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47331         * abilist/libBrokenLocale.abilist: Likewise.
47332         * abilist/libanl.abilist: Likewise.
47333         * abilist/libc.abilist: Likewise.
47334         * abilist/libcrypt.abilist: Likewise.
47335         * abilist/libdl.abilist: Likewise.
47336         * abilist/libm.abilist: Likewise.
47337         * abilist/libnsl.abilist: Likewise.
47338         * abilist/libpthread.abilist: Likewise.
47339         * abilist/libresolv.abilist: Likewise.
47340         * abilist/librt.abilist: Likewise.
47341         * abilist/libthread_db.abilist: Likewise.
47342         * abilist/libutil.abilist: Likewise.
47343         * abilist/libnss_db.abilist: New file.
47345         * scripts/abilist.awk: Add support for indirect functions.
47347         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47349         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47351         * shlib-versions: Remove entries for ports architectures.
47353         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47354         files in ports.
47355         * elf/stackguard-macros.h: Remove support for IA-64.
47356         * elf/tst-auditmod1.c: Likewise.
47357         * sysdeps/generic/ldsodefs.h: Likewise.
47359         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47360         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47361         configure files.
47363         [BZ #13552]
47364         * configure.in: Remove --enable-omitfp support.
47365         * FAQ.in: Adjust.
47366         * config.make.in: Likewise.
47367         * Makeconfig: Likewise.
47368         * manual/install.texi: Likewise.
47370         In case anyone cares, the IA-64 architecture could move to ports.
47371         * sysdeps/ia64/*: Removed.
47372         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47373         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47375         [BZ #13555]
47376         * configure.in: Remove entries for unsupported architectures.
47378         [BZ #13533]
47379         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47380         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47381         routines.
47382         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47383         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47384         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47385         fall back to using wcrtomb.
47386         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47387         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47388         renaming.
47389         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47390         * wcsmbs/tst-c16c32-1.c: New file.
47392         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47393         local variable.
47395         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47397         * elf/tst-unique3.cc: Add explicit declaration of gets.
47398         * elf/tst-unique3lib.cc: Likewise.
47399         * elf/tst-unique3lib2.cc: Likewise.
47400         * elf/tst-unique4.cc: Likewise.
47402         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47404 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47406         [BZ #13566]
47407         * assert/assert.h (static_assert): Don't define for C++.
47408         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47409         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47411 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47413         * iconv/loop.c (single loop): Fix assertion in storing of
47414         remaining bytes.
47416         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47418 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47420         * posix/getconf.c: Update copyright year.
47421         * nss/getent.c: Likewise.
47422         * nss/makedb.c: Likewise.
47423         * iconv/iconvconfig.c: Likewise.
47424         * iconv/iconv_prog.c: Likewise.
47425         * elf/ldconfig.c: Likewise.
47426         * elf/pldd.c: Likewise.
47427         * elf/sotruss.ksh: Likewise.
47428         * catgets/gencat.c: Likewise.
47429         * csu/version.c: Likewise.
47430         * elf/ldd.bash.in: Likewise.
47431         * elf/sprof.c (print_version): Likewise.
47432         * locale/programs/locale.c: Likewise.
47433         * locale/programs/localedef.c: Likewise.
47434         * login/programs/pt_chown.c: Likewise.
47435         * nscd/nscd.c (print_version): Likewise.
47436         * debug/xtrace.sh: Likewise.
47437         * malloc/memusage.sh: Likewise.
47438         * malloc/mtrace.pl: Likewise.
47439         * debug/catchsegv.sh: Likewise.
47441 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47443         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47444         pure attribute.
47446 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47448         [BZ #13533]
47449         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47450         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47451         transformations.
47452         * iconv/gconv_int.h: Likewise.
47453         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47454         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47455         from libc for GLIBC_2.16.
47456         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47457         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47458         * wcsmbs/uchar.h: Really define mbstate_t.
47459         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47460         * wcsmbs/c16rtomb.c: New file.
47461         * wcsmbs/mbrtoc16.c: New file.
47462         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47463         for C/POSIX locale.
47464         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47465         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47467         * wcsmbs/wchar.h: Add missing __restrict.
47469 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47471         [BZ #13532]
47472         * time/Makefile (routines): Add timespec_get.
47473         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47474         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47475         timespec for ISO C11.
47476         * time/timespec_get.c: New file.
47477         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47478         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47480         [BZ #13531]
47481         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47482         * stdlib/stdlib.h: Declare aligned_alloc.
47483         * Versions.def: Add GLIBC_2.16 for libc.
47484         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47486         [BZ 13527]
47487         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47488         ISO C11.
47490         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47491         code.
47493         [BZ #13528]
47494         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47496         [BZ #13529]
47497         * assert/assert.h (static_assert): Define.
47499         * version.h: Update for 2.16 development version.
47501         [BZ #13526]
47502         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47503         _ISOC11_SOURCE.
47505         * version.h (RELEASE): Bump for 2.15 release.
47506         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47508         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47509         Patch by Marek Polacek <mpolacek@redhat.com>.
47511         * bits/byteswap.h: Protect long long constants with __extension__.
47512         * sysdeps/i386/bits/byteswap.h: Likewise.
47513         * sysdeps/ia64/bits/byteswap.h: Likewise.
47514         * sysdeps/s390/bits/byteswap.h: Likewise.
47515         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47517 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47519         [BZ #13540]
47520         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47521         destination buffer.
47522         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47524 2011-12-23  Marek Polacek  <polacek@redhat.com>
47526         * elf/dl-addr.c (determine_info): Add inline keyword.
47527         * elf/tst-auditmod4b.c (check_avx): Likewise.
47528         * elf/tst-auditmod6b.c (check_avx): Likewise.
47529         * elf/tst-auditmod6c.c (check_avx): Likewise.
47530         * elf/tst-auditmod7b.c (check_avx): Likewise.
47532 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47534         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47535         !__SSE_MATH__.
47537 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47539         [BZ #13540]
47540         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47541         processing for last bytes.
47543 2011-08-06  Bruno Haible  <bruno@clisp.org>
47545         [BZ #13061]
47546         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47547         U+0385, not to U+1FEE.
47549         [BZ #13062]
47550         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47551         entry for U+00A5 U+0301.
47553 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47555         [BZ #13166]
47556         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47557         buffer for the output is too small.
47559         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47560         optimization.
47562         [BZ #13185]
47563         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47564         SSE flags if possible.
47566 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47568         [BZ #13540]
47569         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47570         processing for last bytes.
47572 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47574         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47575         (syscall-list-default-options, syscall-list-default-condition)
47576         (syscall-list-includes): Define.
47577         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47578         list of ABIs and options and #if conditions for each ABI.  Do not
47579         handle common syscalls between ABIs specially.
47580         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47581         Remove.
47582         (syscall-list-variants, syscall-list-32bit-options)
47583         (syscall-list-32bit-condition, syscall-list-64bit-options)
47584         (syscall-list-64bit-condition): Define.
47585         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47586         (syscall-list-variants, syscall-list-32bit-options)
47587         (syscall-list-32bit-condition, syscall-list-64bit-options)
47588         (syscall-list-64bit-condition): Define.
47589         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47590         Remove.
47591         (syscall-list-variants, syscall-list-32bit-options)
47592         (syscall-list-32bit-condition, syscall-list-64bit-options)
47593         (syscall-list-64bit-condition): Define.
47594         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47595         Remove.
47596         (syscall-list-variants, syscall-list-32bit-options)
47597         (syscall-list-32bit-condition, syscall-list-64bit-options)
47598         (syscall-list-64bit-condition): Define.
47600 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47602         * locale/iso-639.def: Add brx entry.
47604         [BZ #13328]
47605         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47606         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47608         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47609         __feraiseexcept_renamed.
47611 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47613         [BZ #13538]
47614         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47615         EPOLLET with unsigned values.
47616         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47617         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47619         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47620         to large cancellation.
47621         * math/s_cacoshf.c: Likewise.
47622         * math/s_cacoshl.c: Likewise.
47624 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47626         [BZ #13305]
47627         [BZ #12786]
47628         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47629         * math/s_cacoshf.c: Likewise.
47630         * math/s_cacoshl.c: Likewise.
47632 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47634         [BZ #13439]
47635         * iconv/gconv.h: Define __GCONV_SWAP.
47636         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47637         * iconvdata/utf-16.c: Likewise.
47638         * iconvdata/utf-32.c: Likewise.
47640 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47642         [BZ #13524]
47643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47644         numerator after shifting it by one limb.
47646 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47648         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47649         under [__USE_EXTERN_INLINES].
47651 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47653         [BZ #13446]
47654         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47656 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47658         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47659         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47660         optimized code.
47661         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47662         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47663         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47664         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47665         for strncasecmp/strncasecmp_l compilation.
47666         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47667         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47669 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47671         [BZ #13484]
47672         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47673         of __asm__.
47675 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47677         [BZ #13506]
47678         * time/tzfile.c (__tzfile_read): Check values from file header.
47680 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47682         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47683         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47684         * powerpc/powerpc32/dl-start.S: Likewise.
47685         * powerpc/powerpc32/elf/start.S: Likewise.
47686         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47687         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47688         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47689         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47690         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47691         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47692         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47693         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47694         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47695         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47696         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47697         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47698         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47699         * powerpc/powerpc32/memset.S: Likewise.
47700         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47701         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47702         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47703         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47704         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47705         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47706         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47707         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47708         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47709         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47710         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47711         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47712         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47714 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47716         * math/libm-test.inc: Added more nearbyint tests.
47717         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47718         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47720         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47722 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47724         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47725         FD_CLOEXEC.
47727 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47729         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47730         Add wcscpy-ssse3 wcscpy-c.
47731         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47732         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47733         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47734         * sysdeps/x86_64/wcschr.S: New file.
47735         * sysdeps/x86_64/wcsrchr.S: New file.
47736         * string/test-strcmp.c: Remove checking of wcscmp function for
47737         wrong alignments.
47738         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47739         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47740         wcsrchr-sse2 wcsrchr-c.
47741         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47742         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47743         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47744         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47745         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47746         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47747         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47748         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47749         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47750         * wcsmbc/wcschr.c (WCSCHR): New macro.
47752 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47754         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47755         * wcsmbs/test-wcsrchr.c: New file.
47756         * string/test-strrchr.c: Add wcsrchr support.
47757         (WIDE): New macro.
47758         * wcsmbs/test-wcscpy.c: New file.
47759         * string/test-strcpy.c: Add wcscpy support.
47760         (WIDE): New macro.
47762 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
47764         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47765         the inner loop.
47767 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
47769         [BZ #13472]
47770         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47772 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
47774         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47775         Minor optimizations.
47777         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47778         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47779         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47781 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
47783         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47784         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47785         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47786         for gcc to avoid warnings.
47787         * inet/Makefile (tests): Add tst-checks.
47788         * inet/tst-checks.c: New file.
47790         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47791         warning.
47793         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47794         __wmemcmp_sse2.
47796         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47797         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47799         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47801 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
47803         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47804         problem.
47806         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47808 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
47810         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47811         conditional on GCC version.
47812         (__arch_compare_and_exchange_val_8_acq)
47813         (__arch_compare_and_exchange_val_16_acq)
47814         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47815         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47816         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47818 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
47820         * sysdeps/sh/backtrace.c: New file.
47822 2011-12-02  Andreas Schwab  <schwab@redhat.com>
47824         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
47825         parenthesis.
47827 2011-12-01  Andreas Schwab  <schwab@redhat.com>
47829         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47830         falling back to utime.
47832 2011-11-30  Andreas Schwab  <schwab@redhat.com>
47834         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47835         expectations for float.
47837 2011-11-29  Andreas Schwab  <schwab@redhat.com>
47839         * locale/weight.h (findidx): Add parameter len.
47840         * locale/weightwc.h (findidx): Likewise.
47841         * posix/fnmatch_loop.c (FCT): Adjust caller.
47842         * posix/regcomp.c (build_equiv_class): Likewise.
47843         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47844         * posix/regexec.c (check_node_accept_bytes): Likewise.
47845         * string/strcoll_l.c (STRCOLL): Likewise.
47846         * string/strxfrm_l.c (STRXFRM): Likewise.
47848 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
47850         * Makefile.in: Remove CVSOPT handling.
47851         * configure.in: Remove use of AC_REVISION.
47852         * iconvdata/Makefile (distribute): No need to filter out CVS.
47853         * scripts/list-sources.sh: Remove CVS, subversion and monotone
47854         handling.
47856 2011-11-16  Andreas Schwab  <schwab@redhat.com>
47858         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47859         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47860         [USE_AS_STRNCASECMP_L]: Likewise.
47861         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47862         NO_TLS_DIRECT_SEG_REFS.
47863         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47864         Fix argument offsets for non-PIC.
47865         [USE_AS_STRNCASECMP_L]: Likewise.
47866         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47867         NO_TLS_DIRECT_SEG_REFS.
47869 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47871         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47872         O_CLOEXEC.
47873         * locale/loadlocale.c (_nl_load_locale): Likewise.
47875 2011-11-15  Andreas Schwab  <schwab@redhat.com>
47877         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47878         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47879         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47880         (SYSCALL_GETTIME): Set errno on error.
47882         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47883         count references to noai6ai_cached.
47885 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47887         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47889         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47890         FD_CLOEXEC for /proc/self/maps.
47892         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47893         FD_CLOEXEC for /proc/meminfo.
47895         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47896         gai.conf.
47898         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
47899         FD_CLOEXEC for given file.
47901         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47903         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47904         FD_CLOEXEC for /etc/hosts.
47905         (_gethtent): Likewise.
47907         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47909         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47910         cancellation and set FD_CLOEXEC for /etc/netgroup.
47912         * nss/nss_files/files-key.c (search): Don't allow cancellation when
47913         reading /etc/publickey.
47915         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47916         allow cancellation when reading /etc/group.
47918         * nss/nss_files/files-alias.c (internal_setent): Don't allow
47919         cancellation.
47920         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
47922         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47923         when using data file.
47925         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47927         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47928         (write_nis_obj): Use "c" and "e" in fopen.
47930         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47932         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47934         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47936         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47938         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47939         locale.alias.
47941         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47943         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47945         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47947         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47948         file parsing and set FD_CLOEXEC.
47950 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47952         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47954 2011-11-14  Andreas Schwab  <schwab@redhat.com>
47956         * malloc/arena.c (arena_get2): Don't call reused_arena when
47957         _int_new_arena failed.
47959 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47961         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47962         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47963         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47964         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47965         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47966         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47967         to compile strcasecmp and strncasecmp.
47968         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47969         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47971         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47973 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
47975         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47976         locale-defines.sym to gen-as-const-headers.
47977         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47978         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47979         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47980         to compile strcasecmp and strncasecmp.
47981         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47982         strcasecmp_l and strncasecmp_l.
47983         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47984         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47985         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47986         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47987         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47988         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47989         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47990         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47991         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47992         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47993         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47995 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47997         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47998         result of SYSDEP_GETTIME_CPU to retval.
47999         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48000         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48002         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48003         variable.
48005         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48006         mantissa words.
48007         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48009         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48010         from unused variable.
48012         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48013         DWARF definitions.
48014         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48015         for assembling.
48017         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48018         over namespaces.
48020         * sunrpc/rpc_prot.c (rejected): Fix case value.
48022         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48023         unsigned long long int to avoid warnings in shift.
48025         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48026         of use of trans.
48027         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48028         variable tmp.
48030         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48031         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48032         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48034         * nis/nis_table.c (nis_list): Use variable of correct type for
48035         result of __follow_path call.
48037 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48039         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48040         of math functions ceil, trunc, floor, round, and sqrt, when
48041         avaliable on the platform.
48042         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48043         name clash.
48044         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48045         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48046         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48048 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48050         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48051         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48053 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48055         * include/unistd.h: Fix __readlink return type.
48056         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48058 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48060         * stdlib/ucontext.h: Undo last change for makecontext.
48062 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48064         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48066         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48067         * setjmp/setjmp.h: Mark functions as non-leaf.
48068         * setjmp/bits/setjmp2.h: Likewise.
48069         * stdlib/ucontext.h: Likewise.
48071 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48073         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48074         (reused_arena): Don't check arena limit.
48075         (arena_get2): Atomically check arena limit.
48077 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48079         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48080         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48082         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48083         instructions.
48085 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48087         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48088         handler when locking.
48090         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48091         Fix size of allocated buffer.
48093 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48095         [BZ #10103]
48096         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48097         declarations for long double functions.
48098         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48100         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48102 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48104         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48105         installed.
48107         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48108         is disabled.
48110 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48112         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48114 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48116         * include/alloca.h (stackinfo_alloca_round): Define.
48117         (extend_alloca): Use it.
48118         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48119         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48120         here.
48122         * scripts/check-local-headers.sh: Ignore libaudit.h.
48124         * nscd/Makefile (extra-objs): Make recursively expanded.
48126 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48128         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48129         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48131         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48132         * posix/tst-rfc3484-2.c: Likewise.
48133         * posix/tst-rfc3484-3.c: Likewise.
48135         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48136         process_vm_writev.
48137         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48138         process_vm_writev.
48139         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48140         process_vm_writev from libc using GLIBC_2.15 version.
48142         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48144 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48146         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48147         stack usage.
48149 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48151         [BZ #13367]
48152         * nss/getent.c (initgroups_keys): Show error message in case no group
48153         names are given.
48155         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48156         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48157         __bump_nl_timestamp.
48158         * nscd/connections (nscd_init): When host database is served open
48159         netlink socket and request notification about configuration changes.
48160         (main_loop_poll): Track netlink file descriptor and bump timestamp
48161         in case data becomes available.
48162         (main_loop_epoll): Likewise.
48163         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48164         (database_pers_head): Add extra_data fileds.
48165         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48166         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48167         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48168         Adjust caller.
48169         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48170         in6ai data, call __free_in6ai.
48171         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48172         Add -DHAVE_NETLINK.
48173         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48174         interface information.  Reuse previous data if netlink timestamp
48175         is not changed.
48176         (__bump_nl_timestamp): New function.
48177         (__free_in6ai): New function.
48179 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48181         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48182         close_not_cancel_no_status here.
48183         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48185 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48187         [BZ #13276]
48188         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48189         return value.
48191         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48192         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48193         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48195 2011-07-03  Andreas Jaeger  <aj@suse.de>
48197         [BZ #10709]
48198         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48199         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48200         * math/libm-test.inc (sin_test): Add test case.
48202 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48204         [BZ #13337]
48205         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48206         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48208         * elf/chroot_canon.c (chroot_canon): Cleanups.
48210         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48212         [BZ #13335]
48213         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48214         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48216         * string/test-strchr.c: Make usable for strchrnul testing.
48217         * string/test-strchrnul.c: New file.
48218         * string/Makefile (strop-tests): Add strchrnul.
48220         * po/it.po: Update from translation team.
48221         * po/es.po: Likewise.
48223 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48225         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48226         the three constants needed as parameters.  Drop the others.
48227         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48228         __m128i_strloadu_tolower.
48229         Create and initialize variable zero and use it in all the places
48230         where _mm_setzero_si128 was used.
48232         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48233         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48234         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48235         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48236         anymore.
48237         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48238         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48239         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48240         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48241         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48242         __mpranred, __mptan.
48243         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48244         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48245         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48246         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48247         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48248         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48249         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48250         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48251         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48253 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48255         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48256         redefine if SHARED.
48257         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48259         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48260         wide char related routines to wcsmbs subdir.
48262 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48264         [BZ #13344]
48265         * misc/sys/cdefs.h (__THROWNL): Define.
48266         * posix/unistd.h: Use __THREADNL instead of __THREAD
48267         for memory synchronization functions.
48269 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48271         [BZ #13349]
48272         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48273         doesn't exist.
48274         * manual/stdio.texi (Obstack Streams): Node removed.
48276 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48278         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48279         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48280         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48282         * math/math_private.h (math_force_eval): Allow non-addressable
48283         arguments.
48284         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48286 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48288         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48289         file is not needed.
48291         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48292         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48293         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48294         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48295         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48296         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48297         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48298         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48299         Add AVX variants.
48300         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48301         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48302         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48303         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48304         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48305         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48306         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48307         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48308         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48309         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48310         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48311         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48312         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48313         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48314         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48315         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48316         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48317         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48318         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48320         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48321         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48324         place.  Use VEX encoding when compiling for AVX.
48326 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48328         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48329         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48331         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48333 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48335         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48336         useless if() expression.
48337         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48338         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48339         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48340         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48341         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48342         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48343         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48344         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48345         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48346         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48347         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48348         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48349         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48350         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48351         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48352         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48353         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48354         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48355         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48357         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48359 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48361         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48362         condition.
48363         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48365 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48367         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48368         .text section.  Avoid duplicate constants.
48369         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48370         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48371         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48372         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48373         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48376         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48377         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48378         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48379         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48380         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48381         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48382         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48383         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48384         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48385         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48386         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48387         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48388         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48389         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48390         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48391         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48392         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48393         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48394         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48395         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48396         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48397         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48398         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48399         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48400         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48401         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48402         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48403         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48404         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48405         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48406         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48407         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48408         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48409         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48410         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48411         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48412         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48413         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48415 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48417         * sysdeps/x86_64/dla.h: Move to ...
48418         * sysdeps/x86_64/fpu/dla.h: ...here.
48419         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48420         situations.  Use __builtin_fma only for gcc 4.6 and up.
48422         * config.make.in: Add have-mfma4 entry.
48423         * configure.in: Substitute libc_cv_cc_fma4.
48424         * math/Makefile (dbl-only-routines): Add sincostab.
48425         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48426         Use __sincostab not sincos.
48427         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48428         name is a macro.
48429         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48430         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48431         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48432         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48433         using __copysign.
48434         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48435         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48436         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48437         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48438         and __inv.
48439         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48440         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48441         __copysign.
48442         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48443         define aliases when function name is a macro.
48444         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48445         sysdeps/ieee754/dbl-64/sincos.tbl.
48446         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48447         fma4-enabled routines.
48448         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48449         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48450         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48451         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48452         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48453         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48454         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48455         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48456         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48457         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48458         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48459         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48460         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48461         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48462         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48463         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48464         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48465         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48466         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48467         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48468         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48469         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48470         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48471         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48472         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48473         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48474         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48475         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48476         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48477         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48479         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48480         rename.
48481         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48482         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48483         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48486         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48487         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48488         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48490 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48492         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48494 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48496         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48498         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48499         prediction.
48500         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48502         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48503         Remove unused variable magic_bits.
48504         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48506         * string/strnlen.c: Define and use STRNLEN macro.
48507         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48508         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48509         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48510         * wcsmbs/wcslen.c: Define and use WCSLEN.
48511         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48512         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48513         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48514         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48515         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48516         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48517         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48519 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48522         strnlen-sse2-no-bsf.
48523         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48524         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48525         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48526         Add strnlen support.
48527         (USE_AS_STRNLEN): New macro.
48528         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48530         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48531         * sysdeps/x86_64/wcslen.S: New file.
48533 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48535         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48536         XMM-moves are used for copying on small sizes.
48538 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48540         * wcsmbs/Makefile (strop-tests): Add wcschr.
48541         * wcsmbs/test-wcschr.c: New file.
48542         * string/test-strchr.c: Update.
48543         Add wcschr support.
48544         (WIDE): New macro.
48546 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48548         * wcsmbs/Makefile (strop-tests): Add wcslen.
48549         * wcsmbs/test-wcslen.c: New file.
48550         * string/test-strlen.c: Update.
48551         Add wcslen support.
48552         (WIDE): New macro.
48554 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48556         * po/it.po: Update from translation team.
48558 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48560         * sysdeps/x86_64/wcscmp.S: Update.
48561         Fix wrong comparison semantics.
48562         wcscmp shall use signed comparison not unsigned.
48563         Don't use substraction to avoid overflow bug.
48564         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48565         * wcsmbc/wcscmp.c: Likewise.
48566         * string/test-strcmp.c: Likewise.
48567         Add new tests to check cases with negative values.
48569 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48571         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48572         * sysdeps/x86_64/dla.h: ...here.  New file.
48573         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48574         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48575         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48576         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48577         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48578         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48579         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48580         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48581         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48583 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48585         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48586         __ynl_finite aliases.
48588 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48592         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48593         define DLA_FMA.
48594         [DLA_FMA] (EMULV): Use DLA_FMA.
48595         [DLA_FMA] (MUL12): Use EMULV.
48596         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48597         that are not needed.
48598         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48599         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48600         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48601         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48602         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48603         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48604         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48606 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48608         * math/s_nan.c: Undef __nan.
48609         * math/s_nanf.c: Undef __nanf.
48610         * math/s_nanl.c: Undef __nanl.
48611         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48612         "math_private.h".
48614 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48616         * math/s_catan.c: Add branch predictions.
48617         * math/s_catanf.c: Likewise.
48618         * math/s_catanh.c: Likewise.
48619         * math/s_catanhf.c: Likewise.
48620         * math/s_catanhl.c: Likewise.
48621         * math/s_catanl.c: Likewise.
48622         * math/s_cexp.c: Likewise.
48623         * math/s_cexpf.c: Likewise.
48624         * math/s_cexpl.c: Likewise.
48625         * math/s_clog.c: Likewise.
48626         * math/s_clog10.c: Likewise.
48627         * math/s_clog10f.c: Likewise.
48628         * math/s_clog10l.c: Likewise.
48629         * math/s_clogf.c: Likewise.
48630         * math/s_clogl.c: Likewise.
48631         * math/s_csqrt.c: Likewise.
48632         * math/s_csqrtf.c: Likewise.
48633         * math/s_csqrtl.c: Likewise.
48634         * math/s_ctanf.c: Likewise.
48635         * math/s_ctanh.c: Likewise.
48636         * math/s_ctanhf.c: Likewise.
48637         * math/s_ctanhl.c: Likewise.
48638         * math/s_ctanl.c: Likewise.
48640         * math/math_private.h: Define __nan, __nanf, __nanl.
48641         * math/s_cacosh.c: Include <math_private.h>.
48642         * math/s_cacoshl.c: Likewise.
48643         * math/s_casinh.c: Likewise.
48644         * math/s_casinhf.c: Likewise.
48645         * math/s_casinhl.c: Likewise.
48646         * math/s_ccos.c: Rely entire on ccosh.
48647         * math/s_ccosf.c: Rely entire on ccoshf.
48648         * math/s_ccosl.c: Rely entirely on ccoshl.
48649         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48650         Remove tests for FE_INVALID.
48651         * math/s_ccoshf.c: Likewise.
48652         * math/s_ccoshl.c: Likewise.
48653         * math/s_csin.c: Likewise.
48654         * math/s_csinf.c: Likewise.
48655         * math/s_csinh.c Likewise.
48656         * math/s_csinhf.c: Likewise.
48657         * math/s_csinhl.c: Likewise.
48658         * math/s_csinl.c: Likewise.
48659         * math/s_ctan.c: Likewise.
48660         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48661         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48662         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48664 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48666         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48667         compilation problems.
48669         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48670         __builtin_expect.
48672 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48674         * sysdeps/i386/configure.in: Test for -mfma4 option.
48675         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48676         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48677         COMMON_CPUID_INDEX_80000001.
48678         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48679         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48680         use it if FMA3 is not supported.
48681         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48683         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48684         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48686 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48688         [BZ #12892]
48689         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48690         it would create a cycle with a link time dependency.
48692 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48694         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48695         instruction.
48696         * string/Makefile (strop-tests): Add rawmemchr.
48697         * string/test-rawmemchr.c: New file.
48699         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48700         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48701         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48702         when compiling str{,n}casecmp and when AVX is available.  Hook up
48703         new optimized code in initializers.
48705 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48707         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48708         __feraiseexcept instead of feraiseexcept.
48710 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48712         * math/math_private.h: Define defaults for libc_fetestexcept and
48713         libc_feupdateenv.
48714         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48715         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48716         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48717         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48718         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48719         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48720         libc_fetestexcept and libc_feupdateenv.
48722         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48723         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48724         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48725         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48726         libc_feholdexcept_setround.
48728         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48729         Add s_nearbyint-c and s_nearbyintf-c.
48730         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48731         nearbyintf inlines.
48732         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48733         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48734         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48735         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48737         * math/math_private.h: Define defaults for libc_fegetround,
48738         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48739         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48740         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48741         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48742         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48743         standard functions.
48744         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48745         Remove comments and hacks for old compiler versions.
48746         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48747         libc_fegetround, libc_fesetround, libc_feholdexcept, and
48748         libc_feholdexceptl.
48750 2011-10-18  Andreas Schwab  <schwab@redhat.com>
48752         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48753         (__feraiseexcept_renamed): Add __NTH.
48754         (feraiseexcept): Add __NTH.  Rename local variables to fix
48755         namespace violations.
48757 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
48759         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48761         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48763         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48764         recently added interfaces.
48765         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48767         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48768         about macro parameter expansion.
48770         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48771         __NO_MATH_INLINES is defined.  Cleanups.
48773         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48774         and __floorf is target has SSE4.1.
48775         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48776         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48777         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48778         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48780         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48781         name.
48782         (floorf): Likewise.
48784         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48786 2011-10-17  Andreas Schwab  <schwab@redhat.com>
48788         * misc/sys/cdefs.h: Fix last change.
48790         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48791         database lookup.
48793 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
48795         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48797         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48798         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48799         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48800         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48801         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48802         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48803         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48804         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48805         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48806         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48807         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48808         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48809         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48810         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48811         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48812         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48813         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48814         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48815         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48816         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48817         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48818         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48820         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48821         ceil, ceilf, floor, floorf.
48823         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48824         Perform IRELATIVE relocations last.
48826         * elf/do-rel.h: Add another parameter nrelative, replacing the
48827         local variable with the same name.  Change name of the function
48828         to end in Rel or Rela (uppercase).
48829         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48830         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
48831         elf_dynamic_do_##reloc function.
48833 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48835         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48836         is sufficient, at least on modern CPUs.
48838         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48840         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48841         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48843         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48844         __expl_finite.
48845         * math/bits/math-finite.h: Add entries for exp.
48846         * math/e_expl.c: Add __*_finite alias.
48847         * sysdeps/i386/fpu/e_exp.S: Likewise.
48848         * sysdeps/i386/fpu/e_expf.S: Likewise.
48849         * sysdeps/i386/fpu/e_expl.c: Likewise.
48850         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48851         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48852         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48853         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48854         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48855         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48856         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48858         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48859         is sufficient, at least on modern CPUs.
48861         * ctype/ctype-info.c (__ctype_init): Define.
48862         * include/ctype.h (__ctype_init): Declare.
48863         (__ctype_b_loc): The variable is always initialized.
48864         (__ctype_toupper_loc): Likewise.
48865         (__ctype_tolower_loc): Likewise.
48866         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48867         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48869 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
48871         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48873         * configure.in: Also look in $cxxmachine/include for C++ system
48874         headers.
48876 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48878         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48879         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48880         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48881         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
48882         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48883         (USE_AS_WMEMCMP): New macro.
48884         Fixing indents.
48885         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48886         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48887         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48888         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48889         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48890         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48891         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48892         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48893         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48894         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48895         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48896         (USE_AS_WMEMCMP): New macro.
48897         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48898         * sysdeps/string/test-memcmp.c: Update.
48899         Fix simple_wmemcmp.
48900         Add new tests.
48901         * wcsmbs/wmemcmp.c: Update.
48902         (WMEMCMP): New macro.
48903         Fix overflow bug.
48905 2011-10-12  Andreas Jaeger  <aj@suse.de>
48907         [BZ #13268]
48908         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48910 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48912         * libio/iofwide.c (do_length): Avoid warning.
48914         * ctype/ctype.h (__isctype_f): Add missing __THROW.
48916 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
48918         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48920         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48921         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48922         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48923         * sysdeps/i386/i686/fpu/e_log.S: New file.
48924         * sysdeps/i386/i686/fpu/e_logf.S: New file.
48925         * sysdeps/i386/i686/fpu/e_logl.S: New file.
48927         * ctype/ctype.h: Add support for inlined isXXX functions when
48928         compiling C++ code.
48930 2011-10-14  Andreas Schwab  <schwab@redhat.com>
48932         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48934         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48936 2011-10-13  Roland McGrath  <roland@hack.frob.com>
48938         [BZ #13291]
48939         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48941 2011-10-13  Andreas Schwab  <schwab@redhat.com>
48943         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48944         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48945         feraiseexcept.
48947         * sysdeps/x86_64/memrchr.S: Check for zero size.
48949         * string/stratcliff.c: Add memrchr tests.
48951 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48953         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48954         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48955         rawmemchr-sse2 rawmemchr-sse2-bsf.
48956         * sysdeps/i386/i686/multiarch/memchr.S: New file.
48957         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48958         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48959         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48960         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48961         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48962         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48963         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48964         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48965         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48966         * string/memrchr.c (MEMRCHR): New macro.
48968 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
48970         Add integration with gcc's -ffinite-math-only and optimize wrapper
48971         functions in libm.
48972         * Versions.def: Define GLIBC_2.15 version for libm.
48973         * math/Makefile (headers): Add bits/math-finite.h.
48974         * math/bits/math-finite.h: New file.
48975         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48976         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48977         * math/e_acoshl.c: Add __*_finite alias.
48978         * math/e_acosl.c: Likewise.
48979         * math/e_asinl.c: Likewise.
48980         * math/e_atan2l.c: Likewise.
48981         * math/e_atanhl.c: Likewise.
48982         * math/e_coshl.c: Likewise.
48983         * math/e_exp10.c: Likewise.
48984         * math/e_exp10f.c: Likewise.
48985         * math/e_exp10l.c: Likewise.
48986         * math/e_exp2l.c: Likewise.
48987         * math/e_fmodl.c: Likewise.
48988         * math/e_gammal_r.c: Likewise.
48989         * math/e_hypotl.c: Likewise.
48990         * math/e_j0l.c: Likewise.
48991         * math/e_j1l.c: Likewise.
48992         * math/e_jnl.c: Likewise.
48993         * math/e_lgammal_r.c: Likewise.
48994         * math/e_log10l.c: Likewise.
48995         * math/e_log2l.c: Likewise.
48996         * math/e_logl.c: Likewise.
48997         * math/e_powl.c: Likewise.
48998         * math/e_sinhl.c: Likewise.
48999         * math/e_sqrtl.c: Likewise.
49000         * math/e_scalb.c: Completely rewritten and optimized.
49001         * math/e_scalbf.c: Likewise.
49002         * math/e_scalbl.c: Likewise.
49003         * math/w_acos.c: Likewise.
49004         * math/w_acosf.c: Likewise.
49005         * math/w_acosl.c: Likewise.
49006         * math/w_acosh.c: Likewise.
49007         * math/w_acoshf.c: Likewise.
49008         * math/w_acoshl.c: Likewise.
49009         * math/w_asin.c: Likewise.
49010         * math/w_asinf.c: Likewise.
49011         * math/w_asinl.c: Likewise.
49012         * math/w_atan2.c: Likewise.
49013         * math/w_atan2f.c: Likewise.
49014         * math/w_atan2l.c: Likewise.
49015         * math/w_atanh.c: Likewise.
49016         * math/w_atanhf.c: Likewise.
49017         * math/w_atanhl.c: Likewise.
49018         * math/w_exp10.c: Likewise.
49019         * math/w_exp10f.c: Likewise.
49020         * math/w_exp10l.c: Likewise.
49021         * math/w_fmod.c: Likewise.
49022         * math/w_fmodf.c: Likewise.
49023         * math/w_fmodl.c: Likewise.
49024         * math/w_j0.c: Likewise.
49025         * math/w_j0f.c: Likewise.
49026         * math/w_j0l.c: Likewise.
49027         * math/w_j1.c: Likewise.
49028         * math/w_j1f.c: Likewise.
49029         * math/w_j1l.c: Likewise.
49030         * math/w_jn.c: Likewise.
49031         * math/w_jnf.c: Likewise.
49032         * math/w_log.c: Likewise.
49033         * math/w_logf.c: Likewise.
49034         * math/w_logl.c: Likewise.
49035         * math/w_log10.c: Likewise.
49036         * math/w_log10f.c: Likewise.
49037         * math/w_log10l.c: Likewise.
49038         * math/w_log2.c: Likewise.
49039         * math/w_log2f.c: Likewise.
49040         * math/w_log2l.c: Likewise.
49041         * math/w_pow.c: Likewise.
49042         * math/w_powf.c: Likewise.
49043         * math/w_powl.c: Likewise.
49044         * math/w_remainder.c: Likewise.
49045         * math/w_remainderf.c: Likewise.
49046         * math/w_remainderl.c: Likewise.
49047         * math/w_scalb.c: Likewise.
49048         * math/w_scalbf.c: Likewise.
49049         * math/w_scalbl.c: Likewise.
49050         * math/w_sqrt.c: Likewise.
49051         * math/w_sqrtf.c: Likewise.
49052         * math/w_sqrtl.c: Likewise.
49053         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49054         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49055         used.
49056         * math/math_private.h: Declare __kernel_standard_f.
49057         * math/w_cosh.c: Remove cruft and optimize a bit.
49058         * math/w_coshf.c: Likewise.
49059         * math/w_coshl.c: Likewise.
49060         * math/w_exp2.c: Likewise.
49061         * math/w_exp2f.c: Likewise.
49062         * math/w_exp2l.c: Likewise.
49063         * math/w_hypot.c: Likewise.
49064         * math/w_hypotf.c: Likewise.
49065         * math/w_hypotl.c: Likewise.
49066         * math/w_lgamma.c: Likewise.
49067         * math/w_lgamma_r.c: Likewise.
49068         * math/w_lgammaf.c: Likewise.
49069         * math/w_lgammaf_r.c: Likewise.
49070         * math/w_lgammal.c: Likewise.
49071         * math/w_lgammal_r.c: Likewise.
49072         * math/w_sinh.c: Likewise.
49073         * math/w_sinhf.c: Likewise.
49074         * math/w_sinhl.c: Likewise.
49075         * math/w_tgamma.c: Likewise.
49076         * math/w_tgammaf.c: Likewise.
49077         * math/w_tgammal.c: Likewise.
49078         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49079         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49080         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49081         Minor optimizations.  Pretty printing.  Remove cruft.
49082         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49083         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49084         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49085         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49086         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49087         * sysdeps/i386/fpu/e_asin.S: Likewise.
49088         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49089         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49090         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49091         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49092         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49093         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49094         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49095         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49096         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49097         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49098         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49099         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49100         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49101         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49102         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49103         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49104         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49105         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49106         * sysdeps/i386/fpu/e_log.S: Likewise.
49107         * sysdeps/i386/fpu/e_log10.S: Likewise.
49108         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49109         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49110         * sysdeps/i386/fpu/e_log2.S: Likewise.
49111         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49112         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49113         * sysdeps/i386/fpu/e_logf.S: Likewise.
49114         * sysdeps/i386/fpu/e_logl.S: Likewise.
49115         * sysdeps/i386/fpu/e_pow.S: Likewise.
49116         * sysdeps/i386/fpu/e_powf.S: Likewise.
49117         * sysdeps/i386/fpu/e_powl.S: Likewise.
49118         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49119         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49120         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49121         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49122         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49123         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49124         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49125         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49126         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49127         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49128         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49129         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49130         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49131         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49132         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49133         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49134         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49135         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49136         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49137         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49138         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49139         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49140         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49141         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49142         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49143         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49144         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49145         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49146         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49147         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49148         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49149         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49150         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49151         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49152         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49153         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49154         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49155         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49156         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49157         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49158         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49159         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49160         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49161         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49162         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49163         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49164         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49165         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49166         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49167         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49168         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49169         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49170         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49171         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49172         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49173         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49174         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49175         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49176         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49177         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49178         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49179         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49180         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49181         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49182         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49183         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49184         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49185         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49186         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49187         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49188         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49189         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49190         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49191         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49192         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49193         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49194         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49195         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49196         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49197         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49198         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49199         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49200         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49201         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49202         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49203         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49204         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49205         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49206         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49207         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49208         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49209         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49210         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49211         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49212         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49213         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49214         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49215         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49216         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49217         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49218         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49219         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49220         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49221         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49222         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49223         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49224         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49225         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49226         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49227         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49228         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49229         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49230         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49231         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49232         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49233         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49234         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49235         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49236         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49237         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49238         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49239         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49240         (__isnanf): Likewise.
49241         (__isinf_ns): Likewise.
49242         (__isinf_nsf): Likewise.
49243         (__finite): Likewise.
49244         (__finitef): Likewise.
49245         (__ieee754_sqrt): Define as macro.
49246         (__ieee754_sqrtf): Define as macro.
49247         (__ieee754_sqrtl): Define as macro.
49248         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49249         inlined copy.
49250         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49251         __FINITE_MATH_ONLY__ consistent.
49252         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49254 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49256         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49257         of rawmemchr.
49259         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49261 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49263         * po/ja.po: Update from translation team.
49265 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49267         * locale/programs/locarchive.c (prepare_address_space): New function.
49268         (create_archive, enlarge_archive, open_archive): Use it.
49270         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49271         inside [SHARED], where it is used.
49273         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49275         * nss/getent.c (netgroup_keys): Remove unused variable.
49276         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49278 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49280         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49281         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49282         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49283         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49284         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49285         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49286         * math/Makefile (libm-calls): Add s_isinf_ns.
49287         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49288         * math/multc3.c: Likewise.
49289         * math/s_casin.c: Likewise.
49290         * math/s_casinf.c: Likewise.
49291         * math/s_casinl.c: Likewise.
49292         * math/s_ccos.c: Likewise.
49293         * math/s_ccosf.c: Likewise.
49294         * math/s_ccosl.c: Likewise.
49295         * math/s_ctan.c: Likewise.
49296         * math/s_ctanf.c: Likewise.
49297         * math/s_ctanh.c: Likewise.
49298         * math/s_ctanhf.c: Likewise.
49299         * math/s_ctanhl.c: Likewise.
49300         * math/s_ctanl.c: Likewise.
49301         * math/w_fmod.c: Likewise.
49302         * math/w_fmodf.c: Likewise.
49303         * math/w_fmodl.c: Likewise.
49304         * math/w_remainder.c: Likewise.
49305         * math/w_remainderf.c: Likewise.
49306         * math/w_remainderl.c: Likewise.
49307         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49308         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49309         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49311         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49312         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49313         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49314         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49316         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49317         of the number.
49318         * stdio-common/printf_fphex.c: Likewise.
49319         * stdio-common/printf_size.c: Likewise.
49321         * math/e_exp10.c: Include math_private.h using <...> not "...".
49322         * math/e_exp10f.c: Likewise.
49323         * math/e_exp10l.c: Likewise.
49324         * math/e_exp2l.c: Likewise.
49325         * math/e_j0l.c: Likewise.
49326         * math/e_j1l.c: Likewise.
49327         * math/e_jnl.c: Likewise.
49328         * math/e_lgammal_r.c: Likewise.
49329         * math/e_rem_pio2l.c: Likewise.
49330         * math/e_scalb.c: Likewise.
49331         * math/e_scalbf.c: Likewise.
49332         * math/e_scalbl.c: Likewise.
49333         * math/k_cosl.c: Likewise.
49334         * math/k_sinl.c: Likewise.
49335         * math/k_tanl.c: Likewise.
49336         * math/s_cacoshf.c: Likewise.
49337         * math/s_catan.c: Likewise.
49338         * math/s_catanf.c: Likewise.
49339         * math/s_catanh.c: Likewise.
49340         * math/s_catanhf.c: Likewise.
49341         * math/s_catanhl.c: Likewise.
49342         * math/s_catanl.c: Likewise.
49343         * math/s_ccosh.c: Likewise.
49344         * math/s_ccoshf.c: Likewise.
49345         * math/s_ccoshl.c: Likewise.
49346         * math/s_cexp.c: Likewise.
49347         * math/s_cexpf.c: Likewise.
49348         * math/s_cexpl.c: Likewise.
49349         * math/s_clog.c: Likewise.
49350         * math/s_clog10.c: Likewise.
49351         * math/s_clog10f.c: Likewise.
49352         * math/s_clog10l.c: Likewise.
49353         * math/s_clogf.c: Likewise.
49354         * math/s_clogl.c: Likewise.
49355         * math/s_csin.c: Likewise.
49356         * math/s_csinf.c: Likewise.
49357         * math/s_csinh.c: Likewise.
49358         * math/s_csinhf.c: Likewise.
49359         * math/s_csinhl.c: Likewise.
49360         * math/s_csinl.c: Likewise.
49361         * math/s_csqrt.c: Likewise.
49362         * math/s_csqrtf.c: Likewise.
49363         * math/s_csqrtl.c: Likewise.
49364         * math/s_ctan.c: Likewise.
49365         * math/s_ctanf.c: Likewise.
49366         * math/s_ctanh.c: Likewise.
49367         * math/s_ctanhf.c: Likewise.
49368         * math/s_ctanhl.c: Likewise.
49369         * math/s_ctanl.c: Likewise.
49370         * math/s_ldexp.c: Likewise.
49371         * math/s_ldexpf.c: Likewise.
49372         * math/s_ldexpl.c: Likewise.
49373         * math/s_significand.c: Likewise.
49374         * math/s_significandf.c: Likewise.
49375         * math/s_significandl.c: Likewise.
49376         * math/w_acos.c: Likewise.
49377         * math/w_acosf.c: Likewise.
49378         * math/w_acosh.c: Likewise.
49379         * math/w_acoshf.c: Likewise.
49380         * math/w_acoshl.c: Likewise.
49381         * math/w_acosl.c: Likewise.
49382         * math/w_asin.c: Likewise.
49383         * math/w_asinf.c: Likewise.
49384         * math/w_asinl.c: Likewise.
49385         * math/w_atan2.c: Likewise.
49386         * math/w_atan2f.c: Likewise.
49387         * math/w_atan2l.c: Likewise.
49388         * math/w_atanh.c: Likewise.
49389         * math/w_atanhf.c: Likewise.
49390         * math/w_atanhl.c: Likewise.
49391         * math/w_cosh.c: Likewise.
49392         * math/w_coshf.c: Likewise.
49393         * math/w_coshl.c: Likewise.
49394         * math/w_dremf.c: Likewise.
49395         * math/w_exp10.c: Likewise.
49396         * math/w_exp10f.c: Likewise.
49397         * math/w_exp10l.c: Likewise.
49398         * math/w_exp2.c: Likewise.
49399         * math/w_exp2f.c: Likewise.
49400         * math/w_fmod.c: Likewise.
49401         * math/w_fmodf.c: Likewise.
49402         * math/w_fmodl.c: Likewise.
49403         * math/w_hypot.c: Likewise.
49404         * math/w_hypotf.c: Likewise.
49405         * math/w_hypotl.c: Likewise.
49406         * math/w_j0.c: Likewise.
49407         * math/w_j0f.c: Likewise.
49408         * math/w_j0l.c: Likewise.
49409         * math/w_j1.c: Likewise.
49410         * math/w_j1f.c: Likewise.
49411         * math/w_j1l.c: Likewise.
49412         * math/w_jn.c: Likewise.
49413         * math/w_jnf.c: Likewise.
49414         * math/w_jnl.c: Likewise.
49415         * math/w_lgamma.c: Likewise.
49416         * math/w_lgamma_r.c: Likewise.
49417         * math/w_lgammaf.c: Likewise.
49418         * math/w_lgammaf_r.c: Likewise.
49419         * math/w_lgammal.c: Likewise.
49420         * math/w_lgammal_r.c: Likewise.
49421         * math/w_log.c: Likewise.
49422         * math/w_log10.c: Likewise.
49423         * math/w_log10f.c: Likewise.
49424         * math/w_log10l.c: Likewise.
49425         * math/w_log2.c: Likewise.
49426         * math/w_log2f.c: Likewise.
49427         * math/w_log2l.c: Likewise.
49428         * math/w_logf.c: Likewise.
49429         * math/w_logl.c: Likewise.
49430         * math/w_pow.c: Likewise.
49431         * math/w_powf.c: Likewise.
49432         * math/w_powl.c: Likewise.
49433         * math/w_remainder.c: Likewise.
49434         * math/w_remainderf.c: Likewise.
49435         * math/w_remainderl.c: Likewise.
49436         * math/w_scalb.c: Likewise.
49437         * math/w_scalbf.c: Likewise.
49438         * math/w_scalbl.c: Likewise.
49439         * math/w_sinh.c: Likewise.
49440         * math/w_sinhf.c: Likewise.
49441         * math/w_sinhl.c: Likewise.
49442         * math/w_sqrt.c: Likewise.
49443         * math/w_sqrtf.c: Likewise.
49444         * math/w_sqrtl.c: Likewise.
49445         * math/w_tgamma.c: Likewise.
49446         * math/w_tgammaf.c: Likewise.
49447         * math/w_tgammal.c: Likewise.
49449         * po/ja.po: Update from translation team.
49451 2011-09-29  Andreas Jaeger  <aj@suse.de>
49453         [BZ #13179]
49454         * sunrpc/netname.c (netname2host): Fix logic.
49456         [BZ #6779]
49457         [BZ #6783]
49458         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49459         correctly.
49460         * math/w_remainder.c (__remainder): Likewise.
49461         * math/w_remainderf.c (__remainderf): Likewise.
49462         * math/libm-test.inc (remainder_test): Add test cases.
49464 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49466         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49467         sdiv_qrnnd.
49469 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49471         * string/test-memcmp.c: Avoid unncessary #defines.
49472         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49474 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49476         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49477         Use new sse2 version for core i3 - i7 as it's faster
49478         than sse42 version.
49479         (bit_Prefer_PMINUB_for_stringop): New.
49480         * sysdeps/x86_64/rawmemchr.S: Update.
49481         Replace with faster SSE2 version.
49482         * sysdeps/x86_64/memrchr.S: New file.
49483         * sysdeps/x86_64/memchr.S: Update.
49484         Replace with faster SSE2 version.
49486 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49488         * elf/dl-load.c (lose): Add cast to avoid warning.
49490 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49492         * po/ca.po: Update from translation team.
49494         * inet/getnetgrent_r.c: Hook up nscd.
49495         * nscd/Makefile (routines): Add nscd_netgroup.
49496         (nscd-modules): Add netgroupcache.
49497         (CFLAGS-netgroupcache.c): Define.
49498         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49499         (cache_search): Add const to second parameter.
49500         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49501         INNETGR.
49502         (dbs): Add netgrdb entry.
49503         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49504         (verify_persistent_db): Handle netgrdb.
49505         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49506         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49507         GETFDNETGR.
49508         (netgroup_response_header): Define.
49509         (innetgroup_response_header): Define.
49510         (datahead): Add netgroup_response_header and innetgroup_response_header
49511         elements.
49512         * nscd/nscd.conf: Add entries for netgroup cache.
49513         * nscd/nscd.h (dbtype): Add netgrdb.
49514         (_PATH_NSCD_NETGROUP_DB): Define.
49515         (netgroup_iov_disabled): Declare.
49516         (xmalloc, xcalloc, xrealloc): Move declarations here.
49517         (cache_search): Adjust prototype.
49518         Add netgroup-related prototypes.
49519         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49520         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49521         (__nscd_innetgr): Declare.
49522         * nscd/selinux.c (perms): Use access_vector_t as element type and
49523         add netgroup-related initializers.
49524         * nscd/netgroupcache.c: New file.
49525         * nscd/nscd_netgroup.c: New file.
49526         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49527         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49528         For four parameters use innetgr.
49529         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49530         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49531         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49532         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49534         * nscd/connections.c (register_traced_file): Don't register file
49535         for disabled databases.
49537 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49539         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49541         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49542         from tree and freeing node.
49544 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49546         * nss/nsswitch.c (__nss_database_lookup): Handle
49547         nss_parse_service_list out of memory case.
49549 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49551         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49552         out of memory case.
49554 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49556         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49557         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49558         pass it down.
49559         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49560         elf_machine_rela, elf_machine_lazy_rel.
49561         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49562         (ELF_DYNAMIC_DO_REL): Likewise.
49563         (ELF_DYNAMIC_DO_RELA): Likewise.
49564         (ELF_DYNAMIC_RELOCATE): Likewise.
49565         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49566         to ELF_DYNAMIC_DO_REL.
49567         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49568         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49569         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49570         elf_machine_rela.
49571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49572         skip_ifunc, don't call ifunc function if non-zero.
49573         (elf_machine_rela): Likewise.
49574         (elf_machine_lazy_rel): Likewise.
49575         (elf_machine_lazy_rela): Likewise.
49576         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49577         (elf_machine_lazy_rel): Likewise.
49578         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49579         Likewise.
49580         (elf_machine_lazy_rel): Likewise.
49581         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49582         Likewise.
49583         (elf_machine_lazy_rel): Likewise.
49584         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49585         (elf_machine_lazy_rel): Likewise.
49586         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49587         (elf_machine_lazy_rel): Likewise.
49588         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49589         (elf_machine_lazy_rel): Likewise.
49590         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49591         (elf_machine_lazy_rel): Likewise.
49592         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49593         (elf_machine_lazy_rel): Likewise.
49594         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49595         (elf_machine_lazy_rel): Likewise.
49597 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49599         * nss/nss_files/files-init.c (_nss_files_init): Use static
49600         initialization for all the *_traced_file variables.
49602 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49604         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49606 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49608         [BZ #13226]
49609         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49611 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49613         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49614         Reread the line before reparsing it.
49616 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49618         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49620 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49621             Maxim Kuvyrkov  <maxim@codesourcery.com>
49622             Joseph Myers  <joseph@codesourcery.com>
49624         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49625         if needed for __stack_chk_guard.
49627 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49629         * sysdeps/posix/spawni.c (script_execute): Always define it.
49630         It will be optimized away if unused.
49631         (maybe_script_execute): New function.
49632         (__spawni): Call it.
49634         * Makerules: Don't include tls.make.
49635         (config-tls): Always set to thread.
49636         * tls.make.c: File removed.
49638 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49640         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49641         * config.make.in (CPPFLAGS-config): New substituted variable.
49643 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49645         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49647         [BZ #13192]
49648         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49649         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49651 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49653         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49654         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49655         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49656         (CALL_FAIL): Likewise.
49657         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49658         (CALL_FAIL): Macro removed.
49659         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49661 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49663         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49664         for __FINITE_MATH_ONLY__ == 1.
49666 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49668         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49669         __ieee754_sqrt instead of sqrt.
49670         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49671         __ieee754_sqrtf instead of sqrtf.
49672         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49673         __floorf instead of floorf.
49674         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49675         __floorf, __truncf instead of floorf, truncf.
49677 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49679         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49681         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49682         __extern_always_inline.
49683         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49684         32-bit.
49686 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49688         * elf/rtld.c (dl_main): Also relocate in dependency order when
49689         doing symbol dependency testing.
49691 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49693         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49694         Always define `refsym'.
49696 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49698         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49699         (__FD_ELT): Renamed from __FDELT.
49700         * misc/bits/select2.h (__FD_ELT): Likewise.
49701         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49702         __FD_MASK instead of __FDELT, __FDMASK.
49703         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49704         Likewise.
49705         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49706         Likewise.
49708         * elf/Makefile (gen-ldd): Fix pattern.
49710         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49711         (init_tls): Likewise.
49713 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49715         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49717 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49719         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49720         `struct cmsghdr *' instead of `void *'.
49721         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49722         Likewise.
49724 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49726         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49727         if non-absolute.
49728         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49729         ldd_rewrite_script.
49731 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49733         * configure.in: Remove --with-tls option.
49734         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49735         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49736         out in case it is missing.
49737         * sysdeps/ia64/elf/configure.in: Likewise.
49738         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49739         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49740         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49741         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49742         * sysdeps/sh/elf/configure.in: Likewise.
49743         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49744         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49745         * sysdeps/x86_64/elf/configure.in: Likewise.
49746         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49747         * sysdeps/mach/hurd/tls.h: Likewise.
49749         [BZ #13067]
49750         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49752         [BZ #13090]
49753         * configure.in: Fix use of AC_INIT.
49755         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49757 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
49759         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49760         __set_errno.
49761         * malloc/hooks.c: Likewise.
49763         [BZ #11929]
49764         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
49765         variables statically.
49766         (narenas): Initialize.
49767         (list_lock): Initialize.
49768         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
49769         initializtion of main_arena and list_lock.  Small cleanups.
49770         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49771         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
49772         Add initializers to main_arena and mp_.
49773         (malloc_state): Remove pagesize member.  Change all users to use
49774         GLRO(dl_pagesize).
49776         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49777         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
49778         is always initialized.
49780         * malloc/malloc.c: Removed unused configurations and dead code.
49781         * malloc/arena.c: Likewise.
49782         * malloc/hooks.c: Likewise.
49783         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49785         * include/tls.h: Removed.  USE___THREAD must always be defined.
49786         * bits/libc-tsd.h: Don't handle !USE___THREAD.
49787         * elf/dl-libc.c: Likewise.
49788         * elf/dl-tsd.c: Likewise.
49789         * include/errno.h: Likewise.
49790         * include/netdb.h: Likewise.
49791         * include/resolv.h: Likewise.
49792         * inet/herrno-loc.c: Likewise.
49793         * inet/herrno.c: Likewise.
49794         * malloc/arena.c: Likewise.
49795         * malloc/hooks.c: Likewise.
49796         * malloc/malloc.c: Likewise.
49797         * resolv/res-state.c: Likewise.
49798         * resolv/res_libc.c: Likewise.
49799         * sysdeps/i386/dl-machine.h: Likewise.
49800         * sysdeps/ia64/dl-machine.h: Likewise.
49801         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49802         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49803         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49804         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49805         * sysdeps/sh/dl-machine.h: Likewise.
49806         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49807         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49808         * sysdeps/unix/i386/sysdep.S: Likewise.
49809         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49810         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49811         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49812         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49813         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49814         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49815         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49816         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49819         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49820         * sysdeps/x86_64/dl-machine.h: Likewise.
49821         * tls.make.c: Likewise.
49823         * configure.in: Remove --with-__thread option.  Make tests for
49824         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49825         tls_model attribute fail if no support is available.  Remove
49826         USE_IN_LIBIO.
49827         * Makeconfig: Adjust for dropped configure option.  All features are
49828         now mandatory.
49829         * Makerules: Likewise.
49830         * Versions.def: Likewise.
49831         * argp/argp-fmtstream.c: Likewise.
49832         * argp/argp-fmtstream.h: Likewise.
49833         * argp/argp-help.c: Likewise.
49834         * assert/assert.c: Likewise.
49835         * config.h.in: Likewise.
49836         * config.make.in: Likewise.
49837         * configure: Likewise.
49838         * configure.in: Likewise.
49839         * csu/Versions: Likewise.
49840         * csu/init.c: Likewise.
49841         * elf/tst-audit2.c: Likewise.
49842         * elf/tst-tls10.c: Likewise.
49843         * elf/tst-tls10.h: Likewise.
49844         * elf/tst-tls11.c: Likewise.
49845         * elf/tst-tls12.c: Likewise.
49846         * elf/tst-tls14.c: Likewise.
49847         * elf/tst-tlsmod11.c: Likewise.
49848         * elf/tst-tlsmod12.c: Likewise.
49849         * elf/tst-tlsmod13.c: Likewise.
49850         * elf/tst-tlsmod13a.c: Likewise.
49851         * elf/tst-tlsmod14a.c: Likewise.
49852         * elf/tst-tlsmod15b.c: Likewise.
49853         * elf/tst-tlsmod16a.c: Likewise.
49854         * elf/tst-tlsmod16b.c: Likewise.
49855         * elf/tst-tlsmod7.c: Likewise.
49856         * elf/tst-tlsmod8.c: Likewise.
49857         * elf/tst-tlsmod9.c: Likewise.
49858         * gmon/gmon.c: Likewise.
49859         * grp/fgetgrent_r.c: Likewise.
49860         * grp/putgrent.c: Likewise.
49861         * hurd/fopenport.c: Likewise.
49862         * include/libc-symbols.h: Likewise.
49863         * include/tls.h: Likewise.
49864         * intl/gettextP.h: Likewise.
49865         * intl/loadinfo.h: Likewise.
49866         * locale/global-locale.c: Likewise.
49867         * locale/localeinfo.h: Likewise.
49868         * mach/devstream.c: Likewise.
49869         * malloc/arena.c: Likewise.
49870         * malloc/set-freeres.c: Likewise.
49871         * misc/err.c: Likewise.
49872         * misc/getttyent.c: Likewise.
49873         * misc/mntent_r.c: Likewise.
49874         * posix/getopt.c: Likewise.
49875         * posix/wordexp.c: Likewise.
49876         * pwd/fgetpwent_r.c: Likewise.
49877         * resolv/Versions: Likewise.
49878         * resolv/res_hconf.c: Likewise.
49879         * shadow/fgetspent_r.c: Likewise.
49880         * shadow/putspent.c: Likewise.
49881         * stdio-common/printf_fphex.c: Likewise.
49882         * stdio-common/tmpfile.c: Likewise.
49883         * stdlib/abort.c: Likewise.
49884         * stdlib/fmtmsg.c: Likewise.
49885         * sunrpc/auth_unix.c: Likewise.
49886         * sunrpc/clnt_perr.c: Likewise.
49887         * sunrpc/clnt_tcp.c: Likewise.
49888         * sunrpc/clnt_udp.c: Likewise.
49889         * sunrpc/clnt_unix.c: Likewise.
49890         * sunrpc/openchild.c: Likewise.
49891         * sunrpc/svc_simple.c: Likewise.
49892         * sunrpc/svc_tcp.c: Likewise.
49893         * sunrpc/svc_udp.c: Likewise.
49894         * sunrpc/svc_unix.c: Likewise.
49895         * sunrpc/xdr.c: Likewise.
49896         * sunrpc/xdr_array.c: Likewise.
49897         * sunrpc/xdr_rec.c: Likewise.
49898         * sunrpc/xdr_ref.c: Likewise.
49899         * sunrpc/xdr_stdio.c: Likewise.
49901 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49903         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49905 2011-07-03  Andreas Jaeger  <aj@suse.de>
49907         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49908         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49909         regenerate with gen-libm-tests.pl.
49911 2010-05-12  Petr Baudis  <pasky@suse.cz>
49913         [BZ #11589]
49914         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49915         around j0() zero points by switching to j1().
49916         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49917         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49918         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49919         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49921 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49923         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49924         instead of 0.
49925         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49926         instead of 0.
49927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49928         Patch in part by Pavel Roskin <proski@gnu.org>.
49930         [BZ #13138]
49931         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49932         realloc.
49933         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
49934         Free memory block if necessary.
49936         [BZ #12847]
49937         * libio/genops.c (INTDEF): For string streams the _lock pointer can
49938         be NULL.  Don't lock in this case.
49940 2011-09-09  Roland McGrath  <roland@hack.frob.com>
49942         * elf/elf.h (ELFOSABI_GNU): New macro.
49943         (ELFOSABI_LINUX): Define to that.
49945 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
49947         * string/strncat.c (strncat): Undef the symbol in case it has been
49948         defined in bits/string.h.
49950 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49952         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49954         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49955         link map.
49957 2011-08-17  Andreas Jaeger  <aj@suse.de>
49959         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49961 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49962             Ian Lance Taylor  <iant@google.com>
49964         * math/libm-test.inc (lround_test): New testcase.
49965         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49967 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
49969         * Makefile: Remove support for automatic cvs check-ins.
49970         * Makerules: Likewise.
49971         * config.make.in: Likewise.
49972         * configure.in: Likewise.
49973         * intl/Makefile: Likewise.
49974         * locale/Makefile: Likewise.
49975         * po/Makefile: Likewise.
49976         * posix/Makefile: Likewise.
49977         * sysdeps/gnu/Makefile: Likewise.
49978         * sysdeps/mach/hurd/Makefile: Likewise.
49979         * sysdeps/sparc/sparc32/Makefile: Likewise.
49981         [BZ #13118]
49982         * posix/Makefile (bug-regex32-ENV): Define.
49983         Patch by John Stanley <jpsinthemix@verizon.net>.
49985         * misc/Makefile (headers): Add bits/select2.h.
49986         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49987         * misc/bits/select2.h: New file.
49988         * include/bits/select2.h: New file.
49989         * debug/Makefile (routines): Add fdelt_chk.
49990         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49991         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49992         FD_ISSET.
49993         * debug/fdelt_chk.c: New file.
49995         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49996         * wcsmbs/test-wmemcmp.c: Likewise.
49997         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49998         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50000 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50002         * string/Makefile (strop-tests): Add memcmp.
50003         * string/test-wmemcmp.c: New file.
50004         * string/test-memcmp.c: Add wmemcmp support.
50006 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50008         [BZ #13153]
50009         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50010         2011-07-19 change.
50012         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50013         garbage value in a __mach_port_mod_refs call in the cases of the
50014         task-self and thread-self ports.
50016 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50018         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50020 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50022         * elf/dl-load.c (lose): Check for non-null L.
50024 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50026         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50028         * elf/dl-libc.c (dlerror_run): Pass back error code from
50029         dl_catch_error.
50031         [BZ #13123]
50032         * elf/dl-load.c (lose): Free l_origin if it is valid.
50034         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50035         names.
50036         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50037         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50038         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50039         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50040         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50041         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50043 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50045         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50046         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50047         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50048         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50049         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50050         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50051         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50052         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50053         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50054         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50056 2011-08-15  Alan Modra  <amodra@gmail.com>
50058         [BZ #13092]
50059         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50060         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50061         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50062         ppc_mcount to static-only-routines.
50063         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50064         __mcount_internal.
50065         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50066         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50068 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50070         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50071         for finite and infinity parameters.
50073 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50075         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50076         and add nop instructions for throughput optimization.
50077         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50079 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50081         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50082         aligned copy for power7 with vector-scalar instructions.
50083         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50085 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50087         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50088         AVX check.
50090 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50092         [BZ #13144]
50093         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50094         last change.
50096 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50098         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50099         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50100         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50101         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50102         clock_gettime.
50104 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50106         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50107         Forgot to demangle the pointer.
50109         * sysdeps/i386/sysdep.h: Define atom_text_section.
50110         * sysdeps/x86_64/sysdep.h: Likewise.
50111         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50112         section with atom_text_section.
50113         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50114         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50115         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50116         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50117         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50119         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50120         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50121         already be defined.  Change to take two parameters and don't assign
50122         result to variable.  Adjust all users.
50123         Define INTERNAL_GETTIME if not already defined.
50124         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50125         call.
50126         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50127         HAVE_CLOCK_GETTIME_VSYSCALL.
50128         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50130         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50131         gettimeofday vsyscall, just use time.
50133 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50136         <errno.h>.
50138 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50140         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50141         syscall on x86-64.
50142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50143         syscall.
50144         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50145         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50146         syscall if possible.
50148 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50150         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50151         e_ident.  Don't pass to find_mapsXX.
50152         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50154 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50157         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50158         * sysdeps/x86_64/multiarch/strchr.S: Update.
50159         Check bit_slow_BSF bit.
50160         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50161         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50162         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50164 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50166         [BZ #13134]
50167         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50168         before glibc 2.15.
50169         (tryshell): Define.
50170         (__spawni): Change last parameter to be flag.  Test
50171         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50172         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50173         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50174         * posix/spawni.c: Likewise.
50175         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50176         * posix/spawnp.c: Likewise.  Change normal version to use
50177         SPAWN_XFLAGS_USE_PATH.
50178         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50179         SPAWN_XFLAGS_TRY_SHELL.
50181         [BZ #13150]
50182         * posix/glob.h: Remove gcc 1.x support.
50184         [BZ #13068]
50185         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50187 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50189         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50190         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50191         strrchr-sse2-bsf
50192         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50193         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50194         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50195         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50196         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50197         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50199 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50201         * sysdeps/x86_64/wcscmp.S: New file.
50203         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50204         wcscmp-c wcscmp-sse2
50205         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50206         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50207         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50208         * wcsmbs/wcscmp.c: Allow renaming.
50210 2011-09-05  David S. Miller  <davem@davemloft.net>
50212         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50213         stack slot, rather than the struct return pointer slot.
50214         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50215         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50217         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50219 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50221         * po/ja.po: Update from translation team.
50223         [BZ #13144]
50224         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50225         kernel in 64-bit binaries.
50227 2011-09-01  David S. Miller  <davem@davemloft.net>
50229         * elf/elf.h (HWCAP_SPARC_*): Move to..
50230         * sysdeps/sparc/sysdep.h: this new file and add new values.
50231         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50232         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50233         _DL_HWCAP_COUNT to 24.
50234         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50235         entries.
50236         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50237         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50238         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50239         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50240         instead of magic constants.
50241         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50243 2011-08-31  David S. Miller  <davem@davemloft.net>
50245         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50246         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50247         Reimplement to do errno handling inline.
50248         (SYSCALL_ERROR_HANDLER): New macro.
50249         (__SYSCALL_STRING): Do not do errno handling in asm.
50250         (__CLONE_SYSCALL_STRING): Delete.
50251         (__INTERNAL_SYSCALL_STRING): Delete.
50252         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50253         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50254         (PSEUDO): Reimplement to do errno handling inline.
50255         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50256         (SYSCALL_ERROR_HANDLER): New macro.
50257         (__SYSCALL_STRING): Do not do errno handling in asm.
50258         (__CLONE_SYSCALL_STRING): Delete.
50259         (__INTERNAL_SYSCALL_STRING): Delete.
50260         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50261         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50262         i386.
50263         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50264         (inline_syscall*): Add 'err' argument.
50265         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50266         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50267         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50268         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50270         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50271         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50273 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50275         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50277 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50279         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50280         directive.
50282 2011-08-24  David S. Miller  <davem@davemloft.net>
50284         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50286 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50288         * elf/Makefile: Add rules to build and run unload8 test.
50289         * elf/unload8.c: New file.
50290         * elf/unload8mod1.c: New file.
50291         * elf/unload8mod1x.c: New file.
50292         * elf/unload8mod2.c: New file.
50293         * elf/unload8mod3.c: New file.
50295         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50296         it wasn't used.
50298 2011-08-23  David S. Miller  <davem@davemloft.net>
50300         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50301         subtract stack bias.
50302         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50303         %sp not %fp in calculations.
50304         (_JMPBUF_UNWINDS_ADJ): Likewise.
50306         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50307         (aio_suspend): Call it to force an exception region around the
50308         AIO_MISC_WAIT() invocation.
50310 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50312         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50313         backslash.
50315 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50317         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50318         protection macro.
50319         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50320         and <dl-machine.h>.
50321         (Elf64_FuncDesc): Remove.
50323 2011-08-22  David S. Miller  <davem@davemloft.net>
50325         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50326         sigaltstack check, add missing cfi directives.
50327         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50328         missing cfi directives, and sigaltstack handling.
50330 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50332         [BZ #11724]
50333         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50334         object is seen twice.
50335         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50337         * elf/Makefile (distribute): Add tst-initorder2.c.
50338         (tests): Add tst-initorder2.
50339         (modules-names): Add tst-initorder2a tst-initorder2b
50340         tst-initorder2c tst-initorder2d.  Add rules to build them.
50341         ($(objpfx)tst-initorder2.out): New rule.
50342         * elf/tst-initorder2.c: New file.
50343         * elf/tst-initorder2.exp: New file.
50345 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50347         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50349         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50350         dependencies back to end of function.
50352         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50353         $(elfobjdir)/ld.so.
50355 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50357         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50358         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50359         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50360         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50361         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50362         of __vdso_gettimeofday.
50363         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50364         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50365         attribute_hidden.
50366         (_libc_vdso_platform_setup): Remove initialization of
50367         __vdso_gettimeofday and __vdso_time.
50369 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50371         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50372         and fgetc_unlocked.
50373         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50374         getc_unlocked.
50376         * elf/dl-open.c (add_to_global): Report additions to the global scope
50377         for LD_DEBUG=scopes.
50378         (dl_open_worker): Also print scope of newly loaded dependencies.
50379         (_dl_show_scope): Indicate if there is no scope.
50381         [BZ #13114]
50382         * stdio-common/Makefile (tests): Add bug24.
50383         * stdio-common/bug24.c: New file.
50385 2011-08-19  Andreas Jaeger  <aj@suse.de>
50387         [BZ #13114]
50388         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50389         non-existant file when using close-on-exec mode.
50391 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50393         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50394         the very first instruction.
50396         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50397         the CFI state in the end.
50398         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50399         inclusion of dl-trampoline.h.
50400         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50402 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50404         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50405         expectations for long double.
50407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50408         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50410 2011-08-14  David S. Miller  <davem@davemloft.net>
50412         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50413         artificual limit depends upon the system page size.
50415 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50417         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50418         * resolv/Makefile: Define CFLAGS-libresolv.
50420 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50422         * nss/makedb.c (compute_tables): Make variables used in nested
50423         function static.
50425 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50427         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50428         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50429         if buffer was too small.
50431         * elf/pldd.c (main): Attach to all threads in the process.
50432         Rewrite /proc handling to use *at functions.
50434 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50436         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50437         specifies first scope to show.
50438         (dl_open_worker): Update callers.  Move printing scope of new
50439         object to before the relocation.
50440         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50441         * sysdeps/generic/ldsodefs.h: Update declaration.
50443         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50444         string for the scope number.
50446 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50448         * nscd/servicescache.c (cache_addserv): Make sure written is always
50449         initialized.
50451 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50453         * sysdeps/i386/i486/bits/atomic.h
50454         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50455         statement expression, so as to suppress "set but not used" warning.
50456         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50458         * string/strncat.c (STRNCAT): Use prototype definition.
50460         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50461         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50462         -Iprograms here.
50463         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50464         (localedef-modules): Add localedef.
50465         (locale-modules): Add locale.
50467         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50468         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50469         to avoid a warning.
50471 2011-08-14  David S. Miller  <davem@davemloft.net>
50473         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50474         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50476 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50478         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50479         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50480         * elf/rtld.c (dl_main): Set l_name of vDSO.
50481         Call _dl_show_scope when DL_DEBUG_SCOPES.
50482         (process_dl_debug): Recognize scopes flag and also set it for all.
50483         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50484         Declare _dl_show_scope.
50486         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50487         (do_dlopen): Pass caller_dlopen to dl_open.
50488         (__libc_dlopen_mode): Initialize caller_dlopen.
50490         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50491         of libc.  Make tolower call locale-independent.  Optimize a bit by
50492         using isdigit instead of isalnum.
50493         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50495 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50497         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50498         was a dependency or dynamically loaded.
50500 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50502         * intl/l10nflist.c: Allow architecture-specific pop function.
50503         * sysdeps/x86_64/l10nflist.c: New file.
50505         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50506         classification.
50508 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50510         * include/dirent.h: Add libc_hidden_proto for scandirat and
50511         scandirat64.  Don't declare __scandirat64.
50512         * dirent/scandirat.c: Add libc_hidden_def.
50513         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50514         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50516 2011-08-10  David S. Miller  <davem@davemloft.net>
50518         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50519         enum.
50520         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50521         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50522         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50524 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50526         * Versions.def [libc]: Add GLIBC_2.15.
50527         * dirent/Makefile (routines): Add scandirat and scandirat64.
50528         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50529         GLIBC_2.15.
50530         * dirent/dirent.h: Declare scandirat and scandirat64.
50531         * dirent/scandirat.c: New file.
50532         * dirent/scandirat64.c: New file.
50533         * sysdeps/wordsize-64/scandirat.c: New file.
50534         * sysdeps/wordsize-64/scandirat64.c: New file.
50535         * dirent/opendir.c: Define opendirat.
50536         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50537         using scandirat.
50538         * dirent/scandir64.c: Adjust for scandir.c change.
50539         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50540         __scandirat64, and __scandir_cancel_handler.
50541         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50542         additional parameter and use openat instead of open (outside of ld.so).
50543         Add new __opendir as wrapper around __opendirat.
50544         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50545         here without requiring old scandirat implementation.
50547 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50549         * dirent/scandir.c (cancel_handler): Renamed to
50550         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50551         defined.  Adjust users.
50552         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50553         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50555 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50557         * string/test-string.h (IMPL): Use __STRING to expand name and then
50558         stringify it.
50560         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50561         of cleanups.
50563 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50565         * string/Makefile: Update.
50566         (strop-tests): Append strncat.
50567         * string/test-wcscmp.c: New file.
50568         New comprehensive test for wcscmp.
50569         * string/test-strcmp.c: Update.
50570         (WIDE): New define.
50572 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50574         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50575         line.
50577 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50580         encoding to ACE if AI_IDN.
50582 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50584         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50585         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50587 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50589         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50590         Fix overflow bug in strncat.
50591         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50593         * string/test-strncat.c: Update.
50594         Add new tests for checking overflow bugs.
50596 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50598         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50599         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50600         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50601         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50602         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50603         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50604         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50605         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50606         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50608         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50609         (USE_AS_STRCAT): Define.
50610         Add strcat and strncat support.
50611         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50613 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50615         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50616         __n bigger than INT_MAX+1.
50617         (__strncmp_g): Likewise.
50619 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50621         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50622         * libio/stido.h: Likewise.
50624         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50625         (AF_NFC): Define.
50626         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50627         (AF_NFC): Define.
50629         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50630         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50631         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50632         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50633         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50635         [BZ #13021]
50636         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50637         installed.
50639         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50640         typo.
50641         (_dl_x86_64_save_sse): Likewise.
50643 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50645         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50646         OSXSAVE.
50647         (_dl_x86_64_save_sse): Likewise.
50649         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50651         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50653 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50655         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50656         change.
50657         (_dl_x86_64_save_sse): Use correct AVX check.
50659 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50661         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50662         bug in strncpy/strncat.
50663         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50665 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50667         * string/tester.c (test_strcat): Add tests for different alignments
50668         of source and destination.
50669         (test_strncat): Likewise.
50671 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50673         [BZ #12852]
50674         * posix/glob.c (glob): Check passed in values before using them in
50675         expressions to avoid some overflows.
50676         (glob_in_dir): Likewise.
50678         [BZ #13007]
50679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50680         check for AVX enablement so that we don't crash with old kernels and
50681         new hardware.
50682         * elf/tst-audit4.c: Add same checks here.
50683         * elf/tst-audit6.c: Likewise.
50685         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50687 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50689         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50691 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50693         * po/cs.po: Update from translation team.
50694         * po/bg.po: Likewise.
50696 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50698         * misc/sys/cdefs.h: Add support for const attribute.
50699         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50700         to gnu_dev_{major,minor,makedev} functions.
50702 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50704         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50706 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50708         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50709         strlen results.
50711 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50713         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50714         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50715         register in order to avoid conflicts with the soft frame pointer
50716         being held in r11 when necessary.
50717         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50718         (INTERNAL_VSYSCALL_NCS): Likewise.
50720 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50722         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50723         * elf/dl-fini.c (_dl_fini): Adjust caller.
50724         * elf/dl-close.c (_dl_close_worker): Likewise.
50725         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50727 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50729         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50730         "aux_cache->nlibs < 0".
50732         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50733         in the reload-count case.
50735 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50737         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50738         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50739         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50740         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50741         * sysdeps/x86_64/multiarch/strcat.S: New file.
50742         * sysdeps/x86_64/multiarch/strncat.S: New file.
50743         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50744         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50745         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50746         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50747         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50748         (USE_AS_STRCAT): Define.
50749         Add strcat and strncat support.
50750         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50751         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50752         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50753         * string/strncat.c: Update.
50754         (USE_AS_STRNCAT): Define.
50755         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50756         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50757         and i7.
50758         * sysdeps/x86_64/multiarch/init-arch.h
50759         (bit_Prefer_PMINUB_for_stringop): New.
50760         (index_Prefer_PMINUB_for_stringop): Likewise.
50761         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50762         bit_Prefer_PMINUB_for_stringop.
50764 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50766         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50767         buffer64.
50768         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50769         of casting of buffer.
50770         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50771         buffer32 and buffer64.
50772         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50773         writes instead of casting of buffer.
50774         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50775         buffer32.
50776         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50777         casting of buffer.
50779 2011-07-19  Andreas Schwab  <schwab@redhat.com>
50781         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50783 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50785         * nscd/nscd.c (termination_handler): Don't do anything for a database
50786         if it has not yet been initialized.
50788 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50790         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50792 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50794         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50796 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50798         * po/nl.po: Update from translation team.
50799         * po/sv.po: Likewise.
50801 2011-07-16  Roland McGrath  <roland@hack.frob.com>
50803         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50804         now disallowed by GCC.
50806         * configure.in (use-default-link): Default to yes if a test -shared
50807         link meets our qualifications.
50808         * configure: Regenerated.
50810         * config.make.in (output-format): New variable.
50811         * configure.in: Check for ld --print-output-format support.
50812         * configure: Regenerated.
50813         * Makerules ($(common-objpfx)format.lds)
50814         [$(output-format) != unknown]: Just use $(output-format),
50815         instead of the linker-script munging.
50817 2011-07-14  Roland McGrath  <roland@hack.frob.com>
50819         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50820         of $(common-objpfx)shlib.lds.
50821         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50823         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50824         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50826         * configure.in (-z relro check): Adjust test code to add a large
50827         writable data section after it.
50828         * configure: Regenerated.
50830 2011-07-11  Roland McGrath  <roland@hack.frob.com>
50832         * configure.in (-z relro check): Fix test code to make the variable
50833         truly const.
50834         * configure: Regenerated.
50836 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
50838         * nscd/nscd.h (struct traced_file): Define.
50839         (struct database_dyn): Remove inotify_descr, reset_res, and filename
50840         elements.  Add traced_files.
50841         (inotify_fd): Declare.
50842         (register_traced_file): Declare.
50843         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50844         (inotify_fd): Export.
50845         (resolv_conf_descr): Remove.
50846         (nscd_init): Move inotify descriptor creation to main.
50847         Don't register files for notification here.
50848         (register_traced_file): New function.
50849         (invalidate_cache): Don't use reset_res to determine whether to call
50850         res_init, go through the list of registered files.
50851         (main_loop_poll): The inotify descriptors are now stored in the
50852         structures for the traced files.
50853         (main_loop_epoll): Likewise
50854         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
50855         to __nss_disable_nscd.
50856         * nscd/cache.c (prune_cache): There is no single inotify descriptor
50857         for a database anymore.  Check the records for all the registered
50858         files instead.
50859         * nss/Makefile (libnss_files-routines): Add files-init.
50860         (libnss_db-routines): Add db-init.
50861         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50862         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50863         * nss/nss_db/db-init.c: New file.
50864         * nss/nss_files/files-init.c: New file.
50865         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
50866         __nss_lookup_function.
50867         (__nss_lookup_function): Call nss_load_library.
50868         (nss_load_all_libraries): New function.
50869         (__nss_disable_nscd): Take parameter with callback function for files
50870         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
50871         used for the cached services.
50872         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50873         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50874         options for features to all the files in nscd.
50876         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50878 2011-07-10  Roland McGrath  <roland@hack.frob.com>
50880         * csu/elf-init.c (__libc_csu_init): Comment typo.
50882 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
50884         * po/pl.po: Update from translation team.
50885         * po/ja.po: Likewise.
50886         * po/ru.po: Likewise.
50887         * po/ko.po: Likewise.
50888         * po/fr.po: Likewise.
50890 2011-07-09  Roland McGrath  <roland@hack.frob.com>
50892         * configure.in (.ctors/.dtors header and trailer check):
50893         Use an empirical test on a built program.
50894         * configure: Regenerated.
50896         * configure.in (-z relro check): Use an empirical test on a built DSO.
50897         Detect, but do not require, on ia64.
50898         * configure: Regenerated.
50900         * configure.in (READELF): Find it with AC_CHECK_TOOL.
50901         Update tests that use readelf to use $READELF instead.
50902         * configure: Regenerated.
50904 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
50906         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50907         if the result is not used.
50909 2011-07-05  Andreas Jaeger  <aj@suse.de>
50911         [BZ#9696]
50912         * stdlib/tst-strtod.c: Add testcase.
50914 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
50916         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50917         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50918         The latter has a higher limit.  Take additional parameter to pass to
50919         the new function.
50920         (__pathconf): Pass file to __statfs_link_max.
50921         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50922         __statfs_link_max.
50923         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50924         __statfs_link_max.
50926         [BZ #12868]
50927         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50928         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50929         Handle Lustre.
50930         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50931         (__statfs_filesize_max): Likewise.
50932         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50934 2011-07-05  Andreas Jaeger  <aj@suse.de>
50936         * resolv/res_comp.c (dn_skipname): Remove unused variable.
50938 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
50940         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50941         `status' variable.
50942         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50943         Likewise.
50945 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
50947         * Makefile (strop-tests): Add strncat.
50948         * string/test-strncat.c: New file.
50950 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
50952         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50954 2011-06-21  Andreas Jaeger  <aj@suse.de>
50956         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50957         Copy rule from iconvdata/Makefile.
50959 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50961         [BZ #12922]
50962         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50963         but no long options are defined, just return 'W'.
50965 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
50967         [BZ #9696]
50968         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50970 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50972         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50973         netgroups to read.
50974         (innetgr): Likewise.
50976 2011-07-05  Roland McGrath  <roland@hack.frob.com>
50978         * config.make.in (install_root): Default to $(DESTDIR).
50980 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50982         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50984 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50986         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50988         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50989         containing directory rather than embedding absolute directory names.
50991         * scripts/check-local-headers.sh: Rewritten using awk.
50992         Match by word, not by line.  Print error messages for matches.
50993         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50995         * Makerules [shlib-lds-flags empty]:
50996         ($(common-objpfx)libc_pic.opts): New target.
50997         ($(common-objpfx)libc_pic.os.clean): New target.
50998         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51000         * config.make.in (OBJCOPY): New variable.
51001         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51002         * configure: Regenerated.
51004         * config.make.in (use-default-link): New variable.
51005         * configure.in (use_default_link): Grok --with-default-link to set it.
51006         * configure: Regenerated.
51007         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51008         (shlib-lds, shlib-lds-flags): Define to empty.
51010         * Makerules (shlib-lds): New variable.
51011         (shlib-lds-flags): New variable.
51012         (build-shlib, build-moduile, build-module-asneeded): Use it.
51013         ($(common-objpfx)libc.so): Use $(shlib-lds).
51014         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51015         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51017         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51018         DT_FLAGS/DT_FLAGS_1 with zero flags.
51020         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51021         linker script munging.
51023 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51025         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51026         as 128-bit value.
51027         * crypt/sha512.c (sha512_process_block): Perform total addition using
51028         128-bit if possible.
51029         (__sha512_finish_ctx): Likewise.
51030         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51031         as 64-bit value.
51032         * crypt/sha256.c (SWAP64): Define.
51033         (sha256_process_block): Perform total addition using 64-bit if
51034         possible.
51035         (__sha256_finish_ctx): Likewise.
51037 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51039         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51040         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51041         * nscd/hstcache.c (cache_addhst): Likewise.
51042         * nscd/grpcache.c (cache_addgr): Likewise.
51043         * nscd/aicache.c (addhstaiX): Likewise
51044         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51046 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51048         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51049         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51050         * nscd/hstcache.c (cache_addhst): Likewise.
51051         * nscd/grpcache.c (cache_addgr): Likewise.
51052         * nscd/aicache.c (addhstaiX): Likewise
51054 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51056         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51057         domain only when needed.
51059 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51061         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51062         is always restored.
51064 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51066         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51067         are re-adding the entry.
51068         * nscd/servicescache.c (cache_addserv): Likewise.
51070 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51072         * sysdeps/generic/dl-irel.h: fix protection against multiple
51073         inclusions.
51074         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51076 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51078         [BZ #12935]
51079         * malloc/memusage.sh: Fix quoting in message.
51080         * debug/xtrace.sh: Likewise.
51082         * configure.in: Remove support for --experimental-malloc option, make
51083         it the default.
51084         * config.make.in: Likewise.
51085         * malloc/Makefile: Likewise.
51087 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51089         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51090         two-byte characters.
51092 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51094         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51095         AC_CACHE_CHECK invocation.
51096         * configure: Regenerated.
51098         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51100 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51102         [BZ #12350]
51103         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51104         bit from old_res_options.
51106         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51108         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51109         value type for setfct.
51111 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51113         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51114         __gettimeofday instead of gettimeofday.
51116 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51118         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51120 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51122         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51124         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51125         info.
51127 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51129         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51130         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51131         strcpy-sse2-unaligned strncpy-sse2-unaligned
51132         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51133         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51134         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51135         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51136         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51137         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51138         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51139         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51140         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51141         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51142         (STRCPY): Support SSE2 and SSSE3 versions.
51144 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51146         [BZ #12874]
51147         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51148         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51149         kernels which artificially limit size of requests.
51151 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51153         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51154         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51155         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51156         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51157         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51158         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51159         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51160         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51161         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51162         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51163         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51164         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51165         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51166         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51167         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51168         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51169         Enable unaligned load optimization for Intel Core i3, i5 and i7
51170         processors.
51171         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51172         Define.
51173         (index_Fast_Unaligned_Load): Define.
51174         (HAS_FAST_UNALIGNED_LOAD): Define.
51176 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51178         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51180 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51182         [BZ #12907]
51183         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51184         until it is clear that the information is realy needed.
51185         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51187 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51189         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51191 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51193         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51194         /sys/devices/system/cpu/online if it is usable.
51196         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51197         reading the information from the /proc filesystem to once a second.
51199 2011-06-21  Andreas Jaeger  <aj@suse.de>
51201         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51202         NULL after inclusion of kernel headers.
51204 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51206         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51207         calls to internal_setent.
51209         [BZ #12885]
51210         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51211         addresses using gethostbyname4_r ignore IPv4 addresses.
51213         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51214         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51216         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51218 2011-06-20  David S. Miller  <davem@davemloft.net>
51220         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51221         inclusions.
51222         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51224         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51225         (elf_irel): Use it.
51226         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51227         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51228         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51229         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51230         * sysdeps/x86_64/dl-irel.h: Likewise.
51232         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51233         * elf/dl-sym.c: Likewise.
51235 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51237         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51238         need to dereference resplen2.
51240 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51242         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51244 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51246         * Makeconfig: Define vardbdir and inst_vardbdir.
51247         * nss/Makefile: Add rules to install db-Makefile.
51249         * nss/nss_db/db-XXX.c: Cleanup.
51251         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51252         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51253         GLIBC_PRIVATE.
51254         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51255         * nss/makedb.c: Implement -g option to specify that value strings
51256         are generated and should not be added to table iterated over for
51257         get*ent calls.
51258         * nss/nss_db/db-initgroups.c: New file.
51260         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51261         interface.
51263         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51264         (internal_getgrouplist): Adjust to name change.
51265         Update use_initgroups_entry if this is not the first call.
51266         * nss/databases.def: Add initgroups entry.
51268         * nss/makedb.c (compute_tables): Check result of multiple hash table
51269         sizes to minimize maximum chain length.
51271 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51273         * Versions.def: Add entry for libnss_db.
51274         * shlib-versions: Likewise.
51275         * nss/Makefile: Add rules to build libnss_db.
51276         * nss/Versions: Add libnss_db information.  Organize libnss_files
51277         entries better.
51278         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51279         makedb progra.  Some minor improvements to generate smaller files.
51280         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51281         here from...
51282         * nss/makedb.c: ...here.
51283         Improve database format to be smaller and require less memory at
51284         runtime.
51285         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51286         db anymore.
51287         * nss/nss_db/db-netgrp.c: Likewise.
51288         * nss/nss_db/db-open.c: Likewise.
51289         * nss/nss_files/flies-XXX.x: Adjust comments.
51290         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51291         * nss/nss_files/files-grp.c: Likewise.
51292         * nss/nss_files/files-hosts.c: Likewise.
51293         * nss/nss_files/files-network.c: Likewise.
51294         * nss/nss_files/files-proto.c: Likewise.
51295         * nss/nss_files/files-pwd.c: Likewise.
51296         * nss/nss_files/files-rpc.c: Likewise.
51297         * nss/nss_files/files-service.c: Likewise.
51298         * nss/nss_files/files-sgrp.c: Likewise.
51299         * nss/nss_files/files-spwd.c: Likewise.
51300         * nss/nss_db/db-alias.c: Removed.
51301         * nss/nss_db/dummy-db.h: Removed.
51303 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51305         * nss/makedb.c: Rewritten to not use database library.
51306         * nss/Makefile: Update to build new makedb program.
51308 2011-06-14  Andreas Jaeger  <aj@suse.de>
51310         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51311         memset declaration.
51313 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51316         tmpbuf.
51318 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51320         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51321         * elf/Makefile ($(objpfx)ld.so): Likewise.
51323         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51324         Don't list ld.so twice in dependencies.
51326         * posix/bug-regex31.c: Include <stdlib.h>.
51328         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51330         * nis/nss_compat/compat-spwd.c
51331         (getspent_next_nss_netgr): Remove unused variable.
51332         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51334         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51335         nonmembers" output to use the right array.
51337         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51339         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51341         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51342         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51343         * catgets/gencat.c (read_input_file): Likewise.
51344         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51346         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51347         variable definition inside #if's controlling its use.
51349         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51351         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51353         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51355         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51356         unreachable code.
51358         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51360         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51361         * configure: Regenerated.
51363         * Makerules: Revert last change.
51364         * elf/Makefile: Likewise.
51366 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51368         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51369         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51370         (reloc-link): Likewise.
51372 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51374         * elf/Makefile: Add rules to build pldd.
51375         * elf/pldd.c: New file.
51376         * elf/pldd-xx.c: New file.
51378 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51380         * version.h: Update for 2.15 development version.
51382 2011-06-07  David S. Miller  <davem@davemloft.net>
51384         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51385         ifuncs.
51386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51387         elf_machine_lazy_rel): Likewise.
51388         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51389         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51390         elf_machine_lazy_rel): Likewise.
51391         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51392         dl_hwcap via passed in argument.
51393         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51394         Likewise.
51396 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51398         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51400 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51402         [BZ #12849]
51403         * manual/fdl-1.1.texi: New file, verbatim from:
51404         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51405         * manual/lgpl-2.1.texi: New file, verbatim from:
51406         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51407         * manual/Makefile (licenses): New variable, list those new file names.
51408         (texis): Use it.
51409         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51411         * manual/fdl.texi: File removed.
51412         * manual/lesser.texi: File removed.
51413         * manual/libc.texinfo (Copying, Documentation License):
51414         Use new @include file names, put @appendix directive before @include.
51416 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51418         [BZ #12841]
51419         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51420         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51421         (mq_open): Add __NTH.
51423 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51425         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51426         Assume Intel Core i3/i5/i7 processor if AVX is available.
51428 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51430         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51431         typo.
51433 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51435         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51436         memory.  Use alloca_account.  Fix memory leak when retrying.
51438 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51440         * version.h (RELEASE): Bump for 2.14 release.
51441         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51443         * config.make.in (RANLIB): Remove entry.
51445 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51447         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51448         (libc.pot): Work around missing support for .ksh extension in xgettext.
51450         [BZ #12684]
51451         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51452         if both request failed.
51453         (send_dg): In case of server errors clear resplen or *resplen2.
51455         [BZ #12454]
51456         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51457         when there are multiple maps.
51458         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51459         (_dl_fini): Remove test here.
51461         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51463 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51465         [BZ #12350]
51466         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51467         bit from old_res_options.
51468         (gaih_inet): Likewise.
51470         [BZ #11099]
51471         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51472         as signed.
51474         * resolv/res_init.c (res_setoptions): Make the code more compact.
51476         [BZ #11558]
51477         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51478         set RES_USEVC.
51480         [BZ #11634]
51481         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51483         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51485         [BZ #11781]
51486         * malloc/malloc.h: Declare malloc hook variables as volatile.
51488         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51489         in last patch.
51491         [BZ #11799]
51492         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51493         raise in the comment.
51494         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51495         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51496         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51498 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51500         [BZ #12811]
51501         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51502         grow the buffers more if it already has to be sufficient.
51503         (build_wcs_upper_buffer): Likewise.
51504         * posix/regexec.c (check_matching): Likewise.
51505         (clean_state_log_if_needed): Likewise.
51506         (extend_buffers): Don't enlarge buffers beyond size of the input
51507         buffer.
51508         Patches mostly by Emil Wojak <emil@wojak.eu>.
51509         * posix/bug-regex32.c: New file.
51510         * posix/Makefile (tests): Add bug-regex32.
51512         * locale/findlocale.c (_nl_find_locale): Return right away if
51513         _nl_explode_name failed.
51514         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51516         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51518         * debug/xtrace.sh: Unify messages.
51519         * malloc/memusage.sh: Likewise.
51521         [BZ #12813]
51522         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51523         time symbol from vDSO.  Substitute with vsyscall if not available.
51524         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51525         __vdso_time.
51527         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51528         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51529         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51530         Add sendmmsg and internal_sendmmsg.
51531         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51532         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51533         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51535         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51536         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51537         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51539 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51541         [BZ #12813]
51542         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51543         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51544         available.
51545         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51546         __vdso_getcpu.
51548         [BZ #12814]
51549         * iconvdata/Makefile (tests): Add bug-iconv9.
51550         * iconvdata/bug-iconv9.c: New file.
51552 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51554         [BZ #12814]
51555         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51557 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51559         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51560         (struct user_regs_struct): Change intcs field back to cs.
51562 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51564         * po/ja.po: Update from translation team.
51566 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51568         [BZ #12795]
51569         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51570         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51572 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51574         * stdlib/longlong.h: Update from GCC.
51576 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51578         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51579         parameter name.
51580         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51581         Add parameter name.
51582         (__sysconf): Pass it down.
51584 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51586         [BZ #12671]
51587         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51588         some situations.
51589         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51590         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51591         add in in __libc_use_alloca calls.  Adjust callers.
51592         (glob): Use malloc in some situations.
51594         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51595         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51596         pltexit.
51598 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51600         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51601         and CLOCK_BOOTTIME_ALARM.
51603         [BZ #12782]
51604         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51605         is returned.
51607         * string/_strerror.c (__strerror_r): Print negative errors as signed
51608         numbers.
51610         [BZ #12777]
51611         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51612         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51613         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51615         * configure.in: Fix typo in redirection and correct removal of test
51616         files in two cases.
51618         [BZ #12788]
51619         * locale/setlocale.c (new_composite_name): Fix test to check for
51620         identical name of all categories.
51622         [BZ #12792]
51623         * libio/filedoalloc.c (local_isatty): New function.
51624         (_IO_file_doallocate): Use local_isatty.
51625         * stdio-common/perror.c (perror): In case a new stream is used
51626         forward the stream error.
51627         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51628         error flag.
51630 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51632         [BZ #11869]
51633         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51634         alloca.
51635         * include/alloca.h (extend_alloca_account): Define.
51637         [BZ #11857]
51638         * posix/regex.h: Fix comments with documentation of user-accessible
51639         fields after compilation and describe correct free'ing of pattern
51640         after re_compile_pattern.
51641         Patch by Reuben Thomas <rrt@sc3d.org>.
51643 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51645         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51646         and -mno-altivec to prevent the compiler from using Altivec and/or
51647         VSX instructions when the corresponding registers are not available.
51649 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51651         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51653 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51655         * libio/freopen.c (freopen): Use __dup2, not dup2.
51656         * libio/freopen64.c (freopen64): Likewise.
51658 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51660         [BZ #12775]
51661         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51662         * math/Makefile (tests): Add test-powl.
51663         (CFLAGS-test-powl.c): Define.
51664         * math/test-powl.c: New file.
51666 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51668         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51670 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51672         [BZ #11837]
51673         * iconvdata/gb18030.c: Update to GB18020-2005.
51675 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51677         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51678         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51679         Patch by Aharon Robbins <arnold@skeeve.com>.
51681         [BZ #11892]
51682         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51683         on the stack.
51685         [BZ #11895]
51686         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51687         through underflows.
51689         [BZ #12766]
51690         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51691         point to strings before performing equality test for error_one_per_line
51692         mode.
51694         [BZ #11697]
51695         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51697         [BZ #11820]
51698         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51699         (struct user_fpregs_struct): Avoid __uint*_t types.
51701         [BZ #6420]
51702         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51703         symbol info.  Use it instead of calling _dl_addr locally.
51704         (lock_and_info): New function.
51705         (tr_freehook): Call lock_and_info and pass symbol info as additional
51706         parameter to tr_where.
51707         (tr_mallochook): Likewise.
51708         (tr_reallochook): Likewise.
51709         (tr_memalignhook): Likewise.
51711         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51712         used and couldn't be at all thread-safe.
51714 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51716         * libio/freopen.c (freopen): Don't close old file descriptor
51717         before the new one is opened.  Instead dup the new file descriptor
51718         to the old one after the new stream is created.
51719         * libio/freopen64.c (freopen64): Likewise.
51720         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51721         * libio/fileops.c (_IO_new_file_close_it): Handle new
51722         _IO_FLAGS2_NOCLOSE flag.
51723         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51724         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51725         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51726         _IO_FLAGS2_NOCLOSE flag.
51727         * include/unistd.h: Add hidden_proto for dup3.
51728         Define __have_dup3.
51729         * io/dup3.c: Define hidden symbol.
51730         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51732         [BZ #7101]
51733         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51734         when an incomplete long option is used.
51735         * posix/tst-getopt_long1.c: New file.
51736         * posix/Makefile (tests): Add tst-getopt_long1.
51738         [BZ #10138]
51739         * scripts/config.guess: Update from autoconf-2.68.
51740         * scripts/config.sub: Likewise.
51742         [BZ #10157]
51743         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51744         tests into ...
51745         (has_cpuclock): ...this.  New function.
51746         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51747         macro here based on has_cpuclock code.
51749         [BZ #10149]
51750         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51751         First byte (not low byte) is now always NUL.
51752         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51754         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51755         Use non-cancelable interfaces.
51757         [BZ #9809]
51758         * locale/iso-639.def: Add entry for Sorani.
51760         [BZ #11901]
51761         * include/stdlib.h: Move include protection to the right place.
51762         Define abort_msg_s.  Declare __abort_msg with it.
51763         * stdlib/abort.c (__abort_msg): Adjust type.
51764         * assert/assert.c (__assert_fail_base): New function.  Majority
51765         of code from __assert_fail.  Allocate memory for __abort_msg with
51766         mmap.
51767         (__assert_fail): Now call __assert_fail_base.
51768         * assert/assert-perr.c: Remove bulk of implementation.  Use
51769         __assert_fail_base.
51770         * include/assert.hL Declare __assert_fail_base.
51771         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51772         mmap.
51773         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51775 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
51777         [BZ #11952]
51778         [BZ #12453]
51779         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51780         until all modules are registered in the DTV.
51781         * elf/Makefile: Add rules to build and run tst-tls19.
51782         * elf/tst-tls19.c: New file.
51783         * elf/tst-tls19mod1.c: New file.
51784         * elf/tst-tls19mod2.c: New file.
51785         * elf/tst-tls19mod3.c: New file.
51786         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51788         [BZ #12083]
51789         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51790         correctly.
51792         [BZ #12601]
51793         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51794         two-byte sequence errors.
51795         * iconvdata/Makefile (tests): Add bug-iconv8.
51796         * iconvdata/bug-iconv8.c: New file.
51798         [BZ #12626]
51799         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51800         buf2 definition.
51802         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51804         [BZ #12432]
51805         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51806         (dummy_getcfa): New function.
51807         (init): Get _Unwind_GetCFA address, use dummy if not found.
51808         (backtrace_helper): In recursion check, also check whether CFA changes.
51809         (__backtrace): Completely initialize arg.
51811         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51812         storing incomplete byte sequence in state object.  Avoid testing for
51813         guaranteed too small input if we know there is enough data available.
51815 2011-05-11  Andreas Schwab  <schwab@redhat.com>
51817         * Makeconfig (+link-pie): Indent.
51818         * Rules (binaries-pie): Define if $(have-fpie) and
51819         $(build-shared).
51820         (binaries-shared): Also filter out $(binaries-pie).
51821         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51822         * nscd/Makefile (others-pie): Add nscd.
51823         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51824         ($(objpfx)nscd): Remove command override.
51825         * login/Makefile (others-pie): Add pt_chown.
51826         ($(objpfx)pt_chown): Remove command override.
51827         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51828         remove command overrides.
51830 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
51832         * libio/tst_putwc.c: Fix error messages.
51834         [BZ #12724]
51835         * libio/fileops.c (_IO_new_file_close_it): Always flush when
51836         currently writing and seek to current position when not.
51837         * libio/Makefile (tests): Add bug-fclose1.
51838         * libio/bug-fclose1.c: New file.
51840 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
51842         [BZ #12511]
51843         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51844         don't set DF_1_NODELETE here.
51845         (do_lookup_x): When entering new entry test for copy relocation
51846         and if necessary set DF_1_NODELETE flag.
51847         * elf/tst-unique4.cc: New file.
51848         * elf/tst-unique4.h: New file.
51849         * elf/tst-unique4lib.cc: New file.
51850         * elf/Makefile: Add rules to build and run tst-unique4.
51851         Patch by Piotr Bury <pbury@goahead.com>.
51853 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
51855         [BZ #12052]
51856         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51858         [BZ #12625]
51859         * misc/mntent_r.c (addmntent): Flush the stream after the output
51861         [BZ #12393]
51862         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51863         (is_trusted_path_normalize): Skip initial colon.  Append slash
51864         to empty buffer.  Duplicate is_trusted_path code but allow
51865         constructed patch to be prefix.
51866         (is_dst): Allow $ORIGIN followed by /.
51867         (_dl_dst_substitute): Correct clearing of check_for_trusted.
51868         Correct testing of result of is_trusted_path_normalize
51869         (decompose_rpath): Fix warning.
51871 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
51873         [BZ #11257]
51874         * grp/initgroups.c (internal_getgrouplist): When we found the service
51875         list through the initgroups entry in nsswitch.conf do not always
51876         continue on a successful lookup.  Don't always use the
51877         __nss_group_database value if it is set.
51878         * nss/nsswitch.conf (initgroups): Change action for successful db
51879         lookup to continue for compatibility.
51881 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
51883         [BZ #11532]
51884         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51885         and CP774 modules.
51886         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51887         and CP774 modules.
51888         * iconvdata/tst-tables.sh: Likewise.
51889         * iconvdata/cp770.c: New file.
51890         * iconvdata/cp771.c: New file.
51891         * iconvdata/cp772.c: New file.
51892         * iconvdata/cp773.c: New file.
51893         * iconvdata/cp774.c: New file.
51894         * iconvdata/testdata/CP770: New file.
51895         * iconvdata/testdata/CP770..UTF8: New file.
51896         * iconvdata/testdata/CP771: New file.
51897         * iconvdata/testdata/CP771..UTF8: New file.
51898         * iconvdata/testdata/CP772: New file.
51899         * iconvdata/testdata/CP772..UTF8: New file.
51900         * iconvdata/testdata/CP773: New file.
51901         * iconvdata/testdata/CP773..UTF8: New file.
51902         * iconvdata/testdata/CP774: New file.
51903         * iconvdata/testdata/CP774..UTF8: New file.
51905         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51906         END CHARMAP line.
51907         * iconvdata/gen-8bit-gap.sh: Likewise.
51908         * iconvdata/gen-8bit.sh: Likewise.
51910         * locale/iso-639.def: Add ary entry.
51912         [BZ #11258]
51913         * locale/C-translit.h.in: Add U20A1 transliteration.
51915         [BZ #12178]
51916         * locale/iso-639.def: Add wae entry.
51917         Patch by Kevin Bortis <bortis@translate-wae.ch>.
51919         [BZ #12545]
51920         * locale/programs/localedef.c (construct_output_path): Use ssize_t
51921         for n.
51923         [BZ #12711]
51924         * locale/C-translit.h.in: Add entry for U20B9.
51925         Patch by pravin.d.s@gmail.com.
51927 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
51929         [BZ #12713]
51930         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51931         ENAMETOOLONG use generic getcwd.
51932         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
51933         in rtld.  Use *stat64.
51934         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51935         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51936         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51937         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51938         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51939         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51940         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51941         __fstatat64 macros.
51942         * include/dirent.h: Add libc_hidden_proto for rewinddir.
51943         * dirent/rewinddir.c: Add libc_hidden_def.
51944         * sysdeps/mach/hurd/rewinddir.c: Likewise.
51945         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
51947         * include/dirent.h (__alloc_dir): Add flags parameter.
51948         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51949         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51950         __alloc_dir.
51951         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
51952         from fdopendir if O_CLOEXEC is already set.
51954 2011-03-15  Alan Modra  <amodra@gmail.com>
51956         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51957         l_tls_firstbyte_offset non-zero.  Save padding offset in
51958         l_tls_firstbyte_offset for later use.
51959         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51960         freeing static tls block.
51962 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
51964         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51965         where #ifdef was intended.  The intent is to prevent ARG_MAX from
51966         being defined by the kernel headers.
51968 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
51970         [BZ #12734]
51971         * resolv/resolv.h: Define RES_NOTLDQUERY.
51972         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51973         no-tld-query and set RES_NOTLDQUERY.
51974         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51975         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51976         modern BIND to search name as TLD unless forbidden.
51978 2011-05-07  Petr Baudis  <pasky@suse.cz>
51979             Ulrich Drepper  <drepper@gmail.com>
51981         [BZ #12393]
51982         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51983         (is_trusted_path): ...to here.
51984         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51985         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51986         using is_trusted_path_normalize() in setuid scripts.
51988 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51990         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51991         __BEGIN/__END_DECLS.
51993 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51995         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51996         NSS_STATUS_NOTFOUND if no record was found.
51998 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52000         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52001         (headers-not-in-tirpc): Remove rpc/netdb.h
52002         * resolv/netdb.h: Revert last change.
52004 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52006         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52007         circular dependency between libgcc.a and libc.a.
52009 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52011         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52012         * nis/Makefile: Don't install rpcsvc/*.
52013         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52014         instead of <rpc/types.h>.
52015         (MAXHOSTNAMELEN): Define.
52017 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52019         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52021 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52023         [BZ #12714]
52024         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52025         gethostbyname4_r when IPv6 results are possible.
52027 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52029         [BZ #12723]
52030         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52031         _PC_PIPE_BUF handling.
52033 2011-04-30  Bruno Haible  <bruno@clisp.org>
52035         [BZ #12717]
52036         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52037         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52038         to 'int'.
52039         * inet/getnameinfo.c (getnameinfo): Likewise.
52041 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52043         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52044         to groups setting in database lookup.
52045         * nss/nsswitch.conf: Add initgroups entry.
52047 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52049         [BZ #12685]
52050         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52051         mode string.
52052         Patch by Eric Blake <eblake@redhat.com>.
52054 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52056         * sunrpc/Makefile (need-export-routines): Add svc_run.
52057         (routines): Remove svc_run.
52058         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52059         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52060         * sunrpc/svc_run.c (svc_run): Likewise.
52061         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52063 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52065         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52066         problem in reallocation in last patch.
52068 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52070         * sunrpc/Makefile: Move inclusion of Rules.
52072 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52074         * nss/nss_files/files-initgroups.c: New file.
52075         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52076         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52077         _nss_files_initgroups_dyn.
52079 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52081         * elf/elf.h (R_ARM_IRELATIVE): Define.
52083 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52085         * po/ru.po: Update from translation team.
52087 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52089         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52090         dependencies.
52092 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52094         [BZ #12653]
52095         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52096         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52097         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52098         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52099         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52101 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52103         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52104         differing bytes.
52105         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52106         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52107         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52109 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52111         [BZ #12420]
52112         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52113         storing it.
52114         * stdlib/bug-getcontext.c: New file.
52115         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52117 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52119         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52120         instructions into .machine "z9-109".
52121         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52122         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52124 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52126         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52127         between environment variables and auxiliary vector.
52129 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52131         * Makefile: Add rules to build linkobj/libc.so.
52132         * include/libc-symbols.h: Define libc_hidden_nolink.
52133         * include/rpc/auth.h: Mark functions which are to be hidden.
52134         * include/rpc/auth_des.h: Likewise.
52135         * include/rpc/auth_unix.h: Likewise.
52136         * include/rpc/clnt.h: Likewise.
52137         * include/rpc/des_crypt.h: Likewise.
52138         * include/rpc/key_prot.h: Likewise.
52139         * include/rpc/pmap_clnt.h: Likewise.
52140         * include/rpc/pmap_prot.h: Likewise.
52141         * include/rpc/pmap_rmt.h: Likewise.
52142         * include/rpc/rpc_msg.h: Likewise.
52143         * include/rpc/svc.h: Likewise.
52144         * include/rpc/svc_auth.h: Likewise.
52145         * include/rpc/xdr.h: Likewise.
52146         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52147         * nss/Makefile: Likewise.
52148         * sunrpc/Makefile: Don't install headers.  Build library with normal
52149         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52150         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52151         for the compat linking library.  Remove use of INTDEF/INTUSE.
52152         * sunrpc/auth_none.c: Likewise.
52153         * sunrpc/auth_unix.c: Likewise.
52154         * sunrpc/authdes_prot.c: Likewise.
52155         * sunrpc/authuxprot.c: Likewise.
52156         * sunrpc/clnt_gen.c: Likewise.
52157         * sunrpc/clnt_perr.c: Likewise.
52158         * sunrpc/clnt_raw.c: Likewise.
52159         * sunrpc/clnt_simp.c: Likewise.
52160         * sunrpc/clnt_tcp.c: Likewise.
52161         * sunrpc/clnt_udp.c: Likewise.
52162         * sunrpc/clnt_unix.c: Likewise.
52163         * sunrpc/des_crypt.c: Likewise.
52164         * sunrpc/des_soft.c: Likewise.
52165         * sunrpc/get_myaddr.c: Likewise.
52166         * sunrpc/key_call.c: Likewise.
52167         * sunrpc/key_prot.c: Likewise.
52168         * sunrpc/netname.c: Likewise.
52169         * sunrpc/pm_getmaps.c: Likewise.
52170         * sunrpc/pm_getport.c: Likewise.
52171         * sunrpc/pmap_clnt.c: Likewise.
52172         * sunrpc/pmap_prot.c: Likewise.
52173         * sunrpc/pmap_prot2.c: Likewise.
52174         * sunrpc/pmap_rmt.c: Likewise.
52175         * sunrpc/publickey.c: Likewise.
52176         * sunrpc/rpc_cmsg.c: Likewise.
52177         * sunrpc/rpc_common.c: Likewise.
52178         * sunrpc/rpc_dtable.c: Likewise.
52179         * sunrpc/rpc_prot.c: Likewise.
52180         * sunrpc/rpc_thread.c: Likewise.
52181         * sunrpc/rtime.c: Likewise.
52182         * sunrpc/svc.c: Likewise.
52183         * sunrpc/svc_auth.c: Likewise.
52184         * sunrpc/svc_authux.c: Likewise.
52185         * sunrpc/svc_raw.c: Likewise.
52186         * sunrpc/svc_run.c: Likewise.
52187         * sunrpc/svc_simple.c: Likewise.
52188         * sunrpc/svc_tcp.c: Likewise.
52189         * sunrpc/svc_udp.c: Likewise.
52190         * sunrpc/svc_unix.c: Likewise.
52191         * sunrpc/svcauth_des.c: Likewise.
52192         * sunrpc/xcrypt.c: Likewise.
52193         * sunrpc/xdr.c: Likewise.
52194         * sunrpc/xdr_array.c: Likewise.
52195         * sunrpc/xdr_float.c: Likewise.
52196         * sunrpc/xdr_intXX_t.c: Likewise.
52197         * sunrpc/xdr_mem.c: Likewise.
52198         * sunrpc/xdr_rec.c: Likewise.
52199         * sunrpc/xdr_ref.c: Likewise.
52200         * sunrpc/xdr_sizeof.c: Likewise.
52201         * sunrpc/xdr_stdio.c: Likewise.
52203 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52205         [BZ #12650]
52206         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52207         * sysdeps/ia64/dl-tls.h: Likewise.
52208         * sysdeps/powerpc/dl-tls.h: Likewise.
52209         * sysdeps/s390/dl-tls.h: Likewise.
52210         * sysdeps/sh/dl-tls.h: Likewise.
52211         * sysdeps/sparc/dl-tls.h: Likewise.
52212         * sysdeps/x86_64/dl-tls.h: Likewise.
52213         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52215 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52217         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52218         rpath element also skip the following colon.
52219         (expand_dynamic_string_token): Add is_path parameter and pass
52220         down to DL_DST_REQUIRED and _dl_dst_substitute.
52221         (decompose_rpath): Call expand_dynamic_string_token with
52222         non-zero is_path.  Ignore empty rpaths.
52223         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52224         with zero is_path.
52226 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52229         Make cancelable.
52231 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52233         [BZ #12655]
52234         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52235         Patch by Filipe David Manana <fdmanana@apache.org>.
52237 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52239         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52240         Maintain aligned stack.
52241         (CHECK_RSP): Remove unused macro.
52243 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52245         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52246         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52248 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52250         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52252         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52254 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52256         [BZ #12518]
52257         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52258         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52259         * sysdeps/x86_64/memmove.c: New file.
52260         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52261         (memcpy): Renamed to ...
52262         (__new_memcpy): This.
52263         (memcpy): Provide GLIBC_2_14 memcpy.
52264         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52265         (memcpy): Provide GLIBC_2_2_5 memcpy.
52267 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52269         [BZ #12631]
52270         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52272 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52274         * misc/syncfs.c: New file.
52275         * misc/Makefile (routines): Add syncfs.
52276         * posix/unistd.h: Declare syncfs.
52277         * sysdeps/unix/syscalls.list: Add syncfs.
52279 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52281         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52282         open_by_handle_at.
52283         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52284         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52285         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52286         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52287         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52288         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52289         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52291 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52293         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52294         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52295         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52296         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52297         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52299         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52301         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52302         sync_file_range.c with -fexceptions.
52303         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52304         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52305         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52306         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52307         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52308         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52309         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52310         sync_file_range as cancellation point
52311         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52312         now a wrapper around __call_sync_file_range with cancellation handling.
52313         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52314         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52315         function name to __call_sync_file_range.
52316         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52317         Add call_sync_file_range.
52319 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52321         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52322         bits/timex.h.
52324 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52326         * iconv/iconv.h: Fix typo in comment.
52327         * io/fcntl.h: Likewise.
52328         * libio/stdio.h: Likewise.
52329         * posix/spawn.h: Likewise.
52330         * posix/unistd.h: Likewise.
52331         * stdlib/stdlib.h: Likewise.
52332         * time/time.h: Likewise.
52333         * wcsmbs/wchar.h: Likewise.
52335         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52336         open_by_handle): Add.
52337         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52338         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52339         Augment a few comments.
52340         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52341         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52342         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52343         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52344         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52345         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52346         open_by_handle.
52348         * io/fcntl.h (AT_EMPTY_PATH): Define.
52350 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52352         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52353         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52354         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52355         to...
52356         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52357         * Versions.def: Add GLIBC_2.14.
52358         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52359         Export.
52361 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52363         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52364         round counter.
52365         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52367 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52369         [BZ #12597]
52370         * string/test-strncmp.c (do_page_test): New function.
52371         (check2): Likewise.
52372         (test_main): Call check2.
52373         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52375 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52377         [BZ #12587]
52378         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52379         Handle cache information in CPU leaf 4.
52380         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52382 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52384         [BZ #12583]
52385         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52386         character representation.
52387         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52389 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52391         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52392         END(__isnan) to END(__isnanf) to match function entry point/label
52393         EALIGN(__isnanf,...).
52395 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52397         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52399 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52401         [BZ #12510]
52402         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52403         copy from the symbol referenced in the relocation to initialize the
52404         used variable.
52405         Patch by Piotr Bury <pbury@goahead.com>.
52406         * elf/Makefile: Add rules to build and tst-unique3.
52407         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52408         * elf/tst-unique3.cc: New file.
52409         * elf/tst-unique3.h: New file.
52410         * elf/tst-unique3lib.cc: New file.
52411         * elf/tst-unique3lib2.cc: New file.
52413         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52415 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52417         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52418         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52419         to _start.
52421 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52423         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52424         to-be-loaded object along a path to loader is ld.so.
52426 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52427             Ulrich Drepper  <drepper@gmail.com>
52429         * sysdeps/x86_64/memset.S: After aligning destination, code
52430         branches to different locations depending on the value of
52431         misalignment, when multiarch is enabled. Fix this.
52433 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52435         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52436         Set _x86_64_preferred_memory_instruction for AMD processsors.
52437         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52438         Set bit_Prefer_SSE_for_memop for AMD processors.
52440 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52442         * libio/fmemopen.c (fmemopen): Optimize a bit.
52444 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52446         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52448 2011-03-03  Roland McGrath  <roland@redhat.com>
52450         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52452 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52454         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52455         __bzero_ultra1 instead of __memset_ultra1.
52457 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52458             Ulrich Drepper  <drepper@gmail.com>
52460         [BZ #12509]
52461         * include/link.h (struct link_map): Add l_orig_initfini.
52462         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52463         returning unsuccessfully.
52464         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52465         close of a file loaded at startup, restore the original l_initfini
52466         list.
52467         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52468         list, store the pointer.
52469         * elf/Makefile ($(objpfx)noload-mem): New rule.
52470         (noload-ENV): Define.
52471         (tests): Add $(objpfx)noload-mem.
52472         * elf/noload.c: Include <memcheck.h>.
52473         (main): Call mtrace.  Close all opened handles.
52475 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52477         [BZ #12454]
52478         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52479         dependencies are missing.
52481 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52483         Fix __if_freereq crash: Unlike the generic version which uses free,
52484         Hurd needs munmap.
52485         * sysdeps/mach/hurd/ifreq.h: New file.
52487 2011-01-27  Petr Baudis  <pasky@suse.cz>
52488             Ulrich Drepper  <drepper@gmail.com>
52490         [BZ 12445]#
52491         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52492         to extend_alloca().
52493         * stdio-common/bug23.c: New file.
52494         * stdio-common/Makefile (tests): Add bug23.
52496 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52497             Ulrich Drepper  <drepper@gmail.com>
52499         [BZ #12489]
52500         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52501         before performing relro protection.  At old place add assertion
52502         to make sure nothing changed.
52504 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52505             Glauber de Oliveira Costa  <glommer@gmail.com>
52507         * elf/elf.h: Add new ARM TLS relocs.
52509 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52512         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52513         cast from r3.
52514         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52515         'tests' variable.
52516         * sysdeps/wordsize-64/tst-writev.c: New file.
52518 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52520         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52521         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52522         insns in _dl_start to prevent a TOC reference before relocs are
52523         resolved.
52525 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52527         [BZ #12469]
52528         * Makeconfig: Remove RANLIB definition.
52529         * Makerules: Don't use RANLIB.
52530         * aclocal.m4: Remove ranlib test.
52531         * configure.in: No need to check for ranlib.
52532         * elf/rtld-Rules: Don't use RANLIB.
52534 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52536         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52537         protection macro.
52538         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52539         inclusion protection macro.
52541         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52542         SIGRTMIN and SIGRTMAX and print information in that case only when
52543         SIGRTMIN is defined.
52545 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52547         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52548         arginfo fn returning -1.
52550         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52551         and thousands string is zero terminated.
52553 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52555         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52556         sysdeps/unix/sysv/linux/bits/socket.h.
52558 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52560         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52561         (__CPU_COUNT): Remove old macros.
52562         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52563         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52564         (__CPU_ALLOC, __CPU_FREE): Add macros.
52565         (__sched_cpualloc, __sched_cpufree): Add declarations.
52567 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52569         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52570         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52571         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52572         (readdhstai): Return value of addhstaiX call.
52573         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52574         (addgrbyX): Return value returned by cache_addgr.
52575         (readdgrbyname): Return value returned by addgrbyX.
52576         (readdgrbygid): Likewise.
52577         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52578         (addpwbyX): Return value returned by cache_addpw.
52579         (readdpwbyname): Return value returned by addhstbyX.
52580         (readdpwbyuid): Likewise.
52581         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52582         (addservbyX): Return value returned by cache_addserv.
52583         (readdservbyname): Return value returned by addservbyX:
52584         (readdservbyport): Likewise.
52585         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52586         (addhstbyX): Return value returned by cache_addhst.
52587         (readdhstbyname): Return value returned by addhstbyX.
52588         (readdhstbyaddr): Likewise.
52589         (readdhstbynamev6): Likewise.
52590         (readdhstbyaddrv6): Likewise.
52591         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52592         (readdinitgroups): Return value returned by addinitgroupsX.
52593         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52594         (prune_cache): Keep track of timeout value of re-added entries.
52595         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52596         * nscd/nscd.h: Adjust prototypes of readd* functions.
52598 2011-02-04  Roland McGrath  <roland@redhat.com>
52600         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52601         (nis_stats): Likewise.
52602         * nis/nis_modify.c (nis_modify): Likewise.
52603         * nis/nis_remove.c (nis_remove): Likewise.
52604         * nis/nis_add.c (nis_add): Likewise.
52606         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52608         * posix/fnmatch_loop.c: Add some consts.
52610         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52612 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52614         [BZ #12460]
52615         * config.make.in (config-cflags-novzeroupper): Define.
52616         * configure.in: Substitute libc_cv_cc_novzeroupper.
52617         * elf/Makefile (AVX-CFLAGS): Define.
52618         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52619         (CFLAGS-tst-auditmod4a.c): Likewise.
52620         (CFLAGS-tst-auditmod4b.c): Likewise.
52621         (CFLAGS-tst-auditmod6b.c): Likewise.
52622         (CFLAGS-tst-auditmod6c.c): Likewise.
52623         (CFLAGS-tst-auditmod7b.c): Likewise.
52624         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52626 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52628         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52629         function to the callback.
52630         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52632 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52634         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52635         of errno.
52637 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52639         [BZ #11724]
52640         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52641         of constructors.
52642         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52643         of destructors.
52644         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52646         [BZ #11724]
52647         * elf/Makefile: Add rules to build and run new test.
52648         * elf/tst-initorder.c: New file.
52649         * elf/tst-initorder.exp: New file.
52650         * elf/tst-initordera1.c: New file.
52651         * elf/tst-initordera2.c: New file.
52652         * elf/tst-initordera3.c: New file.
52653         * elf/tst-initordera4.c: New file.
52654         * elf/tst-initorderb1.c: New file.
52655         * elf/tst-initorderb2.c: New file.
52656         * elf/tst-order-a1.c: New file.
52657         * elf/tst-order-a2.c: New file.
52658         * elf/tst-order-a3.c: New file.
52659         * elf/tst-order-a4.c: New file.
52660         * elf/tst-order-b1.c: New file.
52661         * elf/tst-order-b2.c: New file.
52662         * elf/tst-order-main.c: New file.
52663         New test case by George Gensure <werkt0@gmail.com>.
52665 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52668         decoding ACE if AI_CANONIDN.
52670 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52672         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52674 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52676         * version.h (RELEASE): Bump for 2.13 release.
52677         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52679         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52681         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52682         MADV_NOHUGEPAGE.
52683         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52684         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52685         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52686         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52687         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52688         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52690         * posix/getconf.c: Update copyright year.
52691         * catgets/gencat.c: Likewise.
52692         * csu/version.c: Likewise.
52693         * debug/catchsegv.sh: Likewise.
52694         * debug/xtrace.sh: Likewise.
52695         * elf/ldconfig.c: Likewise.
52696         * elf/ldd.bash.in: Likewise.
52697         * elf/sprof.c (print_version): Likewise.
52698         * iconv/iconv_prog.c: Likewise.
52699         * iconv/iconvconfig.c: Likewise.
52700         * locale/programs/locale.c: Likewise.
52701         * locale/programs/localedef.c: Likewise.
52702         * malloc/memusage.sh: Likewise.
52703         * malloc/mtrace.pl: Likewise.
52704         * nscd/nscd.c (print_version): Likewise.
52705         * nss/getent.c: Likewise.
52707         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52708         PF_CAIF, and PF_ALG.
52709         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52711 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52713         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52714         (modules-names): Use them.
52715         (ifunc-test-modules, ifunc-pie-tests): Define.
52716         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52717         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52718         (test-extras): Likewise.
52719         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52720         $(compile-command.c).
52721         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52722         (all-built-dso): Define.
52723         (check-textrel.out, check-execstack.out): Depend on it.
52725         * configure.in: Don't override --enable-multi-arch.
52727 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52729         [BZ #6812]
52730         * nscd/hstcache.c (tryagain): Define.
52731         (cache_addhst): Return tryagain not notfound for temporary errors.
52732         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52733         failed.
52735 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52737         [BZ #10563]
52738         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52739         to make the syscall.
52740         * sysdeps/unix/sysv/linux/setgroups.c: New file.
52742         [BZ #12378]
52743         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52744         and fall back to matching as normal character if the string ends before
52745         the matching ']' is found.  This is what POSIX requires.
52746         * posix/testfnm.c: Adjust test result.
52747         * posix/globtest.sh: Adjust test result.  Add new test.
52748         * posix/tst-fnmatch.input: Likewise.
52749         * posix/tst-fnmatch2.c: Add new test.
52751 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
52753         * elf/Makefile (check-execstack): Revert last change.  Depend on
52754         check-execstack.h.
52755         (check-execstack.h): New target.
52756         (generated): Add check-execstack.h.
52757         * elf/check-execstack.c: Include "check-execstack.h".
52758         (main): Revert last change.
52759         (handle_file): Return zero if GNU_STACK is absent and
52760         DEFAULT_STACK_PERMS doesn't include PF_X.
52762 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
52764         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52765         in child fails because the descriptor is already closed.
52766         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52767         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52768         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52770         [BZ #12397]
52771         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52772         syscall.
52774         [BZ #10484]
52775         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52776         temporary buffer used to handle multi lookups locally.
52777         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52779 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52781         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52782         loader is ld.so.
52784 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
52786         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52787         alignment for SSE2.
52789 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52791         [BZ #12394]
52792         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52793         characters.  When rounding increased number of integer digits recompute
52794         number of groups.
52795         * stdio-common/tst-grouping.c: New file.
52796         * stdio-common/Makefile: Add rules to build and run tst-grouping.
52798 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
52800         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52801         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
52803         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52804         void.
52805         * bits/select.h: Likewise.
52807 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
52809         * po/ja.po: Update from translation team.
52811 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
52813         [BZ #11155]
52814         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52815         implementation just like for lxstat, fxstatat, et al.
52817 2010-12-27  Jim Meyering  <meyering@redhat.com>
52819         [BZ #12348]
52820         * posix/regexec.c (build_trtable): Return failure indication upon
52821         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
52823 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
52825         [BZ #12201]
52826         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52827         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52828         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52829         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52831         [BZ #12207]
52832         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52834         [BZ #12204]
52835         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52836         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52838 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
52840         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52841         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52842         script has SORT_BY_INIT_PRIORITY.
52843         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52844         NO_CTORS_DTORS_SECTIONS is defined.
52845         * elf/soinit.c: Likewise.
52846         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52847         NO_CTORS_DTORS_SECTIONS is defined.
52848         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52849         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52850         * sysdeps/sh/init-first.c: Likewise.
52851         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52853 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
52855         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52856         always use the slow path.
52858 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
52860         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52861         similar rule which adds the sysdep directories to the header search in
52862         order to pick up the correct platform stackinfo.h.
52863         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52864         perform test if it is, otherwise return successfully without testing.
52865         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52866         DEFAULT_STACK_PERMS define in stackinfo.h.
52867         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52868         defined in stackinfo.h.
52869         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52870         DEFAULT_STACK_PERMS defined in stackinfo.h.
52871         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52872         * sysdeps/ia64/stackinfo.h: Likewise.
52873         * sysdeps/s390/stackinfo.h: Likewise.
52874         * sysdeps/sh/stackinfo.h: Likewise.
52875         * sysdeps/sparc/stackinfo.h: Likewise.
52876         * sysdeps/x86_64/stackinfo.h: Likewise.
52877         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52878         PF_X for powerpc64.  Retain PF_X for powerpc32.
52880 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
52882         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52883         accurately.
52884         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52885         GETDENTS_64BIT_ALIGNED.
52887 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
52889         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52891 2010-12-10  Andreas Schwab  <schwab@redhat.com>
52893         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52894         _GNU_SOURCE.
52896         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52897         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52898         Remove __restrict.
52899         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52900         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52902 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
52904         [BZ #11655]
52905         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52906         are initialized.
52908 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
52910         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52912 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
52914         * po/it.po: Update from translation team.
52916 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
52918         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52919         unused codes.
52921 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
52923         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52925 2010-11-24  Andreas Schwab  <schwab@redhat.com>
52927         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52928         specially.
52929         (gaih_getanswer_slice): Likewise.
52931 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
52933         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52935 2010-05-31  Petr Baudis  <pasky@suse.cz>
52937         [BZ #11149]
52938         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52939         silently even in the chroot mode.
52941 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
52943         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52944         last patch a bit.  Pretty printing
52946 2010-05-31  Petr Baudis <pasky@suse.cz>
52948         [BZ #10085]
52949         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52950         initialization of skip_initgroups_dyn.
52952 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
52954         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52955         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52957 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
52959         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52961 2010-11-11  Andreas Schwab  <schwab@redhat.com>
52963         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52964         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52965         (tst-fnmatch-ENV): Set MALLOC_TRACE.
52966         ($(objpfx)tst-fnmatch-mem): New rule.
52967         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52968         * posix/tst-fnmatch.c (main): Call mtrace.
52970 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
52972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52973         Support Intel processor model 6 and model 0x2c.
52975 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
52977         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52978           signed comparison.
52980 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52982         [BZ #12205]
52983         * string/test-strncasecmp.c (check_result): New function.
52984         (do_one_test): Use it.
52985         (check1): New function.
52986         (test_main): Use it.
52987         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52988         Support strcasecmp and strncasecmp.
52990 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52992         [BZ #12194]
52993         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52994         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52996 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52998         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52999         IFUNC support.
53000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53001         memset-x86-64.
53002         * sysdeps/x86_64/multiarch/bzero.S: New file.
53003         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53004         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53005         * sysdeps/x86_64/multiarch/memset.S: New file.
53006         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53008         Set bit_Prefer_SSE_for_memop for Intel processors.
53009         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53010         Define.
53011         (index_Prefer_SSE_for_memop): Define.
53012         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53014 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53016         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53017         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53019 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53021         [BZ #12191]
53022         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53023         (__x86_64_raw_data_cache_size_half): Likewise.
53024         (__x86_64_raw_shared_cache_size): Likewise.
53025         (__x86_64_raw_shared_cache_size_half): Likewise.
53027         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53028         (__x86_64_raw_data_cache_size_half): Likewise.
53029         (__x86_64_raw_shared_cache_size): Likewise.
53030         (__x86_64_raw_shared_cache_size_half): Likewise.
53031         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53032         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53033         and __x86_64_raw_shared_cache_size_half.  Round
53034         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53035         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53036         to multiple of 256 bytes.
53038 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53040         [BZ #12167]
53041         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53042         of inacessible symlinks.  Verify result of symlink before returning it.
53043         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53044         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53046 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53048         * math/math.h (isinf): Fix typo in comment.
53050 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53052         * po/da.po: Update from translation team.
53054 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53056         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53057         is added to the list.
53059 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53060             Ulrich Drepper  <drepper@gmail.com>
53062         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53063         the global list here.  Move code to...
53064         (_dl_add_to_namespace_list): ...here.  New function.
53065         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53066         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53067         * elf/dl-load.c (lose): Don't remove the element from the list.
53068         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53069         (_dl_map_object): Likewise.
53071 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53073         [BZ #12159]
53074         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53075         into all bytes of SSE register.
53076         Patch by Richard Li <richardpku@gmail.com>.
53078 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53080         [BZ #12140]
53081         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53082         perturbing.
53084 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53086         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53087         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53088         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53089         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53091         submachine.
53092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53094 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53096         * include/dlfcn.h (__RTLD_SECURE): Define.
53097         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53098         mode & __RTLD_SECURE instead.
53099         (open_path): Rename preloaded parameter to secure.
53100         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53101         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53102         * elf/dl-deps.c (openaux): Likewise.
53103         * elf/rtld.c (struct map_args): Remove is_preloaded.
53104         (map_doit): Don't use it.
53105         (dl_main): Likewise.
53106         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53107         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53109 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53111         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53112         (sysd-rules-targets): Remove duplicates.
53113         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53114         rtld-%.$o dependency.
53116 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53118         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53119         _dl_map_object do it.
53121 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53123         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53124         fast fma builtins, define the macros in the C99 standard.
53125         (FP_FAST_FMAF): Likewise.
53126         (FP_FAST_FMAL): Likewise.
53127         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53129         * bits/mathdef.h: Update copyright year.
53130         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53132 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53134         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53135         builtins, define the macros in the C99 standard.
53136         (FP_FAST_FMAF): Likewise.
53137         (FP_FAST_FMAL): Likewise.
53138         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53139         multiply/add.
53140         (FP_FAST_FMAF): Likewise.
53142 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53144         [BZ #3268]
53145         * math/libm-test.inc (fma_test): Some new testcases.
53146         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53147         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53148         y and infinite z.  Do multiplication by C already in long double.
53149         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53150         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53151         y and infinite z.  Do bitwise or of inexact bit into u.d.
53152         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53153         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53154         * sysdeps/i386/fpu/s_fma.S: Removed.
53155         * sysdeps/i386/fpu/s_fmal.S: Removed.
53157 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53159         [BZ #3268]
53160         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53161         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53162         computation is not scheduled after fetestexcept.  Fix value
53163         of minimum denormal long double.
53165 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53167         [BZ #3268]
53168         * math/libm-test.inc (fma_test): Add some more tests.
53169         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53170         correctly.
53172 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53174         * scripts/data/localplt-s390-linux-gnu.data: New file.
53175         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53177 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53179         [BZ #3268]
53180         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53181         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53182         instead of dbl-64.
53183         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53184         inlines.
53185         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53186         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53187         if one of x and y is very large and the other is subnormal.
53188         * sysdeps/s390/fpu/s_fmaf.c: New file.
53189         * sysdeps/s390/fpu/s_fma.c: New file.
53190         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53191         * sysdeps/powerpc/fpu/s_fma.S: New file.
53192         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53193         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53194         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53196 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53198         [BZ #3268]
53199         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53200         fma tests.
53201         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53202         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53203         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53204         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53205         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53206         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53207         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53209 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53211         [BZ #12078]
53212         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53213         * posix/bug-regex31.input: Add test case.
53215 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53217         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53218         * posix/bug-regex31.input: New file.
53220         [BZ #12078]
53221         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53222         (parse_sub_exp): Fix last change, use postorder.
53224         * posix/bug-regex31.c: New file.
53225         * posix/Makefile: Add rules to build and run bug-regex31.
53227         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53229         [BZ #12078]
53230         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53232         [BZ #12108]
53233         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53234         to have entries in sys_siglist.
53236         [BZ #12093]
53237         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53238         be NULL.
53240 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53242         [BZ #3268]
53243         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53244         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53245         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53246         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53247         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53248         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53249         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53250         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53251         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53252         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53253         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53254         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53255         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53256         * math/ftestexcept.c (fetestexcept): Likewise.
53257         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53258         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53259         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53260         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53261         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53262         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53263         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53265 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53267         [BZ #12107]
53268         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53269         newline.
53271 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53273         * string/bug-strstr1.c: New file.
53274         * string/Makefile: Add rules to build and run bug-strstr1.
53276 2010-10-05  Eric Blake  <eblake@redhat.com>
53278         [BZ #12092]
53279         * string/str-two-way.h (two_way_long_needle): Always clear memory
53280         when skipping input due to the shift table.
53282 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53284         [BZ #12005]
53285         * malloc/mcheck.c: Handle large requests.
53287         [BZ #12077]
53288         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53289         for strncmp and strncasecmp.
53290         * string/stratcliff.c: Add tests for strcmp and strncmp.
53291         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53293 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53295         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53296         __set_fpscr.
53298 2010-09-30  Andreas Jaeger  <aj@suse.de>
53300         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53301         (CGROUP_SUPER_MAGIC): Define.
53302         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53303         Handle btrfs and cgroup file systems.
53304         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53305         Likewise.
53307 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53309         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53310         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53312 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53314         [BZ #12067]
53315         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53316         trying to locate the ELF header.
53318 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53320         [BZ #11611]
53321         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53322         Mask out sign-bit copies when constructing f_fsid.
53324 2010-09-24  Petr Baudis <pasky@suse.cz>
53326         * debug/stack_chk_fail_local.c: Add missing licence exception.
53327         * debug/warning-nop.c: Likewise.
53329 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53331         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53332         implementing getdents64 using getdents syscall, set d_type if
53333         __ASSUME_GETDENTS32_D_TYPE.
53335 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53337         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53338         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53340 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53342         [BZ #12037]
53343         * posix/unistd.h: Undo change of feature selection for ftruncate from
53344         2010-01-11.
53346 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53348         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53349         detection.
53351 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53353         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53354         fanotify_mark.
53355         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53357 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53359         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53360         variables after CHECK_SP call.
53361         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53363 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53364             Ulrich Drepper  <drepper@redhat.com>
53366         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53367         re-relocationg ld.so.
53368         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53369         _dl_init_paths call.
53370         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53371         here anymore.
53373 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53375         * resolv/res_init.c (__res_vinit): Count the default server we added.
53377 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53378             Ulrich Drepper  <drepper@redhat.com>
53380         [BZ #11968]
53381         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53382         (____longjmp_chk): Use %ebx for saving value across system call.
53383         Add unwind info.
53385 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53387         * manual/Makefile: Don't mix pattern rules with normal rules.
53389 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53391         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53392         operation.
53393         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53394         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53395         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53396         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53397         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53398         Likewise.
53400 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53402         [BZ #11979]
53403         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53404         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53406 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53408         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53409         * sysdeps/x86_64/addmul_1.S: Likewise.
53410         * sysdeps/x86_64/lshift.S: Likewise.
53411         * sysdeps/x86_64/mul_1.S: Likewise.
53412         * sysdeps/x86_64/rshift.S: Likewise.
53413         * sysdeps/x86_64/sub_n.S: Likewise.
53414         * sysdeps/x86_64/submul_1.S: Likewise.
53416 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53418         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53419         Define __sched_param instead of SCHED_* and sched_param when
53420         <bits/sched.h> is included with __need_schedparam defined.
53421         * bits/sched.h [__need_schedparam]
53422         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53423         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53424         (__defined_schedparam): Define to 1.
53425         (__sched_param): New structure, identical to sched_param.
53426         (__need_schedparam): Undefine.
53428 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53430         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53431         (epoll_create1): Declare.
53433         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53435 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53437         [BZ #7066]
53438         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53439         shifting retval into place.
53441 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53443         * nis/rpcsvc/nis.h: Update copyright notice.
53444         * nis/rpcsvc/nis.x: Likewise.
53445         * nis/rpcsvc/nis_callback.h: Likewise.
53446         * nis/rpcsvc/nis_callback.x: Likewise.
53447         * nis/rpcsvc/nis_object.x: Likewise.
53448         * nis/rpcsvc/nis_tags.h: Likewise.
53449         * nis/rpcsvc/yp.h: Likewise.
53450         * nis/rpcsvc/yp.x: Likewise.
53451         * nis/rpcsvc/ypupd.h: Likewise.
53452         * nis/yp_xdr.c: Likewise.
53453         * nis/ypupdate_xdr.c: Likewise.
53455         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53456         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53457         (pmap_getport): Use __libc_rpc_getport.
53458         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53459         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53460         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53462 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53465         fanotify_mark.
53467 2010-08-27  Roland McGrath  <roland@redhat.com>
53469         * sysdeps/i386/i686/multiarch/Makefile
53470         (CFLAGS-varshift.c): New variable.
53472 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53474         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53475         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53477         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53479         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53481 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53483         * sysdeps/x86_64/strlen.S: Unroll the loop.
53484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53485         strlen-sse2 strlen-sse2-bsf.
53486         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53487         __strlen_no_bsf if bit_Slow_BSF is set.
53488         (__strlen_sse42): Removed.
53489         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53490         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53492 2010-08-25  Roland McGrath  <roland@redhat.com>
53494         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53495         * sysdeps/x86_64/multiarch/varshift.c: New file.
53496         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53497         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53498         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53499         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53501 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53503         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53504         strlen-sse2 strlen-sse2-bsf.
53505         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53506         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53507         (__strlen_sse2): Removed.
53508         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53509         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53510         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53511         bit_Slow_BSF for Atom.
53512         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53513         (index_Slow_BSF): Define.
53514         (HAS_SLOW_BSF): Define.
53516 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53518         [BZ #10851]
53519         * resolv/res_init.c (__res_vinit): When no server address at all
53520         is given default to loopback.
53522 2010-08-24  Roland McGrath  <roland@redhat.com>
53524         * configure.in: Remove config-name.h generation.
53525         * configure: Regenerated.
53526         * config-name.in: File removed.
53527         * scripts/config-uname.sh: New file.
53528         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53529         ($(objdir)config-name.h): New target.
53531         * sunrpc/rpc_parse.h: Avoid nested comment.
53533 2010-08-24  Richard Henderson  <rth@redhat.com>
53534             Ulrich Drepper  <drepper@redhat.com>
53535             H.J. Lu  <hongjiu.lu@intel.com>
53537         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53539         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53540         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53541         _mm_alignr_epi8 with _mm_loadu_si128.
53542         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53543         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53544         (__m128i_shift_right): Removed.
53545         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53546         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53547         * sysdeps/x86_64/multiarch/varshift.h: New file.
53548         * sysdeps/x86_64/multiarch/varshift.S: New file.
53550 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53552         * configure.in: Move assembler checks to before sysdep dir checking.
53554 2010-08-20  Petr Baudis  <pasky@suse.cz>
53556         * LICENSES: Sync the sunrpc license.
53558 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53560         * sunrpc/auth_des.c: Update copyright notice once again.
53561         * sunrpc/auth_none.c: Likewise.
53562         * sunrpc/auth_unix.c: Likewise.
53563         * sunrpc/authdes_prot.c: Likewise.
53564         * sunrpc/authuxprot.c: Likewise.
53565         * sunrpc/bindrsvprt.c: Likewise.
53566         * sunrpc/clnt_gen.c: Likewise.
53567         * sunrpc/clnt_perr.c: Likewise.
53568         * sunrpc/clnt_raw.c: Likewise.
53569         * sunrpc/clnt_simp.c: Likewise.
53570         * sunrpc/clnt_tcp.c: Likewise.
53571         * sunrpc/clnt_udp.c: Likewise.
53572         * sunrpc/clnt_unix.c: Likewise.
53573         * sunrpc/des_crypt.c: Likewise.
53574         * sunrpc/des_soft.c: Likewise.
53575         * sunrpc/get_myaddr.c: Likewise.
53576         * sunrpc/getrpcport.c: Likewise.
53577         * sunrpc/key_call.c: Likewise.
53578         * sunrpc/key_prot.c: Likewise.
53579         * sunrpc/openchild.c: Likewise.
53580         * sunrpc/pm_getmaps.c: Likewise.
53581         * sunrpc/pm_getport.c: Likewise.
53582         * sunrpc/pmap_clnt.c: Likewise.
53583         * sunrpc/pmap_prot.c: Likewise.
53584         * sunrpc/pmap_prot2.c: Likewise.
53585         * sunrpc/pmap_rmt.c: Likewise.
53586         * sunrpc/rpc/auth.h: Likewise.
53587         * sunrpc/rpc/auth_unix.h: Likewise.
53588         * sunrpc/rpc/clnt.h: Likewise.
53589         * sunrpc/rpc/des_crypt.h: Likewise.
53590         * sunrpc/rpc/key_prot.h: Likewise.
53591         * sunrpc/rpc/netdb.h: Likewise.
53592         * sunrpc/rpc/pmap_clnt.h: Likewise.
53593         * sunrpc/rpc/pmap_prot.h: Likewise.
53594         * sunrpc/rpc/pmap_rmt.h: Likewise.
53595         * sunrpc/rpc/rpc.h: Likewise.
53596         * sunrpc/rpc/rpc_des.h: Likewise.
53597         * sunrpc/rpc/rpc_msg.h: Likewise.
53598         * sunrpc/rpc/svc.h: Likewise.
53599         * sunrpc/rpc/svc_auth.h: Likewise.
53600         * sunrpc/rpc/types.h: Likewise.
53601         * sunrpc/rpc/xdr.h: Likewise.
53602         * sunrpc/rpc_clntout.c: Likewise.
53603         * sunrpc/rpc_cmsg.c: Likewise.
53604         * sunrpc/rpc_common.c: Likewise.
53605         * sunrpc/rpc_cout.c: Likewise.
53606         * sunrpc/rpc_dtable.c: Likewise.
53607         * sunrpc/rpc_hout.c: Likewise.
53608         * sunrpc/rpc_main.c: Likewise.
53609         * sunrpc/rpc_parse.c: Likewise.
53610         * sunrpc/rpc_parse.h: Likewise.
53611         * sunrpc/rpc_prot.c: Likewise.
53612         * sunrpc/rpc_sample.c: Likewise.
53613         * sunrpc/rpc_scan.c: Likewise.
53614         * sunrpc/rpc_scan.h: Likewise.
53615         * sunrpc/rpc_svcout.c: Likewise.
53616         * sunrpc/rpc_tblout.c: Likewise.
53617         * sunrpc/rpc_util.c: Likewise.
53618         * sunrpc/rpc_util.h: Likewise.
53619         * sunrpc/rpcinfo.c: Likewise.
53620         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53621         * sunrpc/rpcsvc/key_prot.x: Likewise.
53622         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53623         * sunrpc/rpcsvc/mount.x: Likewise.
53624         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53625         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53626         * sunrpc/rpcsvc/rex.x: Likewise.
53627         * sunrpc/rpcsvc/rstat.x: Likewise.
53628         * sunrpc/rpcsvc/rusers.x: Likewise.
53629         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53630         * sunrpc/rpcsvc/spray.x: Likewise.
53631         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53632         * sunrpc/rtime.c: Likewise.
53633         * sunrpc/svc.c: Likewise.
53634         * sunrpc/svc_auth.c: Likewise.
53635         * sunrpc/svc_authux.c: Likewise.
53636         * sunrpc/svc_raw.c: Likewise.
53637         * sunrpc/svc_run.c: Likewise.
53638         * sunrpc/svc_simple.c: Likewise.
53639         * sunrpc/svc_tcp.c: Likewise.
53640         * sunrpc/svc_udp.c: Likewise.
53641         * sunrpc/svc_unix.c: Likewise.
53642         * sunrpc/svcauth_des.c: Likewise.
53643         * sunrpc/xcrypt.c: Likewise.
53644         * sunrpc/xdr.c: Likewise.
53645         * sunrpc/xdr_array.c: Likewise.
53646         * sunrpc/xdr_float.c: Likewise.
53647         * sunrpc/xdr_mem.c: Likewise.
53648         * sunrpc/xdr_rec.c: Likewise.
53649         * sunrpc/xdr_ref.c: Likewise.
53650         * sunrpc/xdr_sizeof.c: Likewise.
53651         * sunrpc/xdr_stdio.c: Likewise.
53653         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53654         handling.
53656 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53658         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53660 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53662         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53663         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53664         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53665         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53666         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53667         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53668         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53669         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53670         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53671         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53672         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53673         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53674         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53675         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53677 2010-07-26  Anton Blanchard  <anton@samba.org>
53679         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53680         * malloc/arena.c (heap_trim): Likewise.
53682 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53684         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53685         here.  Not...
53686         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53687         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53689 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53691         * sysdeps/i386/elf/Makefile: New file.
53693 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53695         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53696         from fanotify_init.
53697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53698         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53700 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53702         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53703         of strncasecmp_l.
53704         * sysdeps/multiarch/strcmp.S: Likewise.
53706 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53708         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53709         strncase_l-nonascii.
53710         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53711         Add strncase_l-ssse3.
53712         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53713         * sysdeps/x86_64/strcmp.S: Likewise.
53714         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53715         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53716         * sysdeps/x86_64/strncase.S: New file.
53717         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53718         * sysdeps/x86_64/strncase_l.S: New file.
53719         * string/Makefile (strop-tests): Add strncasecmp.
53720         * string/test-strncasecmp.c: New file.
53722         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53723         warning.
53725         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53726         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53728 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53730         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53732 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53734         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53735         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53736         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53738 2010-05-01  Alan Modra  <amodra@gmail.com>
53740         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53741         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53742         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53743         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53744         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53745         tidying.  Don't tail-call __sigjmp_save for static lib.
53746         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53747         save location.
53748         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53749         (CALL_MCOUNT): Add eh info, and nop after bl.
53750         (TAIL_CALL_SYSCALL_ERROR): New macro.
53751         (PSEUDO_RET): Use it.
53752         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53753         Correct save location of integer regs and cr.
53754         (_dl_profile_resolve): Correct cr save location.  Delete nops
53755         after bl when SHARED.  Reduce cfi size a little by better
53756         placement of cfi directives.
53757         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53758         make a stack frame.  Instead use parm save area as a temp.
53759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53760         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
53761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53762         Don't make a stack frame for parent, use parm save area.
53763         Increase child stack frame to 112 bytes.  Don't save unused reg,
53764         and adjust reg usage.  Set up cfi on error recovery and
53765         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53767         (__makecontext): Add dummy nop after jump to exit.
53768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53769         Use correct parm save area and cr save, reduce stack frame.
53770         Correct cfi for possible PSEUDO_RET frame setup.
53771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53772         Branch to local label emitted by PSEUDO_RET rather than
53773         __syscall_error.
53775 2010-08-12  Andreas Schwab  <schwab@redhat.com>
53777         [BZ #11904]
53778         * locale/programs/locale.c (print_assignment): New function.
53779         (show_locale_vars): Use it.
53781 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
53783         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53784         field.
53785         (struct statfs64): Likewise.
53786         (_STATFS_F_FLAGS): Define.
53787         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53788         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53789         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53790         (ST_VALID): Define locally.
53791         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53792         __statvfs_getflags, use the provided value.
53793         * sysdeps/unix/sysv/linux/kernel-features.h: Define
53794         __ASSUME_STATFS_F_FLAGS.
53796         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53798         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53799         Add sys/fanotify.h.
53800         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53801         fanotify_mask for GLIBC_2.13.
53802         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53803         fanotify_init and fanotify_mark.
53804         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53805         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53807         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53808         Add prlimit.
53809         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53810         prlimit64 for GLIBC_2.13.
53811         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53812         prlimit64.
53813         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53814         syscall.
53815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53816         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53817         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53818         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53819         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
53820         add prlimit alias.
53821         * sysdeps/unix/sysv/linux/prlimit.c: New file.
53823         [BZ #11903]
53824         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53825         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53827         * nss/Makefile: Add rules to build and run tst-nss-test1.
53828         * shlib-versions: Add entry for libnss_test1.
53829         * nss/nss_test1.c: New file.
53830         * nss/tst-nss-test1.c: New file.
53832         * nss/nsswitch.c (__nss_database_custom): Define new variable.
53833         (__nss_configure_lookup): Set appropriate entry in
53834         __nss_configure_lookup to true.
53835         * nss/nsswitch.h: Define enum with indeces of databases in
53836         databases and __nss_database_custom arrays.  Declare
53837         __nss_database_custom.
53838         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53839         to avoid using nscd when custom rules are installed.
53840         * nss/getXXbyYY_r.c: Likewise.
53841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53843         * nss/nss_files/files-parse.c: Whitespace fixes.
53845 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
53847         [BZ #11883]
53848         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53849         * posix/fnmatch_loop.c: Likewise.
53851 2010-07-17  Andi Kleen  <ak@linux.intel.com>
53853         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53854         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53855         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53856         * Versions.def [GLIBC_2.13]: Add.
53858 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
53860         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53861         Also fail if tpwd after pwuid call is NULL.
53863 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53865         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53866         when converting to ms.
53868 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53870         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53871         EOPNOTSUPP errors with ENOTTY.
53872         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53873         EOPNOTSUPP errors with ENOTTY.
53875 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
53877         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53878         Add strcasecmp_l-ssse3.
53879         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53880         strcasecmp.
53881         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53882         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53883         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53885 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
53887         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53889         * string/Makefile (strop-tests): Add strcasecmp.
53890         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53891         strcasecmp_l-nonascii.
53892         (gen-as-const-headers): Add locale-defines.sym.
53893         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53894         * sysdeps/x86_64/strcasecmp.S: New file.
53895         * sysdeps/x86_64/strcasecmp_l.S: New file.
53896         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53897         * sysdeps/x86_64/locale-defines.sym: New file.
53898         * string/test-strcasecmp.c: New file.
53900         * string/test-strcasestr.c: Test both ends of the range of characters.
53901         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53903 2010-07-29  Roland McGrath  <roland@redhat.com>
53905         [BZ #11856]
53906         * manual/locale.texi (Yes-or-No Questions): Fix example code.
53908 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
53910         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53911         for ld.so.
53913 2010-07-27  Andreas Schwab  <schwab@redhat.com>
53915         * manual/memory.texi (Malloc Tunable Parameters): Document
53916         M_PERTURB.
53918 2010-07-26  Roland McGrath  <roland@redhat.com>
53920         [BZ #11840]
53921         * configure.in (-fgnu89-inline check): Set and substitute
53922         gnu89_inline, not libc_cv_gnu89_inline.
53923         * configure: Regenerated.
53924         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53926 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
53928         * string/test-strnlen.c: New file.
53929         * string/Makefile (strop-tests): Add strnlen.
53930         * string/tester.c (test_strnlen): Add a few more test cases.
53931         * string/tst-strlen.c: Better error reporting.
53933         * sysdeps/x86_64/strnlen.S: New file.
53935 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
53937         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53938         lower-latency instructions.
53940 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
53942         * string/test-strcasestr.c: New file.
53943         * string/test-strstr.c: New file.
53944         * string/Makefile (strop-tests): Add strstr and strcasestr.
53945         * string/str-two-way.h: Don't undefine MAX.
53946         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53948 2010-07-21  Andreas Schwab  <schwab@redhat.com>
53950         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53951         strcasestr-nonascii.
53952         (CFLAGS-strcasestr-nonascii.c): Define.
53953         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53954         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53955         Remove unused attribute.
53957 2010-07-20  Roland McGrath  <roland@redhat.com>
53959         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53960         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
53961         ld.so.cache was broken.  With it, there is no way to disable dsocaps
53962         like LD_HWCAP_MASK can disable hwcaps.
53964 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53966         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53968 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
53970         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53971         call in strcasestr.
53972         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53973         __strcasestr_sse42_nonascii.
53974         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53975         strcasestr-nonascii.c.
53976         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53978 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53980         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53981         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53982         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53983         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53985 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53987         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53988         fcntl.
53990 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53992         [BZ #11577]
53993         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53994         dl_signal_cerror.
53996 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53998         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53999         _PC_PIPE_BUF using F_GETPIPE_SZ.
54001 2010-07-05  Roland McGrath  <roland@redhat.com>
54003         * manual/arith.texi (Rounding Functions): Fix rint description
54004         implicit in round description.
54006 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54008         * elf/Makefile: Fix linking for a few tests to make recent linker
54009         happy.
54011 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54013         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54014         $(common-objpfx)libc_nonshared.a.
54016 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54018         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54019         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54020         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54021         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54022         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54023         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54024         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54025         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54040         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54041         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54042         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54043         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54044         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54045         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54046         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54047         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54048         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54049         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54050         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54051         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54067 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54069         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54070         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54071         * string/memmove.c (memmove): Renamed to ...
54072         (MEMMOVE): ...this.  Default to memmove.
54073         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54074         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54075         (END_CHK): Define.
54076         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54077         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54078         mempcpy-ssse3-back memmove-ssse3-back.
54079         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54080         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54081         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54082         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54083         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54084         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54085         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54086         * sysdeps/x86_64/multiarch/memmove.c: New file.
54087         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54088         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54089         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54090         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54091         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54092         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54093         Define.
54094         (index_Fast_Copy_Backward): Define.
54095         (HAS_ARCH_FEATURE): Define.
54096         (HAS_FAST_REP_STRING): Define.
54097         (HAS_FAST_COPY_BACKWARD): Define.
54099 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54101         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54102         Restore proper fallback handling.
54104 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54106         [BZ #11701]
54107         * posix/group_member.c (__group_member): Correct checking loop.
54109         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54110         OOM in getpwuid_r correctly.  Return error number when the caller
54111         should return, otherwise -1.
54112         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54113         call returning > 0 value.
54114         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54116 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54118         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54119         libc_nonshared.a from targets in modules-names.
54121 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54123         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54124         requires it.
54126 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54128         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54129         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54130         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54131         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54133 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54135         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54137 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54139         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54140         and F_GETPIPE_SZ.
54141         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54142         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54145         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54146         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54148 2010-06-14  Roland McGrath  <roland@redhat.com>
54150         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54152 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54154         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54155         __REDIRECT followed by __THROW.
54156         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54157         * posix/getopt.h (getopt): Likewise.
54159 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54161         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54162         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54163         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54164         in AT_FLAGS.
54165         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54166         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54168 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54170         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54172 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54174         [BZ #11640]
54175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54176         Properly check family and model.
54178 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54180         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54182 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54184         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54186 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54188         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54189         symbol reference.
54191 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54193         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54194         symbol reference.
54196 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54198         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54199         and internal_recvmmsg.
54200         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54201         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54202         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54203         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54205         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54206         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54207         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54209 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54211         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54213 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54215         POWER7 optimizations.
54216         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54217         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54219 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54221         * version.h: Update for 2.13 development version.
54223 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54225         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54226         exceptions.  Return 0.
54228 2010-05-07  Roland McGrath  <roland@redhat.com>
54230         * elf/ldconfig.c (main): Add a const.
54232 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54234         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54235         (args_options): Add no-idn option.
54236         (ahosts_keys_int): Add idn_flags to ai_flags.
54237         (parse_option): Handle 'i' option to clear idn_flags.
54239         * malloc/malloc.c (_int_free): Possible race in the most recently
54240         added check.  Only act on the data if no current modification
54241         happened.
54243 See ChangeLog.17 for earlier changes.