Fix resolver inet_* namespace (bug 17722).
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #17722]
4         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5         define as weak alias of __inet_makeaddr.
6         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7         as weak alias of __inet_addr.
8         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
9         as weak alias of __inet_pton.  Use libc_hidden_weak.
10         * include/arpa/inet.h (__inet_pton): Declare.  Use
11         libc_hidden_proto.
12         (inet_makeaddr): Don't use libc_hidden_proto.
13         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
14         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
15         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
16         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
17         Remove variable.
18         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19         (test-xfail-POSIX/time.h/linknamespace): Likewise.
20
21 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
22
23         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24
25 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26
27         * stdio-common/bug-vfprintf-nargs.c (do_test):
28         Cast value to intptr_t to avoid format warning
29         for usage with PRIdPTR printing macro.
30
31 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32
33         * libio/tst-widetext.c (do_test):
34         Use format type %td instead of %Zd for ptrdiff_t
35         in order to avoid format warning.
36
37 2014-12-17  Andreas Schwab  <schwab@suse.de>
38
39         * nscd/mem.c (gc): Add size_t cast to match printf format.
40
41 2014-12-16  Roland McGrath  <roland@hack.frob.com>
42
43         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
44         (init): Apply PTR_MANGLE to pointers before storing them.
45         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
46         before using them.
47
48 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
49
50         [BZ #17719]
51         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
52         define as weak alias of __memrchr.
53         (__memrchr): Do not define as strong alias of memrchr.
54         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
55         Remove variable.
56         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
57         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
58         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
59
60         [BZ #17717]
61         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
62         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
63         (if_indextoname): Rename to __if_indextoname and define as weak
64         alias of __if_indextoname.  Use libc_hidden_weak.
65         (if_freenameindex): Rename to __if_freenameindex and define as
66         weak alias of __if_freenameindex.
67         (if_nameindex): Rename to __if_nameindex and define as weak alias
68         of __if_nameindex.
69         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
70         __if_nametoindex and define as weak alias of __if_nametoindex.
71         Use libc_hidden_weak.
72         (if_freenameindex): Rename to __if_freenameindex and define as
73         weak alias of __if_freenameindex.
74         (if_nameindex): Rename to __if_nameindex and define as weak alias
75         of __if_nameindex.
76         (if_indextoname): Rename to __if_indextoname and define as weak
77         alias of __if_indextoname.  Use libc_hidden_weak.
78         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
79         __if_nametoindex and define as weak alias of __if_nametoindex.
80         Use libc_hidden_weak.
81         (if_freenameindex): Rename to __if_freenameindex and define as
82         weak alias of __if_freenameindex.  Use libc_hidden_weak.
83         (if_nameindex_netlink): Use __if_freenameindex instead of
84         if_freenameindex.
85         (if_nameindex): Rename to __if_nameindex and define as weak alias
86         of __if_nameindex.  Use libc_hidden_weak.
87         (if_indextoname): Rename to __if_indextoname and define as weak
88         alias of __if_indextoname.  Use libc_hidden_weak.
89         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
90         libc_hidden_proto.
91         [!_ISOMAC] (__if_freenameindex): Likewise.
92         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
93         if_nametoindex.
94         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
95         variable.
96         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
97         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
98         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
99         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
100         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
101         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
102         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
103
104         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
105         Remove variable.
106         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
107         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
108
109 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
110
111         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
112         subscript above bounds'
113
114         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
115         bounds.
116
117 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
118
119         * libio/tst-fopenloc.c: Use test-skeleton.c.
120
121         * stdlib/tst-bsearch.c: Use test-skeleton.c.
122         (entry): Rename to ITEM.
123         (do_test, comp): Adjust.
124
125         * stdio-common/tst-fseek.c: Use test-skeleton.c.
126
127 2014-12-16  Torvald Riegel  <triegel@redhat.com>
128
129         * string/tester.c: Include <libc-internal.h>.
130         (test_memset): Ignore -Wmemset-transposed-args.
131
132 2014-12-16  Torvald Riegel  <triegel@redhat.com>
133
134         * misc/tst-mntent2.c (do_test): Fix warning.
135
136 2014-12-16  Torvald Riegel  <triegel@redhat.com>
137
138         * elf/tst-unique4lib.cc(a): Mark as used.
139
140 2014-12-16  Florian Weimer  <fweimer@redhat.com>
141
142         [BZ #17630]
143         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
144         names.
145
146 2014-12-16  Allan McRae  <allan@archlinux.org>
147
148         * stdio-common/Makefile (tests): Re-add bug26.
149
150 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
151
152         [BZ #17657]
153         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
154         static array.
155
156 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
157
158         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
159         (__lll_lock_wait): Likewise.
160         (__lll_timedlock_wait): Likewise.
161         (__lll_timedwait_tid): Likewise.
162         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
163         (__lll_robust_timedlock_wait): Likewise.
164         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
165         (lll_cond_trylock): Likewise.
166         (__lll_lock): Likewise.
167         (__lll_robust_lock): Likewise.
168         (__lll_cond_lock): Likewise.
169         (lll_robust_cond_lock): Likewise.
170         (__lll_timedlock): Likewise.
171         (__lll_robust_timedlock): Likewise.
172         (__lll_unlock): Likewise.
173         (__lll_robust_unlock): Likewise.
174         (lll_wait_tid): Likewise.
175         (lll_timedwait_tid): Likewise.
176
177 2014-12-15  Torvald Riegel  <triegel@redhat.com>
178
179         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
180
181 2014-12-15  Torvald Riegel  <triegel@redhat.com>
182
183         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
184
185 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
186
187         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
188         * stdio-common/tst-sprintf.c: Likewise.
189
190 2014-12-15  Torvald Riegel  <triegel@redhat.com>
191
192         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
193
194 2014-12-15  Jeff Law  <law@redhat.com>
195
196         [BZ #16617]
197         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
198         on the heap.  (CVE-2012-3406)
199         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
200         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
201         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
202
203 2014-12-15  Will Newton  <will.newton@linaro.org>
204
205         * manual/install.texi: Bump required version of texinfo
206         to 4.7 from 4.5.
207         * INSTALL: Regenerated.
208         * configure.ac: Check for makeinfo version 4.7 and above.
209         * configure: Regenerated.
210
211 2014-12-12  Roland McGrath  <roland@hack.frob.com>
212
213         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
214         PREFIX, string constant to insert between directory and name.
215         * sysdeps/posix/shm_open.c: Update caller.
216         * sysdeps/posix/shm_unlink.c: Likewise.
217         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
218         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
219         (SEM_SHM_PREFIX): New macro.
220         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
221         [$(have-thread-library) = no].
222         * nptl/Makefile (libpthread-routines): Add shm-directory.
223         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
224         * sysdeps/nptl/shm-directory.h: New file.
225         * sysdeps/posix/shm-directory.c
226         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
227         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
228         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
229         INTERNAL_SYSCALL.
230         (__where_is_shmfs): Function removed.
231         (mountpoint, defaultmount, defaultdir, __namedsem_once):
232         Variables removed.
233         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
234         Use SHM_GET_NAME.
235         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
236
237         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
238         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
239         unconditional for use inside libpthread.
240         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
241
242 2014-12-12  Roland McGrath  <roland@hack.frob.com>
243
244         * nptl/pthread_getaffinity.c: New file.
245         * nptl/pthread_setaffinity.c: New file.
246         * nptl/pthread_getname.c: New file.
247         * nptl/pthread_setname.c: New file.
248
249         * nptl/pthread_create.c (START_THREAD_DEFN)
250         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
251
252 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
253             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
254
255         * resolv/res_send.c (send_vc): Disable warning resplen may
256         be used uninitialized.
257
258 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
259
260         * nptl/tst-mutex6.c
261         (ATTR_NULL): New define checks ATTR against NULL.
262         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
263         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
264
265 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
266
267         [BZ #17581]
268         * malloc/hooks.c
269         (mem2mem_check): Revert my previous change.
270         (malloc_check_get_size): Revert my previous change.
271         (mem2chunk_check): Revert my previous change.
272
273 2014-12-11  Roland McGrath  <roland@hack.frob.com>
274
275         * sysdeps/posix/shm-directory.c: New file.
276         * sysdeps/posix/shm-directory.h: New file.
277         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
278         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
279         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
280         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
281         Transmute EPERM to EACCES.
282         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
283         from ...
284         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
285         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
286
287 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
288
289         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
290         pointer and cast to uintptr_t.
291         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
292         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
293         Add cast to avoid warning.
294         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
295
296 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
297
298         * nptl/semaphore.h: Move to ...
299         * sysdeps/pthread/semaphore.h: ... here.
300         * Makefile (installed-headers): Change nptl/semaphore.h to
301         sysdeps/pthread/semaphore.h.
302
303 2014-12-11  Roland McGrath  <roland@hack.frob.com>
304
305         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
306         generated error format strings.
307
308         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
309         -Wformat-extra-args warnings for scanf formats.
310         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
311         test of zero-length format (duh).
312         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
313         corner-case scanf format test.
314         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
315         generated fprintf format string.
316         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
317         corner-case sprintf format tests.
318         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
319         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
320         -Wformat-extra-args warnings throughout.
321         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
322         (CFLAGS-scanf4.c): Likewise.
323         (CFLAGS-scanf7.c): Likewise.
324         (CFLAGS-tst-sprintf.c): Likewise.
325         (CFLAGS-tst-printf.c): Likewise.
326         (CFLAGS-tst-printfsz.c): Likewise.
327
328 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
329
330         * include/cpio.h: New file.
331         * include/fmtmsg.h: Likewise.
332
333         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
334         corresponding format argument to size_t.
335         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
336         arguments.
337         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
338         corresponding format argument to size_t.
339         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
340         arguments.
341         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
342         corresponding format argument to size_t.
343         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
344         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
345         (CFLAGS-tst-mbswcs2.c): Likewise.
346         (CFLAGS-tst-mbswcs3.c): Likewise.
347         (CFLAGS-tst-mbswcs4.c): Likewise.
348         (CFLAGS-tst-mbswcs5.c): Likewise.
349         (CFLAGS-tst-trans.c): Likewise
350
351 2014-12-11  Roland McGrath  <roland@hack.frob.com>
352
353         * posix/regexbug1.c (main): Use "%s" format with regerror results,
354         rather than assuming they won't contain any '%'s.
355
356 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
357
358         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
359         inhibit_loop_to_libcall to avoid recursive calls.
360         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
361         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
362
363 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
364
365         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
366         prototype.
367
368 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
369
370         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
371         integer value instead of boolean.
372
373 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
374
375         * malloc/malloc.c: Fix powerof2 check.
376
377 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
378
379         * locale/programs/locfile.h (maybe_swap_uint32):
380         Remove inline and add unused attribute.
381
382 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
383
384         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
385         Truncating assembler expression to a .long expression.
386
387 2014-12-11  Andreas Schwab  <schwab@suse.de>
388
389         * elf/rtld.c (struct map_args): Constify str member.
390         (do_preload): Constify fname argument.
391
392 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
393
394         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
395         constants definition.
396
397 2014-12-11  Andreas Schwab  <schwab@suse.de>
398
399         [BZ #16657]
400         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
401         FORCE_ELISION instead of DO_ELISION.
402         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
403         Remove.
404         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
405         Likewise.
406
407         * iconvdata/gconv-modules: Remove duplicate entry.
408
409 2014-12-11  Will Newton  <will.newton@linaro.org>
410
411         Merge gettext 0.19.3 into intl/.
412
413         This involves a number of cosmetic changes to comments
414         and ANSI function definitions and prototypes throughout
415         all the files. The gettext copyright header is used but
416         with the date ranges taken from the glibc copy.
417
418         * NEWS: Add gettext merge to 2.21.
419         * intl/bindtextdom.c: Switch to gettext copyright.
420         Use ANSI definitions and prototypes.
421         Use gl_* locking primitives rather than __libc_* ones.
422         Use __builtin_expect rather than __glibc_likely/unlikely.
423         * intl/dcgettext.c: Switch to gettext copyright.
424         Use ANSI definitions and prototypes.
425         * intl/dcigettext.c: Switch to gettext copyright.
426         Use ANSI definitions and prototypes.
427         (INTDIV0_RAISES_SIGFPE): New define.
428         Use gl_* locking primitives rather than __libc_* ones.
429         Include eval-plural.h instead of plural-eval.c.
430         Use __builtin_expect rather than __glibc_likely/unlikely.
431         * intl/dcngettext.c: Switch to gettext copyright.
432         Use ANSI definitions and prototypes.
433         * intl/dgettext.c: Likewise.
434         * intl/dngettext.c: Likewise.
435         * intl/plural-eval.c: Renamed to...
436         * intl/eval-plural.h: ...this.
437         * intl/explodename.c: Switch to gettext copyright.
438         Use ANSI definitions and prototypes.
439         (_nl_explode_name): Use strchr instead of __rawmemchr.
440         * intl/finddomain.c: Switch to gettext copyright.
441         Use ANSI definitions and prototypes.
442         Use gl_* locking primitives rather than __libc_* ones.
443         (_nl_find_domain): Use malloc rather than alloca for
444         allocation of temporary locale name.
445         * intl/gettext.c: Switch to gettext copyright.
446         Use ANSI definitions and prototypes.
447         * intl/gettextP.h: Switch to gettext copyright.
448         Use ANSI definitions and prototypes.
449         Use gl_* locking primitives rather than __libc_* ones.
450         * intl/gmo.h: Switch to gettext copyright.
451         (struct sysdep_string): Move struct segment_pair outside of
452         struct definition.
453         * intl/hash-string.c: Use ANSI definitions and prototypes.
454         * intl/hash-string.h: Switch to gettext copyright.
455         Use ANSI definitions and prototypes.
456         * intl/l10nflist.c: Switch to gettext copyright.
457         Use ANSI definitions and prototypes.
458         (_nl_normalize_codeset): Avoid integer overflow.
459         * intl/loadinfo.h: Switch to gettext copyright.
460         Use ANSI definitions and prototypes.
461         (LIBINTL_DLL_EXPORTED): New define.
462         (PATH_SEPARATOR): New define.
463         * intl/loadmsgcat.c: Switch to gettext copyright.
464         * intl/localealias.c: Switch to gettext copyright.
465         Use ANSI definitions and prototypes.
466         (_nl_expand_alias): Use PATH_SEPARATOR.
467         * intl/ngettext.c: Switch to gettext copyright.
468         Use ANSI definitions and prototypes.
469         * intl/plural-exp.c: Likewise.
470         * intl/plural-exp.h: Switch to gettext copyright.
471         Use ANSI definitions and prototypes.
472         (struct expression): Move definition of enum operator outside
473         of struct definition.
474         * intl/plural.c: Regenerate.
475         * intl/plural.y: Switch to gettext copyright.
476         Use ANSI definitions and prototypes.
477         Port to bison 3.0.
478         * intl/textdomain.c: Switch to gettext copyright.
479         Use ANSI definitions and prototypes.
480         Use gl_* locking primitives rather than __libc_* ones.
481
482 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
483
484         * debug/warning-nop.c: Add used atrribute.
485
486 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
487
488         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
489
490         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
491         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
492         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
493
494 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
495             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
496
497         [BZ #17634]
498         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
499         Undefine after defining function.  Define as weak alias of
500         __wcschr.  Use libc_hidden_weak.
501         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
502         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
503         (libc_hidden_def): Also define __GI___wcschr alias.
504         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
505         __wcschr and define as weak alias of __wcschr.
506         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
507         __wcschr.
508         [!WCSCHR] (DEFAULT_WCSCHR): Define.
509         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
510         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
511         libc_hidden_weak.  Do not use libc_hidden_def.
512         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
513         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
514         __GI___wcschr alias.
515         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
516         [IS_IN (libc)] (wcschr): Define as macro expanding to
517         __redirect_wcschr.
518         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
519         [IS_IN (libc)] (__wcschr_power6): Likewise.
520         [IS_IN (libc)] (__wcschr_power7): Likewise.
521         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
522         instead of wcschr.
523         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
524         __libc_wcschr.
525         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
526         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
527         __wcschr and define as weak alias of __wcschr.  Use
528         libc_hidden_builtin_def.
529         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
530         as weak alias of __wcschr.  Use libc_hidden_weak.
531         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
532         wcschr.
533         * time/era.c (_nl_init_era_entries): Likewise.
534         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
535         variable.
536         (test-xfail-XPG3/time.h/linknamespace): Likewise.
537         (test-xfail-XPG4/time.h/linknamespace): Likewise.
538
539 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
540
541         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
542         format for long int variable.
543
544 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
545
546         [BZ #10672]
547         * manual/search.texi: (Array Sort Function): Remove claim how to make
548         qsort stable.
549
550 2014-12-10  Andreas Schwab  <schwab@suse.de>
551
552         [BZ #12847]
553         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
554         user-controlled locks.
555
556 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
557
558         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
559         register.
560
561 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
562
563         * configure.ac (--disable-werror): New configure option.
564         (enable_werror): New AC_SUBST.
565         * configure: Regenerated.
566         * config.make.in (enable-werror): New variable.
567         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
568         -Wno-error=undef.
569         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
570         * manual/install.texi (Configuring and compiling): Document
571         --disable-werror.
572         * INSTALL: Regenerated.
573         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
574         (CFLAGS-tst-chk2.c): Likewise.
575         (CFLAGS-tst-chk3.c): Likewise.
576         (CFLAGS-tst-chk4.cc): Likewise.
577         (CFLAGS-tst-chk5.cc): Likewise.
578         (CFLAGS-tst-chk6.cc): Likewise.
579         (CFLAGS-tst-lfschk1.c): Likewise.
580         (CFLAGS-tst-lfschk2.c): Likewise.
581         (CFLAGS-tst-lfschk3.c): Likewise.
582         (CFLAGS-tst-lfschk4.cc): Likewise.
583         (CFLAGS-tst-lfschk5.cc): Likewise.
584         (CFLAGS-tst-lfschk6.cc): Likewise.
585
586         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
587         (main): Disable -Wdeprecated-declarations around calls to
588         register_printf_function.
589
590         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
591         (do_test): Disable -Wdiv-by-zero around some calls to
592         fwrite_unlocked and fread_unlocked.
593
594         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
595         (DIAG_POP_NEEDS_COMMENT): Likewise.
596         (_DIAG_STR1): Likewise.
597         (_DIAG_STR): Likewise.
598         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
599         * stdio-common/bug21.c: Include <libc-internal.h>.
600         (do_test): Disable -Wformat around call to sscanf.
601         * stdio-common/scanf14.c: Include <libc-internal.h>.
602         (main): Disable -Wformat around some calls to scanf functions.
603
604 2014-12-09  Torvald Riegel  <triegel@redhat.com>
605
606         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
607
608 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
609
610         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
611         stack variable alignment.
612
613 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
614
615         [BZ #17682]
616         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
617         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
618         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
619         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
620         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
621         __getrlimit instead of getrlimit.
622         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
623         __gettimeofday instead of gettimeofday.
624         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
625         Likewise.
626         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
627         Likewise.
628         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
629         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
630         Remove variable.
631         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
632         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
633
634 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
635
636         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
637         for wide-character tests.
638
639 2014-12-04  Roland McGrath  <roland@hack.frob.com>
640
641         * io/openat64.c: #include <libc-internal.h>
642         (__openat64): Prototypify.  Use ignore_value on MODE.
643         * io/openat.c: Likewise.
644         * misc/reboot.c: #include <libc-internal.h>
645         (reboot): Prototypify.  Use ignore_value on HOWTO.
646         * misc/ptrace.c: #include <libc-internal.h>
647         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
648
649 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
650
651         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
652         XPG4, UNIX98 and XOPEN2K.
653         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
654         Remove variable.
655         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
656
657 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
658
659         * libio/fileops.c: Use ISO C style for function definitions.
660         * libio/iofopen.c: Likewise.
661         * libio/wfileops.c: Likewise.
662
663         [BZ #17653]
664         * libio/fileops.c (_IO_new_file_underflow): Unset cached
665         offset on EOF.
666         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
667         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
668         (fgets_func): Function pointer to fgets and fgetws.
669         (do_ftell_test): Add test to verify ftell value after read
670         EOF.
671         (do_test): Set fgets_func.
672
673         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
674         O_TRUNC flag for w and w+ modes.
675         (do_rewind_test): Likewise.
676         (do_ftell_test): Likewise.
677         (do_write_test): Likewise.
678
679         [BZ #17647]
680         * libio/fileops.c (do_ftell): Seek only when there are
681         unflushed writes.
682         * libio/wfileops.c (do_ftell_wide): Likewise.
683         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
684         test case.
685         (do_one_test): Call it.
686
687 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
688
689         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
690         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
691         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
692         Remove variable.
693         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
694         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
695         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
696
697 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
698
699         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
700         Remove variable.
701         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
702
703         [BZ #17668]
704         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
705         as weak alias of __getifaddrs.  Use libc_hidden_weak.
706         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
707         __freeifaddrs.  Use libc_hidden_weak.
708         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
709         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
710         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
711         __freeifaddrs.  Use libc_hidden_weak.
712         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
713         __getifaddrs and define as weak alias of __getifaddrs.  Use
714         libc_hidden_weak.
715         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
716         __freeifaddrs.  Use libc_hidden_weak.
717         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
718         Remove variable.
719         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
720         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
721
722 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
723
724         [BZ #17601]
725         * sysdeps/mips/start.S (__start): Use indirect jump to call
726         __libc_start_main.
727
728 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
729
730         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
731
732         * nptl/tst-mutex1.c: Include <stdbool.h>.
733         [!ATTR] (ATTR_NULL): New macro.
734         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
735         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
736         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
737
738         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
739         to char *.
740
741         [BZ #17665]
742         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
743         Change conditional to [__USE_MISC].
744
745         [BZ #17664]
746         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
747         fgets_unlocked.
748         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
749         __fgets_unlocked.
750         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
751         fgets_unlocked.
752         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
753         Remove variable.
754         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
755         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
756         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
757         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
758         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
759         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
760         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
761         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
762         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
763
764         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
765
766 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
767
768         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
769         Remove strpbrk objects.
770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
771         (__libc_ifunc_impl_list): Remove strpbrk implementation.
772         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
773         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
774         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
775         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
776
777         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
778         Remove strcspn objects.
779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
780         (__libc_ifunc_impl_list): Remove strcspn implementation.
781         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
782         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
783         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
784         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
785
786         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
787         Remove strspn objetcs.
788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
789         (__libc_ifunc_impl_list): Remove strspn implementation.
790         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
791         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
792         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
793         * sysdeps/powerpc/powerpc64/strspn.S: New file.
794
795 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
796
797         [BZ #17581]
798         * malloc/hooks.c
799         (mem2mem_check): Add a terminator to the chain of checking blocks.
800         (malloc_check_get_size): Use it here.
801         (mem2chunk_check): Ditto.
802
803 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
804
805         * sysdeps/powerpc/powerpc64/strtok.S: New file.
806         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
807
808 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
809
810         * bits/ioctl-types.h: Indent preprocessor directives correctly.
811
812         * nptl/nptl-init.c: Include libc-internal.h.
813         (__pthread_initialize_minimal_internal): Use ROUND_UP.
814
815         * elf/ldconfig.c (search_dir): Expand comment.
816
817 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
818
819         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
820         variable.
821         (linknamespace-symlist-stdlibs-tests): Likewise.
822         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
823         instead of $(objpfx)symlist-stdlibs.
824         (linknamespace-libs-isoc): New variable.
825         (linknamespace-libs): Use $(linknamespace-libs-isoc).
826         (linknamespace-libs-ISO): New variable.
827         (linknamespace-libs-ISO99): Likewise.
828         (linknamespace-libs-ISO11): Likewise.
829         (linknamespace-libs-XPG3): Likewise.
830         (linknamespace-libs-XPG4): Likewise.
831         (linknamespace-libs-POSIX): Likewise.
832         (linknamespace-libs-UNIX98): Likewise.
833         (linknamespace-libs-XOPEN2K): Likewise.
834         (linknamespace-libs-POSIX2008): Likewise.
835         (linknamespace-libs-XOPEN2K8): Likewise.
836         ($(objpfx)symlist-stdlibs): Replace by
837         $(linknamespace-symlist-stdlibs-tests).  Use
838         $(linknamespace-libs-$*) as set of libraries.
839         ($(linknamespace-header-tests)): Update dependencies.  Use
840         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
841         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
842         * conform/linknamespace.pl: Remove comment about considering
843         definitions of symbols from irrelevant libraries.
844
845 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
846
847         [BZ #13862]
848         * elf/dl-tls.c: Include <atomic.h>.
849         (oom): Remove #ifdef SHARED/#endif.
850         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
851         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
852         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
853         big enough.
854         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
855         * nptl/Makefile (tests): Add tst-stack4.
856         (modules-names): Add tst-stack4mod.
857         ($(objpfx)tst-stack4): New.
858         (tst-stack4mod.sos): Likewise.
859         ($(objpfx)tst-stack4.out): Likewise.
860         ($(tst-stack4mod.sos)): Likewise.
861         (clean): Likewise.
862         * nptl/tst-stack4.c: New file.
863         * nptl/tst-stack4mod.c: Likewise.
864
865 2014-11-27  J. Brown  <jb999@gmx.de>
866
867         * sysdeps/x86/bits/string.h: Add recent CPUs.
868
869 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
870
871         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
872         sigblock.
873
874         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
875         feof.
876
877         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
878         variable.
879
880 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
881
882         * nscd/connections.c: Include libc-internal.h because of macro
883         usage ignore_value.
884
885 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
886
887         * string/bits/string3.h (__warn_memset_zero_len): Don't
888         declare for gcc newer than 5.0.
889         (memset): Don't test for zero-length __LEN for gcc newer than
890         5.0.
891
892 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
893
894         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
895         size_t for %zu format.
896
897         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
898         difference, not %ju.
899
900 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
901
902         * include/libc-internal.h (ignore_value): New macro.
903         * nscd/connections.c (restart): Wrap calls to setuid and setgid
904         with ignore_value.
905
906         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
907         definition.
908
909         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
910         pthread_cleanup_push to void *.
911
912         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
913         Undefine.
914
915         [BZ #16619]
916         [BZ #16740]
917         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
918         instead of 1L << 52.
919
920         * libio/bug-rewind.c (do_test): Check fwscanf return values.
921         * libio/bug-rewind2.c (do_test): Likewise.
922
923         * debug/test-stpcpy_chk-ifunc.c: Remove file.
924         * debug/test-strcpy_chk-ifunc.c: Likewise.
925         * wcsmbs/test-wcschr-ifunc.c: Likewise.
926         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
927         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
928         * wcsmbs/test-wcslen-ifunc.c: Likewise.
929         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
930         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
931         * Rules [$(multi-arch) = no] (tests): Do not filter out
932         $(tests-ifunc).
933         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
934         * debug/Makefile (tests-ifunc): Remove variable.
935         (tests): Do not add $(tests-ifunc).
936         * wcsmbs/Makefile (tests-ifunc): Remove variable.
937         (tests): Do not add $(tests-ifunc).
938         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
939         [TEST_IFUNC]: Remove conditionals.
940         * string/test-string.h (TEST_IFUNC): Remove macro.
941         [TEST_IFUNC]: Remove conditionals.
942
943         * string/test-strchr.c [!WIDE] (L): New macro.
944         [WIDE] (L): Likewise.
945         (check1): Use CHAR instead of char.  Use L on string and character
946         constants.
947
948 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
949
950         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
951         tests.
952         * sysdeps/powerpc/bits/atomic.h
953         (__arch_atomic_exchange_and_add_32_acq): Add definition.
954         (__arch_atomic_exchange_and_add_32_rel): Likewise.
955         (atomic_exchange_and_add_acq): Likewise.
956         (atomic_exchange_and_add_rel): Likewise.
957         * sysdeps/powerpc/powerpc32/bits/atomic.h
958         (__arch_atomic_exchange_and_add_64_acq): Add definition.
959         (__arch_atomic_exchange_and_add_64_rel): Likewise.
960         * sysdeps/powerpc/powerpc64/bits/atomic.h
961         (__arch_atomic_exchange_and_add_64_acq): Add definition.
962         (__arch_atomic_exchange_and_add_64_rel): Likewise.
963
964 2014-11-26  Torvald Riegel  <triegel@redhat.com>
965
966         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
967         Change synchronization of __sched_fifo_min_prio and
968         __sched_fifo_max_prio.
969         * nptl/pthread_mutexattr_getprioceiling.c
970         (pthread_mutexattr_getprioceiling): Likewise.
971         * nptl/pthread_mutexattr_setprioceiling.c
972         (pthread_mutexattr_setprioceiling): Likewise.
973         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
974         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
975         Likewise.
976
977 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
978
979         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
980         void.
981
982 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
983
984         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
985         third argument const.
986
987 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
988
989         fnmatch: work around GCC compiler warning bug with uninit var
990         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
991         This works around a bug with x86-64 GCC 4.9.2 and earlier
992         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
993         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
994         used uninitialized in this function [-Wmaybe-uninitialized]".
995
996 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
997
998         * posix/bug-regex31.c (main): Return RES not 0.
999
1000 2014-11-25  Anton Blanchard <anton@samba.org>
1001
1002         * sysdeps/powerpc/bits/atomic.h
1003         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1004
1005 2014-11-24  Sterling Augustine  <saugustine@google.com>
1006
1007         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1008
1009 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1010
1011         [BZ #17608]
1012         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1013
1014 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1015
1016         [BZ #17633]
1017         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1018         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1019         variable.
1020         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1021         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1022
1023 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1024
1025         * string/strncpy.c (strncpy): Improve performance by using memset.
1026
1027 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1028
1029         * string/strcpy.c (strcpy):
1030         Improve performance by using strlen and memcpy.
1031
1032 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1033
1034         * string/strcoll_l.c (get_next_seq): __always_inline.
1035         * string/strcoll_l.c (do_compare): __always_inline.
1036
1037 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1038
1039         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1040         defined.
1041         * include/mqueue.h: Likewise.
1042         * include/stdlib.h: Likewise.
1043
1044         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1045         (get_null_defines): Adjust.
1046         * sunrpc/Makefile: Adjust comment.
1047         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1048         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1049         (CFLAGS-interp.c): Likewise.
1050         (CFLAGS-ldconfig.c): Likewise.
1051         (CPPFLAGS-.os): Likewise.
1052         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1053         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1054         * extra-modules.mk (extra-modules.mk): Likewise.
1055         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1056         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1057         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1058         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1059         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1060         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1061         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1062         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1063         * iconvdata/Makefile (CPPFLAGS): Likewise.
1064         (cpp-srcs-left): Add libof for all iconvdata routines.
1065         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1066         * include/assert.h: Likewise.
1067         * include/ctype.h: Likewise.
1068         * include/errno.h: Likewise.
1069         * include/libc-symbols.h: Likewise.
1070         * include/math.h: Likewise.
1071         * include/netdb.h: Likewise.
1072         * include/resolv.h: Likewise.
1073         * include/stdio.h: Likewise.
1074         * include/stdlib.h: Likewise.
1075         * include/string.h: Likewise.
1076         * include/sys/stat.h: Likewise.
1077         * include/wctype.h: Likewise.
1078         * intl/l10nflist.c: Likewise.
1079         * libidn/idn-stub.c: Likewise.
1080         * libio/libioP.h: Likewise.
1081         * nptl/libc_multiple_threads.c: Likewise.
1082         * nptl/pthreadP.h: Likewise.
1083         * posix/regex_internal.h: Likewise.
1084         * resolv/res_hconf.c: Likewise.
1085         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1086         * sysdeps/arm/memmove.S: Likewise.
1087         * sysdeps/arm/sysdep.h: Likewise.
1088         * sysdeps/generic/_itoa.h: Likewise.
1089         * sysdeps/generic/symbol-hacks.h: Likewise.
1090         * sysdeps/gnu/errlist.awk: Likewise.
1091         * sysdeps/gnu/errlist.c: Likewise.
1092         * sysdeps/i386/i586/memcpy.S: Likewise.
1093         * sysdeps/i386/i586/memset.S: Likewise.
1094         * sysdeps/i386/i686/memcpy.S: Likewise.
1095         * sysdeps/i386/i686/memmove.S: Likewise.
1096         * sysdeps/i386/i686/mempcpy.S: Likewise.
1097         * sysdeps/i386/i686/memset.S: Likewise.
1098         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1099         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1100         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1101         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1102         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1103         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1104         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1105         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1106         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1107         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1108         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1109         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1110         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1111         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1112         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1113         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1114         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1115         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1116         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1117         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1118         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1119         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1120         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1121         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1122         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1123         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1124         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1125         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1126         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1127         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1128         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1129         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1130         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1131         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1132         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1133         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1134         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1135         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1136         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1137         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1138         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1139         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1140         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1141         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1142         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1143         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1144         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1145         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1146         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1147         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1148         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1149         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1150         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1151         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1152         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1153         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1154         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1155         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1156         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1157         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1158         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1159         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1160         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1161         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1162         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1163         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1164         * sysdeps/posix/closedir.c: Likewise.
1165         * sysdeps/posix/opendir.c: Likewise.
1166         * sysdeps/posix/readdir.c: Likewise.
1167         * sysdeps/posix/rewinddir.c: Likewise.
1168         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1169         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1170         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1171         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1172         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1173         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1174         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1176         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1177         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1178         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1179         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1180         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1181         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1182         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1183         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1184         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1185         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1186         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1187         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1188         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1189         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1190         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1191         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1192         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1193         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1194         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1195         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1196         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1197         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1198         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1199         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1201         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1202         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1203         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1204         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1205         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1206         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1207         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1208         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1209         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1210         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1211         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1212         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1213         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1214         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1215         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1216         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1217         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1218         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1219         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1220         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1221         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1222         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1223         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1224         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1225         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1226         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1227         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1228         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1229         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1230         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1231         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1232         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1233         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1234         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1235         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1236         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1237         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1238         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1239         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1240         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1241         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1242         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1243         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1244         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1245         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1246         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1247         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1248         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1249         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1250         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1251         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1252         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1253         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1254         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1255         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1256         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1257         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1258         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1259         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1260         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1261         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1262         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1263         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1264         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1265         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1266         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1267         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1268         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1269         * sysdeps/unix/alpha/sysdep.S: Likewise.
1270         * sysdeps/unix/alpha/sysdep.h: Likewise.
1271         * sysdeps/unix/make-syscalls.sh: Likewise.
1272         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1273         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1274         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1275         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1276         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1277         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1278         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1279         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1280         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1281         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1282         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1283         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1284         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1285         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1286         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1287         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1288         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1289         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1290         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1291         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1292         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1293         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1294         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1295         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1296         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1297         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1298         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1301         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1302         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1303         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1305         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1306         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1307         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1308         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1310         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1311         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1312         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1313         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1314         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1315         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1316         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1317         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1318         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1319         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1320         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1321         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1322         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1323         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1324         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1325         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1326         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1327         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1328         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1329         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1330         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1331         * sysdeps/x86_64/memcpy.S: Likewise.
1332         * sysdeps/x86_64/memmove.c: Likewise.
1333         * sysdeps/x86_64/memset.S: Likewise.
1334         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1335         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1336         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1337         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1338         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1339         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1340         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1341         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1342         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1343         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1344         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1345         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1346         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1347         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1348         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1349         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1350         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1351         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1352         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1353         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1354         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1355         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1356         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1357         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1358         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1359         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1360         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1361         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1362         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1363         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1364         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1365         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1366         * sysdeps/x86_64/strcmp.S: Likewise.
1367
1368         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1369
1370         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1371         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1372         * elf/rtld-Rules: Likewise.
1373         * elf/setup-vdso.h: Likewise.
1374         * include/assert.h: Likewise.
1375         * include/bits/stdlib-float.h: Likewise.
1376         * include/errno.h: Likewise.
1377         * include/sys/stat.h: Likewise.
1378         * include/unistd.h: Likewise.
1379         * sysdeps/aarch64/setjmp.S: Likewise.
1380         * sysdeps/alpha/setjmp.S: Likewise.
1381         * sysdeps/arm/__longjmp.S: Likewise.
1382         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1383         * sysdeps/arm/setjmp.S: Likewise.
1384         * sysdeps/arm/sysdep.h: Likewise.
1385         * sysdeps/generic/_itoa.h: Likewise.
1386         * sysdeps/generic/dl-sysdep.h: Likewise.
1387         * sysdeps/generic/ldsodefs.h: Likewise.
1388         * sysdeps/i386/dl-tls.h: Likewise.
1389         * sysdeps/i386/setjmp.S: Likewise.
1390         * sysdeps/m68k/setjmp.c: Likewise.
1391         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1392         * sysdeps/mach/hurd/opendir.c: Likewise.
1393         * sysdeps/posix/getcwd.c: Likewise.
1394         * sysdeps/posix/opendir.c: Likewise.
1395         * sysdeps/posix/profil.c: Likewise.
1396         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1397         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1398         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1399         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1400         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1401         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1402         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1403         * sysdeps/s390/dl-tls.h: Likewise.
1404         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1405         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1406         * sysdeps/sh/sh3/setjmp.S: Likewise.
1407         * sysdeps/sh/sh4/setjmp.S: Likewise.
1408         * sysdeps/unix/alpha/sysdep.h: Likewise.
1409         * sysdeps/unix/arm/sysdep.S: Likewise.
1410         * sysdeps/unix/i386/sysdep.S: Likewise.
1411         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1412         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1413         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1414         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1415         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1416         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1417         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1418         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1419         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1420         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1421         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1422         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1423         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1426         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1427         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1428         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1429         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1430         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1431         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1432         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1433         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1434         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1435         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1436         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1438         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1439         * sysdeps/x86_64/setjmp.S: Likewise.
1440
1441         * include/math.h: Use IS_IN instead of IS_IN_libm.
1442         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1443         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1444         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1445         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1446         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1447         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1448         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1449         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1450         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1451         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1452         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1453         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1454         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1455         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1456         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1457         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1458         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1459         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1460         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1461         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1462         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1463         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1464         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1465         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1466         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1467         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1468         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1469         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1470         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1471         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1472         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1473         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1474         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1476         Likewise.
1477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1478         Likewise.
1479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1480         Likewise.
1481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1482         Likewise.
1483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1484         Likewise.
1485         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1486         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1487         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1488         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1489         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1490         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1496         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1497         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1498         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1499         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1500         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1501         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1502         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1503         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1504         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1505         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1506         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1507         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1508         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1509         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1510         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1511         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1512
1513         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1514         * nptl/pthreadP.h: Likewise.
1515         * nptl_db/structs.def: Likewise.
1516         * sysdeps/arm/sysdep.h: Likewise.
1517         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1518         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1519         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1520         * sysdeps/unix/alpha/sysdep.h: Likewise.
1521         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1522         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1523         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1524         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1525         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1526         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1527         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1528         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1529         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1530         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1531         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1532         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1533         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1534         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1537         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1539         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1540         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1541         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1542         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1543         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1544         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1545         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1546         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1547
1548         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1549         * nptl/pthreadP.h: Likewise.
1550         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1551         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1552         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1553         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1554         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1555         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1556         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1557         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1558         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1559         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1560         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1561         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1563         Likewise.
1564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1565         Likewise.
1566         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1568         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1569         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1570         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1571         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1572         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1573         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1574
1575         * dlfcn/dladdr.c: Use IS_IN.
1576         * dlfcn/dladdr1.c: Likewise.
1577         * dlfcn/dlclose.c: Likewise.
1578         * dlfcn/dlerror.c: Likewise.
1579         * dlfcn/dlinfo.c: Likewise.
1580         * dlfcn/dlmopen.c: Likewise.
1581         * dlfcn/dlopen.c: Likewise.
1582         * dlfcn/dlsym.c: Likewise.
1583         * dlfcn/dlvsym.c: Likewise.
1584
1585         * include/ifaddrs.h: Use IS_IN.
1586         * inet/check_pf.c: Likewise.
1587         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1588         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1589
1590         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1591         IS_IN_ldconfig.
1592         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1593         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1594
1595         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1596         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1597         IS_IN (libc).
1598
1599         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1600
1601         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1602         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1603         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1604         * include/libc-symbols.h (IS_IN_LIB): New macro.
1605         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1606         * include/netdb.h: Likewise.
1607         * include/stap-probe.h: Remove all uses of IN_LIB.
1608
1609         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1610         instead of IN_MODULE.
1611         * include/libc-symbols.h (IN_MODULE): Define using
1612         MODULE_NAME.
1613         (PASTE_NAME, PASTE_NAME1): New macros.
1614         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1615         of IN_LIB.
1616         (STAP_PROBE_ASM): Likewise.
1617
1618 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1619
1620         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1621         __mach_init in dlopened libc.
1622
1623 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1624
1625         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1626         * sysdeps/arm/preconfigure: Regenerate.
1627
1628 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1629
1630         * nptl/pthread_create.c (__pthread_create_2_1): Set
1631         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1632         when copying values from IATTR into PD.
1633
1634 2014-11-21  Will Newton  <will.newton@linaro.org>
1635             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1636
1637         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1638         Refactor inline-asm.  Also add comment.
1639
1640         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1641         ElfW macro instead of hardcoded Elf64 types.
1642         (la_aarch64_gnu_pltenter): Likewise.
1643         * sysdeps/aarch64/dl-machine.h
1644         (elf_machine_runtime_setup): Use ElfW(Addr).
1645
1646         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1647         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1648         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1649         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1650         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1651         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1652         (R_AARCH64_TLS_DTPMOD): This.
1653         (R_AARCH64_TLS_DTPREL64): Rename to ...
1654         (R_AARCH64_TLS_DTPREL): This.
1655         (R_AARCH64_TLS_TPREL64): Rename to ...
1656         (R_AARCH64_TLS_TPREL): This.
1657         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1658         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1659         R_AARCH64_TLS_TPREL64.
1660         (elf_machine_rela): Likewise.
1661
1662 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1663
1664         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1665         by setting it to 0.  64b atomics are not supported currently.
1666
1667 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1668
1669         [BZ #16469]
1670         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1671         search domain names.
1672
1673 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1674
1675         [BZ #16469]
1676         * NEWS: Update.
1677         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1678         trailing dot.
1679         * posix/tst-getaddrinfo5.c: New.
1680         * posix/Makefile (tests): Add it.
1681
1682 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1683
1684         [BZ #14498]
1685         * NEWS: Fixed.
1686         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1687         after parsing line but before break_if_match.
1688         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1689         if there is a protocol mismatch.
1690
1691 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1692
1693         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1694         because the potential race is on the user-supplied stream.
1695
1696 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1697
1698         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1699         string literal if not passed a buffer.
1700         * manual/job.texi (ctermid): Update reasoning, note deviation
1701         from posix, suggest mtasurace when not passed a buffer, for
1702         future non-preliminary safety notes.
1703
1704 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1705
1706         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1707         of not passing it a buffer.
1708         Reported by Peng Haitao.
1709
1710 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1711
1712         * manual/Makefile ($(objpfx)stamp-summary): Require
1713         check-safety.sh to pass.
1714         * manual/check-safety.sh: Wish for verification that every
1715         @deftypefn and @deftypefun is followed by a @safety remark.
1716
1717 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1718
1719         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1720
1721         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1722         PTHREAD_CANCEL_ASYNCHRONOUS.
1723         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1724         send SIGCANCEL.
1725
1726         * nptl/default-sched.h: New file.
1727         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1728         * nptl/pthread_create.c: Include it.
1729         (__pthread_create_2_1): Use collect_default_sched instead of making
1730         Linux syscalls here directly.
1731
1732 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1733
1734         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1735         __pthread_once): Use C11 atomics.
1736
1737 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1738
1739         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1740
1741 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1742
1743         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1744         atomic_thread_fence_acquire, atomic_thread_fence_release,
1745         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1746         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1747         atomic_compare_exchange_weak_relaxed,
1748         atomic_compare_exchange_weak_acquire,
1749         atomic_compare_exchange_weak_release,
1750         atomic_exchange_acquire, atomic_exchange_release,
1751         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1752         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1753         atomic_fetch_and_acquire,
1754         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1755
1756 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1757
1758         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1759         USE_ATOMIC_COMPILER_BUILTINS): Define.
1760         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1762         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1764         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1766         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1768         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1770         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1772         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1774         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1776         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1777         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1778         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1779         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1780         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1781         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1782         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1783         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1784         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1785         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1786         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1787         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1788         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1790         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1792         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1793         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1794         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1795         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1796         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1797         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1798         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1799         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1800
1801 2014-11-19  Roland McGrath  <roland@hack.frob.com>
1802
1803         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1804         the sched_priority value here.  It was already checked when the user
1805         called pthread_attr_setschedparam.
1806
1807         * nptl/tst-bad-schedattr.c: New file.
1808         * nptl/Makefile (tests): Add it.
1809
1810 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
1811             Florian Weimer  <fweimer@redhat.com>
1812             Joseph Myers  <joseph@codesourcery.com>
1813             Adam Conrad  <adconrad@0c3.net>
1814             Andreas Schwab  <schwab@suse.de>
1815             Brooks  <bmoses@google.com>
1816
1817         [BZ #17625]
1818         * wordexp-test.c (__dso_handle): Add prototype.
1819         (__register_atfork): Likewise.
1820         (__app_register_atfork): New function.
1821         (registered_forks): New global.
1822         (register_fork): New function.
1823         (test_case): Add 3 new tests for WRDE_CMDSUB.
1824         (main): Call __app_register_atfork.
1825         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1826         fork count is non-zero fail the test.
1827         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1828         is set.
1829         (parse_dollars): Remove check for WRDE_NOCMD.
1830         (parse_dquote): Likewise.
1831
1832 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1833
1834         * Makeconfig (built-modules): List non-library modules to be
1835         built.
1836         (module-cppflags): Include libc-modules.h for
1837         everything except shlib-versions.v.i.
1838         (CPPFLAGS): Use it.
1839         (before-compile): Add libc-modules.h.
1840         ($(common-objpfx)libc-modules.h,
1841         $(common-objpfx)libc-modules.stmp): New targets.
1842         (common-generated): Add libc-modules.h and libc-modules.stmp.
1843         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1844         * include/libc-symbols.h: Don't include libc-modules.h.
1845         * include/libc-modules.h: Remove file.
1846         * scripts/gen-libc-modules.awk: New script to generate
1847         libc-modules.h.
1848         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1849         Depend on libc-modules.stmp.
1850
1851         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1852
1853         * Makeconfig (in-module): Get value of libof set for the
1854         translation unit.
1855         (CPPFLAGS): Use $(in-module).
1856         * Makerules: Don't suffix routine names for nonlib.
1857         * include/libc-modules.h: New file.
1858         * include/libc-symbols.h: Include libc-modules.h
1859         (IS_IN): New macro to replace IS_IN_* macros.
1860         * elf/Makefile: Set libof-* for each routine.
1861         * elf/rtld-Rules: Likewise.
1862         * extra-modules.mk: Likewise.
1863         * iconv/Makefile: Likewise.
1864         * iconvdata/Makefile: Likewise.
1865         * locale/Makefile: Likewise.
1866         * malloc/Makefile: Likewise.
1867         * nss/Makefile: Likewise.
1868         * sysdeps/gnu/Makefile: Likewise.
1869         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1870         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1871         * sysdeps/s390/s390-64/Makefile: Likewise.
1872         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
1873         CPPFLAGS for nscd instead of nonlib.
1874
1875 2014-11-18  Roland McGrath  <roland@hack.frob.com>
1876
1877         * nptl/createthread.c: New file.
1878
1879         * nptl/createthread.c: Moved ...
1880         * sysdeps/unix/sysv/linux/createthread.c: ... here.
1881
1882         * nptl/createthread.c: Add proper top-line comment.
1883         (do_clone): Folded into ...
1884         (create_thread): ... here.  Take new arguments STOPPED_START and
1885         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
1886         increment __nptl_threads, do event-reporting logic, do
1887         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1888         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
1889         resource cleanup if sched_setaffinity or sched_setscheduler fails,
1890         just send SIGCANCEL.
1891         * nptl/pthread_create.c: Forward-declare create_thread before
1892         including createthread.c.
1893         (start_thread): Use new macro START_THREAD_DEFN to replace defining
1894         declaration, and new macro START_THREAD_SELF to replace argument.
1895         Remove return statement.
1896         (report_thread_creation): New function.
1897         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
1898         synchronization logic, and __nptl_nthreads increment here, around
1899         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
1900         PD->parent_cancelhandling here, before create_thread.  When
1901         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1902         __deallocate_stack, and ENOMEM translation here.
1903
1904 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
1905
1906         [BZ #17616]
1907         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1908         (mptwo): Rename to __mptwo.
1909         (__inv): Use __mptwo instead of mptwo.
1910         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1911         (mptwo): Rename to __mptwo.
1912         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1913         of mpone and __mptwo instead of mptwo.
1914         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1915         instead of mpone.
1916         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1917         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1918         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1919         of mpone and __mptwo instead of mptwo.
1920         (__mpranred): Use __mpone instead of mpone.
1921         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1922         variable.
1923         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1924         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1925         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1926         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1927         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1928         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1929         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1930         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1931         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1932         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1933         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1934         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1935         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1936         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1937         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1938         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1939         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1940         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1941         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1942
1943 2014-11-18  Tom de Vries  <tom@codesoucery.com>
1944
1945         * manual/signal.texi (Primitives Interrupted by Signals): In section,
1946         replace BSD Handler xref with BSD Signal Handling.
1947
1948 2014-11-17  Richard Henderson  <rth@redhat.com>
1949
1950         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1951         (_FP_PACK_RAW_2): Remove.
1952         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1953         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1954         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1955         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1956         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1957         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1958         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1959         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1960         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1961         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1962         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1963         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1964         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1965         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1966         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1967         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1968
1969 2014-11-14  Roland McGrath  <roland@hack.frob.com>
1970
1971         * signal/signal.h [__USE_MISC]
1972         (struct sigvec): Remove type.
1973         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1974         (sigvec): Remove declaration.
1975         * sysdeps/posix/sigvec.c: Moved ...
1976         * signal/sigvec.c: ... here, replacing old file.
1977         (struct sigvec): New type, copied from old signal.h definition.
1978         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1979         (__sigvec): Convert definition to prototype.
1980         (sigvec): Replace weak_alias with compat_symbol.
1981         * signal/Versions (libc: GLIBC_2.21): New version set.
1982         * include/signal.h: Remove __sigvec declaration.
1983         * sysdeps/unix/bsd/sigvec.c: Remove file.
1984         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1985         * manual/signal.texi (BSD Handler): Remove subsection.
1986         Move siginterrupt up to ...
1987         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
1988         (Blocking in BSD): Fold subsection into its parent.
1989         * NEWS: Mention sigvec removal.
1990
1991 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1992
1993         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1994         (DLA_FMS): Make definition conditional only on [__FMA4__].
1995         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1996         definition.
1997
1998         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1999         Make definition conditional only on [PROF].
2000         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2001         definition.
2002         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2003         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2004
2005         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2006         !__GNUC__].
2007         * include/signal.h (__sigpause): Move declaration above call to
2008         libc_hidden_proto.
2009         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2010         variable.
2011         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2012         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2013
2014 2014-11-14  David S. Miller  <davem@davemloft.net>
2015
2016         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2017         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2018
2019 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2020
2021         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2022         * configure: Regenerated.
2023         * manual/install.texi (Tools for Compilation): Document a
2024         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2025         compiler verified to work.
2026         * INSTALL: Regenerated.
2027
2028         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2029         redeclare with asm name.
2030         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2031         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2032         including <string.h>.
2033         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2034         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2035         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2036         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2037         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2038         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2039         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2040
2041 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2042
2043         * stdlib/strtol.c (__strtol): Use prototype definition.
2044
2045         [BZ #17594]
2046         * stdlib/strtol.c (SYM__): New macro.
2047         (SYM__1): Likewise.
2048         (__strtol): Likewise.
2049         (strtol): Rename to __strtol and define as weak alias of
2050         __strtol.  Use libc_hidden_weak.
2051
2052 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2053
2054         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2055         Use numbered labels in inline assembly.
2056
2057 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2058
2059         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2060         Add setjmp LIBC_PROBE.
2061         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2062         Likewise.
2063         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2064         Add longjmp, longjmp_target LIBC_PROBE.
2065         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2066         Likewise.
2067
2068 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2069
2070         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2071         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2072         to get rid of unused variable warning.
2073
2074 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2075
2076         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2077         Check for unwind_backtrace ==  NULL only in SHARED case.
2078         (__backchain_backtrace): Compile only in SHARED case.
2079         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2080         Likewise.
2081         (__backchain_backtrace): Declare as static.
2082
2083 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2084
2085         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2086         (__libc_multiple_threads_ptr): Variable moved ...
2087         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2088
2089 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2090
2091         * conform/GlibcConform.pm: New file.
2092         * conform/conformtest.pl: Use GlibcConform module.
2093         * conform/linknamespace.pl: New file.
2094         * conform/list-header-symbols.pl: Likewise.
2095         * conform/Makefile (linknamespace-symlists-base): New variable.
2096         (linknamespace-symlists-tests): Likewise.
2097         (linknamespace-header-base): Likewise.
2098         (linknamespace-header-tests): Likewise.
2099         (tests-special): Add new tests.
2100         ($(linknamespace-symlists-tests)): New rule.
2101         (linknamespace-libs): New variable.
2102         ($(objpfx)symlist-stdlibs): New rule.
2103         ($(linknamespace-header-tests)): Likewise.
2104         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2105         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2106         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2107         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2108         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2109         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2110         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2111         (test-xfail-ISO/math.h/linknamespace): Likewise.
2112         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2113         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2114         (test-xfail-ISO/time.h/linknamespace): Likewise.
2115         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2116         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2117         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2118         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2119         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2120         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2121         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2122         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2123         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2124         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2125         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2126         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2127         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2128         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2129         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2130         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2131         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2132         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2133         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2134         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2135         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2136         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2137         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2138         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2139         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2140         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2141         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2142         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2143         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2144         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2145         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2146         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2147         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2148         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2149         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2150         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2151         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2152         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2153         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2154         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2155         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2156         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2157         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2158         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2159         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2160         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2161         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2162         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2163         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2164         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2165         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2166         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2167         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2168         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2169         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2170         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2171         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2172         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2173         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2174         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2175         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2176         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2177         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2178         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2179         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2180         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2181         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2182         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2183         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2184         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2185         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2186         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2187         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2188         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2189         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2190         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2191         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2192         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2193         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2194         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2195         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2196         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2197         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2198         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2199         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2200         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2201         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2202         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2203         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2204         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2205         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2206         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2207         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2208         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2209         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2210         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2211         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2212         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2213         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2214         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2215         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2216         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2217         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2218         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2219         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2220         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2221         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2222         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2223         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2224         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2225         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2226         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2227         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2228         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2229         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2230         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2231         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2232         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2233         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2234         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2235         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2236         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2237         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2238         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2239         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2240         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2241         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2242         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2243         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2244         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2245         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2246         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2247         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2248         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2249         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2250         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2251         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2252         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2253         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2254         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2255         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2256         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2257         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2258         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2259         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2260         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2261         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2262         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2263         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2264         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2265
2266         [BZ #17589]
2267         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2268         of fgets_unlocked.
2269
2270         [BZ #17585]
2271         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2272         (memmem): Rename to __memmem and define as weak alias of
2273         __memmem.  Use libc_hidden_weak.
2274         (__memmem): Use libc_hidden_def.
2275         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2276         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2277         memmem.
2278
2279         [BZ #17582]
2280         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2281         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2282         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2283         and define as weak alias of __fgets_unlocked.  Use
2284         libc_hidden_weak.
2285         (__fgets_unlocked): Use libc_hidden_def.
2286         * include/stdio.h (__fgets_unlocked): Declare.  Use
2287         libc_hidden_proto.
2288         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2289         __fgets_unlocked instead of fgets_unlocked.
2290         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2291         (GET_NPROCS_CONF_PARSER): Likewise.
2292         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2293         (GET_NPROCS_CONF_PARSER): Likewise.
2294
2295         [BZ #17574]
2296         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2297         weak alias of __wmemset.  Use libc_hidden_weak.
2298         (__wmemset): Use libc_hidden_def.
2299         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2300         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2301         of wmemset.
2302
2303         [BZ #17573]
2304         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2305         with asm name __mempcpy.
2306         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2307
2308         [BZ #17572]
2309         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2310         and define as weak alias of __rawmemchr.
2311         (__rawmemchr): Do not define as strong alias of rawmemchr.
2312
2313         [BZ #17571]
2314         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2315         alias of __qsort_r.
2316         (qsort): Call __qsort_r instead of qsort_r.
2317         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2318         (__qsort_r): Declare.  Call libc_hidden_proto.
2319         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2320         instead of qsort_r.
2321         * nscd/gai.c (__qsort_r): Define to qsort_r.
2322         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2323         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2324         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2325
2326         [BZ #17570]
2327         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2328         define as weak alias of __malloc_info.
2329
2330         [BZ #17584]
2331         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2332         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2333         (__rewinddir): Use libc_hidden_def.
2334         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2335         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2336         (__rewinddir): Use libc_hidden_def.
2337         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2338         weak alias of __rewinddir.  Don't use libc_hidden_def.
2339         (__rewinddir): Use libc_hidden_def.
2340         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2341         (__rewinddir): Use libc_hidden_proto.
2342         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2343         rewinddir.
2344         (__getcwd): Use __rewinddir instead of rewinddir.
2345
2346         [BZ #17583]
2347         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2348         alias of __fileno.  Use libc_hidden_weak.
2349         (__fileno): Use libc_hidden_def.
2350         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2351         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2352         alias of __ftello.
2353         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2354         __ftello.
2355         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2356         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2357         libc_hidden_def.
2358         (fread_unlocked): Don't use libc_hidden_ver.
2359         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2360         and define as weak alias of __fread_unlocked.  Don't use
2361         libc_hidden_def.
2362         (__fread_unlocked): Use libc_hidden_def.
2363         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2364         (ftello): Don't use libc_hidden_proto.
2365         (__ftello): Declare.  Use libc_hidden_proto.
2366         (fread_unlocked): Don't use libc_hidden_proto.
2367         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2368         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2369         and __ftello instead of fileno, fread_unlocked and ftello.
2370
2371 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2372
2373         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2374         GOT12.
2375         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2376         Likewise.
2377         (_dl_start_user): Likewise.
2378         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2379
2380 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2381             Siddhesh Poyarekar  <siddhesh@redhat.com>
2382
2383         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2384         Move argv and envp down instead of moving argc up.
2385         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2386
2387 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2388
2389         [BZ #17506]
2390         * test-skeleton.c (main): Return successful if one of
2391         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2392         * string/tst-strcoll-overflow.c: Define expected status.
2393
2394 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2395
2396         [BZ #17475]
2397         * locale/iso-639.def: Define Bhili and Tulu language codes.
2398
2399 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2400
2401         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2402
2403 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2404
2405         [BZ #17555]
2406         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2407
2408 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2409
2410         * configure.ac: Updated check of minimal required version to
2411         2.22.
2412         * manual/install.texi (Tools for Compilation): Updated version
2413         number.
2414         * configure: Regenerated.
2415         * INSTALL: Likewise.
2416
2417 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2418
2419         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2420         __tls_get_addr.
2421
2422 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2423
2424         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2425         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2426         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2427         libc_hidden_weak.
2428         (waitpid): Define as alias of __waitpid.
2429         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2430         __waitpid.
2431         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2432         libc_hidden_weak.
2433         (waitpid): Define as alias of __waitpid.
2434         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2435         __libc_waitpid alias.
2436         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2437         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2438         Likewise.
2439         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2440         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2441         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2442         alias.
2443         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2444         __waitpid.
2445         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2446         libc_hidden_weak.
2447         (waitpid): Define as alias of __waitpid.
2448
2449 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2450
2451         * manual/llio.texi: Add comment that write safety has been
2452         fixed in Linux.
2453
2454         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2455         (localplt-build-dso): Add elf/ld.so.
2456         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2457         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2458         and free for ld.so.
2459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2460         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2462         Likewise.
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2464         Likewise.
2465         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2466         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2467         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2468         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2469         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2470         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2471         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2472         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2473         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2474         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2475         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2476
2477 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2478
2479         [BZ #14132]
2480         * include/libc-symbols.h (INTUSE): Remove macro.
2481         (INTDEF): Likewise.
2482         (INTVARDEF): Likewise.
2483         (_INTVARDEF): Likewise.
2484         (INTDEF2): Likewise.
2485         (INTVARDEF2): Likewise.
2486         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2487         rtld_hidden_def instead of INTVARDEF.
2488         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2489         (_dl_starting_up_internal): Remove declaration.
2490         (_dl_starting_up): Use rtld_hidden_proto.
2491         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2492         declaration.
2493         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2494         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2495         _dl_starting_up.
2496         * elf/dl-writev.h (_dl_writev): Likewise.
2497         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2498         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2499         _dl_starting_up_internal.
2500
2501 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2502
2503         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2504         test-skeleton.c.
2505
2506 2014-11-05  Will Newton  <will.newton@linaro.org>
2507
2508         * benchtests/Makefile: (bench-malloc): Add malloc thread
2509         scalability benchmark.
2510         * benchtests/bench-malloc-threads.c: New file.
2511
2512 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2513
2514         * sysdeps/aarch64/strchrnul.S: New file.
2515
2516 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2517
2518         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2519         definition.
2520         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2521         Likwise.
2522         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2523         Likewise.
2524         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2525         Likewise.
2526         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2527         Likewise.
2528         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2529         Likewise.
2530
2531 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2532
2533         * catgets/test-gencat.c: Use test-skeleton.c.
2534         * catgets/tst-catgets.c: Likewise.
2535         * csu/tst-empty.c: Likewise.
2536         * elf/tst-audit2.c: Likewise.
2537         * elf/tst-global1.c: Likewise.
2538         * elf/tst-pathopt.c: Likewise.
2539         * elf/tst-piemod1.c: Likewise.
2540         * elf/tst-tls10.c: Likewise.
2541         * elf/tst-tls11.c: Likewise.
2542         * elf/tst-tls12.c: Likewise.
2543         * gnulib/tst-gcc.c: Likewise.
2544         * iconvdata/tst-e2big.c: Likewise.
2545         * iconvdata/tst-loading.c: Likewise.
2546         * iconv/tst-iconv1.c: Likewise.
2547         * iconv/tst-iconv2.c: Likewise.
2548         * inet/test-inet6_opt.c: Likewise.
2549         * inet/tst-gethnm.c: Likewise.
2550         * inet/tst-network.c: Likewise.
2551         * inet/tst-ntoa.c: Likewise.
2552         * intl/tst-codeset.c: Likewise.
2553         * intl/tst-gettext2.c: Likewise.
2554         * intl/tst-gettext3.c: Likewise.
2555         * intl/tst-ngettext.c: Likewise.
2556         * intl/tst-translit.c: Likewise.
2557         * io/test-stat.c: Likewise.
2558         * libio/test-fmemopen.c: Likewise.
2559         * libio/tst-freopen.c: Likewise.
2560         * libio/tst-sscanf.c: Likewise.
2561         * libio/tst-ungetwc1.c: Likewise.
2562         * libio/tst-ungetwc2.c: Likewise.
2563         * libio/tst-widetext.c: Likewise.
2564         * localedata/tst-ctype.c: Likewise.
2565         * localedata/tst-digits.c: Likewise.
2566         * localedata/tst-leaks.c: Likewise.
2567         * localedata/tst-mbswcs1.c: Likewise.
2568         * localedata/tst-mbswcs2.c: Likewise.
2569         * localedata/tst-mbswcs3.c: Likewise.
2570         * localedata/tst-mbswcs4.c: Likewise.
2571         * localedata/tst-mbswcs5.c: Likewise.
2572         * localedata/tst-setlocale.c: Likewise.
2573         * localedata/tst-trans.c: Likewise.
2574         * localedata/tst-wctype.c: Likewise.
2575         * localedata/tst-xlocale1.c: Likewise.
2576         * login/tst-grantpt.c: Likewise.
2577         * malloc/tst-calloc.c: Likewise.
2578         * malloc/tst-malloc.c: Likewise.
2579         * malloc/tst-mallocstate.c: Likewise.
2580         * malloc/tst-mcheck.c: Likewise.
2581         * malloc/tst-mtrace.c: Likewise.
2582         * malloc/tst-obstack.c: Likewise.
2583         * math/atest-exp2.c: Likewise.
2584         * math/atest-exp.c: Likewise.
2585         * math/atest-sincos.c: Likewise.
2586         * math/test-matherr.c: Likewise.
2587         * math/test-misc.c: Likewise.
2588         * math/test-powl.c: Likewise.
2589         * math/tst-definitions.c: Likewise.
2590         * misc/tst-dirname.c: Likewise.
2591         * misc/tst-efgcvt.c: Likewise.
2592         * misc/tst-fdset.c: Likewise.
2593         * misc/tst-hsearch.c: Likewise.
2594         * misc/tst-mntent2.c: Likewise.
2595         * nptl/tst-sem7.c: Likewise.
2596         * nptl/tst-sem8.c: Likewise.
2597         * nptl/tst-sem9.c: Likewise.
2598         * nss/test-netdb.c: Likewise.
2599         * posix/tst-fnmatch.c: Likewise.
2600         * posix/tst-getlogin.c: Likewise.
2601         * posix/tst-gnuglob.c: Likewise.
2602         * posix/tst-mmap.c: Likewise.
2603         * pwd/tst-getpw.c: Likewise.
2604         * resolv/tst-inet_ntop.c: Likewise.
2605         * rt/tst-timer.c: Likewise.
2606         * stdio-common/test-fseek.c: Likewise.
2607         * stdio-common/test-popen.c: Likewise.
2608         * stdio-common/test-vfprintf.c: Likewise.
2609         * stdio-common/tst-cookie.c: Likewise.
2610         * stdio-common/tst-fileno.c: Likewise.
2611         * stdio-common/tst-gets.c: Likewise.
2612         * stdio-common/tst-obprintf.c: Likewise.
2613         * stdio-common/tst-perror.c: Likewise.
2614         * stdio-common/tst-sprintf2.c: Likewise.
2615         * stdio-common/tst-sprintf3.c: Likewise.
2616         * stdio-common/tst-sprintf.c: Likewise.
2617         * stdio-common/tst-swprintf.c: Likewise.
2618         * stdio-common/tst-tmpnam.c: Likewise.
2619         * stdio-common/tst-unbputc.c: Likewise.
2620         * stdio-common/tst-wc-printf.c: Likewise.
2621         * stdlib/tst-environ.c: Likewise.
2622         * stdlib/tst-fmtmsg.c: Likewise.
2623         * stdlib/tst-limits.c: Likewise.
2624         * stdlib/tst-rand48-2.c: Likewise.
2625         * stdlib/tst-rand48.c: Likewise.
2626         * stdlib/tst-random2.c: Likewise.
2627         * stdlib/tst-random.c: Likewise.
2628         * stdlib/tst-strtol.c: Likewise.
2629         * stdlib/tst-strtoll.c: Likewise.
2630         * stdlib/tst-tls-atexit.c: Likewise.
2631         * stdlib/tst-xpg-basename.c: Likewise.
2632         * string/test-ffs.c: Likewise.
2633         * string/tst-bswap.c: Likewise.
2634         * string/tst-inlcall.c: Likewise.
2635         * string/tst-strtok.c: Likewise.
2636         * string/tst-strxfrm.c: Likewise.
2637         * sysdeps/x86_64/tst-audit10.c: Likewise.
2638         * sysdeps/x86_64/tst-audit3.c: Likewise.
2639         * sysdeps/x86_64/tst-audit4.c: Likewise.
2640         * sysdeps/x86_64/tst-audit5.c: Likewise.
2641         * time/tst-ftime_l.c: Likewise.
2642         * time/tst-getdate.c: Likewise.
2643         * time/tst-mktime3.c: Likewise.
2644         * time/tst-mktime.c: Likewise.
2645         * time/tst-posixtz.c: Likewise.
2646         * time/tst-strptime2.c: Likewise.
2647         * time/tst-strptime3.c: Likewise.
2648         * wcsmbs/tst-btowc.c: Likewise.
2649         * wcsmbs/tst-mbrtowc.c: Likewise.
2650         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2651         * wcsmbs/tst-wchar-h.c: Likewise.
2652         * wcsmbs/tst-wcpncpy.c: Likewise.
2653         * wcsmbs/tst-wcrtomb.c: Likewise.
2654         * wcsmbs/tst-wcsnlen.c: Likewise.
2655         * wcsmbs/tst-wcstof.c: Likewise.
2656
2657 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2658
2659         [BZ #14132]
2660         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2661         INTDEF.
2662         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2663         declaration.
2664         (_dl_mcount): Use rtld_hidden_proto.
2665         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2666         _dl_mcount.
2667         * elf/rtld.c (_rtld_global_ro): Likewise.
2668
2669         [BZ #14132]
2670         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2671         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2672         of _dl_init_internal.
2673         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2674         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2675         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2676         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2677         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2678         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2679         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2680         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2681         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2682         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2683         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2684         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2685         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2686         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2687         * sysdeps/tile/dl-start.S (_start): Likewise.
2688         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2689         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2690
2691         [BZ #14132]
2692         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2693         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2694         (rtld_progname): Make macro definition unconditional.
2695         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2696         INTDEF.
2697         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2698         (dl_main): Likewise.
2699         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2700         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2701         instead of _dl_argv_internal.
2702         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2703         __GI__dl_argv instead of INTUSE(_dl_argv).
2704         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2705         __GI__dl_argv instead of _dl_argv_internal.
2706
2707         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2708         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2709         macro.
2710         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2711         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2712         New macro.
2713         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2714         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2715         macro.
2716         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2717         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2718
2719 2014-11-04  Andreas Schwab  <schwab@suse.de>
2720
2721         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2722
2723 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2724
2725         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2726         mtvsrd instruction in binary form.
2727
2728 2014-11-03  Andreas Schwab  <schwab@suse.de>
2729
2730         [BZ #17522]
2731         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2732         for less than MB_LEN_MAX use a local buffer of that size.
2733         * libio/tst-fputws.c: New file.
2734         * libio/Makefile (tests): Add tst-fputws.
2735
2736 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2737
2738         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2739         the size of the fpu_fr.fpu_dregs[] array.
2740
2741 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2742
2743         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2744         (__nanosleep): Do not define as alias.
2745         (nanosleep): Define as alias of __nanosleep.
2746         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2747         __libc_nanosleep name.
2748
2749 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2750
2751         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2752         install.texi in comment.
2753
2754 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2755
2756         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2757         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2758         ... add here and use lwsync or sync ...
2759         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2760         ... and add here using lwsync.
2761
2762 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2763
2764         * elf/dl-machine-reject-phdr.h: New file.
2765         * elf/dl-load.c: #include that.
2766         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2767         if that returned true.
2768
2769 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2770
2771         [BZ #17496]
2772         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2773         gen-as-const-headers chunk.  Add a big scare comment after the last
2774         safe place to touch before-compile.
2775
2776 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2777
2778         * manual/install.texi (Tools for Compilation): Update autoconf
2779         version requirements.
2780         * INSTALL: Regenerated.
2781
2782         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2783         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2784         (__libc_pselect): Likewise.
2785
2786         [BZ #14138]
2787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2791
2792 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2793
2794         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2795         correct barrier instruction.
2796         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2797         Likewise.
2798         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2799         Likewise.
2800
2801 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2802
2803         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2804         after defining inlines.  Instead, just use parens to defeat macro
2805         expansion of __isctype in its declaration.
2806
2807 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2808
2809         * include/sys/uio.h (__libc_readv): Remove declaration.
2810         (__libc_writev): Likewise.
2811         * misc/readv.c (__libc_readv): Rename to __readv.
2812         (__readv): Do not define as alias.
2813         (readv): Define as alias of __readv.
2814         * misc/writev.c (__libc_writev): Rename to __writev.
2815         (__writev): Do not define as alias.
2816         (writev): Define as alias of __writev.
2817         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2818         (__readv): Do not define as alias.
2819         (readv): Define unconditionally as alias of __readv.
2820         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2821         (__writev): Do not define as alias.
2822         (writev): Define unconditionally as alias of __writev.
2823         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2824         name.
2825         (writev): Do not define __libc_writev name.
2826
2827 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2828
2829         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2830         (convert_charseq): New function, broken out of ...
2831         (use_from_charmap): ... here.  Call it.
2832         (use_to_charmap): Use convert_charseq and free instead of duplicating
2833         its code with a variable-length stack struct.
2834
2835 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2836
2837         * include/fcntl.h (__libc_creat): Remove declaration.
2838         * io/creat.c (__libc_creat): Rename to creat.
2839         (creat): Do not define as alias.
2840         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2841         of creat instead of __libc_creat.
2842         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2843         to creat.
2844         (creat): Do not define as alias.
2845         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2846         __libc_creat.
2847         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2848         __libc_creat name.
2849         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2850         Likewise.
2851
2852 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
2853
2854         * manual/llio.texi: Add comments discussing why write() may be
2855         considered MT-unsafe on Linux.
2856
2857 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
2858
2859         * dl-load.c (local_strdup): Remove.
2860         (expand_dynamic_string_token): Use __strdup.
2861         (decompose_rpath): Likewise.
2862         (_dl_map_object): Likewise.
2863
2864 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
2865
2866         [BZ #14132]
2867         * sysdeps/generic/unwind-dw2-fde.c
2868         (__register_frame_info_bases_internal): Do not declare.
2869         (__register_frame_info_table_bases_internal): Likewise.
2870         (__deregister_frame_info_bases_internal): Likewise.
2871         (__register_frame_info_bases): Declare and use hidden_proto before
2872         definition.  Use hidden_def instead of INTDEF.
2873         (__register_frame_info_table_bases): Likewise.
2874         (__deregister_frame_info_bases): Likewise.
2875         (__register_frame_info): Do not use INTUSE.
2876         (__register_frame): Likewise.
2877         (__register_frame_info_table): Likewise.
2878         (__register_frame_table): Likewise.
2879         (__deregister_frame_info): Likewise.
2880         (__deregister_frame): Likewise.
2881
2882 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
2883
2884         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2885         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2886         not undefine.
2887         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2888         Likewise.
2889         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2890         Likewise.
2891
2892 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
2893
2894         [BZ #14138]
2895         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2896         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2897         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2898         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2899         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2900         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2901         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2902         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2903         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2904         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2905         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2906         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2907         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2908         syscall.
2909         (setfsuid): Likewise.
2910         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2911         (setfsuid): Likewise.
2912         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2913         (setfsuid): Likewise.
2914         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2915         Likewise.
2916         (setfsuid): Likewise.
2917         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2918         (setfsuid): Likewise.
2919         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2920         Likewise.
2921         (setfsuid): Likewise.
2922
2923 2014-10-27  Andreas Schwab  <schwab@suse.de>
2924
2925         [BZ #17501]
2926         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2927         check for Slow_SSE4_2 feature bit.
2928         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2929         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2930         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2931         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
2932
2933 2014-10-24  Roland McGrath  <roland@hack.frob.com>
2934
2935         * configure.ac: Validate compiler version with a empirical test of
2936         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2937         $CC -v output.
2938         * configure: Regenerated.
2939
2940         * inet/htons.c (htons): Prototypify.
2941         * inet/htonl.c (htonl): Likewise.
2942
2943 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2944
2945         * string/strncat.c (strncat): Improve performance by using strlen.
2946
2947 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2948
2949         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2950
2951 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2952
2953         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2954         Call libc_fetestexcept_aarch64.
2955
2956 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2957
2958         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2959         Call libc_feholdexcept_aarch64.
2960
2961 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2962
2963         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2964         Call get_rounding_mode.
2965
2966 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2967
2968         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2969         Simplify logic.
2970
2971 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2972
2973         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2974         Simplify logic.
2975
2976 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
2977
2978         [BZ #14138]
2979         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2980         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2981         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2982         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2983         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2984         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2985         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2986         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2987         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2988         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2989         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2990         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2991         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2992         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2993         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2994         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2995         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2996         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2997         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2998         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2999         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3000         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3001         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3002         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3003         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3004         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3005         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3006         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3007         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3008         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3009         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3010         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3011         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3012         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3013         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3014         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3015         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3016         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3017         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3018         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3019         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3020         syscall.
3021         (geteuid): Likewise.
3022         (getgid): Likewise.
3023         (getuid): Likewise.
3024         (getresgid): Likewise.
3025         (getresuid): Likewise.
3026         (getgroups): Likewise.
3027         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3028         (geteuid): Likewise.
3029         (getgid): Likewise.
3030         (getuid): Likewise.
3031         (getresgid): Likewise.
3032         (getresuid): Likewise.
3033         (getgroups): Likewise.
3034         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3035         (geteuid): Likewise.
3036         (getgid): Likewise.
3037         (getuid): Likewise.
3038         (getresgid): Likewise.
3039         (getresuid): Likewise.
3040         (getgroups): Likewise.
3041         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3042         Likewise.
3043         (geteuid): Likewise.
3044         (getgid): Likewise.
3045         (getuid): Likewise.
3046         (getresgid): Likewise.
3047         (getresuid): Likewise.
3048         (getgroups): Likewise.
3049         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3050         (geteuid): Likewise.
3051         (getgid): Likewise.
3052         (getuid): Likewise.
3053         (getresgid): Likewise.
3054         (getresuid): Likewise.
3055         (getgroups): Likewise.
3056         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3057         Likewise.
3058         (geteuid): Likewise.
3059         (getgid): Likewise.
3060         (getuid): Likewise.
3061         (getgroups): Likewise.
3062
3063         [BZ #14138]
3064         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3065         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3066         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3067         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3068         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3069         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3070         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3071         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3072         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3073         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3074         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3075         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3076         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3077         __chown.
3078         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3079         (lchown): Likewise.
3080         (fchown): Likewise.
3081         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3082         Likewise.
3083         (lchown): Likewise.
3084         (fchown): Likewise.
3085         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3086         (lchown): Likewise.
3087         (fchown): Likewise.
3088         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3089         Likewise.
3090         (lchown): Likewise.
3091         (fchown): Likewise.
3092
3093 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3094
3095         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3096         Simplify logic.
3097
3098 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3099
3100         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3101         Cleanup logic.
3102
3103 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3104
3105         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3106         Remove unused include.
3107
3108 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3109
3110         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3111         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3112         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3113         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3114
3115 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3116             Helge Deller <deller@gmx.de>
3117
3118         [BZ #17508]
3119         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3120         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3121         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3122
3123 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3124
3125         [BZ #14132]
3126         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3127         Remove macro definition.
3128         (__ashrdi3_v_glibc20): Likewise.
3129         (__lshrdi3_v_glibc20): Likewise.
3130         (__cmpdi2_v_glibc20): Likewise.
3131         (__ucmpdi2_v_glibc20): Likewise.
3132         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3133         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3134         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3135         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3136         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3137         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3138
3139 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3140
3141         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3142         old GNU extension [0] syntax.
3143         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3144         alloca rather than an array member with variable length.
3145         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3146         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3147         (parse_opt): ... here.  Likewise use alloca there.
3148         Validate the -i argument before checking for rootness.
3149         (send_shutdown): New function, broken out of ...
3150         (parse_opt): ... here.
3151
3152 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3153
3154         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3155         macro to get at the _rt_local_ro field.
3156         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3157         ([PIC] case) or _dl_hwcap ([!PIC] case).
3158         * sysdeps/arm/setjmp.S: Likewise.
3159
3160         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3161         * sysdeps/arm/configure.ac: New check to define it.
3162         * sysdeps/arm/configure: Regenerated.
3163         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3164         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3165         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3166         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3167         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3168         Use move/movt pair instead of a load.
3169         (LDST_GLOBAL): Macro removed.
3170         (LDR_GLOBAL): New macro replaces it.
3171         (LDR_HIDDEN): New macro.
3172         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3173         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3174
3175         * setjmp/tst-setjmp-static.c: New file.
3176         * setjmp/Makefile (tests): Add it.
3177         (tests-static): New variable.
3178
3179 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3180
3181         [BZ #17485]
3182         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3183
3184 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3185
3186         [BZ #14132]
3187         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3188
3189 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3190
3191         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3192
3193 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3194
3195         * io/fts.c (dirent_not_directory): New function.
3196         (fts_build): Call it.
3197
3198 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3199
3200         * nptl/version.c (__nptl_main): Use normal __write rather than
3201         INTERNAL_SYSCALL.
3202         (banner): Update copyright years.
3203
3204         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3205         gettimeofday.
3206         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3207         * nptl/pthread_cond_timedwait.c: Likewise.
3208         * nptl/pthread_mutex_timedlock.c: Likewise.
3209         * nptl/sem_timedwait.c: Likewise.
3210
3211         * sysdeps/nptl/bits/libc-lock.h
3212         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3213         (__libc_lock_init_recursive): Return void, not 0.
3214         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3215         (__libc_rwlock_init): Likewise.
3216         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3217
3218 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3219
3220         [BZ #15215]
3221         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3222         (__pthread_once_slow): ... here.
3223         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3224         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3225
3226 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3227
3228         [BZ #15215]
3229         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3230         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3231         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3232         * nptl/pthread_once.c (__pthread_once): Likewise.
3233         Update comments.
3234
3235 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3236
3237         [BZ #14138]
3238         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3239         name.
3240         (writev): Use __libc_writev as strong name.
3241         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3242         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3243
3244 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3245
3246         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3247
3248         * sysdeps/i386/nptl/tls.h
3249         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3250         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3251         New macros.
3252         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3253         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3254         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3255         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3256         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3257         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3258
3259         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3260         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3261         on [__NR_futex].
3262         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3263         broken out of ...
3264         (__pthread_mutex_init): ... here.  Call it.
3265         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3266         Conditionalize PI cases on [__NR_futex].
3267         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3268         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3269         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3270
3271         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3272         conditional on [SIGSETXID].
3273         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3274         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3275         is defined.  Likewise for SIGSETXID.
3276         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3277         Conditionalize definitions on [SIGSETXID].
3278         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3279         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3280         unblocking on [SIGCANCEL].
3281
3282         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3283         [__NR_set_robust_list].
3284
3285 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3286
3287         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3288         (do_compare): Likewise.
3289
3290 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3291
3292         [BZ #15884]
3293         * string/strcoll_l.c: Don't include stdio.h.
3294         (coll_seq): Remove members idxarr and rulearr.
3295         (get_next_seq_cached): Remove function.
3296         (get_next_seq): Likewise.
3297         (get_next_seq_nocache): Rename to get_next_seq.
3298         (do_compare): Remove function.
3299         (do_compare_nocache): Rename to do_compare.
3300         (STRCOLL): Remove weight and rules cache.
3301
3302 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3303
3304         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3305         * sysdeps/arm/sfp-machine.h: ... to here.
3306         * sysdeps/arm/Implies: Remove arm/soft-fp.
3307
3308 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3309
3310         * conform/data/sys/utsname.h-data (*_t): Allow.
3311         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3312         [POSIX] (WEXITED): Do not expect constant.
3313         [POSIX] (WSTOPPED): Likewise.
3314         [POSIX] (WNOHANG): Likewise.
3315         [POSIX] (WNOWAIT): Likewise.
3316         [POSIX] (siginfo_t): Do not expect type or elements.
3317         [POSIX] (pid_t): Do not expect type.
3318         [POSIX] (signal.h): Do not allow header.
3319         [POSIX] (sys/resource.h): Likewise.
3320         [POSIX] (si_*): Do not allow pattern.
3321         [POSIX] (W*): Likewise.
3322         [POSIX] (P_*): Likewise.
3323         [POSIX] (BUS_*): Likewise.
3324         [POSIX] (CLD_*): Likewise.
3325         [POSIX] (FPE_*): Likewise.
3326         [POSIX] (ILL_*): Likewise.
3327         [POSIX] (POLL_*): Likewise.
3328         [POSIX] (SEGV_*): Likewise.
3329         [POSIX] (SI_*): Likewise.
3330         [POSIX] (TRAP_*): Likewise.
3331         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3332         variable.
3333
3334 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3335
3336         [BZ #12926]
3337         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3338         infinite loop when __recvmsg returns 0.
3339
3340 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3341
3342         * CANCEL-FCT-WAIVE: Remove file.
3343         * CANCEL-FILE-WAIVE: Likewise.
3344
3345         [BZ #14132]
3346         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3347         instead of INTVARDEF.
3348         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3349         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3350         rtld_hidden_data_def instead of INTVARDEF.
3351         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3352         * elf/dl-deps.c (expand_dst): Likewise.
3353         * elf/dl-load.c (_dl_dst_count): Likewise.
3354         (_dl_dst_substitute): Likewise.
3355         (decompose_rpath): Likewise.
3356         (_dl_init_paths): Likewise.
3357         (open_path): Likewise.
3358         (_dl_map_object): Likewise.
3359         * elf/rtld.c (dl_main): Likewise.
3360         (process_dl_audit): Likewise.
3361         (process_envvars): Likewise.
3362         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3363         Remove declaration.
3364         (__libc_enable_secure): Use rtld_hidden_proto.
3365
3366 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3367
3368         * elf/dl-load.c
3369         (add_path): New function broken out of _dl_rtld_di_serinfo.
3370         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3371
3372 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3373
3374         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3375         parentheses around macro arguments.
3376         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3378         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3379         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3380         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3381         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3382         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3383         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3384         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3385         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3386         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3387         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3388         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3389         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3390         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3391         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3392         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3393         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3394         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3396         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3397         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3398         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3399         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3400         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3401         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3402         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3403         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3404         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3405         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3406         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3407         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3408         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3409         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3410         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3411         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3412         Likewise.
3413         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3414         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3415         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3416         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3417         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3418         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3419         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3420         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3421         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3422         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3423         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3424         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3425         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3426         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3427         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3428         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3429         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3430         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3431         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3432         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3433         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3434         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3435         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3436         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3437         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3438         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3439         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3440         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3441         (_FP_FRAC_SRS_1): Likewise.
3442         (_FP_FRAC_CLZ_1): Likewise.
3443         (_FP_MUL_MEAT_1_imm): Likewise.
3444         (_FP_MUL_MEAT_1_wide): Likewise.
3445         (_FP_MUL_MEAT_1_hard): Likewise.
3446         (_FP_SQRT_MEAT_1): Likewise.
3447         (_FP_FRAC_ASSEMBLE_1): Likewise.
3448         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3449         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3450         (__FP_CLZ_2): Likewise.
3451         (_FP_MUL_MEAT_2_wide): Likewise.
3452         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3453         (_FP_MUL_MEAT_2_gmp): Likewise.
3454         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3455         (_FP_SQRT_MEAT_2): Likewise.
3456         (_FP_FRAC_ASSEMBLE_2): Likewise.
3457         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3458         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3459         (_FP_FRAC_CLZ_4): Likewise.
3460         (_FP_MUL_MEAT_4_wide): Likewise.
3461         (_FP_MUL_MEAT_4_gmp): Likewise.
3462         (_FP_SQRT_MEAT_4): Likewise.
3463         (_FP_FRAC_ASSEMBLE_4): Likewise.
3464         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3465         * soft-fp/op-common.h (_FP_CMP): Likewise.
3466         (_FP_CMP_EQ): Likewise.
3467         (_FP_CMP_UNORD): Likewise.
3468         (_FP_TO_INT): Likewise.
3469         (_FP_FROM_INT): Likewise.
3470         [!__FP_CLZ] (__FP_CLZ): Likewise.
3471         (_FP_DIV_HELP_imm): Likewise.
3472         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3473         Likewise.
3474         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3476         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3477         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3478         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3479         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3480         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3481         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3482         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3483         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3484         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3485         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3486         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3487         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3488         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3489         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3490         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3491         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3492         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3494         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3495         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3496         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3497         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3498         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3499         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3500         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3501         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3502         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3503         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3504         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3505         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3506         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3507         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3508         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3509         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3510         (FP_UNPACK_RAW_SP): Likewise.
3511         (FP_PACK_RAW_S): Likewise.
3512         (FP_PACK_RAW_SP): Likewise.
3513         (FP_UNPACK_S): Likewise.
3514         (FP_UNPACK_SP): Likewise.
3515         (FP_UNPACK_SEMIRAW_S): Likewise.
3516         (FP_UNPACK_SEMIRAW_SP): Likewise.
3517         (FP_PACK_S): Likewise.
3518         (FP_PACK_SP): Likewise.
3519         (FP_PACK_SEMIRAW_S): Likewise.
3520         (FP_PACK_SEMIRAW_SP): Likewise.
3521         (_FP_SQRT_MEAT_S): Likewise.
3522         (FP_CMP_S): Likewise.
3523         (FP_CMP_EQ_S): Likewise.
3524         (FP_CMP_UNORD_S): Likewise.
3525         (FP_TO_INT_S): Likewise.
3526         (FP_FROM_INT_S): Likewise.
3527
3528         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3529
3530         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3531         (FP_EX_INVALID_IMZ): Likewise.
3532         (FP_EX_INVALID_IMZ_FMA): Likewise.
3533         (FP_EX_INVALID_ISI): Likewise.
3534         (FP_EX_INVALID_ZDZ): Likewise.
3535         (FP_EX_INVALID_IDI): Likewise.
3536         (FP_EX_INVALID_SQRT): Likewise.
3537         (FP_EX_INVALID_CVI): Likewise.
3538         (FP_EX_INVALID_VC): Likewise.
3539         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3540         "invalid" exceptions.
3541         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3542         (_FP_ADD_INTERNAL): Likewise.
3543         (_FP_MUL): Likewise.
3544         (_FP_FMA): Likewise.
3545         (_FP_DIV): Likewise.
3546         (_FP_CMP_CHECK_NAN): Likewise.
3547         (_FP_SQRT): Likewise.
3548         (_FP_TO_INT): Likewise.
3549         (FP_EXTEND): Likewise.
3550
3551 2014-10-09  Allan McRae  <allan@archlinux.org>
3552
3553         * po/fr.po: Update French translation from translation project.
3554
3555 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3556
3557         [BZ #14132]
3558         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3559         of INTDEF.
3560         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3561         (__cxa_atexit): Use libc_hidden_proto.
3562         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3563
3564         [BZ #14132]
3565         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3566         declaration.
3567         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3568         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3569         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3570         [!_ISOMAC] (__iswctype_internal): Likewise.
3571         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3572         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3573         alias.
3574         (fcntl): Remove __fcntl_internal alias.
3575         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3576         __connect_internal alias.
3577         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3578         Likewise.
3579
3580         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3581         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3582         FP_DENORM_ZERO.
3583         (_FP_CHECK_FLUSH_ZERO): New macro.
3584         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3585         (_FP_CMP): Likewise.
3586         (_FP_CMP_EQ): Likewise.
3587         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3588         FP_DENORM_ZERO.
3589         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3590         (FP_TRUNC): Likewise.
3591
3592         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3593         treated as invalid conversion, not as normal exponent.
3594
3595         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3596         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3597         (_FP_CMP_EQ): Likewise.
3598         (_FP_CMP_UNORD): Likewise.
3599         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3600         (FP_CMP_EQ_D): Likewise.
3601         (FP_CMP_UNORD_D): Likewise.
3602         * soft-fp/extended.h (FP_CMP_E): Likewise.
3603         (FP_CMP_EQ_E): Likewise.
3604         (FP_CMP_UNORD_E): Likewise.
3605         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3606         (FP_CMP_EQ_Q): Likewise.
3607         (FP_CMP_UNORD_Q): Likewise.
3608         * soft-fp/single.h (FP_CMP_S): Likewise.
3609         (FP_CMP_EQ_S): Likewise.
3610         (FP_CMP_UNORD_S): Likewise.
3611         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3612         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3613         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3614         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3615         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3616         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3617         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3618         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3619         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3620         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3621         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3622         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3623         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3624         to FP_CMP_Q.
3625         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3626         FP_CMP_Q.
3627         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3628         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3629         FP_CMP_EQ_Q.
3630         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3631         FP_CMP_Q.
3632         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3633         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3634         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3635         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3636         FP_CMP_EQ_Q.
3637         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3638         FP_CMP_Q.
3639         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3640         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3641         FP_CMP_EQ_Q.
3642         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3643         FP_CMP_Q.
3644         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3645         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3646         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3647         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3648         FP_CMP_EQ_Q.
3649
3650         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3651         a subnormal result, set the underflow exception if trapping on
3652         underflow is enabled.
3653         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3654         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3655         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3656         redefine to 0.
3657         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3658         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3659         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3660         * soft-fp/extendxftf2.c (__extendxftf2): Use
3661         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3662
3663         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3664         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3665         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3666         FP_HANDLE_EXCEPTIONS.
3667         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3668         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3669         FP_HANDLE_EXCEPTIONS.
3670         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3671         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3672         FP_HANDLE_EXCEPTIONS.
3673         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3674         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3675         FP_HANDLE_EXCEPTIONS.
3676
3677 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3678
3679         [BZ #14132]
3680         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3681         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3682         use INTUSE.
3683         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3684         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3685         Remove alias.
3686         (__adjtimex): Define using libc_hidden_ver.
3687         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3688         Remove declaration.
3689         (ntp_gettime): Call __adjtimex directly.
3690         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3691         Remove declaration.
3692         (ntp_gettimex): Call __adjtimex directly.
3693         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3694         __adjtimex_internal alias.
3695
3696 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3697
3698         [BZ #17460]
3699         * nscd/nscd.c (more_help): Rewrite list of tables collection
3700         using xstrdup and asprintf.
3701
3702         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3703
3704 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3705             Roland McGrath  <roland@hack.frob.com>
3706
3707         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3708         (do_lookup_unique): ... local function 'enter' here; update callers.
3709
3710 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3711
3712         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3713         compat_symbol calls on [SHARED].
3714         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3715         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3716         Remove.
3717         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3718         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3719         (oldsetrlimit): Remove.
3720         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3722         (lchown): New syscall entry.
3723         (oldsetrlimit): Remove.
3724         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3725         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3726         (oldsetrlimit): Remove.
3727         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3728
3729         [BZ #14138]
3730         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3731         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3732         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3733         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3734         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3735         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3736         (fchown): Likewise.
3737         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3738         (fchown): Likewise.
3739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3740         Likewise.
3741
3742 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3743
3744         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3745         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3746         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3747         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3748         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3749         Likewise.
3750         (__old_sem_post): Likewise.
3751
3752 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3753
3754         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3755         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3756         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3757         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3758         Use INLINE_VSYSCALL macro.
3759         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3760         __vdso_clock_gettime.
3761         * sysdeps/unix/sysv/linux/tile/init-first.c
3762         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3763         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3764         __vdso_clock_gettime.
3765
3766         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3767         to set up frame more cleanly.
3768
3769         * sysdeps/tile/memcmp.c: New file.
3770
3771         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3772
3773         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3774         * sysdeps/tile/tilegx/strcasestr.c: New file.
3775         * sysdeps/tile/tilegx/strnlen.c: New file.
3776         * sysdeps/tile/tilegx/strstr.c: New file.
3777
3778         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3779
3780 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3781
3782         * nptl/tst-setuid3.c: Write errors to stdout.
3783
3784 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3785
3786         * elf/dl-deps.c
3787         (preload): New functions broken out of _dl_map_object_deps.
3788         (_dl_map_object_deps):  Remove a nested function. Update call sites.
3789
3790 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
3791
3792         [BZ #14138]
3793         * sysdeps/unix/sysv/linux/execve.c: Remove file.
3794         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3795
3796 2014-10-01  Steve Ellcey  <sellcey@mips.com>
3797
3798         * sysdeps/mips/strcmp.S: New.
3799
3800 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
3801
3802         [BZ #14138]
3803         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3804         (linkat): Likewise.
3805         (mkdirat): Likewise.
3806         (readlinkat): Likewise.
3807         (renameat): Likewise.
3808         (symlinkat): Likewise.
3809         (unlinkat): Likewise.
3810         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3811         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3812         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3813         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3814         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3815         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3816         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3817
3818 2014-09-30  Will Newton  <will.newton@linaro.org>
3819
3820         * math/math.h: Define long double math functions if
3821         _LIBC_TEST is defined.
3822         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3823
3824         * localedata/Makefile: Move assignment to tests-special
3825         into an ifdef testing run-built-tests.
3826         * timezone/Makefile: Likewise.
3827
3828 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
3829
3830         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3831         with $(BASH) not $(SHELL).
3832
3833 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
3834             Matthew LeGendre  <legendre1@llnl.gov>
3835
3836         [BZ #17411]
3837         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3838         l_reloc_result.
3839
3840 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3841
3842         * stdio-common/printf_fp.c
3843         (hack_digit): New function, broken out of ...
3844         (__printf_fp): ... local function here.  Update call sites.
3845         hack_digit now takes an additional parameter that is a pointer
3846         to a struct of the referenced locals.  Those locals moved inside
3847         the struct and references updated.
3848
3849 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
3850
3851         * aclocal.m4: Require autoconf 2.69.
3852         * configure: Regenerated.
3853         * sysdeps/aarch64/configure: Likewise.
3854         * sysdeps/alpha/configure: Likewise.
3855         * sysdeps/arm/armv7/configure: Likewise.
3856         * sysdeps/arm/configure: Likewise.
3857         * sysdeps/ia64/configure: Likewise.
3858         * sysdeps/mach/configure: Likewise.
3859         * sysdeps/mips/configure: Likewise.
3860         * sysdeps/s390/configure: Likewise.
3861         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3863
3864         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3865         file.
3866         * sysdeps/ia64/configure.ac: Likewise.
3867
3868 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
3869
3870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3871         specify symbol version for ld.so.  Do not include entry for
3872         libpthread.
3873         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3874         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3875         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3876
3877         [BZ #14171]
3878         * Makeconfig [$(build-shared) = yes]
3879         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3880         makefiles.
3881         [$(build-shared) = yes && $(soversions.mk-done) = t]
3882         ($(common-objpfx)gnu/lib-names.h): Remove rule.
3883         [$(build-shared) = yes && $(soversions.mk-done) = t]
3884         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
3885         to Makerules.
3886         [$(build-shared) = yes && $(soversions.mk-done) = t]
3887         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3888         here.
3889         [$(build-shared) = yes && $(soversions.mk-done) = t]
3890         (common-generated): Don't append gnu/lib-names.h and
3891         gnu/lib-names.stmp here.
3892         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3893         (lib-names-h-abi): New variable.
3894         [$(build-shared) = yes && $(soversions.mk-done) = t]
3895         (lib-names-stmp-abi): Likewise.
3896         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3897         abi-variants] (before-compile): Append
3898         $(common-objpfx)$(lib-names-h-abi).
3899         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3900         abi-variants] (common-generated): Append gnu/lib-names.h.
3901         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3902         abi-variants] (install-others-nosubdir): Depend on
3903         $(inst_includedir)/$(lib-names-h-abi).
3904         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3905         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3906         [$(build-shared) = yes && $(soversions.mk-done) = t]
3907         ($(common-objpfx)$(lib-names-h-abi)): New rule.
3908         [$(build-shared) = yes && $(soversions.mk-done) = t]
3909         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3910         [$(build-shared) = yes && $(soversions.mk-done) = t]
3911         (common-generated): Append $(lib-names-h-abi) and
3912         $(lib-names-stmp-abi).
3913         * scripts/lib-names.awk: Do not handle multi being set.
3914         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3915         Remove variable.
3916         (abi-lp64_be-ld-soname): Likewise.
3917         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3918         Likewise.
3919         (abi-hard-ld-soname): Likewise.
3920         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3921         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3922         Remove variable.
3923         (abi-o32_hard-ld-soname): Likewise.
3924         (abi-o32_soft_2008-ld-soname): Likewise.
3925         (abi-o32_hard_2008-ld-soname): Likewise.
3926         (abi-n32_soft-ld-soname): Likewise.
3927         (abi-n32_hard-ld-soname): Likewise.
3928         (abi-n32_soft_2008-ld-soname): Likewise.
3929         (abi-n32_hard_2008-ld-soname): Likewise.
3930         (abi-n64_soft-ld-soname): Likewise.
3931         (abi-n64_hard-ld-soname): Likewise.
3932         (abi-n64_soft_2008-ld-soname): Likewise.
3933         (abi-n64_hard_2008-ld-soname): Likewise.
3934         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3935         Likewise.
3936         (abi-64-v2-ld-soname): Likewise.
3937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3938         ld.so entries.
3939         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3940         variable.
3941         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3942         entry.
3943         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3944         variable.
3945         (abi-64-ld-soname): Likewise.
3946         (abi-x32-ld-soname): Likewise.
3947         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3948         entry.
3949         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3950
3951 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
3952
3953         [BZ #14138]
3954         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3955         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3956         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3957         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3958         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3959         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3960         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3961         syscall entry for GLIBC_2.2 symbol version.
3962         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3963         Likewise.
3964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3965         (setrlimit): Likewise.
3966         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3967         Likewise.
3968
3969 2014-09-23  Will Newton  <will.newton@linaro.org>
3970
3971         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3972         _LINUX_ARM_SYSDEP_H include guard too.
3973         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3974         define.
3975
3976 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3977
3978         * sysdeps/unix/sysv/linux/eventfd.c:
3979         Make first argument unsigned.
3980         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3981         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3982
3983 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
3984
3985         * socket/recvmmsg.c (recvmmsg): Drop const argument.
3986         * socket/sys/socket.h: Likewise
3987         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3988
3989 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3990
3991         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3992
3993 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
3994
3995         * time/tst-ftime.c: New test.
3996         * time/Makefile (tests): Add tst-ftime.
3997
3998 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
3999
4000         * soft-fp/extended.h: Fix comment formatting.
4001         * soft-fp/op-1.h: Likewise.
4002         * soft-fp/op-2.h: Likewise.
4003         * soft-fp/op-4.h: Likewise.
4004         * soft-fp/op-8.h: Likewise.
4005         * soft-fp/op-common.h: Likewise.
4006         * soft-fp/soft-fp.h: Likewise.
4007
4008         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4009
4010 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4011
4012         [BZ #6652]
4013         * Makeconfig (soversions-default-setname): Remove variable.
4014         ($(common-objpfx)soversions.i): Don't pass default_setname to
4015         soversions.awk.
4016         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4017         oldest_abi to abi-versions.awk.
4018         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4019         * config.make.in (oldest-abi): Remove variable.
4020         * configure.ac (--enable-oldest-abi): Remove configure option.
4021         * configure: Regenerated.
4022         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4023         text.
4024         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4025         * scripts/soversions.awk: Do not handle default_setname variable.
4026         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4027         variable.
4028         * sysdeps/mach/hurd/configure: Regenerated.
4029         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4030         variable.
4031         * sysdeps/unix/sysv/linux/configure: Regenerated.
4032
4033 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4034
4035         * elf/Makefile (CFLAGS-interp.c): Remove.
4036         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4037         path string.
4038         * elf/interp.c: Include generated runtime-linker.h
4039
4040         * Makerules (lib%.so): Don't include $(+interp) in
4041         prerequisites.
4042         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4043         * dlfcn/eval.c: Remove file.
4044
4045         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4046         macros.
4047
4048         [BZ #17266]
4049         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4050         4.2 and newer.
4051
4052         [BZ #17370]
4053         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4054
4055 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4056             Jakub Jelinek  <jakub@redhat.com>
4057
4058         [BZ #17266]
4059         * libio/stdio.h: Check definition of __fortify_function
4060         instead of __extern_always_inline to include bits/stdio2.h.
4061         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4062         check if __extern_always_inline is defined.
4063         [__USE_MISC || __USE_XOPEN]: Likewise.
4064         [__USE_ISOC99] Likewise.
4065         * misc/sys/cdefs.h (__fortify_function): Define only if
4066         __extern_always_inline is defined.
4067         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4068         __extern_always_inline and __extern_inline only for g++-4.3
4069         and newer or a compatible gcc.
4070
4071 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4072
4073         [BZ #17371]
4074         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4075         last change to handle zero prefix length.
4076
4077 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4078
4079         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4080         _SC_REGEX_VERSION.
4081
4082         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4083         _POSIX_RAW_SOCKETS.
4084
4085 2014-09-13  Allan McRae  <allan@archlinux.org>
4086
4087         * po/ru.po: Update Russian translation from translation project.
4088
4089 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4090
4091         * locale/programs/locale.c (show_locale_vars): Inline local function
4092         into its sole call site.  Clean up some style nits.
4093         (print_item): New function, broken out of ...
4094         (show_info): ... local function here.  Clean up style nits.
4095
4096         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4097         out of ...
4098         (set_class_defaults): ... local function set_default here.
4099         Define set_default as a macro locally to pass constant parameters.
4100         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4101         rather than a shared local.
4102
4103         * stdlib/rpmatch.c (try): New function, broken out of ...
4104         (rpmatch): ... local function here.  Also, prototypify definition.
4105
4106 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4107
4108         * scripts/soversions.awk: Do not handle configuration names.
4109         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4110         vendor and os variables to soversions.awk.
4111         * configure.ac: Do not modify gnu-* host_os.
4112         * configure: Regenerated
4113         * shlib-versions: Remove first column with configuration names.
4114         * nptl/shlib-versions: Likewise.
4115         * nptl_db/shlib-versions: Likewise.
4116         * sysdeps/hppa/shlib-versions: Likewise.
4117         * sysdeps/m68k/shlib-versions: Likewise.
4118         * sysdeps/mach/hurd/shlib-versions: Likewise.
4119         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4120         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4121         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4122         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4123         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4124         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4125         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4126         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4128         Likewise.
4129         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4130         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4131         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4132         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4133         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4134         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4135         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4136         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4137
4138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4139         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4141         Regenerated.
4142         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4144         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4145
4146         * shlib-versions: Remove OS-specific entries.  Moved to files in
4147         sysdeps.
4148         * sysdeps/mach/hurd/shlib-versions: New file.
4149         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4150
4151         * nptl/shlib-versions: Remove architecture-specific entries.
4152         Moved to files in sysdeps.
4153         * shlib-versions: Likewise.
4154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4155         file.
4156         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4157         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4158         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4159         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4160
4161         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4162         (UDP_NO_CHECK6_RX): Likewise.
4163
4164 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4165
4166         * sysdeps/posix/sysconf.c (__sysconf): Spell
4167         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4168
4169 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4170
4171         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4172         loading.
4173         * iconv/Versions (__gconv_transliterate): Export for use from
4174         gconv modules.
4175         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4176         (struct __gconv_trans_data, __gconv_trans_fct,
4177         __gconv_trans_context_fct, __gconv_trans_query_fct,
4178         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4179         definitions.
4180         (struct __gconv_step_data): Remove __trans member.
4181         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4182         longer hidden.  Remove unused trans_data argument.
4183         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4184         (__gconv_translit_find): Remove declaration.
4185         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4186         prototype.
4187         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4188         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4189         trans_data argument.  Add hidden definition.
4190         (__gconv_translit_find): Remove.
4191         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4192         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4193         * iconv/skeleton.c: Remove transliteration initialization.
4194         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4195         __gconv_step_data initialization.
4196         * libio/iofwide.c (__libio_translit_): Remove.
4197         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4198         * wcsmbs/btowc.c (__btowc): Likewise.
4199         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4200         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4201         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4202         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4203         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4204         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4205         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4206         * wcsmbs/wctob.c (wctob): Likewise.
4207
4208 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4209
4210         [BZ #16194]
4211         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4212         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4213         register usage.
4214         * sysdeps/x86/Makefile: Adjust.
4215
4216 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4217             Roland McGrath  <roland@hack.frob.com>
4218
4219         * locale/weight.h: Add include guard.
4220         (findidx): Make static rather than auto; take new parameters
4221         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4222         * locale/weightwc.h: Likewise.
4223         * posix/fnmatch_loop.c
4224         (FCT): Change type of EXTRA from int32_t to wint_t.
4225         Don't include either header inside the function.
4226         Call FINDIDX rather than findidx, and pass new arguments.
4227         #undef FINDIDX at the end of the file.
4228         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4229         FINDIDX before including fnmatch_loop.c for the non-wide version.
4230         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4231         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4232         for the wide version.
4233         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4234         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4235         Pass new arguments to findidx.
4236         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4237         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4238         Don't #include it inside the function.  Pass new arguments to findidx.
4239         * posix/regex_internal.h
4240         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4241         (re_string_elem_size_at): Don't #include it inside the function.
4242         Pass new arguments to findidx.
4243         * string/strcoll_l.c: #include WEIGHT_H at top level.
4244         (get_next_seq): Don't #include it inside the function.
4245         Pass new arguments to findidx.
4246         (get_next_seq_nocache): Likewise.
4247         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4248         (STRXFRM): Don't #include it inside the function.
4249         Pass new arguments to findidx.
4250
4251 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4252
4253         [BZ #17344]
4254         * malloc/malloc.c (unlink): Turn asserts into a call to
4255         malloc_printerr.
4256
4257 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4258
4259         [BZ #17370]
4260         * libio/wfileops (do_ftell_wide): Free OUT.
4261
4262 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4263
4264         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4265
4266 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4267
4268         [BZ #17363]
4269         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4270         group if the current group is empty.
4271
4272 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4273
4274         * benchtests/bench-memset.c (test_main): Add more test from size
4275         from 32 to 512 bytes.
4276         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4277         Add POWER8 memset object.
4278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4279         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4280         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4281         implementation.
4282         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4283         Likewise.
4284         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4285         multiarch POWER8 memset optimization.
4286         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4287         POWER8 memset optimization.
4288
4289         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4290         Remove bzero multiarch objects.
4291         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4292         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4293         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4294         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4295         Remove define.
4296         [__bzero]: Redefine to specific name.
4297         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4298         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4299         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4300         define.
4301         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4302         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4303
4304 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4305
4306         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4307         warnings into errors.
4308
4309         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4310         __cxa_thread_atexit_impl prototype.
4311
4312 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4313
4314         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4315         Fix capitalization of error message.
4316
4317 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4318
4319         * sysdeps/mips/preconfigure: Modify ABI tests.
4320
4321 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4322
4323         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4324
4325 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4326             Carlos O'Donell  <carlos@systemhalted.org>
4327
4328         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4329         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4330         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4331         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4332         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4333         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4334         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4335         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4336         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4337         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4338         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4339         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4340         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4341         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4342         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4343         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4344         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4345         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4346         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4347         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4348         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4349         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4350         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4351         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4352         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4353         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4354         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4355         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4356         Deconditionalize the code that was previously under [RESET_PID].
4357         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4358         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4359         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4360         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4361         include sysdep.h.
4362
4363 2014-09-08  Allan McRae  <allan@archlinux.org>
4364
4365         * version.h (RELEASE): Set to "development".
4366         (VERSION): Set to "2.20.90"
4367
4368 2014-09-07  Allan McRae  <allan@archlinux.org
4369
4370         * version.h (RELEASE): Set to "stable".
4371         (VERSION): Set to "2.20"
4372         * include/features.h (__GLIBC_MINOR__): Set to 20.
4373
4374         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4375         Liebler.
4376
4377         * po/ko.po: Update Korean translation from translation project.
4378
4379 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4380
4381         [BZ #17354]
4382         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4383         macro for handling signed relocations.
4384
4385 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4386
4387         [BZ #17325]
4388         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4389         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4390         assert.
4391         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4392         * iconvdata/ibm935.c (BODY): Likewise.
4393         * iconvdata/ibm937.c (BODY): Likewise.
4394         * iconvdata/ibm939.c (BODY): Likewise.
4395         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4396         assert.
4397         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4398         script.
4399         * iconvdata/run-iconv-test.sh: New test loop for checking for
4400         decoder crashers.
4401
4402 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4403
4404         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4405         libm_hidden_ver.
4406
4407 2014-09-01  Allan McRae  <allan@archlinux.org>
4408
4409         * po/eo.po: Update Esperanto translation from translation project.
4410
4411         * po/ca.po: Update Catalan translation from translation project.
4412
4413 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4414
4415         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4416         __proc_dostop call.
4417
4418 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4419
4420         [BZ #17319]
4421         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4422         to call set_thread_area instead of hand written asm.
4423         (__NR_set_thread_area): Removed define.
4424         (TLS_FLAG_WRITABLE): Likewise.
4425         (__ASSUME_SET_THREAD_AREA): Remove check.
4426         (TLS_EBX_ARG): Remove define.
4427         (TLS_LOAD_EBX): Likewise.
4428
4429 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4430
4431         Simplify atomicity of socket creation in bind.
4432
4433         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4434         looking up the name after linking the file.
4435
4436 2014-08-27  Allan McRae  <allan@archlinux.org>
4437
4438         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4439
4440 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4441
4442         [BZ #17187]
4443         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4444         trans_compare, open_translit, __gconv_translit_find):
4445         Remove module loading code.
4446
4447 2014-08-26  Allan McRae  <allan@archlinux.org>
4448
4449         * po/vi.po: Update Vietnamese translation from translation project.
4450
4451         * po/uk.po: Update Ukrainian translation from translation project.
4452
4453         * po/fr.po: Update French translation from translation project.
4454
4455         * po/ru.po: Update Russian translation from translation project.
4456
4457         * po/pl.po: Update Polish translation from translation project.
4458
4459         * po/cs.po: Update Czech translation from translation project.
4460
4461         * po/de.po: Update German translation from translation project.
4462
4463         * po/bg.po: Update Bulgarian translation from translation project.
4464
4465         * po/sv.po: Update Sweedish translation from translation project.
4466
4467         * po/nl.po: Update Dutch translation from translation project.
4468
4469         * po/es.po: Update Spanish translation from translation project.
4470
4471 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4472
4473         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4474
4475         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4476         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4477         (CPPFLAGS-iconvconfig): Likewise.
4478         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4479
4480         * include/libc-symbols.h: Remove unnecessary check for
4481         NOT_IN_libc.
4482         * nptl/pthreadP.h: Likewise.
4483         * sysdeps/aarch64/setjmp.S: Likewise.
4484         * sysdeps/alpha/setjmp.S: Likewise.
4485         * sysdeps/arm/sysdep.h: Likewise.
4486         * sysdeps/i386/setjmp.S: Likewise.
4487         * sysdeps/m68k/setjmp.c: Likewise.
4488         * sysdeps/posix/getcwd.c: Likewise.
4489         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4490         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4491         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4492         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4493         * sysdeps/sh/sh3/setjmp.S: Likewise.
4494         * sysdeps/sh/sh4/setjmp.S: Likewise.
4495         * sysdeps/unix/alpha/sysdep.h: Likewise.
4496         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4497         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4498         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4499         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4502         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4504         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4505         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4507         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4508         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4509         * sysdeps/x86_64/setjmp.S: Likewise.
4510
4511 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4512
4513         [BZ #17263]
4514         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4515         <stdint.h>.
4516         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4517         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4518
4519 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4520
4521         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4522
4523         [BZ #17262]
4524         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4525         and __x86_64__ when disabling x87 inline functions.
4526
4527 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4528
4529         [BZ #17259]
4530         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4531         asm statement with __cpuid_count.
4532
4533 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4534
4535         * configure.ac: Change __ehdr_start code to dereference the struct.
4536         Run readelf on the output to look for relocations.
4537         * configure: Regenerated.
4538
4539 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4540
4541         [BZ #17261]
4542         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4543         value to 0.
4544         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4545
4546 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4547
4548         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4549
4550 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4551
4552         [BZ #16892]
4553         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4554         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4555
4556 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4557
4558         * malloc/malloc.c: Fix typo in comment.
4559
4560 2014-08-09  Allan McRae  <allan@archlinux.org>
4561
4562         * Regenerate libc.po.
4563
4564 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4565
4566         * intl/tst-gettext2.sh: Check every lang file for creation.
4567
4568 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4569
4570         * sysdeps/aarch64/fpu/math_private.h
4571         (libc_feholdsetround_noex_aarch64_ctx): New function.
4572
4573 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4574
4575         * sysdeps/arm/armv6/strcpy.S (strcpy):
4576         Fix performance issue in misaligned cases.
4577
4578 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4579
4580         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4581         Move definition from termios.h.
4582         (struct termio): Likewise.
4583         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4584         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4585         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4586         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4587         Likewise.
4588         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4589         Move definition to ioctl-types.h
4590         (struct termio): Likewise.
4591         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4592         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4593         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4594         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4595         Likewise.
4596
4597 2014-08-05  Richard Henderson  <rth@redhat.com>
4598
4599         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4600         exceptions.
4601         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4602         Add fraiseexcpt.
4603         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4604         Use __feraiseexcept.
4605         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4606         Protect libm symbols with IS_IN_libm.
4607
4608         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4609
4610 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4611
4612         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4613
4614 2014-08-04  Will Newton  <will.newton@linaro.org>
4615
4616         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4617         file.
4618
4619 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4620
4621         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4622         variants for each function.
4623
4624 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4625
4626         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4627         appended ...
4628         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4629         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4630         appended ...
4631         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4632         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4633         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4634         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4635         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4636         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4637         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4638         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4639         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4640         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4641         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4642         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4643         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4644         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4645         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4646         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4647         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4648         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4649         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4650         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4651         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4652         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4653         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4654         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4655         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4656         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4657         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4658         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4659         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4660         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4661         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4662         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4663         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4664         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4665         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4666         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4667         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4668         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4669         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4670         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4671         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4672         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4673         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4674         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4675         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4676         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4677         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4678         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4679         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4680         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4681         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4682         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4683         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4684         Update #include.
4685         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4686         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4687
4688 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4689
4690         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4691         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4692         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4693         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4694         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4695         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4696
4697 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4698
4699         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4700         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4701         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4702         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4703
4704 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4705
4706         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4707         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4708         (__libc_vfork): Define function under this name.
4709         (__vfork): Define as an alias.
4710         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4711         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4712
4713 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4714
4715         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4716         that was previously under [RESET_PID].
4717         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4718
4719 2014-08-04  Andreas Schwab  <schwab@suse.de>
4720
4721         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4722
4723 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4724
4725         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4726         (main): Likewise.
4727
4728 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4729
4730         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4731
4732 2014-08-01  Richard Henderon  <rth@redhat.com>
4733
4734         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4735         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4736         typo in exact zero test.
4737         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4738         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4740
4741 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4742
4743         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4744         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4745         * sysdeps/arm/sysdep.h: ... here.
4746         [!__ASSEMBLER__]: Include <stdint.h>.
4747
4748 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4749
4750         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4751         (HAVE_WCTYPE_H): Likewise.
4752         (HAVE_ISWCTYPE): Likewise.
4753         (ENABLE_NLS): Likewise.
4754         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4755         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4756
4757         * posix/regex_internal.c: Check if DEBUG is defined and is
4758         set.
4759
4760         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4761         (HAVE_MBSRTOWCS): Likewise.
4762         * posix/fnmatch.c: Include string.h unconditionally.
4763
4764 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4765
4766         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4767         reversal.
4768
4769 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4770
4771         * sysdeps/generic/safe-fatal.h: New file.
4772         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4773         * nptl/forward.c: Include it.
4774         (__pthread_unwind): Use __safe_fatal as default action, rather
4775         than a bogus use of INTERNAL_SYSCALL that could never work.
4776
4777         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4778         * configure.ac (libc_cv_builtin_trap): New test.
4779         * configure: Regenerated.
4780         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4781         (ABORT_INSTRUCTION): Define using __builtin_trap.
4782
4783         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4784         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4785         * sysdeps/nptl/nptl-signals.h: New file.
4786         * nptl/pthreadP.h: Include <nptl-signals.h>.
4787
4788 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4789
4790         * sysdeps/s390/s390-64/utf16-utf32-z9.c
4791         (ONE_DIRECTION): Define.
4792         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4793         (ONE_DIRECTION): Define.
4794         * sysdeps/s390/s390-64/utf8-utf32-z9.c
4795         (ONE_DIRECTION): Define.
4796
4797 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4798
4799         * sysdeps/s390/Makefile: Delete file.
4800         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4801         * sysdeps/s390/__longjmp.c: Delete file.
4802         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4803         Remove fields __flags and __reserved.
4804         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4805         and add versioning.
4806         * sysdeps/s390/rtld-__longjmp.c: Delete file.
4807         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4808         * sysdeps/s390/rtld-setjmp.S: Likewise.
4809         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4810         * sysdeps/s390/s390-32/__longjmp.c: ... here.
4811         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4812         * sysdeps/s390/s390-32/setjmp.S: ... here.
4813         Add versioning.
4814         (__sigsetjmp): Remove setting __flags field.
4815         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4816         * sysdeps/s390/s390-64/__longjmp.c: ... here.
4817         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4818         * sysdeps/s390/s390-64/setjmp.S: ... here.
4819         Add versioning.
4820         (__sigsetjmp): Remove setting __flags field.
4821         * sysdeps/s390/setjmp.S: Delete file.
4822         * sysdeps/s390/sigjmp.c: Likewise.
4823         * sysdeps/s390/v1-longjmp.c: Likewise.
4824         * sysdeps/s390/v1-setjmp.h: Likewise.
4825         * sysdeps/s390/v1-sigjmp.c: Likewise.
4826         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4827         Remove v1-longjmp_chk.
4828         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4829         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4830         Include debug/longjmp_chk.c and add versioning.
4831         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4832         Include nptl/pt-longjmp.c and add versioning.
4833         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4834         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4835         Include __longjmp.c.
4836         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4837         Move to ...
4838         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4839         (__getcontext): Remove setting __flags field.
4840         Add versioning.
4841         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4842         Don't restore upper high grps.
4843         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4844         Likewise.
4845         (__swapcontext): Remove setting uc_flags field.
4846         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4847         Delete file.
4848         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4849         Include __longjmp.c.
4850         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4851         Move to ...
4852         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4853         (__getcontext): Remove setting __flags field.
4854         Add versioning.
4855         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4856         (__swapcontext): Remove setting uc_flags field.
4857         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4858         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4859         Remove fields uc_high_gprs and __reserved.
4860         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4861         New file with reverted content.
4862         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4863         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4864         Regenerated.
4865         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4866         Regenerated.
4867
4868 2014-07-31  Andreas Schwab  <schwab@suse.de>
4869
4870         * config.h.in (HAVE_IFUNC): Define to 0.
4871         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4872         definedness.
4873
4874 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
4875
4876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4877         memmove-avx-unaligned, memcpy-avx-unaligned and
4878         mempcpy-avx-unaligned.
4879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4880         Add tests for AVX memcpy functions.
4881         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4882         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4883         memcpy_chk.
4884         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4885         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4886         memmove_chk.
4887         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4888         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4889         mempcpy_chk.
4890         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4891         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4892         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4893
4894 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4895
4896         [BZ #17213]
4897         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4898         powerpc64le.
4899
4900 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
4901
4902         [BZ #16839]
4903         * manual/llio.texi: Add section about open file description locks.
4904         * manual/examples/ofdlocks.c: Example of open file description
4905         lock usage.
4906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4907         F_OFD_SETLK, and F_OFD_SETLKW.
4908
4909 2014-07-23  Allan McRae  <allan@archlinux.org>
4910
4911         * po/es.po: Update Spanish translation from translation project.
4912
4913 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
4914
4915         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4916
4917 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
4918
4919         [BZ #17078]
4920         * sysdeps/arm/dl-machine.h (elf_machine_rela)
4921         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4922         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4923
4924 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
4925
4926         [BZ #17088]
4927         * math/fesetenv.c (__fesetenv)
4928         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4929         * math/feupdateenv.c (__feupdateenv)
4930         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4931
4932         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4933         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4934         (__ASSUME_SOCKETCALL): Do not define.
4935
4936         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4937         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4938         (__ASSUME_SOCKETCALL): Do not define.
4939         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4940         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4941         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4942         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4943         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4944         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4945         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4946         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4947
4948         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4949         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4950         (__ASSUME_SOCKETCALL): Do not define.
4951         (__ASSUME_IPC64): Define unconditionally.
4952         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4953         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4954         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4955         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4956         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4957         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4958         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4959         Likewise.
4960
4961         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4962         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4963         (__ASSUME_SOCKETCALL): Do not define.
4964         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4965         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4966         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4967         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4968         (__ASSUME_REQUEUE_PI): Define unconditionally.
4969         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4970         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4971         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4972         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4973         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4974         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4975
4976         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4977         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4978         (__ASSUME_SOCKETCALL): Do not define.
4979         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4980         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4981         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4982         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4983         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4984         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4985
4986         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4987         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4988         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4989         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4990         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4991         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4992         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4993         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4994         (__ASSUME_GETCPU_SYSCALL): Likewise.
4995
4996         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4997         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
4998         cases for individual architectures.
4999         * sysdeps/gnu/configure: Regenerated.
5000         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5001         LIBC_SLIBDIR_RTLDDIR.
5002         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5003         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5004         LIBC_SLIBDIR_RTLDDIR.
5005         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5007         LIBC_SLIBDIR_RTLDDIR.
5008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5009         Regenerated.
5010         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5011         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5012         file.
5013         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5014         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5015         file.
5016         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5017         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5018         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5019         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5020
5021         * sysdeps/aarch64/shlib-versions: Move to ...
5022         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5023         * sysdeps/alpha/shlib-versions: Move to ...
5024         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5025         * sysdeps/arm/shlib-versions: Move to ...
5026         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5027         * sysdeps/hppa/shlib-versions: Move all contents except for
5028         libgcc_s entry to ...
5029         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5030         entry from ...
5031         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5032         * sysdeps/ia64/shlib-versions: Move to ...
5033         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5034         entry from ...
5035         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5036         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5037         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5038         * sysdeps/microblaze/shlib-versions: Move to ...
5039         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5040         * sysdeps/mips/shlib-versions: Move to ...
5041         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5042         entry from ...
5043         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5044         * sysdeps/tile/shlib-versions: Move to ...
5045         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5046         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5047         from ...
5048         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5049         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5050         entry from ...
5051         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5052
5053 2014-07-17  Will Newton  <will.newton@linaro.org>
5054
5055         * sysdeps/arm/bits/atomic.h
5056         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5057         (__arch_compare_and_exchange_bool_16_int): Likewise.
5058         (__arch_compare_and_exchange_bool_64_int): Likewise.
5059
5060         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5061         into an #else block.
5062
5063 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5064
5065         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5066         just Linux configurations.  Test empirically that the compiler sets
5067         __ARM_EABI__, rather than using the tuple to decide.
5068         * sysdeps/arm/preconfigure: Regenerated.
5069         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5070         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5071         contents appended ...
5072         * sysdeps/arm/configure.ac: ... here.
5073         * sysdeps/arm/configure: Regenerated.
5074
5075 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5076
5077         * nptl/pthread_kill.c: New file.
5078         * nptl/pthread_sigmask.c: New file.
5079         * nptl/pthread_sigqueue.c: New file.
5080
5081         * sysdeps/nptl/lowlevellock.h: New file.
5082         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5083         * sysdeps/nptl/lowlevellock-futex.h: New file.
5084
5085         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5086         Remove dead declarations.
5087
5088 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5089
5090         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5091         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5092         config-cflags-avx2.
5093         * sysdeps/x86_64/configure.ac: Likewise.
5094         * sysdeps/i386/configure: Regenerated.
5095         * sysdeps/x86_64/configure: Likewise.
5096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5097         memset-avx2 only if config-cflags-avx2 is yes.
5098         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5099         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5100         defined.
5101         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5102         only if HAVE_AVX2_SUPPORT is defined.
5103         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5104
5105 2014-07-14  Alan Modra  <amodra@gmail.com>
5106
5107         [BZ #17153]
5108         * elf/elf.h (DT_PPC64_NUM): Correct value.
5109         * NEWS: Add to fixed bug list.
5110
5111 2014-07-13  Jim Meyering  <meyering@fb.com>
5112
5113         [BZ 17150]
5114         regex: don't deref NULL upon heap allocation failure
5115         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5116         failure in one more place.
5117         To trigger the segfault, configure grep -with-included-regex,
5118         build it, and run these commands:
5119         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5120
5121 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5122
5123         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5124
5125 2014-07-11  Richard Henderson  <rth@redhat.com>
5126
5127         * sysdeps/aarch64/libm-test-ulps: Update.
5128
5129 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5130
5131         [BZ #17135]
5132         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5133         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5134         (__nptl_setxid): Initialize error member.  Call
5135         __nptl_setxid_error.
5136         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5137         * nptl/descr.h (struct xid_command): Add error member.
5138         * nptl/tst-setuid3.c: New file.
5139         * nptl/Makefile (tests): Add it.
5140
5141 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5142
5143         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5144         New define.
5145         (__lll_trylock): Use __lll_base_trylock.
5146         (__lll_cond_trylock): Likewise.
5147
5148 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5149
5150         * nptl/pthread_create.c (start_thread): Use atomic_or and
5151         lll_futex_wake directly rather than lll_robust_dead.
5152         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5153         (lll_robust_dead): Macro removed.
5154         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5155         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5156         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5157         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5158         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5159         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5160         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5161         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5162         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5163         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5164         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5165         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5166         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5167         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5168         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5169
5170         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5171         Use atomic_compare_and_exchange_val_acq directly rather than
5172         lll_robust_trylock.
5173         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5174         (__lll_robust_trylock, lll_robust_trylock): Removed.
5175         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5176         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5177         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5178         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5179         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5180         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5181         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5182         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5183         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5184         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5185         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5186         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5187         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5188         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5189
5190 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5191
5192         * manual/locale.texi (Locale Names): New section documenting
5193         locale name syntax.  Adjust menu and node chaining accordingly.
5194         (Choosing Locale): Reference Locale Names, Locale Categories.
5195         Mention setting LC_ALL=C.  Reflect that name syntax is now
5196         documented.
5197         (Locale Categories): New section title.  Reference Locale Names.
5198         LC_ALL is an environment variable, but not a category.
5199         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5200         description, now in Locale Name.  Reference that section.  Locale
5201         name syntax is now documented.
5202
5203 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5204
5205         [BZ #17137]
5206         * locale/findlocale.c (name_present, valid_locale_name): New
5207         functions.
5208         (_nl_find_locale): Use the loc_name variable to store name
5209         candidates.  Call name_present and valid_locale_name to check and
5210         validate locale names.  Return an error if the locale is invalid.
5211
5212 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5213
5214         * locale/setlocale.c (setlocale): Use strdup for allocating
5215         composite name copy.
5216
5217 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5218
5219         Sync up with gnulib.
5220         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5221         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5222         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5223         and _GL_ARG_NONNULL.
5224         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5225         [!_LIBC]: Include code for Windows and Cygwin.
5226         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5227         Include prototype for int strerror_r.
5228         [!_LIBC] (is_open): New function.
5229         (flush_stdout): New function.
5230         (print_errno_message): Use it.
5231         (error): Likewise.
5232         (error_at_line): Likewise.
5233         (error_tail) Add function attribute macros.  Use
5234         __builtin_expect.
5235
5236         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5237
5238         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5239
5240         * io/ftw.c: Include sys/param.h unconditionally.
5241
5242         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5243
5244         [BZ #17125]
5245         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5246         libc_freeres_ptr.
5247         (freecache): New function to free CACHE on exit.
5248
5249         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5250         initialization.
5251
5252 2014-07-09  David S. Miller  <davem@davemloft.net>
5253
5254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5255
5256         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5257         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5258         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5259         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5260         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5261         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5262         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5263         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5264         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5265         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5266         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5267         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5268         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5269
5270 2014-07-09  Andreas Schwab  <schwab@suse.de>
5271
5272         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5273         output.
5274         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5275         (do_test): Likewise.
5276
5277         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5278
5279 2014-07-09  Will Newton  <will.newton@linaro.org>
5280
5281         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5282         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5283         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5284         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5285         * sysdeps/hppa/start.S (_start): Likewise.
5286
5287 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5288
5289         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5290
5291         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5292         defined.
5293
5294 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5295
5296         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5297         after checking that it is non-NULL.
5298
5299         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5300
5301 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5302
5303         * sysdeps/powerpc/memmove.c: Remove file.
5304         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5305         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5306         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5307         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5308         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5309         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5310         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5311         string memmove instead of removed powerpc one.
5312
5313         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5314         [weak_alias]: Fix compiler warning due trailing data.
5315         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5316         [weak_alias]: Likewise.
5317         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5318         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5319
5320         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5321         (__libc_ifunc_impl_list): Add memmove functions.
5322
5323 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5324
5325         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5326         Remove code.
5327         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5328         Likewise
5329         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5330         Likewise
5331         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5332         Likewise
5333         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5334         Likewise
5335         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5336         Likewise
5337         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5338         Likewise
5339         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5340         Likewise
5341         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5342         Likewise
5343         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5344         Likewise
5345         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5346         Likewise
5347         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5348         Likewise
5349         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5350         Likewise
5351         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5352         Likewise
5353         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5354         Likewise
5355         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5356         Likewise
5357         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5358         Likewise
5359
5360 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5361
5362         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5363         to avoid alignment traps in non-cacheable memory.
5364         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5365
5366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5367         multiarch objects.
5368         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5369         file: multiarch power7 memmove.
5370         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5371         multiarch default memmove.
5372         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5373         multiarch memove for powerpc32/power4.
5374
5375         * string/bcopy.c: Use full path to include memmove.c.
5376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5377         multiarch objects.
5378         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5379         bcopy for powerpc64.
5380         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5381         bcopy for powerpc64.
5382         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5383         and memmove implementations.
5384         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5385         optimized multiarch memmove for POWER7/powerpc64.
5386         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5387         default multiarch memmove for powerpc64.
5388         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5389         multiarch for powerpc64.
5390         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5391         for POWER7/powerpc64.
5392         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5393         memmove for POWER7/powerpc64.
5394
5395         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5396         glibc default one.
5397
5398         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5399         __ELF_NATIVE_CLASS equal to 64.
5400
5401 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5402
5403         * sysdeps/nptl/lowlevellock.h: File removed.
5404
5405         * NEWS: NPTL is no longer an add-on!
5406         * nptl/internaltypes.h: Moved ...
5407         * sysdeps/nptl/internaltypes.h: ... here.
5408         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5409         * sysdeps/nptl/fork.c: Likewise.
5410         * sysdeps/nptl/gai_misc.h: Likewise.
5411         * sysdeps/nptl/librt-cancellation.c: Likewise.
5412         * sysdeps/nptl/jmp-unwind.c: Likewise.
5413         * sysdeps/nptl/setxid.h: Likewise.
5414         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5415         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5416         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5417         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5418         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5419         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5420         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5421         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5422         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5423         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5424         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5425         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5426         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5427         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5428         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5429         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5430         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5431         * nptl/Makeconfig: Moved ...
5432         * sysdeps/nptl/Makeconfig: ... here.
5433         * nptl/configure: File removed.
5434         * nptl/ANNOUNCE: File removed.
5435         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5436         * sysdeps/unix/sysv/linux/configure: Regenerated.
5437
5438         * nptl/Makefile (routines): Add libc_pthread_init,
5439         libc_multiple_threads, register-atfork and unregister-atfork.
5440         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5441         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5442         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5443         pthread-pi-defines.sym, structsem.sym.
5444         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5445         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5446         [$(subdir) = nptl] (tests): Add tst-setgetname.
5447         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5448         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5449         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5450         [!LIBC_SIGACTION]: Remove aliases.
5451         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5452         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5453         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5454         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5455         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5456         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5457         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5458         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5459         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5460         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5461         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5462         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5463         __libc_allocate_rtsig_private.
5464         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5465         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5466         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5467         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5468         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5469         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5470         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5471         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5472         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5473         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5474         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5475         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5476         * nptl/internaltypes.h: ... here.
5477         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5478         * sysdeps/nptl/jmp-unwind.c: ... here.
5479         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5480         * nptl/libc-lowlevellock.c: ... here.
5481         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5482         * nptl/libc_multiple_threads.c: ... here.
5483         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5484         * nptl/libc_pthread_init.c: ... here.
5485         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5486         * nptl/lowlevelbarrier.sym: ... here.
5487         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5488         * nptl/lowlevelcond.sym: ... here.
5489         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5490         * nptl/lowlevellock.c: ... here.
5491         * nptl/lowlevellock.h: Moved ...
5492         * sysdeps/nptl/lowlevellock.h: ... here.
5493         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5494         * nptl/lowlevelrobustlock.c: ... here.
5495         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5496         * nptl/lowlevelrobustlock.sym: ... here.
5497         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5498         * nptl/lowlevelrwlock.sym: ... here.
5499         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5500         * nptl/pt-fork.c: ... here.
5501         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5502         * nptl/pthread-pi-defines.sym: ... here.
5503         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5504         * nptl/pthread_attr_getaffinity.c: ... here.
5505         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5506         * nptl/pthread_attr_setaffinity.c: ... here.
5507         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5508         * nptl/pthread_mutex_cond_lock.c: ... here.
5509         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5510         Update #include.
5511         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5512         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5513         * nptl/pthread_once.c: ... here, replacing old file.
5514         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5515         * nptl/pthread_yield.c: ... here.
5516         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5517         * nptl/register-atfork.c: ... here.
5518         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5519         * nptl/sem_post.c: ... here.
5520         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5521         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5522         * nptl/sem_timedwait.c: ... here.
5523         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5524         * nptl/sem_trywait.c: ... here.
5525         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5526         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5527         * nptl/sem_wait.c: ... here.
5528         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5529         * nptl/structsem.sym: ... here.
5530         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5531         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5532         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5533         * nptl/unregister-atfork.c: ... here.
5534         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5535         * nptl/unwindbuf.sym: ... here.
5536         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5537         * sysdeps/nptl/fork.c: ... here.
5538         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5539         * sysdeps/nptl/fork.h: ... here.
5540         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5541         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5542         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5543         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5544         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5545         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5546         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5547         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5548         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5549         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5550         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5551         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5552         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5553         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5554         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5555         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5556         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5557         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5558         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5559         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5560         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5561         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5562         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5563         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5564         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5565         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5566         * sysdeps/unix/sysv/linux/raise.c: ... here.
5567         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5568         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5569         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5570         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5571         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5572         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5573         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5574         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5575         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5576         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5577         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5578         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5579         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5580         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5581         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5582
5583 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5584
5585         * sysdeps/generic/memcopy.h: Add comment for
5586         MEMCPY_OK_FOR_FWD_MEMMOVE.
5587
5588 2014-07-04  Will Newton  <will.newton@linaro.org>
5589
5590         * string/memchr.c: Merge from gnulib.
5591         [_LIBC]: Remove conditionals.
5592         (__ptr_t): Remove define.
5593         (LONG_MAX_32_BITS): Likewise.
5594         (LONG_MAX): Likewise.
5595         (MEMCHR): Use ANSI prototype and optimize algorithm.
5596
5597         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5598
5599 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5600
5601         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5602         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5603
5604         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5605         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5606         in a bare environment with no <stdlib.h> installed.
5607         * sysdeps/nptl/configure: Regenerated.
5608
5609         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5610
5611         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5612         AC_EGREP_CPP for kernel header checks, so they only succeed if
5613         including <linux/version.h> actually works right.
5614         * sysdeps/unix/sysv/linux/configure: Regenerated.
5615
5616         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5617         value so it's not diagnosed as unused.
5618
5619         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5620         thing) with "ifeq ($(subdir),rt)".
5621
5622 2014-07-03  Richard Henderson  <rth@redhat.com>
5623
5624         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5625         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5626         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5627
5628         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5629         (math_force_eval): New.
5630
5631         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5632         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5633
5634         * sysdeps/alpha/fpu/s_round.c: Remove file.
5635         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5636
5637         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5638         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5639         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5640         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5641         (_dl_start, print_statistics): Likewise.
5642         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5643         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5644
5645         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5646         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5647         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5648         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5649         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5650         (HP_SMALL_TIMING_AVAIL): Define.
5651         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5652         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5653         (HP_SMALL_TIMING_AVAIL): Define.
5654         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5655         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5656
5657         * sysdeps/aarch64/hp-timing.h: New file.
5658
5659         * sysdeps/generic/hp-timing.h: Remove dead comment.
5660         * sysdeps/generic/hp-timing-common.h: New file.
5661         * sysdeps/alpha/hp-timing.h: Include it.
5662         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5663         * sysdeps/i386/i686/hp-timing.h: Likewise.
5664         * sysdeps/ia64/hp-timing.h: Likewise.
5665         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5666         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5667         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5668         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5669         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5670         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5671         (hp_timing_t): New.
5672
5673         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5674         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5675         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5676         * elf/rtld.c (_dl_start_final): Likewise.
5677         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5678         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5679         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5680         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5681         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5682         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5683         (HP_TIMING_DIFF_INIT): Remove.
5684         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5685         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5686         (HP_TIMING_DIFF_INIT): Remove.
5687         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5688         * sysdeps/i386/i686/hp-timing.c: Remove file.
5689         * sysdeps/x86_64/hp-timing.c: Remove file.
5690         * sysdeps/ia64/hp-timing.c: Remove file.
5691         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5692         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5693         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5694         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5695
5696         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5697         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5698         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5699         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5700         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5701         (HP_TIMING_ACCUM): Remove.
5702         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5703         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5704         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5705
5706         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5707         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5708         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5709         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5710         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5711         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5713         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5714
5715         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5716
5717 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5718
5719         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5720
5721 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5722
5723         Sync up with gettext.
5724         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5725         [_MSC_VER]: Include malloc.h
5726         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5727         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5728         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5729         TEMP_FAILURE_RETRY.  Cast return of alloca.
5730         [!_LIBC] Call gl_rwlock_init.
5731         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5732
5733 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5734
5735         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5736         before checking its value.
5737
5738 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5739
5740         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5741
5742         * debug/memcpy_chk.c: Don't include pagecopy.h.
5743         * debug/mempcpy_chk.c: Likewise.
5744         * string/memcpy.c: Likewise.
5745         * string/memmove.c: Likewise.
5746         * sysdeps/powerpc/memmove.c: Likewise.
5747         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5748         definition of PAGE_COPY_FWD_MAYBE here...
5749         * sysdeps/generic/pagecopy.h: ... from here.
5750         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5751
5752 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5753             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5754
5755         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5757         optimizations.
5758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5759         (__libc_ifunc_impl_list): Likewise.
5760         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5761         multiarch strcat for PPC64.
5762         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5763         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5764
5765 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5766
5767         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5768
5769 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5770
5771         * intl/loadmsgcat.c: Remove declaration of
5772         get_sysdep_segment_value.
5773         (get_sysdep_segment_value): Use ISO C style.
5774         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5775         semicolon.  Fix typo and formatting in comment.
5776         (_nl_unload_domain): Use ISO C style.
5777
5778         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5779
5780 2014-07-02  Will Newton  <will.newton@linaro.org>
5781
5782         * malloc/obstack.c: Merge from gnulib master.
5783         [HAVE_CONFIG_H]: Remove conditional code.
5784         [!_LIBC]: Include config.h.
5785         [!ELIDE_CODE]: Don't include inttypes.h, include
5786         stdint.h unconditionally.
5787         (print_and_abort): Mark as _Noreturn.
5788         (_obstack_allocated_p): Mark as __attribute_pure__.
5789         (obstack_free): Rename to __obstack_free.
5790         [!__attribute__]: Remove conditional code.
5791         * malloc/obstack.h: Merge from gnulib master.
5792         [__cplusplus]: Move conditional down.
5793         [!__attribute_pure__]: Define __attribute_pure__ here
5794         if it is not already defined.
5795         (_obstack_memory_used): Mark as __attribute_pure__.
5796         [!__obstack_free]: Define as obstack_free.
5797         [__GNUC__]: Remove check for ancient NeXT gcc.
5798
5799 2014-07-02  Will Newton  <will.newton@linaro.org>
5800             Paul Eggert  <eggert@cs.ucla.edu>
5801
5802         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5803
5804 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5805
5806         * resolv/gethnamaddr.c: Add comment warning that the file is
5807         not maintained.
5808
5809 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
5810
5811         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5812         entries.
5813
5814         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5815         entry for aio_cancel and aio_cancel64.
5816         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5817         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5818         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5819         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5820         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5821         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5822         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5823         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5824         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5825         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5826         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5827         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5828         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5829
5830 2014-07-01  Roland McGrath  <roland@hack.frob.com>
5831
5832         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5833         * nptl/pthread_mutex_lock.c: Likewise.
5834         * nptl/pthread_mutex_timedlock.c: Likewise.
5835         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5836
5837 2014-07-01  Richard henderson  <rth@redhat.com>
5838
5839         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5840         (__isnan, __isnanl): Remove.
5841         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5842
5843         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5844
5845 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5846
5847         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5848
5849 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5850
5851         * resolv/nss_dns/dns-host.c (getanswer_r)
5852         [MULTI_PTRS_ARE_ALIASES]: Remove code.
5853
5854 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
5855
5856         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5857         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5858         undefine.
5859         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5860         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5861
5862 2014-07-01  Roland McGrath <roland@hack.frob.com>
5863
5864         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5865         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5866
5867         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5868         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5869
5870         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5871         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5872         ... here.
5873         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5874         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5875
5876         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5877         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5878         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5879         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5880
5881         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5882         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5883         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5884         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5885         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5886         Moved ...
5887         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5888         ... here.
5889         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5890         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5891         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5892         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5893         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5894         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5895         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5896         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5897         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5898         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5899         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5900         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5901         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5902         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5903         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5904         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5905         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5906         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5907         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5908         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5909         ... here.
5910         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5911         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5912         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5913         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5914         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5915         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5916         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5917         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5918
5919 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
5920
5921         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5922         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5923         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5924         Add sysdep.
5925
5926 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5927
5928         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5929
5930 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5931
5932         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5933         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5934
5935         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5936
5937         * sysdeps/arm/libm-test-ulps: Regenerated.
5938
5939 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5940             Roland McGrath <roland@hack.frob.com>
5941
5942         * test-skeleton.c (signal_handler): Kill the whole process group
5943         before killing the child individually.
5944         (main): Report any failure on `setpgid'.
5945
5946 2014-06-30  Roland McGrath  <roland@hack.frob.com>
5947
5948         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5949         from _TLS_H to _ARM_NPTL_TLS_H.
5950         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5951         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5952
5953 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5954
5955         [BZ #16539]
5956         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5957         (__expm1l): Return argument unchanged when small but not
5958         subnormal.
5959
5960         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5961         include macro name.
5962         (_FP_UNPACK_RAW_1_P): Likewise.
5963         (_FP_PACK_RAW_1): Likewise.
5964         (_FP_PACK_RAW_1_P): Likewise.
5965         (_FP_MUL_MEAT_1_wide): Likewise.
5966         (_FP_MUL_MEAT_DW_1_hard): Likewise.
5967         (_FP_MUL_MEAT_1_hard): Likewise.
5968         (_FP_DIV_MEAT_1_imm): Likewise.
5969         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5970         (_FP_DIV_MEAT_1_udiv): Likewise.
5971         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5972         (_FP_UNPACK_RAW_2): Likewise.
5973         (_FP_UNPACK_RAW_2_P): Likewise.
5974         (_FP_PACK_RAW_2): Likewise.
5975         (_FP_PACK_RAW_2_P): Likewise.
5976         (_FP_MUL_MEAT_DW_2_wide): Likewise.
5977         (_FP_MUL_MEAT_2_wide): Likewise.
5978         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5979         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5980         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5981         (_FP_MUL_MEAT_2_gmp): Likewise.
5982         (_FP_DIV_MEAT_2_udiv): Likewise.
5983         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5984         (_FP_FRAC_SRL_4): Likewise.
5985         (_FP_FRAC_SRST_4): Likewise.
5986         (_FP_FRAC_SRS_4): Likewise.
5987         (_FP_UNPACK_RAW_4): Likewise.
5988         (_FP_UNPACK_RAW_4_P): Likewise.
5989         (_FP_PACK_RAW_4): Likewise.
5990         (_FP_PACK_RAW_4_P): Likewise.
5991         (_FP_MUL_MEAT_DW_4_wide): Likewise.
5992         (_FP_MUL_MEAT_4_wide): Likewise.
5993         (_FP_MUL_MEAT_4_gmp): Likewise.
5994         (umul_ppppmnnn): Likewise.
5995         (_FP_DIV_MEAT_4_udiv): Likewise.
5996         (__FP_FRAC_ADD_4): Likewise.
5997         (__FP_FRAC_SUB_3): Likewise.
5998         (__FP_FRAC_SUB_4): Likewise.
5999         (__FP_FRAC_DEC_3): Likewise.
6000         (__FP_FRAC_DEC_4): Likewise.
6001         (__FP_FRAC_ADDI_4): Likewise.
6002         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6003         (_FP_FRAC_SRL_8): Likewise.
6004         (_FP_FRAC_SRS_8): Likewise.
6005
6006         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6007         include macro name.
6008         (FP_UNPACK_RAW_EP): Likewise.
6009         (FP_PACK_RAW_E): Likewise.
6010         (FP_PACK_RAW_EP): Likewise.
6011         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6012         (_FP_ISSIGNAN): Likewise.
6013         (_FP_ADD_INTERNAL): Likewise.
6014         (_FP_FMA): Likewise.
6015         (_FP_CMP): Likewise.
6016         (_FP_SQRT): Likewise.
6017         (_FP_TO_INT): Likewise.
6018         (_FP_FROM_INT): Likewise.
6019         (FP_EXTEND): Likewise.
6020         (_FP_DIV_MEAT_N_loop): Likewise.
6021
6022 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6023
6024         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6025         throughout.
6026
6027 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6028
6029         [BZ #17097]
6030         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6031         result with correct sign in case of exponents that produce
6032         overflow except for X very close to 1.
6033
6034 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6035
6036         mktime: merge #if/#ifdef usage from glibc
6037         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6038         as that works with both Glibc's and Gnulib's style.
6039         See thread starting at Siddhesh Poyarekar's bug report at:
6040         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6041
6042 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6043
6044         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6045         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6046         * sysdeps/tile/tilegx/memmove.c: Remove file.
6047
6048 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6049
6050         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6051         abi-name definition.
6052         * scripts/soversions.awk: Do not handle or generate ABI lines.
6053         * shlib-versions: Remove ABI entries.
6054         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6055         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6056
6057 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6058
6059         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6060         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6061         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6062         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6064         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6066         Moved ...
6067         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6068         ... here.
6069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6070         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6072         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6074         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6075         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6076         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6078         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6080         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6082         Moved ...
6083         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6085         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6087         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6089         Moved ...
6090         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6092         Moved ...
6093         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6094         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6095         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6097         Moved ...
6098         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6099         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6100         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6101         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6102         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6104         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6105         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6106         Moved ...
6107         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6109         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6110         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6111         Moved ...
6112         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6113         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6114         Moved ...
6115         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6116         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6117         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6118         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6119         Moved ...
6120         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6121         ... here.
6122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6123         Identical file removed.
6124         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6125         Moved ...
6126         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6127         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6128         Identical file removed.
6129         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6130         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6131         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6132         Moved ...
6133         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6134         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6135         Identical file removed.
6136         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6137         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6138         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6139         Identical file removed.
6140         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6141         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6142         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6143         Identical file removed.
6144         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6145         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6146         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6147         Identical file removed.
6148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6149         Moved ...
6150         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6151         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6152         Identical file removed.
6153         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6154         Moved ...
6155         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6156         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6157         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6158         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6159         Identical file removed.
6160         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6161         Moved ...
6162         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6163         ... here.
6164         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6165         Identical file removed.
6166         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6167         Moved ...
6168         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6169         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6170         Identical file removed.
6171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6172         Moved ...
6173         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6174         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6175         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6176         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6177         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6178         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6179         Moved ...
6180         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6181         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6182         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6183
6184         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6185         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6186         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6187         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6188         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6189
6190 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6191
6192         [BZ #17092]
6193         * nscd/nscd.c (monitor_child): Return exit status of child
6194         instead of return value from wait syscall.
6195
6196 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6197
6198         * configure.ac (libc_commonpagesize): Remove variable.
6199         (libc_relro_required): Likewise.
6200         (libc_cv_z_relro): Remove configure test.
6201         * configure: Regenerated.
6202         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6203         variable.
6204         (libc_relro_required): Likewise.
6205         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6206         (libc_relro_required): Likewise.
6207         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6208         (libc_relro_required): Likewise.
6209         * sysdeps/arm/preconfigure: Regenerated.
6210         * sysdeps/ia64/preconfigure: Remove file.
6211         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6212         variable.
6213         (libc_relro_required): Likewise.
6214
6215         [BZ #16561]
6216         [BZ #16562]
6217         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6218         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6219         recompute overflowing results in original rounding mode.
6220         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6221         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6222         recompute overflowing results in original rounding mode.
6223         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6224         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6225         recompute overflowing results in original rounding mode.
6226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6227         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6228         recompute overflowing results in original rounding mode.
6229         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6230         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6231         recompute overflowing results in original rounding mode.
6232         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6233         (libc_feholdsetround_ctx): New macro.
6234         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6235         * sysdeps/i386/fpu/libm-test-ulps: Update.
6236         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6237
6238 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6239
6240         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6241         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6242         corresponding .cpsetup call.
6243
6244 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6245
6246         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6247         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6248         * sysdeps/arm/Makefile [$(subdir) = csu]
6249         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6250         (static-only-routines): Add aeabi_read_tp here.
6251         (shared-only-routines): Add libc-aeabi_read_tp here.
6252         (CFLAGS-libc-start.c): Add -fexceptions here.
6253         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6254         (sysdep_routines, static-only-routines, shared-only-routines):
6255         Don't add to these here.
6256         (CFLAGS-libc-start.c): Likewise.
6257
6258         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6259         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6260         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6261         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6262         * sysdeps/arm/Makefile [$(subdir) = rt]
6263         (librt-sysdep_routines, librt-shared-only-routines):
6264         Append rt-aeabi_unwind_cpp_pr1 here.
6265         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6266         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6267         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6268         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6269         Append nptl-aeabi_unwind_cpp_pr1 here.
6270         (tests): Filter out tst-cleanupx4 here.
6271         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6272         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6273         Don't do those here.
6274
6275 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6276
6277         * scripts/list-sources.sh: Do not handle ports specially.
6278
6279 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6280
6281         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6282         * sysdeps/arm/feupdateenv.c: Likewise.
6283
6284         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6285
6286 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6287
6288         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6289         trailing whitespace removed.
6290         * scripts/config.guess: Update to version 2014-03-23.
6291         * scripts/config.sub: Update to version 2014-05-01
6292         * scripts/install-sh: Update to version 2013-12-25.23.
6293         * scripts/move-if-change: Update from gnulib.
6294
6295 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6296
6297         * debug/memmove_chk.c: Remove pagecopy.h include.
6298
6299 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6300
6301         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6302         identical to gnulib mktime.
6303
6304 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6305
6306         * configure.ac: Do not test for machine being rs6000.  Do not test
6307         for powerpc*-*soft.
6308         * configure: Regenerated.
6309
6310         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6311         test.
6312         * configure: Regenerated.
6313         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6314         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6315         Remove configure test.
6316         * sysdeps/arm/configure: Regenerated.
6317         * sysdeps/nptl/configure.ac: Do not check
6318         libc_cv_asm_cfi_directives.
6319         * sysdeps/nptl/configure: Regenerated.
6320         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6321         * sysdeps/x86_64/nptl/configure: Remove generated file.
6322         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6323         unconditional.
6324         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6325
6326 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6327
6328         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6329         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6330         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6331         it is defined.
6332
6333         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6334         instead of whether it is defined.
6335         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6336         * sysdeps/hppa/dl-machine.h: Likewise.
6337         * sysdeps/ia64/dl-machine.h: Likewise.
6338         * sysdeps/m68k/dl-machine.h: Likewise.
6339         * sysdeps/microblaze/dl-machine.h: Likewise.
6340         * sysdeps/mips/dl-machine.: Likewise.
6341         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6342         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6343         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6344         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6345         * sysdeps/sh/dl-machine.h: Likewise.
6346         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6347         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6348         * sysdeps/tile/dl-machine.h: Likewise.
6349         * sysdeps/x86_64/dl-machine.h: Likewise.
6350
6351         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6352         code.
6353         (verify_persistent_db): Likewise.
6354
6355 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6356
6357         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6358         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6359         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6360         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6362         Moved ...
6363         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6364         ... here.
6365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6366         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6368         Identical file removed.
6369         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6370         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6372         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6373         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6374         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6376         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6378         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6380         Moved ...
6381         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6383         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6385         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6387         Moved ...
6388         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6390         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6392         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6394         Identical file removed.
6395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6396         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6397         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6398         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6400         Moved ...
6401         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6402         ... here.
6403         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6404         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6406         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6407         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6408         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6410         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6411         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6412         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6414         Moved ...
6415         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6416         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6417         Moved ...
6418         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6419         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6420         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6421         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6422         Moved ...
6423         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6424         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6425         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6426
6427         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6428         folded into ...
6429         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6430         * sysdeps/unix/sysv/linux/s390/Versions
6431         (libpthread: GLIBC_2.19): New version set.
6432         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6433         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6434         (librt: GLIBC_2.3.3): New version set.
6435         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6436         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6437         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6438         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6439         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6440         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6441         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6442         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6443         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6444         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6445         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6446         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6447         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6448         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6449         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6450         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6451         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6452         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6453         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6454         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6455         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6456         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6457         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6458         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6459         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6460         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6461         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6462         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6463         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6464         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6465         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6466         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6467         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6468         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6469         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6470         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6471         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6473         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6474         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6475         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6476         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6477         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6478         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6479         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6480
6481         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6482         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6483         (__libc_vfork): Define the function under this name.
6484         [!NOT_IN_libc] (__vfork): Make this an alias.
6485         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6487         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6488         (__libc_vfork): Define the function under this name.
6489         [!NOT_IN_libc] (__vfork): Make this an alias.
6490         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6491         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6492         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6494         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6495         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6496
6497         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6498         code that was previously under [RESET_PID].
6499         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6500         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6501         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6502
6503         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6504         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6505         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6506         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6507         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6508         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6509         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6510         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6511         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6512         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6513         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6514         Moved ...
6515         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6516         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6517         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6518         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6519         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6520         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6521         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6522         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6523         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6524         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6525         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6526         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6527         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6528         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6529         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6530         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6531         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6532         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6533         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6534         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6535         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6536         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6537         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6538         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6539         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6540         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6541         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6542         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6543         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6544
6545 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6546
6547         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6548         that was previously under [RESET_PID].
6549         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6550
6551 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6552
6553         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6554         not undefine and redefine.
6555         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6556         [O_CLOEXEC]: Make code unconditional.
6557         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6558         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6559         <kernel-features.h>.
6560         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6561         conditional variable definition.
6562         (shm_open) [O_CLOEXEC]: Make code unconditional.
6563         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6564         code.
6565
6566         * configure.ac (USE_REGPARMS): Don't define here.
6567         * configure: Regenerated.
6568         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6569         * sysdeps/i386/configure: Regenerated.
6570
6571         * nptl/createthread.c: Don't include kernel-features.h.
6572         * nptl/pthread_cancel.c: Likewise.
6573         * nptl/pthread_condattr_setclock.c: Likewise.
6574         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6575         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6576         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6577         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6578         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6579         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6580         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6581         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6582         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6583         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6584         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6585         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6586         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6587         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6588         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6589         * nscd/gai.c: Likewise.
6590         * nss/nss_db/db-open.c: Likewise.
6591         * sysdeps/generic/ldsodefs.h: Likewise.
6592         * sysdeps/sh/nptl/tls.h: Likewise.
6593         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6594         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6595         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6596         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6597         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6598         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6599         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6600         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6601         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6602         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6603         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6604         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6605         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6606         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6607         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6608         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6609         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6610         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6611         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6612         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6613         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6614         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6615         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6616         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6617         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6618         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6619         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6620         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6621         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6622         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6623         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6624         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6625         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6626         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6627         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6628         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6629         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6630         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6631         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6632         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6633         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6634         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6635         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6636         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6637         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6638         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6639         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6640         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6641         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6642         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6643         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6644         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6645         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6646         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6647         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6648         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6649         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6650         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6673         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6674         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6675         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6676         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6677         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6678         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6679         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6680         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6681         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6682         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6683         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6684         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6685         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6686         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6687         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6688         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6689         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6690         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6691         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6692         * sysdeps/unix/sysv/linux/system.c: Likewise.
6693         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6694         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6695         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6696         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6697         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6698         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6699         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6700
6701         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6702         * configure: Regenerated.
6703         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6704
6705         * configure.ac (base_machine): Do not set specially for particular
6706         machines here.
6707         * configure: Regenerated.
6708         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6709         settings from configure.ac.
6710         * sysdeps/i386/preconfigure: New file.
6711         * sysdeps/s390/preconfigure: Likewise.
6712         * sysdeps/sh/preconfigure: Likewise.
6713         * sysdeps/sparc/preconfigure: Likewise.
6714
6715 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6716
6717         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6718         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6719         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6720         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6721         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6722         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6723         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6724         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6725         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6726         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6727         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6728         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6729         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6730         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6731         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6732         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6733         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6734         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6735         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6736
6737         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6738         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6739         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6740         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6741         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6742         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6743         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6744         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6745         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6746         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6747         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6748         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6749         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6750         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6751         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6752         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6753         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6754         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6755         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6756         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6757         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6758         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6759         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6760         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6761         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6762         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6763         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6764         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6765         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6766         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6767         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6768         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6769         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6770         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6771         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6772         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6773         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6774         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6775
6776         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6777         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6778         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6779         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6781         Moved ...
6782         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6783         ... here.
6784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6785         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6787         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6789         Moved ...
6790         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6792         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6794         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6796         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6798         Moved ...
6799         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6801         Moved ...
6802         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6804         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6806         Moved ...
6807         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6809         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6811         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6813         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6815         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6817         Moved ...
6818         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6819         ... here.
6820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6821         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6823         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6825         Moved ...
6826         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6828         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6830         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6832         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6834         Moved ...
6835         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6836         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6837         Moved ...
6838         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6840         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6841         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6842         Moved ...
6843         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6844         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6845         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6846         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6847         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6848
6849 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6850
6851         * timezone/checktab.awk: Update from tzcode 2014e.
6852         * timezone/private.h: Likewise.
6853         * timezone/tzfile.h: Likewise.
6854         * timezone/zdump.c: Likewise.
6855         * timezone/zic.c: Likewise.
6856
6857         * sysdeps/unix/sysv/linux/kernel-features.h
6858         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6859         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6860         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6861         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6862         Remove conditional code.
6863
6864 2014-06-25  Will Newton  <will.newton@linaro.org>
6865
6866         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6867         (_dl_arm_cap_flags): Add HWCAP2 values.
6868         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6869         (_DL_HWCAP_COUNT): Increase to 37.
6870         (_DL_HWCAP_LAST): New define.
6871         (_DL_HWCAP2_LAST): New define.
6872         (_dl_procinfo): Add support for printing
6873         AT_HWCAP2 entries.
6874         (_dl_string_hwcap): Use _dl_hwcap_string.
6875
6876 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6877
6878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6879
6880 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6881
6882         * README: Do not mention ports directory.
6883
6884         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6885         Remove macro.
6886         * sysdeps/unix/sysv/linux/futimes.c: Do not include
6887         <kernel-features.h>.
6888         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6889         conditional variable definition.
6890         (__futimes): Update comment.
6891         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6892         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6893
6894         [BZ #16560]
6895         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6896         arguments close to 0.
6897         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6898         Likewise.
6899         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6900         Likewise.
6901         * math/auto-libm-test-in: Add more tests of exp10.
6902         * math/auto-libm-test-out: Regenerated.
6903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6904
6905         * sysdeps/unix/sysv/linux/kernel-features.h
6906         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6907         * sysdeps/unix/sysv/linux/readv.c: Do not include
6908         <kernel-features.h>.
6909         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6910         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6911         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6912         unconditional.
6913         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6914         conditional code.
6915         * sysdeps/unix/sysv/linux/writev.c: Do not include
6916         <kernel-features.h>.
6917         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6918         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6919         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6920         unconditional.
6921         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6922         conditional code.
6923
6924 2014-06-25  Will Newton  <will.newton@linaro.org>
6925
6926         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6927         comment changes throughout the file.  Remove checks
6928         for HAVE_*_H definitions that are not required.
6929         (__gen_tempname): Call abort if an unknown kind value is
6930         passed.
6931
6932 2014-06-25  Andreas Schwab  <schwab@suse.de>
6933
6934         [BZ #17086]
6935         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6936         scalbln, scalblnf, scalblnl in libc.
6937
6938 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6939
6940         [BZ #17086]
6941         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6942         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6943         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6944
6945 2014-06-24  Roland McGrath  <roland@hack.frob.com>
6946
6947         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6948         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6949         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6950         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6951         Update #include.
6952         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6953         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6954         Update #include.
6955         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6956         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6957         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6958         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6959         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6960         * sysdeps/x86/bits/pthreadtypes.h: ... here.
6961         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6962         * sysdeps/x86/bits/semaphore.h: ... here.
6963         * sysdeps/x86/nptl/elide.h: Moved ...
6964         * sysdeps/x86/elide.h: ... here.
6965         * sysdeps/x86_64/nptl/Implies: File removed.
6966         * sysdeps/i386/nptl/Implies: File removed.
6967
6968 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
6969
6970         [BZ #16539]
6971         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6972         return the argument for normal arguments with exponent below -64.
6973         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6974         Likewise.
6975         * math/auto-libm-test-in: Add another test of expm1.
6976         * math/auto-libm-test-out: Regenerated.
6977
6978         [BZ #16287]
6979         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6980         calling __erfcl for arguments at least 16.
6981         * math/auto-libm-test-in: Add more tests of erf.
6982         * math/auto-libm-test-out: Regenerated.
6983
6984         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6985         individual architectures.
6986         * sysdeps/unix/sysv/linux/configure: Regenerated.
6987         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6988         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6989         * sysdeps/unix/sysv/linux/powerpc/configure.ac
6990         (ldd_rewrite_script): Define variable.
6991         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6993         file.
6994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6995         generated file.
6996         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6997         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6998         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6999         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7000         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7001         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7002         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7003         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7004
7005 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7006
7007         [BZ #17084]
7008         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7009         Rename member __data.d to __data.__elision_data.
7010
7011 2014-06-24  Wilco  <wdijkstr@arm.com>
7012
7013         * NEWS: Add 16918 to fixed bug list.
7014
7015 2014-06-24  Wilco  <wdijkstr@arm.com>
7016
7017         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7018
7019 2014-06-24  Wilco  <wdijkstr@arm.com>
7020
7021         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7022         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7023         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7024         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7025         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7026         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7027         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7028         Use _FPU_MASK_RM.
7029
7030 2014-06-24  Wilco  <wdijkstr@arm.com>
7031
7032         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7033
7034 2014-06-24  Wilco  <wdijkstr@arm.com>
7035
7036         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7037         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7038         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7039         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7040
7041 2014-06-24  Wilco  <wdijkstr@arm.com>
7042
7043         [BZ #16918]
7044         * sysdeps/arm/feupdateenv.c (feupdateenv):
7045         Rewrite to reduce FPSCR accesses and fix return value.
7046
7047 2014-06-24  Wilco  <wdijkstr@arm.com>
7048
7049         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7050         Optimize to avoid unnecessary FPSCR writes.
7051         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7052         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7053         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7054         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7055
7056 2014-06-24  Wilco  <wdijkstr@arm.com>
7057
7058         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7059         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7060         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7061         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7062         Call libc_fetestexcept_vfp.
7063         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7064         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7065         __SOFTFP__ ifdef so that they can be built for softfp.
7066
7067 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7068
7069         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7070         argument type signed char.
7071
7072         * Makerules (check-abi): Dump diff of symlist if the test
7073         fails.
7074
7075 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7076
7077         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7078         using abort.
7079
7080         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7081         Remove unused variable ST.
7082
7083 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7084
7085         [BZ #16354]
7086         [BZ #17061]
7087         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7088         small arguments before calling __expm1.
7089         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7090         small arguments before calling __expm1f.
7091         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7092         small arguments before calling __expm1l.
7093         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7094         Likewise.
7095         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7096         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7097         spurious underflow for some cosh tests.
7098         * math/auto-libm-test-out: Regenerated.
7099         * sysdeps/i386/fpu/libm-test-ulps: Update.
7100
7101         [BZ #17050]
7102         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7103         (__ieee754_y1): Set errno if return value overflows.
7104         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7105         (__ieee754_y1f): Set errno if return value overflows.
7106         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7107         (__ieee754_y1l): Set errno if return value overflows.
7108         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7109         (__ieee754_y1l): Set errno if return value overflows.
7110         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7111         * math/auto-libm-test-out: Regenerated.
7112
7113         * math/gen-auto-libm-tests.c: Document use of
7114         ignore-zero-inf-sign.
7115         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7116         (input_flags): Add ignore-zero-inf-sign.
7117         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7118         * math/gen-libm-test.pl (generate_testfile): Handle
7119         ignore-zero-inf-sign.
7120         * math/auto-libm-test-in: Mark some cpow tests with
7121         ignore-zero-inf-sign and some with xfail-rounding.
7122         * math/auto-libm-test-out: Regenerated.
7123         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7124         * sysdeps/i386/fpu/libm-test-ulps: Update.
7125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7126
7127         [BZ #16315]
7128         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7129         overflowing or underflowing operations take place with sign of
7130         result.
7131         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7132         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7133         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7134         (__ieee754_pow): Recompute overflowing and underflowing results in
7135         original rounding mode.
7136         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7137         (__powl_helper): Allow negative argument X and scale negated value
7138         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7139         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7140         overflowing or underflowing operations take place with sign of
7141         result.
7142         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7143         Include <math.h>.
7144         * math/auto-libm-test-in: Add more tests of pow.
7145         * math/auto-libm-test-out: Regenerated.
7146         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7147         (pow_tonearest_test_data): Remove.
7148         (pow_test_tonearest): Likewise.
7149         (pow_towardzero_test_data): Likewise.
7150         (pow_test_towardzero): Likewise.
7151         (pow_downward_test_data): Likewise.
7152         (pow_test_downward): Likewise.
7153         (pow_upward_test_data): Likewise.
7154         (pow_test_upward): Likewise.
7155         (main): Don't call removed functions.
7156         * sysdeps/i386/fpu/libm-test-ulps: Update.
7157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7158
7159 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7160
7161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7162         Moved ...
7163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7165         Moved ...
7166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7168         Moved ...
7169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7171         Moved ...
7172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7174         File removed.
7175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7176         File removed.
7177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7178         File removed.
7179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7180         File removed.
7181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7182         File removed.
7183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7184         File removed.
7185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7186         File removed.
7187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7188         File removed.
7189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7190         File removed.
7191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7192         File removed.
7193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7194         File removed.
7195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7196         File removed.
7197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7198         Moved ...
7199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7201         Moved ...
7202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7203         ... here.
7204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7205         Moved ...
7206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7208         Moved ...
7209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7211         Moved ...
7212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7214         Moved ...
7215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7217         Moved ...
7218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7220         Moved ...
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7223         Moved ...
7224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7227         ... here.
7228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7229         Moved ...
7230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7232         Moved ...
7233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7234         ... here.
7235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7236         Moved ...
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7238         ... here.
7239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7240         Moved ...
7241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7242         ... here.
7243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7244         Moved ...
7245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7247         Moved ...
7248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7252         Moved ...
7253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7254         ... here.
7255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7256         Moved ...
7257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7258         ... here.
7259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7260         Moved ...
7261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7263         Moved ...
7264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7266         Moved ...
7267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7269         Moved ...
7270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7272         Moved ...
7273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7274         ... here.
7275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7276         Moved ...
7277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7279         Moved ...
7280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7282         Moved ...
7283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7285         Moved ...
7286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7290         Moved ...
7291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7293         Moved ...
7294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7296         Moved ...
7297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7298         ... here.
7299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7300         Moved ...
7301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7302         ... here.
7303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7304         Moved ...
7305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7306         ... here.
7307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7308         Moved ...
7309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7311         Moved ...
7312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7314         Moved ...
7315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7317         Moved ...
7318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7319         ... here.
7320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7321         Moved ...
7322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7323         ... here.
7324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7325         Moved ...
7326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7327         ... here.
7328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7329         Moved ...
7330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7332         Moved ...
7333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7334
7335 2014-06-23  Will Newton  <will.newton@linaro.org>
7336             Wilco  <wdijkstr@arm.com>
7337
7338         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7339         implementation.  Include get-rounding-mode.h.
7340         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7341         [!libc_feholdsetround_noex_ctx]: Define
7342         libc_feholdsetround_noex_ctx.
7343         [!libc_feholdsetround_noexf_ctx]: Define
7344         libc_feholdsetround_noexf_ctx.
7345         [!libc_feholdsetround_noexl_ctx]: Define
7346         libc_feholdsetround_noexl_ctx.
7347         (libc_feholdsetround_ctx): New function.
7348         (libc_feresetround_ctx): New function.
7349         (libc_feholdsetround_noex_ctx): New function.
7350         (libc_feresetround_noex_ctx): New function.
7351
7352 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7353
7354         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7355         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7356         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7357         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7358         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7359         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7360
7361         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7362         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7363         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7364         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7365         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7366         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7367         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7368         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7369         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7370         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7371         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7372         Moved ...
7373         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7374         ... here.
7375         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7376         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7378         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7379         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7380         Moved ...
7381         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7382         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7383         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7384         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7385         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7386         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7387         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7388         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7389         Moved ...
7390         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7391         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7392         Moved ...
7393         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7394         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7395         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7396         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7397         Moved ...
7398         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7399         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7400         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7401         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7402         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7403         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7404         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7405         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7406         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7407         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7408         Moved ...
7409         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7410         ... here.
7411         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7412         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7413         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7414         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7415         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7416         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7417         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7418         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7419         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7420         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7421         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7422         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7423         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7424         Moved ...
7425         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7427         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7428         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7429         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7430         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7431         Moved ...
7432         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7433         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7434         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7435         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7436         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7437
7438         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7439         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7440         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7441         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7442         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7443         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7444         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7445         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7446         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7447         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7448         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7449         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7450         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7451         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7452         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7453         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7454         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7455         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7456         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7457         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7458         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7459         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7460         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7461         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7462         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7463         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7464         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7465         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7466
7467 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7468
7469         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7470         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7471         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7472         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7473         (IPV6_PMTUDISC_INTERFACE): Likewise.
7474         (IPV6_PMTUDISC_OMIT): Likewise.
7475
7476 2014-06-23  Andreas Schwab  <schwab@suse.de>
7477
7478         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7479         Remove unused errout label.
7480
7481 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7482
7483         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7484         macro: hardware supports Vector Crypto instructions.
7485
7486 2014-06-23  Will Newton  <will.newton@linaro.org>
7487
7488         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7489         rather than __builtin_expect.
7490
7491         * elf/dl-lookup.c (undefined_msg): Remove variable.
7492         (_dl_lookup_symbol_x): Replace undefined_msg with string
7493         literal.
7494
7495         * elf/dl-lookup.c (do_lookup_unique): New function.
7496         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7497         to a separate function.
7498
7499 2014-06-23  Andreas Schwab  <schwab@suse.de>
7500
7501         [BZ #17079]
7502         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7503         before reading the next line.
7504
7505 2014-06-23  Will Newton  <will.newton@linaro.org>
7506
7507         * test-skeleton.c (signal_handler): Use printf and %m
7508         rather than perror.  Use printf rather than fprintf to
7509         stderr.  Use puts rather than fputs to stderr.
7510         (main): Likewise.
7511
7512 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7513
7514         * nscd/nscd.c (thread_info_t): Remove typedef.
7515         (thread_info): Remove variable.
7516
7517 2014-06-21  Allan McRae  <allan@archlinux.org>
7518
7519         * NEWS: Mention CVE-2014-4043.
7520
7521 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7522
7523         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7524         * nptl/smp.h: ... here.
7525
7526         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7527
7528         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7529         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7530         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7531         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7532
7533         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7534         * nptl/stack-aliasing.h: New file.
7535         * sysdeps/i386/i686/stack-aliasing.h: New file.
7536         * sysdeps/i386/i686/nptl/Makefile: File removed.
7537         * sysdeps/x86_64/stack-aliasing.h: New file.
7538         * sysdeps/x86_64/nptl/Makefile
7539         (CFLAGS-pthread_create.c): Variable removed.
7540
7541         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7542         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7543         old file.
7544         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7545         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7546         old file.
7547
7548 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7549
7550         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7551         (__ASSUME_SIGFRAME_V2): Remove macro.
7552         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7553         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7554         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7555         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7556         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7557         Declare as function.  Remove conditional macro definitions.
7558         (__default_rt_sa_restorer): Likewise.
7559         (__default_sa_restorer_v1): Remove declaration.
7560         (__default_sa_restorer_v2): Likewise.
7561         (__default_rt_sa_restorer_v1): Likewise.
7562         (__default_rt_sa_restorer_v2): Likewise.
7563         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7564         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7565         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7566
7567 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7568
7569         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7570         (libpthread-routines): Add sysdep.
7571         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7572         * sysdeps/unix/sysv/linux/sparc/Versions
7573         (libpthread: GLIBC_2.3.3): New version set.
7574         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7575         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7576         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7577         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7578         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7579         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7580         Moved ...
7581         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7582         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7583         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7584         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7585         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7586         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7587         * sysdeps/sparc/nptl/sem_init.c: ... here.
7588         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7589         * sysdeps/sparc/nptl/sem_post.c: ... here.
7590         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7591         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7592         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7593         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7594         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7595         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7596         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7597         (libpthread-routines): Add cpu_relax.
7598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7599         File removed.
7600         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7601         (librt: GLIBC_2.3.3): New version set.
7602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7603         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7604         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7605         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7608         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7610         Moved ...
7611         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7612         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7613         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7614         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7615         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7616         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7617         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7618         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7619         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7620         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7621         Moved ...
7622         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7623         Update #include.
7624         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7625         Moved ...
7626         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7627         Update #include.
7628         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7629         Moved ...
7630         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7631         Update #include.
7632         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7633         Moved ...
7634         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7635         Update #include.
7636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7637         Moved ...
7638         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7639         Update #include.
7640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7641         Moved ...
7642         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7643         Update #include.
7644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7645         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7647         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7649         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7651         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7653         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7655         Moved ...
7656         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7658         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7660         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7661
7662 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7663
7664         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7665         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7666         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7667         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7668         * nscd/nscd.c: Likewise.
7669         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7670         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7671         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7672         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7673
7674         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7675         <kernel-features.h>.
7676         (init_mq_netlink): Remove conditional have_sock_cloexec
7677         definitions.  Remove code conditional on have_sock_cloexec < 0.
7678         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7679         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7680         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7681         <kernel-features.h>.
7682         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7683         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7684
7685 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7686
7687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7688         Add tests for memset_chk and memset.
7689
7690         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7691         with AVX2_Usable.
7692
7693 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7694
7695         [BZ #16046]
7696         * elf/tst-dl-iter-static.c: New file.
7697         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7698
7699         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7700         error.
7701
7702 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7703
7704         * sysdeps/unix/sysv/linux/kernel-features.h
7705         (__ASSUME_F_GETOWN_EX): Remove macro.
7706         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7707         <kernel-features.h>.
7708         (miss_F_GETOWN_EX): Remove variable or macro.
7709         (do_fcntl): Do not check miss_F_GETOWN_EX.
7710         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7711
7712         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7713         Remove macro.
7714         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7715         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7716         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7717
7718         * sysdeps/unix/sysv/linux/kernel-features.h
7719         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7720         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7721         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7722         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7723
7724 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7725
7726         [BZ #17075]
7727         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7728         Fix calculation of the symbol's value.
7729         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7730         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7731         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7732         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7733         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7734         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7735         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7736         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7737         (modules-names): Add `tst-armtlsdescmod',
7738         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7739         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7740         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7741         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7742         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7743         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7744         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7745         ($(objpfx)tst-armtlsdescloc): New dependency.
7746         ($(objpfx)tst-armtlsdescextnow): Likewise.
7747         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7748         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7749         TLS scheme support.
7750         * sysdeps/arm/configure: Regenerate.
7751
7752 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7753
7754         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7755         (__atfct_seterrno_2): Likewise.
7756         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7757         <kernel-features.h>.
7758         (__ASSUME_ATFCTS): Do not undefine and redefine.
7759         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7760         (__have_atfcts): Remove conditional definition.
7761         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7762         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7763         unreachable if [__ASSUME_ATFCTS].
7764         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7765         not undefine and redefine.
7766         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7767         <kernel-features.h>.
7768         (faccessat) [__NR_faccessat]: Make code unconditional.
7769         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7770         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7771         <kernel-features.h>.
7772         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7773         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7774         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7775         <kernel-features.h>.
7776         (fchownat) [__NR_fchownat]: Make code unconditional.
7777         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7778         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7779         <kernel-features.h>.
7780         (futimesat) [__NR_futimesat]: Make code unconditional.
7781         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7782         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7783         <kernel-features.h>.
7784         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7785         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7786         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7787         <kernel-features.h>.
7788         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7789         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7790         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7791         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7792         <kernel-features.h>.
7793         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7794         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7795         * sysdeps/unix/sysv/linux/linkat.c: Do not include
7796         <kernel-features.h>.
7797         (linkat) [__NR_linkat]: Make code unconditional.
7798         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7799         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7800         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7801         <kernel-features.h>.
7802         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7803         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7804         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7805         <kernel-features.h>.
7806         (mkdirat) [__NR_mkdirat]: Make code unconditional.
7807         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7808         * sysdeps/unix/sysv/linux/openat.c: Do not include
7809         <kernel-features.h>.
7810         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7811         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7812         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7813         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7814         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7815         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7816         <kernel-features.h>.
7817         (readlinkat) [__NR_readlinkat]: Make code unconditional.
7818         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
7819         result of INLINE_SYSCALL directly, not via int variable.
7820         * sysdeps/unix/sysv/linux/renameat.c: Do not include
7821         <kernel-features.h>.
7822         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7823         (renameat) [__NR_renameat]: Make code unconditional.
7824         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7825         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7826         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7827         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7828         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7829         (__ASSUME_ATFCTS): Do not undefine and redefine.
7830         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7831         <kernel-features.h>.
7832         (symlinkat) [__NR_symlinkat]: Make code unconditional.
7833         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7834         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7835         <kernel-features.h>.
7836         (unlinkat) [__NR_unlinkat]: Make code unconditional.
7837         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7838         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7839         (__ASSUME_ATFCTS): Do not undefine and redefine.
7840         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7841         <kernel-features.h>.
7842         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7843         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7844         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7845         <kernel-features.h>.
7846         (__xmknodat) [__NR_mknodat]: Make code unconditional.
7847         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7848
7849 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7850
7851         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7852
7853 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
7854
7855         [BZ #17069]
7856         * posix/regcomp.c (parse_reg_exp): Deallocate partially
7857         constructed tree before returning error.
7858         * posix/bug-regexp36.c: Expand test case.
7859
7860 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7861
7862         [BZ #6803]
7863         * math/libm-test.inc (scalbln_test_date):
7864         Add errno expectations.
7865         * math/w_scalblnf.c: New File.
7866         Add wrapper which checks for setting errno to ERANGE.
7867         Add weak_alias for corresponding scalbln function.
7868         * math/w_scalbln.c: Likewise.
7869         * math/w_scalblnl.c: Likewise.
7870         * math/Makefile (libm-calls): Add w_scalbln.
7871         * sysdeps/ieee754/flt-32/s_scalblnf.c:
7872         Remove weak_alias for corresponding scalbln function.
7873         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7874         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7875         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7876         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7877         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7878         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7879         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7880         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7881         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7882         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7883         Remove long_double_symbol for scalblnl function in libm, libc.
7884         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7885         Add wrapper which checks for setting errno to ERANGE.
7886         Add long_double_symbol for scalblnl function in libm, libc.
7887         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7888         Remove long_double_symbol for scalblnl in libm.
7889         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7890         Add wrapper which checks for setting errno to ERANGE.
7891         Add long_double_symbol for scalblnl function in libm.
7892         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7893         Do not use wrapper because of own implementation.
7894
7895 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
7896
7897         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7898         3 bytes for __pad1 for x32.
7899         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7900
7901 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
7902             H.J. Lu  <hongjiu.lu@intel.com>
7903
7904         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7905         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7906         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7907         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7908         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7909
7910 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
7911
7912         [BZ #17069]
7913         * posix/regcomp.c (parse_expression): Deallocate partially
7914         constructed tree before returning error.
7915         * posix/Makefile.c (tests): Add bug-regex36.
7916         (generated): Add bug-regex36.mtrace.
7917         (tests-special): Add $(objpfx)bug-regex36-mem.out
7918         (bug-regex36-ENV): New variable.
7919         ($(objpfx)bug-regex36-mem.out): New rule.
7920         * posix/bug-regex36.c: New file.
7921
7922 2014-06-19  Will Newton  <will.newton@linaro.org>
7923
7924         * malloc/malloc.c (systrim): If extra is zero then return
7925         early.
7926
7927 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7928
7929         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7930
7931 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
7932
7933         * sysdeps/aarch64/strchr.S: New file.
7934
7935 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7936
7937         [BZ #17022]
7938         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7939         from arguments -2 or below.
7940         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7941         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7942
7943 2014-06-18  Andreas Schwab  <schwab@suse.de>
7944
7945         [BZ #17062]
7946         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7947         of a bracket expr not to run off the end of the string.
7948         * posix/Makefile (tests): Add tst-fnmatch3.
7949         * posix/tst-fnmatch3.c: New file.
7950
7951 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7952
7953         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7954         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7955         [$(cross-compiling) = no]: Likewise.
7956         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7957         [$(cross-compiling) = no]: Likewise.
7958
7959 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7960
7961         [BZ #17031]
7962         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7963         double, adjusted for any remainder from the high double.
7964         * math/libm-test.inc (nearbyint): Add tests.
7965         (rint): Likewise.
7966
7967 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7968
7969         * nptl/sysdeps/powerpc/Makefile: Moved ...
7970         * sysdeps/powerpc/nptl/Makefile: ... here.
7971         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7972         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7973         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7974         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7975         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7976         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7977         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7978         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7979         * nptl/sysdeps/powerpc/tls.h: Moved ...
7980         * sysdeps/powerpc/nptl/tls.h: ... here.
7981
7982 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
7983
7984         [BZ #16681]
7985         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7986         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7987         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7988         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7989         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7990         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7991         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7992         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7993         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7994
7995 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
7996
7997         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7998
7999 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8000
8001         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8002         defined operator.
8003
8004         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8005         $TIMEOUTFACTOR.
8006
8007 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8008
8009         [BZ #17058]
8010         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8011         non-executed part of the test.
8012
8013 2014-06-16  Andreas Schwab  <schwab@suse.de>
8014
8015         * string/bits/string2.h (strdup, strndup): Update feature guard.
8016
8017 2014-06-14  David S. Miller  <davem@davemloft.net>
8018
8019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8020
8021 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8022
8023         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8024         that was previously under [RESET_PID].
8025         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8026
8027         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8028         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8029         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8030         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8031         (__libc_vfork): New strong alias.
8032         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8033
8034 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8035
8036         * sysdeps/generic/elide.h: New file.
8037
8038 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8039
8040         * Makefile (installed-headers): Adjust path of pthread.h header.
8041
8042 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8043
8044         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8045         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8046         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8047         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8048
8049         * nptl/sysdeps/s390/Makefile: Moved ...
8050         * sysdeps/s390/nptl/Makefile: ... here.
8051         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8052         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8053         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8054         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8055         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8056         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8057         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8058         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8059         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8060         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8061         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8062         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8063         * nptl/sysdeps/s390/tls.h: Moved ...
8064         * sysdeps/s390/nptl/tls.h: ... here.
8065
8066         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8067         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8068
8069 2014-06-13  David S. Miller  <davem@davemloft.net>
8070
8071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8073         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8074         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8077         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8078         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8079         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8080         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8081         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8082         Remove RESET_PID cpp guards.
8083         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8084         Remove RESET_PID cpp guards.
8085         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8086
8087 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8088
8089         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8090         __sp to uintptr_t.
8091
8092 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8093
8094         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8095         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8096         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8097         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8098         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8099         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8100         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8101         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8102         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8103         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8104         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8105         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8106         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8107         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8108         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8109         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8110         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8111         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8112         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8113         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8114
8115         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8116         (pthread_rwlock_rdlock): Add elision.
8117         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8118         (pthread_rwlock_wrlock): Add elision.
8119         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8120         (pthread_rwlock_trywrlock): Add elision.
8121         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8122         (pthread_rwlock_tryrdlock): Add elision.
8123         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8124         (pthread_rwlock_tryrdlock): Add elision unlock.
8125         * nptl/sysdeps/pthread/pthread.h:
8126         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8127         (PTHREAD_RWLOCK_INITIALIZER,
8128         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8129         Handle new elision field.
8130         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8131         * sysdeps/arm/nptl/bits/pthreadtypes.h
8132         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8133         * sysdeps/sh/nptl/bits/pthreadtypes.h
8134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8135         * sysdeps/tile/nptl/bits/pthreadtypes.h
8136         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8137         * sysdeps/a/nptl/bits/pthreadtypes.h
8138         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8139         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8140         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8141         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8142         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8143         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8144         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8145         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8146         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8147         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8148         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8149         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8150         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8151         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8152         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8153         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8154         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8155         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8156         (elision_init): Set try_xbegin to zero when no RTM.
8157         * sysdeps/x86/nptl/bits/pthreadtypes.h
8158         (pthread_rwlock_t): Change __pad1 to __rwelision.
8159         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8160
8161 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8162
8163         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8164         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8165         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8166         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8167
8168 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8169
8170         [BZ #16996]
8171         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8172         that the cached result has been set before returning it.
8173
8174 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8175
8176         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8177         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8178         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8179         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8180         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8181         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8182
8183         * nptl/sysdeps/sparc/Makefile: Moved ...
8184         * sysdeps/sparc/nptl/Makefile: ... here.
8185         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8186         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8187         * nptl/sysdeps/sparc/tls.h: Moved ...
8188         * sysdeps/sparc/nptl/tls.h: ... here.
8189         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8190         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8191         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8192         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8193         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8194         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8195         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8196         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8197         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8198         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8199         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8200         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8201         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8202         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8203         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8204         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8205         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8206         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8207         Update #include.
8208         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8209         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8210         Update #include.
8211         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8212         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8213         Update #include.
8214         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8215         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8216         Update #include.
8217
8218         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8219
8220         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8221         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8222
8223         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8224         (struct list_links): Type removed.
8225         (struct thread_node, struct timer_node): Replace struct list_links
8226         with struct list_head.
8227         (list_unlink_ip): Likewise.
8228         * sysdeps/pthread/timer_routines.c
8229         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8230         (list_append, list_insbefore): Likewise.
8231         (list_init): Function removed.
8232         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8233         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8234         * sysdeps/pthread/Makefile: ... here, new file.
8235
8236         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8237         * sysdeps/nptl/Implies: ... here.
8238         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8239         * nptl/sysdeps/pthread/list.h: Moved ...
8240         * include/list.h: ... here.
8241         * nptl/sysdeps/pthread/createthread.c: Moved ...
8242         * nptl/createthread.c: ... here.
8243         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8244         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8245         * nptl/pt-longjmp.c: ... here.
8246         * nptl/sysdeps/pthread/Makefile: Moved ...
8247         * sysdeps/nptl/Makefile: ... here.
8248         * nptl/sysdeps/pthread/Subdirs: Moved ...
8249         * sysdeps/nptl/Subdirs: ... here.
8250         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8251         * sysdeps/nptl/aio_misc.h: ... here.
8252         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8253         * sysdeps/nptl/bits/libc-lock.h: ... here.
8254         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8255         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8256         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8257         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8258         * nptl/sysdeps/pthread/configure: Moved ...
8259         * sysdeps/nptl/configure: ... here.
8260         * nptl/sysdeps/pthread/configure.ac: Moved ...
8261         * sysdeps/nptl/configure.ac: ... here.
8262         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8263         * sysdeps/nptl/gai_misc.h: ... here.
8264         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8265         * sysdeps/nptl/librt-cancellation.c: ... here.
8266         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8267         * sysdeps/nptl/malloc-machine.h: ... here.
8268         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8269         * sysdeps/nptl/pthread-functions.h: ... here.
8270         * nptl/sysdeps/pthread/pthread.h: Moved ...
8271         * sysdeps/nptl/pthread.h: ... here.
8272         * nptl/sysdeps/pthread/setxid.h: Moved ...
8273         * sysdeps/nptl/setxid.h: ... here.
8274         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8275         * sysdeps/nptl/sigfillset.c: ... here.
8276         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8277         * sysdeps/nptl/tcb-offsets.h: ... here.
8278         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8279         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8280         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8281         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8282         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8283         * sysdeps/pthread/allocalim.h: ... here.
8284         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8285         * sysdeps/pthread/bits/sigthread.h: ... here.
8286         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8287         * sysdeps/pthread/flockfile.c: ... here.
8288         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8289         * sysdeps/pthread/ftrylockfile.c: ... here.
8290         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8291         * sysdeps/pthread/funlockfile.c: ... here.
8292         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8293         * sysdeps/pthread/posix-timer.h: ... here.
8294         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8295         * sysdeps/pthread/timer_create.c: ... here.
8296         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8297         * sysdeps/pthread/timer_delete.c: ... here.
8298         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8299         * sysdeps/pthread/timer_getoverr.c: ... here.
8300         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8301         * sysdeps/pthread/timer_gettime.c: ... here.
8302         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8303         * sysdeps/pthread/timer_routines.c: ... here.
8304         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8305         * sysdeps/pthread/timer_settime.c: ... here.
8306         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8307         * sysdeps/pthread/tst-timer.c: ... here.
8308         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8309         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8310
8311         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8312         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8313
8314         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8315         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8316         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8317         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8318         Update #include target.
8319         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8320         * sysdeps/i386/i686/nptl/Makefile: ... here.
8321         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8322         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8323         Update #include target.
8324         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8325         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8326         * nptl/sysdeps/i386/Makefile: Moved ...
8327         * sysdeps/i386/nptl/Makefile: ... here.
8328         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8329         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8330         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8331         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8332         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8333         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8334         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8335         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8336         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8337         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8338         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8339         * nptl/sysdeps/i386/tls.h: Moved ...
8340         * sysdeps/i386/nptl/tls.h: ... here.
8341
8342         * sysdeps/sh/Makefile [$(subdir) = csu]
8343         (gen-as-const-headers): Add tcb-offsets.sym.
8344         * nptl/sysdeps/sh/Makefile: File removed.
8345         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8346         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8347         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8348         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8349         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8350         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8351         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8352         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8353         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8354         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8355         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8356         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8357         * nptl/sysdeps/sh/tls.h: Moved ...
8358         * sysdeps/sh/nptl/tls.h: ... here.
8359         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8360         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8361         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8362         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8363         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8364         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8365         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8366         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8367         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8368         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8369         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8370         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8371         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8372         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8373         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8374         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8375         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8376         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8377         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8378         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8380         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8381         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8382         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8383         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8384         Moved ...
8385         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8386         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8387         Moved ...
8388         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8389         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8390         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8391         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8392         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8393         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8394         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8395         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8396         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8397         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8398         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8399         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8400         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8401         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8402         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8403         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8404         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8405         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8406         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8407
8408 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8409
8410         * posix/spawn_faction_addopen.c: Include string.h.
8411
8412 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8413
8414         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8415         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8416         * nptl/sysdeps/x86_64/Makefile: Moved ...
8417         * sysdeps/x86_64/nptl/Makefile: ... here.
8418         * nptl/sysdeps/x86_64/configure: Moved ...
8419         * sysdeps/x86_64/nptl/configure: ... here.
8420         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8421         * sysdeps/x86_64/nptl/configure.ac: ... here.
8422         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8423         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8424         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8425         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8426         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8427         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8428         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8429         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8430         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8431         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8432         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8433         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8434         * nptl/sysdeps/x86_64/tls.h: Moved ...
8435         * sysdeps/x86_64/nptl/tls.h: ... here.
8436         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8437         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8438         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8439         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8440
8441         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8442
8443 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8444
8445         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8446
8447 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8448
8449         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8450         type.
8451         [POSIX] (off_t): Likewise.
8452         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8453         [POSIX] (S_ISBLK): Require macro.
8454         [POSIX] (S_ISCHR): Likewise.
8455         [POSIX] (S_ISDIR): Likewise.
8456         [POSIX] (S_ISFIFO): Likewise.
8457         [POSIX] (S_ISREG): Likewise.
8458         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8459         optional-macro.
8460         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8461         type.
8462         [POSIX] (time_t): Likewise.
8463         [POSIX] (timer_t): Likewise.
8464
8465 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8466
8467         [BZ #17048]
8468         * posix/spawn_int.h (struct __spawn_action): Make the path string
8469         non-const to support deallocation.
8470         * posix/spawn_faction_addopen.c
8471         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8472         * posix/spawn_faction_destroy.c
8473         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8474         path in all spawn_do_open actions.
8475         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8476         posix_spawn_file_actions_addopen.
8477
8478 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8479
8480         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8481         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8482         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8483         conditional code always true.
8484         (__libc_vfork): New alias.
8485
8486 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8487
8488         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8489         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8490
8491         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8492
8493         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8494         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8495
8496         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8497         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8498
8499         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8500         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8501
8502 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8503
8504         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8505         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8506         multiarch strcmp for PPC64.
8507         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8508         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8510         multiarch optimizations.
8511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8512         (__libc_ifunc_impl_list): Likewise.
8513
8514 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8515
8516         * benchtests/scripts/validate_benchout.py: New script.
8517         * benchtests/Makefile (bench-func): Call it.
8518         * benchtests/scripts/benchout.schema.json: New file.
8519
8520 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8521
8522         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8523         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8524         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8525         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8526         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8527         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8528         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8529         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8530         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8531         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8532         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8533         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8534         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8535         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8536         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8537         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8539         Moved ...
8540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8541         ... here.
8542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8543         Moved ...
8544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8545         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8546         Moved ...
8547         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8548         ... here.
8549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8550         Moved ...
8551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8552         ... here.
8553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8554         Moved ...
8555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8557         Moved ...
8558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8559         ... here.
8560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8561         Moved ...
8562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8563         ... here.
8564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8565         Moved ...
8566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8567         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8568         Moved ...
8569         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8570         ... here.
8571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8572         Moved ...
8573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8574         ... here.
8575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8576         Moved ...
8577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8578         ... here.
8579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8580         Moved ...
8581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8583         Moved ...
8584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8585         ... here.
8586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8587         Moved ...
8588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8589         ... here.
8590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8591         Moved ...
8592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8593         ... here.
8594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8595         Moved ...
8596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8598         Moved ...
8599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8600         ... here.
8601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8602         Moved ...
8603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8604         ... here.
8605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8606         Moved ...
8607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8609         Moved ...
8610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8611         ... here.
8612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8613         Moved ...
8614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8616         Moved ...
8617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8619         Moved ...
8620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8621         ... here.
8622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8623         Moved ...
8624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8625         ... here.
8626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8627         Moved ...
8628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8629         ... here.
8630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8631         Moved ...
8632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8634         Moved ...
8635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8636         ... here.
8637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8638         Moved ...
8639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8640         ... here.
8641         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8642         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8643         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8644         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8645         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8646         Moved ...
8647         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8648         ... here.
8649         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8650         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8651         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8652         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8653         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8654         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8655         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8656         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8657         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8658         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8659         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8660         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8661         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8662         Moved ...
8663         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8664         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8665         Moved ...
8666         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8667         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8668         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8669         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8670         Moved ...
8671         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8672         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8673         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8674         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8675         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8676         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8677         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8678
8679 2014-06-10  Wilco  <wdijkstr@arm.com>
8680
8681         * math/test-fenv-return.c: New file.
8682         * math/Makefile: Add new test test-fenv-return.
8683
8684 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8685
8686         [BZ #17042]
8687         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8688         when x - 1 is zero.
8689         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8690         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8691         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8692         0.0L for an argument of 1.0L.
8693         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8694         Likewise.
8695         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8696         value when x - 1 is zero.
8697         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8698         * sysdeps/i386/fpu/libm-test-ulps: Update.
8699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8700
8701 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8702
8703         [BZ #15119]
8704         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8705
8706 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8707
8708         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8709         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8710
8711 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8712
8713         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8714         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8715
8716         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8717         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8718
8719         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8720         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8721
8722         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8723         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8724
8725         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8726         if not already defined.
8727         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8728         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8729         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8730         (TLS_INIT_TP): Use it.
8731         (TLS_DEFINE_INIT_TP): New macro.
8732         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8733
8734 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8735
8736         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8737         constant.
8738         [POSIX] (IXANY): Likewise.
8739         [POSIX] (OLCUC): Likewise.
8740         [POSIX || POSIX2008] (CBAUD): Do not allow.
8741         [POSIX || POSIX2008] (DEFECHO): Likewise.
8742         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8743         [POSIX || POSIX2008] (ECHOKE): Likewise.
8744         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8745         [POSIX || POSIX2008] (EXTA): Likewise.
8746         [POSIX || POSIX2008] (EXTB): Likewise.
8747         [POSIX || POSIX2008] (FLUSHO): Likewise.
8748         [POSIX || POSIX2008] (LOBLK): Likewise.
8749         [POSIX || POSIX2008] (PENDIN): Likewise.
8750         [POSIX || POSIX2008] (SWTCH): Likewise.
8751         [POSIX || POSIX2008] (VDISCARD): Likewise.
8752         [POSIX || POSIX2008] (VDSUSP): Likewise.
8753         [POSIX || POSIX2008] (VLNEXT): Likewise.
8754         [POSIX || POSIX2008] (VREPRINT): Likewise.
8755         [POSIX || POSIX2008] (VSTATUS): Likewise.
8756         [POSIX || POSIX2008] (VWERASE): Likewise.
8757         (B*): Change to B[0123456789]*.
8758         * conform/data/time.h-data [POSIX || UNIX98]
8759         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8760         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8761         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8762         [POSIX] (tm_*): Do not allow.
8763
8764 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8765
8766         * Makefile (install): Don't set LANGUAGE.
8767         * Makefile.in (install): Likewise.
8768         * assert/Makefile (test-assert-ENV): Remove variable.
8769         (test-assert-perr-ENV): Likewise.
8770         * elf/Makefile (neededtest4-ENV): Likewise.
8771         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8772         [$(cross-compiling) = no]: Don't set LANGUAGE.
8773         * io/ftwtest-sh (LANG): Remove variable.
8774         * libio/Makefile (tst-widetext-ENV): Likewise.
8775         * manual/install.texi (Running make install): Don't refer to
8776         environment settings for make install.
8777         * INSTALL: Regenerated.
8778         * nptl/tst-tls6.sh: Don't set LANG.
8779         * posix/globtest.sh (LANG): Remove variable.
8780         * string/Makefile (tester-ENV): Likewise.
8781         (inl-tester-ENV): Likewise.
8782         (noinl-tester-ENV): Likewise.
8783         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8784         [$(cross-compiling) = no]: Don't set LANGUAGE.
8785         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8786         without explicit environment settings.
8787
8788 2014-06-06  Roland McGrath  <roland@hack.frob.com>
8789
8790         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8791         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8792         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8793         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8794
8795 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
8796
8797         * crypt/crypt-private.h [DOS]: Add some includes taken from the
8798         other files in the crypt directory.
8799         * crypt/crypt.c: Remove duplicate includes.
8800         * crypt/crypt-entry.c: Likewise.
8801         * crypt/crypt_util.c: Likewise.
8802
8803 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
8804
8805         * Makeconfig (run-program-env): New variable.
8806         (run-program-prefix-before-env): Likewise.
8807         (run-program-prefix-after-env): Likewise.
8808         (run-program-prefix): Define in terms of new variables.
8809         (built-program-cmd-before-env): New variable.
8810         (built-program-cmd-after-env): Likewise.
8811         (built-program-cmd): Define in terms of new variables.
8812         (test-program-prefix-before-env): New variable.
8813         (test-program-prefix-after-env): Likewise.
8814         (test-program-prefix): Define in terms of new variables.
8815         (test-program-cmd-before-env): New variable.
8816         (test-program-cmd-after-env): Likewise.
8817         (test-program-cmd): Define in terms of new variables.
8818         * Rules (make-test-out): Use $(run-program-env).
8819         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8820         (help): Do not mention environment variables.  Mention
8821         --timeoutfactor option.
8822         (timeoutfactor): New variable.
8823         (blacklist_exports): Remove function.
8824         (exports): Remove variable.
8825         (command): Do not include ${exports}.
8826         * manual/install.texi (Configuring and compiling): Do not mention
8827         test wrappers preserving environment variables.  Mention that last
8828         assignment to a variable must take precedence.
8829         * INSTALL: Regenerated.
8830         * benchtests/Makefile (run-bench): Use $(run-program-env).
8831         * catgets/Makefile ($(objpfx)test1.cat): Use
8832         $(built-program-cmd-before-env), $(run-program-env) and
8833         $(built-program-cmd-after-env).
8834         ($(objpfx)test2.cat): Do not specify environment variables
8835         explicitly.
8836         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8837         $(run-program-env) and $(built-program-cmd-after-env).
8838         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8839         $(run-program-env) and $(test-program-cmd-after-env).
8840         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8841         explicitly.
8842         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8843         run_program_env and test_program_cmd_after_env arguments.
8844         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8845         * elf/tst-pathopt.sh: Use run_program_env argument.
8846         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8847         $(test-wrapper-env) and $(run-program-env).
8848         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8849         run_program_env arguments.
8850         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8851         * intl/Makefile ($(objpfx)tst-gettext.out): Use
8852         $(test-program-prefix-before-env), $(run-program-env) and
8853         $(test-program-prefix-after-env).
8854         ($(objpfx)tst-gettext2.out): Likewise.
8855         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8856         run_program_env and test_program_prefix_after_env arguments.
8857         * intl/tst-gettext2.sh: Likewise.
8858         * intl/tst-gettext4.sh: Do not set environment variables
8859         explicitly.
8860         * intl/tst-gettext6.sh: Likewise.
8861         * intl/tst-translit.sh: Likewise.
8862         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8863         $(test-program-prefix-before-env), $(run-program-env) and
8864         $(test-program-prefix-after-env).
8865         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8866         run_program_env and test_program_prefix_after_env arguments.
8867         * math/Makefile (run-regen-ulps): Use $(run-program-env).
8868         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8869         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
8870         explicitly with each use of ${test_wrapper_env}.
8871         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8872         $(test-program-prefix-before-env), $(run-program-env) and
8873         $(test-program-prefix-after-env).
8874         * posix/tst-getconf.sh: Do not set environment variables
8875         explicitly.
8876         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8877         run_program_env and test_program_prefix_after_env arguments.
8878         * stdio-common/tst-printf.sh: Do not set environment variables
8879         explicitly.
8880         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8881         $(test-program-prefix-before-env), $(run-program-env) and
8882         $(test-program-prefix-after-env).
8883         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8884         run_program_env and test_program_prefix_after_env arguments.
8885         Split $test calls into $test_pre and $test.
8886         * timezone/Makefile (build-testdata): Use
8887         $(built-program-cmd-before-env), $(run-program-env) and
8888         $(built-program-cmd-after-env).
8889
8890 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8891
8892         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8893         strlen for non SHARED builds.
8894
8895 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8896
8897         * nptl/allocatestack.c (check_list): Inlined function...
8898         (__reclaim_stacks): ... here.
8899
8900 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8901
8902         [BZ #15698]
8903         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8904         memory overrun.
8905
8906 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
8907
8908         * Rules (make-test-out): Include
8909         LOCPATH=$(common-objpfx)localedata in default environment.
8910         * debug/Makefile (tst-chk1-ENV): Remove variable.
8911         (tst-chk2-ENV): Likewise.
8912         (tst-chk3-ENV): Likewise.
8913         (tst-chk4-ENV): Likewise.
8914         (tst-chk5-ENV): Likewise.
8915         (tst-chk6-ENV): Likewise.
8916         (tst-lfschk1-ENV): Likewise.
8917         (tst-lfschk2-ENV): Likewise.
8918         (tst-lfschk3-ENV): Likewise.
8919         (tst-lfschk4-ENV): Likewise.
8920         (tst-lfschk5-ENV): Likewise.
8921         (tst-lfschk6-ENV): Likewise.
8922         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8923         (tst-iconv7-ENV): Likewise.
8924         * intl/Makefile (LOCPATH-ENV): Likewise.
8925         (tst-codeset-ENV): Likewise.
8926         (tst-gettext3-ENV): Likewise.
8927         (tst-gettext5-ENV): Likewise.
8928         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8929         (tst-fopenloc-ENV): Likewise.
8930         (tst-fgetws-ENV): Remove variable.
8931         (tst-ungetwc1-ENV): Likewise.
8932         (tst-ungetwc2-ENV): Likewise.
8933         (bug-ungetwc2-ENV): Likewise.
8934         (tst-swscanf-ENV): Likewise.
8935         (bug-ftell-ENV): Likewise.
8936         (tst-fgetwc-ENV): Likewise.
8937         (tst-fseek-ENV): Likewise.
8938         (tst-ftell-partial-wide-ENV): Likewise.
8939         (tst-ftell-active-handler-ENV): Likewise.
8940         (tst-ftell-append-ENV): Likewise.
8941         * posix/Makefile (tst-fnmatch-ENV): Likewise.
8942         (tst-regexloc-ENV): Likewise.
8943         (bug-regex1-ENV): Likewise.
8944         (tst-regex-ENV): Likewise.
8945         (tst-regex2-ENV): Likewise.
8946         (bug-regex5-ENV): Likewise.
8947         (bug-regex6-ENV): Likewise.
8948         (bug-regex17-ENV): Likewise.
8949         (bug-regex18-ENV): Likewise.
8950         (bug-regex19-ENV): Likewise.
8951         (bug-regex20-ENV): Likewise.
8952         (bug-regex22-ENV): Likewise.
8953         (bug-regex23-ENV): Likewise.
8954         (bug-regex25-ENV): Likewise.
8955         (bug-regex26-ENV): Likewise.
8956         (bug-regex30-ENV): Likewise.
8957         (bug-regex32-ENV): Likewise.
8958         (bug-regex33-ENV): Likewise.
8959         (bug-regex34-ENV): Likewise.
8960         (bug-regex35-ENV): Likewise.
8961         (tst-rxspencer-ENV): Likewise.
8962         (tst-rxspencer-no-utf8-ENV): Likewise.
8963         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8964         (tst-sscanf-ENV): Likewise.
8965         (tst-swprintf-ENV): Likewise.
8966         (tst-swscanf-ENV): Likewise.
8967         (test-vfprintf-ENV): Likewise.
8968         (scanf13-ENV): Likewise.
8969         (bug14-ENV): Likewise.
8970         (tst-grouping-ENV): Likewise.
8971         * stdlib/Makefile (tst-strtod-ENV): Likewise.
8972         (tst-strtod3-ENV): Likewise.
8973         (tst-strtod4-ENV): Likewise.
8974         (tst-strtod5-ENV): Likewise.
8975         (testmb2-ENV): Likewise./
8976         * string/Makefile (tst-strxfrm-ENV): Likewise.
8977         (tst-strxfrm2-ENV): Likewise.
8978         (bug-strcoll1-ENV): Likewise.
8979         (test-strcasecmp-ENV): Likewise.
8980         (test-strncasecmp-ENV): Likewise.
8981         * time/Makefile (tst-strptime-ENV): Likewise.
8982         (tst-ftime_l-ENV): Likewise.
8983         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8984         (tst-mbrtowc-ENV): Likewise.
8985         (tst-wcrtomb-ENV): Likewise.
8986         (tst-mbrtowc2-ENV): Likewise.
8987         (tst-c16c32-1-ENV): Likewise.
8988         (tst-mbsnrtowcs-ENV): Likewise.
8989
8990 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8991
8992         * manual/resource.texi (How to get information about the memory
8993         subsystem?): Fix typo.
8994         Reported by Peon de la Parra Ivan <peon@keba.com>
8995
8996 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
8997
8998         [BZ #16882]
8999         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9000         (pthread_spin_lock): Branch out of spin loop to proper location.
9001         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9002         (pthread_spin_lock): Likewise.
9003
9004         * nptl/tst-spin4.c: New test.
9005         * nptl/Makefile (tests): Add tst-spin4.
9006
9007 2014-06-03  Andreas Schwab  <schwab@suse.de>
9008
9009         [BZ #15946]
9010         * resolv/res_send.c (send_dg): Reload file descriptor after
9011         calling reopen.
9012
9013 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9014
9015         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9016
9017 2014-06-03  Richard Henderson  <rth@redhat.com>
9018
9019         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9020         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9021         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9022         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9023         in the SAVE_PID block.
9024         (__libc_vfork): New alias.
9025         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9026
9027         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9028         child in registers, not on the stack.  Remove RESET_PID conditionals.
9029         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9030
9031 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9032
9033         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9034
9035 2014-06-03  Wilco  <wdijkstr@arm.com>
9036
9037         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9038         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9039         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9040         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9041         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9042         Likewise.
9043
9044 2014-06-03  Wilco  <wdijkstr@arm.com>
9045
9046         * sysdeps/aarch64/fpu/math_private.h
9047         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9048         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9049         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9050         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9051         Fix declarations.
9052
9053 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9054
9055         * crypt/crypt-private.h: Include ufc-crypt.h.
9056         (__b64_from_24bit): Declare extern.
9057         * crypt/crypt_util.c(__b64_from_24bit): New function.
9058         (b64t): New static const variable.
9059         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9060         (b64t): Remove variable.
9061         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9062         * crypt/sha256-crypt.c: Include crypt-private.h.
9063         (b64t): Remove variable.
9064         (__sha256_crypt_r): Remove b64_from_24bit and replace
9065         with __b64_from_24bit.
9066         * crypt/sha512-crypt.c: Likewise.
9067
9068 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9069
9070         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9071         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9072         Label the code __libc_vfork rather than __vfork.
9073         [!NOT_IN_libc] (vfork): Define as weak alias.
9074         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9075         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9076         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9077
9078 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9079
9080         * malloc/malloc.c (malloc_info): Fix format specifier for
9081         n_mmaps.
9082
9083 2014-06-02  Wilco  <wdijkstr@arm.com>
9084
9085         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9086         FPCR write.
9087
9088 2014-06-02  Wilco  <wdijkstr@arm.com>
9089
9090         [BZ #17009]
9091         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9092         Rewrite to reduce FPCR/FPSR accesses.
9093
9094 2014-06-01  David S. Miller  <davem@davemloft.net>
9095
9096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9097
9098 2014-05-31  David S. Miller  <davem@davemloft.net>
9099
9100         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9101         to occur in round to nearest mode when |x| >= 2.0
9102
9103 2014-05-30  Richard Henderson  <rth@twiddle.net>
9104
9105         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9106         (PSEUDO_RET_NOERRNO): Remove.
9107         (ret): Don't redefine.
9108         (ret_NOERRNO): Define in terms of ret.
9109         (ret_ERRVAL): Likewise.
9110
9111         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9112         use of PSEUDO_RET; perform the error check directly.
9113
9114 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9115
9116         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9117         with __int128_t.
9118
9119 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9120
9121         * malloc/malloc (malloc_info): Fix formatting.
9122
9123 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9124             Roland McGrath  <roland@hack.frob.com>
9125
9126         * malloc/malloc (malloc_info): Also print mmapped statistics.
9127
9128 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9129
9130         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9131         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9132
9133 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9134
9135         * malloc/malloc.c (malloc_info): Inline mi_arena.
9136
9137 2014-05-29  Richard Henderson  <rth@twiddle.net>
9138
9139         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9140         Remove comma before expanding ASM_ARGS_##nr.
9141         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9142         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9143         of ASM_ARGS_##nr.
9144         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9145         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9146         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9147         (ASM_ARGS_1): Add leading comma.
9148
9149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9150         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9151         to __errno_location.
9152         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9153         Remove the expected plt for __errno_location.
9154
9155         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9156         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9157         call to __read_tp.
9158
9159         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9160         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9161         it and break it down.
9162         (DOCARGS_0, DOCARGS_1): Do nothing.
9163         (DOCARGS_2): Update to store into the new stack frame.
9164         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9165         (UNDOCARGS_1): Update to restore from the new stack frame.
9166         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9167         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9168
9169         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9170         (SINGLE_THREAD_P): New parameter for result regno.
9171         (PSEUDO): Update to match; use cbz instead of beq.
9172
9173         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9174         Use ENTRY to define the _nocancel entry point.  Share the syscall
9175         and syscall error check paths with the cancel path.
9176         (PSEUDO_END): New.
9177
9178         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9179         whitespace; tabs before and after asm mnemonics.
9180
9181 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9182
9183         [BZ #15132]
9184         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9185         Call fstat64 or stat64 internally, depending on arguments passed.
9186         Replace stat buffer argument with file descriptor argument.
9187         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9188         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9189         Pass fd to __internal_statvfs instead of calling fstat64.
9190         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9191         Pass fd to __internal_statvfs64 instead of calling fstat64.
9192         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9193         Pass -1 to __internal_statvfs instead of calling stat64.
9194         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9195         Pass -1 to __internal_statvfs64 instead of calling stat64.
9196
9197 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9198
9199         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9200         that was previously under [RESET_PID].
9201         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9202
9203         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9204         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9205
9206 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9207
9208         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9209
9210         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9211         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9212
9213 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9214
9215         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9216
9217 2014-05-27  Andreas Schwab  <schwab@suse.de>
9218
9219         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9220         TLS_INIT_TP macro.
9221         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9222         * elf/rtld.c (init_tls, dl_main): Likewise.
9223         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9224         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9225         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9226         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9227         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9228         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9229         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9230         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9231         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9232         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9233         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9234         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9235         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9236         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9237         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9238         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9239         * sysdeps/generic/tls.h: Update description.
9240
9241 2014-05-27  Will Newton  <will.newton@linaro.org>
9242
9243         [BZ #16990]
9244         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9245         and restore r2 rather than just restoring.
9246
9247 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9248
9249         [BZ #16724]
9250         * libio/tst-ftell-append.c: New test case.
9251         * libio/Makefile (tests): Add test case.
9252         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9253         append mode.
9254         * libio/wfileops.c (do_ftell_wide): Likewise.
9255
9256 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9257
9258         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9259
9260         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9261         ...
9262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9264         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9265         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9266         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9267         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9268         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9269         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9270         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9271         Moved ...
9272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9274         Moved ...
9275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9276         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9277         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9278         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9279         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9280         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9281         ...
9282         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9283         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9284         Moved ...
9285         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9286         here.
9287         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9288         ...
9289         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9290         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9291         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9292
9293         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9294         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9295         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9296         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9297
9298         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9299         merge into ...
9300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9302         ...
9303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9305         ...
9306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9308         Moved ...
9309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9310         here.
9311         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9312         Moved ...
9313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9315         Moved ...
9316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9317
9318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9319         conditional [RESET_PID].
9320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9321         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9322         removed.
9323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9324         removed.
9325
9326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9327         <tcb-offsets.h>.
9328         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9329         (__libc_vfork): New strong alias.
9330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9331         removed.
9332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9333         Removed.
9334
9335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9336         <tcb-offsets.h>.
9337         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9338         (__libc_vfork): New strong alias.
9339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9340         removed.
9341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9342         removed.
9343
9344 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9345
9346         * malloc/malloc.c (mi_arena): New function.
9347         (malloc_info): Remove nested function mi_arena. Call non-nosted
9348         function mi_arena.
9349
9350 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9351
9352         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9353         by insrwi.
9354         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9355         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9356         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9357         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9358         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9359         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9360         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9361
9362 2014-05-26  Andreas Schwab  <schwab@suse.de>
9363
9364         [BZ #16984]
9365         * locale/programs/repertoire.c (repertoire_read): Add slash
9366         between I18NPATH element and file name.
9367         * locale/programs/locfile.c (locfile_read): Likewise.
9368
9369 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9370
9371         * nptl/pthread_mutexattr_settype.c
9372         (__pthread_mutexattr_settype):
9373         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9374
9375 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9376
9377         * nptl/tst-mutex5 (do_test):
9378         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9379
9380 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9381
9382         * benchtests/README: Document 'init' directive.
9383         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9384         BENCH_INIT.
9385         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9386         (parse_file): Recognize 'init' directive.
9387
9388 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9389
9390         [BZ #16796]
9391         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9392         alignment of struct pthread.
9393
9394 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9395
9396         [BZ #16878]
9397         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9398         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9399         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9400         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9401
9402 2014-05-25  Richard Henderson  <rth@twiddle.net>
9403
9404         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9405         (SINGLE_THREAD_P_PIC): Remove.
9406         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9407         (SINGLE_THREAD_P_PIC): Remove.
9408
9409         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9410         branch to syscall error ...
9411         (PSEUDO): ... here.
9412         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9413         from __local_syscall_error to .Lsyscall_error.
9414         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9415         (SYSCALL_ERROR): Update label name.
9416
9417         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9418         Do not use DOARGS/UNDOARGS.
9419         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9420         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9421         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9422         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9423         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9424
9425         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9426         block comment.
9427
9428         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9429         define if !NOT_IN_libc.
9430         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9431         define with non-default symbol versions.
9432
9433 2014-05-23  Richard Henderson  <rth@twiddle.net>
9434
9435         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9436         (vfork, __vfork): Define via compat_symbol.
9437
9438         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9439         [!HAVE_IFUNC] (vfork_compat): Remove.
9440         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9441
9442 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9443
9444         [BZ #16978]
9445         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9446         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9447         variable.
9448
9449 2014-05-23  Richard Henderson  <rth@twiddle.net>
9450
9451         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9452         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9453         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9454         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9455
9456         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9457         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9458         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9459         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9460         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9461         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9462         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9463         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9464         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9465         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9466         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9467         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9468         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9469         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9470         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9471         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9472         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9473         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9474         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9475         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9476         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9477         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9478         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9479         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9480         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9481         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9482         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9483         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9484         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9485         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9486         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9487         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9488         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9489         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9490         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9491         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9492         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9493         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9494         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9495         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9496         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9497         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9498         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9499         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9500         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9501         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9502         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9503         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9504         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9505         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9506         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9507         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9508         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9509         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9510         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9511         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9512
9513         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9514         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9515         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9516         before exiting on error.
9517         (__libc_vfork): New strong alias.
9518         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9519         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9520
9521         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9522         that was previously under [RESET_PID].
9523         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9524
9525         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9526
9527 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9528
9529         [BZ #16977]
9530         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9531         value when x - 1 is zero.
9532         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9533         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9534         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9535         0.0L for an argument of 1.0L.
9536         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9537         Likewise.
9538         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9539         value when x - 1 is zero.
9540         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9541         * sysdeps/i386/fpu/libm-test-ulps: Update.
9542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9543
9544 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9545
9546         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9547         alphasort and versionsort.
9548
9549 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9550
9551         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9552         macro.
9553         [copysignf]: Likewise.
9554
9555 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9556
9557         * crypt/md5-crypt.c: Fix formatting.
9558
9559 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9560
9561         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9562         (b64_from_24bit): New function.
9563
9564 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9565
9566         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9567         libc_hidden_builtin_def to ifunc.
9568         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9569         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9570
9571 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9572
9573         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9574         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9575
9576 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9577
9578         * nscd/Depend (linuxthreads): Remove.
9579         (nptl): Add.
9580         * resolv/Depend (linuxthreads): Remove.
9581         * rt/Depend (linuxthreads): Remove.
9582
9583         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9584         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9585         $(common-objpfx)elf/.
9586         (link-libc-before-gnulib): Likewise.
9587         (elfobjdir): Remove variable.
9588         * Makefile (install): Use $(elf-objpfx) instead of
9589         $(common-objpfx)elf/.
9590         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9591         $(elfobjdir)/.
9592         (link-libc-deps): Likewise.
9593         ($(common-objpfx)libc.so): Likewise.
9594         ($(common-objpfx)linkobj/libc.so): Likewise.
9595         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9596         instead of $(common-objpfx)elf/.
9597         (symbolic-link-list): Likewise.
9598         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9599         [$(cross-compiling) = no]: Likewise.
9600         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9601         $(elfobjdir)/.
9602         (static-gnulib-arch): Likewise.
9603         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9604         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9605         $(common-objpfx)elf/.
9606
9607 2014-05-21  Richard Henderson  <rth@redhat.com>
9608
9609         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9610         (SINGLE_THREAD_P): Use the correct width load.  Fold
9611         into the ldr offset.
9612
9613         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9614         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9615
9616 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9617
9618         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9619         (libgcc_s_resume): Use __attribute_used__.
9620         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9621         Likewise.
9622
9623 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9624
9625         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9626         optimization when used with float constants.
9627
9628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9629
9630 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9631
9632         [BZ #16915]
9633         * locale/nl_langinfo_l.c: Make direct reference to every
9634         _nl_current_CATEGORY symbol.
9635         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9636         (tests-static): Add tst-langinfo-static.
9637         (tests-special): Add tst-langinfo-static.out.
9638         ($(objpfx)tst-langinfo.out): Redirect output.
9639         ($(objpfx)tst-langinfo-static.out): New.
9640         * localedata/tst-langinfo.sh: Send output to stdout.
9641         * localedata/tst-langinfo-static.c: New file.
9642
9643         [BZ #16965]
9644         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9645         when the shift amount is modulo the limb size.
9646
9647 2014-05-20  Richard Henderson  <rth@redhat.com>
9648
9649         [BZ #16967]
9650         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9651         Change type of sa_flags from unsigned int to int.
9652
9653         [BZ #16966]
9654         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9655
9656         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9657
9658 2014-05-20  Will Newton  <will.newton@linaro.org>
9659
9660         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9661         Test the return value of the system call in the nocancel case.
9662
9663 2014-05-20  Will Newton  <will.newton@linaro.org>
9664             Yvan Roux  <yvan.roux@linaro.org>
9665
9666         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9667         #include of asm/ptrace.h.
9668         (PTRACE_GET_THREAD_AREA): Remove #undef.
9669         (PTRACE_GETHBPREGS): Likewise.
9670         (PTRACE_SETHBPREGS): Likewise.
9671         (struct user_regs_struct): New structure.
9672         (struct user_fpsimd_struct): New structure.
9673         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9674         #include of asm/ptrace.h and second #include of sys/user.h.
9675         (PTRACE_GET_THREAD_AREA): Remove #undef.
9676         (PTRACE_GETHBPREGS): Likewise.
9677         (PTRACE_SETHBPREGS): Likewise.
9678         (ELF_NGREG): Use new struct user_regs_struct.
9679         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9680
9681 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9682
9683         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9684         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9685
9686 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9687
9688         [BZ #16958]
9689         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9690         membar to avoid block loads/stores to overlap previous stores.
9691
9692 2014-05-17  Richard Henderson  <rth@redhat.com>
9693
9694         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9695         Create the __##syscall_name##_nocancel entry point.
9696         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9697         Remove; let the sysdep-cancel.h code create it.
9698
9699 2014-05-17  David S. Miller  <davem@davemloft.net>
9700
9701         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9702         Protect with __USE_GNU.
9703         (TIOCSET_TEMPT): Likewise.
9704         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9705         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9706         these are already provided in bits/ioctl-types.h
9707
9708 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9709
9710         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9711         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9712
9713         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9714         Use wait4 regardless of [__NR_waitpid].
9715
9716 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9717
9718         PR libgcc/60166
9719         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9720         (_FP_NANSIGN_Q): Set the quiet bit.
9721
9722 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9723
9724         * benchtests/Makefile
9725         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9726         not $(common-objpfx)math/libm.so.
9727         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9728         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9729         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9730         $(common-objpfx)dlfcn/libdl.so.
9731         ($(objpfx)tst-audit8): Depend on $(libm), not
9732         $(common-objpfx)math/libm.so.
9733         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9734         not $(common-objpfx)dlfcn/libdl.so.
9735         * math/Makefile
9736         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9737         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9738         [$(build-shared) = yes].
9739         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9740         $(common-objpfx)nptl/libpthread.so.
9741         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9742         $(common-objpfx)math/libm.so$(libm.so-version) or
9743         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9744         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9745         $(common-objpfx)dlfcn/libdl.so.
9746         * setjmp/Makefile (link-libm): Remove variable.
9747         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9748         * stdio-common/Makefile (link-libm): Remove variable.
9749         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9750         * stdlib/Makefile (link-libm): Remove variable.
9751         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9752         ($(objpfx)tst-strtod-round): Likewise.
9753         ($(objpfx)tst-tininess): Likewise.
9754         ($(objpfx)tst-strtod-underflow): Likewise.
9755         ($(objpfx)tst-strtod6): Likewise.
9756         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9757         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9758         $(common-objpfx)dlfcn/libdl.so.
9759
9760 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9761
9762         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9763         BSD terminal modes definitions.
9764
9765 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9766
9767         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9768         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9769
9770         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9771         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9772         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9773         Don't do #include_next.
9774         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9775         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9776         Don't do #include_next.
9777         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9778         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9779         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9780         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9781
9782 2014-05-16  Allan McRae  <allan@archlinux.org>
9783
9784         * po/sv.po: Update Swedish translation from translation project.
9785
9786         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9787         in sed expression.
9788
9789 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
9790
9791         [BZ #16917]
9792         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9793         errno if the TIOCGPTN ioctl fails with an error different than
9794         EINVAL.
9795         * login/tst-ptsname.c: New file.
9796         * login/Makefile (tests): Add tst-ptsname.
9797
9798         [BZ #16943]
9799         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9800         and prlimit64.
9801
9802 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9803
9804         [BZ #16849]
9805         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9806         herrno to return EAI_AGAIN.
9807
9808 2014-05-14  Roland McGrath  <roland@hack.frob.com>
9809
9810         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9811         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9812         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9813         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9814         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9815         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9816         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9817         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9818         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9819         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9823         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9824         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9825         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9826         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9827         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9828         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9829         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9830         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9831         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9832         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9833         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9834         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9835         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9836         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9837         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9838         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9839         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9841         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9843         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9845         Moved ...
9846         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9848         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9850         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9851         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9852         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9854         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9856         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9858         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9859         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9860         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9861         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9862         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9863         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9864         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9865         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9866         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9868         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9870         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9872         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9874         Moved ...
9875         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9876         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9877         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9879         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9880         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9881         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9882         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9883         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9884         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9885         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9886         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9887         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9888         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9889         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9891         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9893         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9894         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9895         Moved ...
9896         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9897         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9898         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9899
9900         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9901         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9902         (libpthread-sysdep_routines): Add elision-related stuff here instead.
9903         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9904         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9905         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9906         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9907         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9908         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9909         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9910         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9911         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9912         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9913         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9914         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9915         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9916         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9917         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9918         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9919         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9920         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9921         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9922         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9923         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9924         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9925         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9926         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9927         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9928         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9929         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9930         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9931
9932         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9933         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9934
9935         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9936         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9937         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9938         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9939         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9940         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9941         Moved ...
9942         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9943         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9944         Moved ...
9945         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9946         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9947         Moved ...
9948         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9949         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9950         Moved ...
9951         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9952         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9953         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9954         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9955         Moved ...
9956         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9957         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9958         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9959         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9960         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9961         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9962         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9963         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9964         Moved ...
9965         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9966         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9967         Moved ...
9968         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9969         ... here.
9970         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9971         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9972         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9973         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9974         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9975         Moved ...
9976         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9977         ... here.
9978         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9979         Moved ...
9980         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9981         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9982         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9983         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9984         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9985         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9986         Moved ...
9987         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9988         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9989         Moved ...
9990         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9991         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9992         Moved ...
9993         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9994         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9995         Moved ...
9996         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9997         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9998         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9999         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10000         Moved ...
10001         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10002         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10003         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10004         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10005         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10006         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10007         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10008         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10009         Moved ...
10010         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10011         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10012         Moved ...
10013         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10014         ... here.
10015         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10016         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10017         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10018         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10019         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10020         Moved ...
10021         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10022         ... here.
10023         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10024         Moved ...
10025         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10026         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10027         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10028         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10029         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10030         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10031         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10032         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10033         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10034         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10035         Moved ...
10036         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10037         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10038         Moved ...
10039         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10040         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10041         Moved ...
10042         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10043         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10044         Moved ...
10045         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10046         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10047         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10048         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10049         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10050         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10051         Moved ...
10052         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10053         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10054         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10055         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10056         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10057         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10058         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10059         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10060         Moved ...
10061         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10062         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10063         Moved ...
10064         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10065         ... here.
10066         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10067         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10068         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10069         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10070         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10071         Moved ...
10072         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10073         ... here.
10074         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10075         Moved ...
10076         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10077         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10078         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10079         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10080         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10081         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10082         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10083         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10084         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10085         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10086         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10087
10088         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10089         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10090
10091         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10092         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10093
10094         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10095         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10096         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10097         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10098         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10099         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10100         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10101         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10102         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10103         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10104         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10105         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10106         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10107         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10108         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10110         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10111         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10112         Moved ...
10113         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10115         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10117         Moved ...
10118         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10119         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10120         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10122         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10123         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10124         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10125         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10126         Moved ...
10127         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10128         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10129         Moved ...
10130         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10131         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10132         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10133         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10134         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10135         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10136         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10137         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10138         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10139         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10140         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10141         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10142         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10143         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10144         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10145         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10146         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10147
10148         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10149         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10150         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10151         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10152         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10153
10154         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10155         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10156         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10157         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10158         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10159         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10160         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10161         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10162         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10163         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10164
10165         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10166         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10167
10168         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10169         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10170         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10171         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10172         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10173         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10174         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10175         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10176         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10177         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10178         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10179         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10180         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10181         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10182         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10183         Update #include.
10184         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10185         Likewise.
10186         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10187         Likewise.
10188         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10189         Likewise.
10190         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10191         Likewise.
10192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10193         Likewise.
10194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10195         Likewise.
10196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10197         Likewise.
10198         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10199         Likewise.
10200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10201         Likewise.
10202         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10203         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10204         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10205         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10207         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10208         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10209         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10210         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10211         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10212         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10213         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10214         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10215         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10216         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10217
10218         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10219         that was previously under [RESET_PID].
10220         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10221         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10222         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10223
10224         * sysdeps/i386/nptl/Implies: New file.
10225         * sysdeps/x86_64/nptl/Implies: New file.
10226         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10227         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10228         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10229         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10230
10231         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10232         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10233         (__libc_vfork): New strong alias.
10234         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10235         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10236
10237         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10238         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10239         (__libc_vfork): New strong alias.
10240         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10241         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10242
10243         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10244         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10245         (__libc_vfork): New strong alias.
10246         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10247         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10248         * nptl/pt-vfork.c: New file.
10249         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10250         (libpthread: GLIBC_2.20): New version set (empty).
10251
10252 2014-05-14  Will Newton  <will.newton@linaro.org>
10253
10254         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10255         rather than #if.
10256
10257 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10258
10259         [BZ #16564]
10260         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10261         arguments with exponent 65 or above.
10262         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10263         arguments 0x1p113L or above.
10264         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10265         to arguments 0x1p107L or above.
10266         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10267         positive arguments with exponent 65 or above.
10268         * math/auto-libm-test-in: Add more tests of log1p.
10269         * math/auto-libm-test-out: Regenerated.
10270
10271         [BZ #16928]
10272         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10273         non-finite arguments is +0.
10274         * math/s_cacosf.c (__cacosf): Likewise.
10275         * math/s_cacosl.c (__cacosl): Likewise.
10276         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10277         * sysdeps/i386/fpu/libm-test-ulps: Update.
10278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10279
10280         [BZ #16927]
10281         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10282         value.
10283         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10284         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10285         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10286         for explicit high bit of mantissa when testing for argument equal
10287         to 1.
10288         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10289         * sysdeps/i386/fpu/libm-test-ulps: Update.
10290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10291
10292         [BZ #16516]
10293         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10294         (__erf): Scale by 16 instead of 8 in potentially underflowing
10295         case.  Ensure exception if result actually underflows.
10296         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10297         (__erff): Scale by 16 instead of 8 in potentially underflowing
10298         case.  Ensure exception if result actually underflows.
10299         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10300         (efx8): Remove variable.
10301         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10302         case.  Ensure exception if result actually underflows.
10303         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10304         (efx8): Remove variable.
10305         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10306         case.  Ensure exception if result actually underflows.
10307         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10308         (efx8): Remove variable.
10309         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10310         case.  Ensure exception if result actually underflows.
10311         * math/auto-libm-test-in: Add more tests of erf.
10312         * math/auto-libm-test-out: Regenerated.
10313
10314 2014-05-14  Andreas Schwab  <schwab@suse.de>
10315
10316         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10317         Remove code conditionalized on USE___THREAD.
10318
10319         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10320         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10321         not definedness.
10322
10323 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10324
10325         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10326         Define unconditionally.
10327         (__ASSUME_O_CLOEXEC): Likewise.
10328         (__ASSUME_SOCK_CLOEXEC): Likewise.
10329         (__ASSUME_IN_NONBLOCK): Likewise.
10330         (__ASSUME_PIPE2): Likewise.
10331         (__ASSUME_EVENTFD2): Likewise.
10332         (__ASSUME_SIGNALFD4): Likewise.
10333         (__ASSUME_DUP3): Likewise.
10334         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10335         (__ASSUME_DUP3): Do not define.
10336         (__ASSUME_EVENTFD2): Likewise.
10337         (__ASSUME_IN_NONBLOCK): Likewise.
10338         (__ASSUME_O_CLOEXEC): Likewise.
10339         (__ASSUME_PIPE2): Likewise.
10340         (__ASSUME_SIGNALFD4): Likewise.
10341         (__ASSUME_SOCK_CLOEXEC): Likewise.
10342         (__ASSUME_UTIMES): Undefine.
10343         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10344         (__ASSUME_UTIMES): Do not define.
10345         (__ASSUME_O_CLOEXEC): Likewise.
10346         (__ASSUME_SOCK_CLOEXEC): Likewise.
10347         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10348         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10349         0x020621].
10350         (__ASSUME_PIPE2): Likewise.
10351         (__ASSUME_EVENTFD2): Likewise.
10352         (__ASSUME_SIGNALFD4): Likewise.
10353         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10354         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10355         Do not define.
10356         (__ASSUME_EVENTFD2): Likewise.
10357         (__ASSUME_SIGNALFD4): Likewise.
10358         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10359         (__ASSUME_32BITUIDS): Likewise.
10360         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10361         (__ASSUME_IPC64): Likewise.
10362         (__ASSUME_ST_INO_64_BIT): Likewise.
10363         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10364         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10365         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10366         (__ASSUME_UTIMES): Do not define.
10367         (__ASSUME_PSELECT): Likewise.
10368         (__ASSUME_PPOLL): Likewise.
10369         (__ASSUME_O_CLOEXEC): Likewise.
10370         (__ASSUME_SOCK_CLOEXEC): Likewise.
10371         (__ASSUME_IN_NONBLOCK): Likewise.
10372         (__ASSUME_PIPE2): Likewise.
10373         (__ASSUME_EVENTFD2): Likewise.
10374         (__ASSUME_SIGNALFD4): Likewise.
10375         (__ASSUME_DUP3): Likewise.
10376         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10377         (__ASSUME_UTIMES): Likewise.
10378         (__ASSUME_O_CLOEXEC): Likewise.
10379         (__ASSUME_SOCK_CLOEXEC): Likewise.
10380         (__ASSUME_IN_NONBLOCK): Likewise.
10381         (__ASSUME_PIPE2): Likewise.
10382         (__ASSUME_EVENTFD2): Likewise.
10383         (__ASSUME_SIGNALFD4): Likewise.
10384         (__ASSUME_DUP3): Likewise.
10385         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10386         (__ASSUME_UTIMES): Likewise.
10387         (__ASSUME_O_CLOEXEC): Likewise.
10388         (__ASSUME_SOCK_CLOEXEC): Likewise.
10389         (__ASSUME_IN_NONBLOCK): Likewise.
10390         (__ASSUME_PIPE2): Likewise.
10391         (__ASSUME_EVENTFD2): Likewise.
10392         (__ASSUME_SIGNALFD4): Likewise.
10393         (__ASSUME_DUP3): Likewise.
10394         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10395         Likewise.
10396         (__ASSUME_UTIMES): Likewise.
10397         (__ASSUME_EVENTFD2): Likewise.
10398         (__ASSUME_SIGNALFD4): Likewise.
10399         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10400         (__ASSUME_O_CLOEXEC): Likewise.
10401         (__ASSUME_SOCK_CLOEXEC): Likewise.
10402         (__ASSUME_IN_NONBLOCK): Likewise.
10403         (__ASSUME_PIPE2): Likewise.
10404         (__ASSUME_EVENTFD2): Likewise.
10405         (__ASSUME_SIGNALFD4): Likewise.
10406         (__ASSUME_DUP3): Likewise.
10407         (__ASSUME_UTIMES): Undefine.
10408
10409         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10410         feclearexcept.  Remove symbol versioning code.
10411         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10412         symbol versioning code.
10413         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10414         symbol versioning code.
10415         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10416         feupdateenv.  Remove symbol versioning code.
10417         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10418         fegetexceptflag.  Remove symbol versioning code.
10419         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10420         fesetexceptflag.  Remove symbol versioning code.
10421         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10422         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10423         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10424         (__posix_fadvise64_l32): Remove prototype.
10425         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10426         code.
10427
10428 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10429
10430         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10431         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10432         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10433         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10434
10435 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10436
10437         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10438         current working directory
10439
10440 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10441
10442         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10443         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10444         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10445         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10446         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10447         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10448         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10449         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10450         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10451         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10452         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10453         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10454         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10455         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10456         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10457         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10458         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10459         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10460         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10461         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10462         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10463         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10464         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10465         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10466         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10467         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10468         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10469         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10470         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10471         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10472         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10473         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10474         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10475         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10476         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10477         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10478         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10479         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10480         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10481         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10482         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10483         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10484
10485         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10486         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10487
10488         * sysdeps/unix/sysv/linux/arm/Makefile
10489         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10490         Add rt-aeabi_unwind_cpp_pr1.
10491         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10492         Add nptl-aeabi_unwind_cpp_pr1.
10493         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10494         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10495         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10496         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10497         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10498         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10499
10500         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10501         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10502         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10503         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10504
10505         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10506         Deconditionalize the code that was previously under [RESET_PID].
10507         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10508
10509         * sysdeps/generic/exit-thread.h: New file.
10510         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10511         * include/unistd.h (__exit_thread): Remove declaration.
10512         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10513         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10514         * csu/libc-start.c: Include <exit-thread.h>.
10515         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10516         * nptl/pthread_create.c: Include <exit-thread.h>.
10517         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10518         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10519         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10520         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10521         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10522         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10523         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10524         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10525         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10526         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10527         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10528         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10529         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10530         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10531         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10532         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10533         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10534
10535 2014-05-13  Andreas Schwab  <schwab@suse.de>
10536
10537         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10538
10539 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10540
10541         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10542         (__ASSUME_UTIMES): Do not condition on kernel version.
10543         (__ASSUME_PSELECT): Define unconditionally.
10544         (__ASSUME_PPOLL): Likewise.
10545         (__ASSUME_ATFCTS): Likewise.
10546         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10547         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10548         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10549         (__ASSUME_UTIMENSAT): Define unconditionally.
10550         (__ASSUME_PRIVATE_FUTEX): Likewise.
10551         (__ASSUME_FALLOCATE): Likewise.
10552         (__ASSUME_O_CLOEXEC): Likewise.
10553         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10554         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10555         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10556         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10557         (__ASSUME_IN_NONBLOCK): Likewise.
10558         (__ASSUME_PIPE2): Likewise.
10559         (__ASSUME_EVENTFD2): Likewise.
10560         (__ASSUME_SIGNALFD4): Likewise.
10561         (__ASSUME_DUP3): Likewise.
10562         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10563         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10564         (__ASSUME_AT_RANDOM): Likewise.
10565         (__ASSUME_PREADV): Likewise.
10566         (__ASSUME_PWRITEV): Likewise.
10567         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10568         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10569         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10570         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10571         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10572         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10573         (__ASSUME_O_CLOEXEC): Define unconditionally.
10574         (__ASSUME_PSELECT): Do not undefine conditionally.
10575         (__ASSUME_PPOLL): Likewise.
10576         (__ASSUME_ATFCTS): Likewise.
10577         (__ASSUME_SET_ROBUST_LIST): Likewise.
10578         (__ASSUME_UTIMENSAT): Likewise.
10579         (__ASSUME_FDATASYNC): Define unconditionally.
10580         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10581         (__ASSUME_SIGFRAME_V2): Likewise.
10582         )__ASSUME_EVENTFD2): Likewise.
10583         (__ASSUME_SIGNALFD4): Likewise.
10584         (__ASSUME_PSELECT): Do not undefine conditionally.
10585         (__ASSUME_PPOLL): Likewise.
10586         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10587         (__ASSUME_PSELECT): Define unconditionally.
10588         (__ASSUME_PPOLL): Likewise.
10589         (__ASSUME_O_CLOEXEC): Likewise.
10590         (__ASSUME_SOCK_CLOEXEC): Likewise.
10591         (__ASSUME_IN_NONBLOCK): Likewise.
10592         (__ASSUME_PIPE2): Likewise.
10593         (__ASSUME_EVENTFD2): Likewise.
10594         (__ASSUME_SIGNALFD4): Likewise.
10595         (__ASSUME_DUP3): Likewise.
10596         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10597         (__ASSUME_O_CLOEXEC): Likewise.
10598         (__ASSUME_SOCK_CLOEXEC): Likewise.
10599         (__ASSUME_IN_NONBLOCK): Likewise.
10600         (__ASSUME_PIPE2): Likewise.
10601         (__ASSUME_EVENTFD2): Likewise.
10602         (__ASSUME_SIGNALFD4): Likewise.
10603         (__ASSUME_DUP3): Likewise.
10604         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10605         (__ASSUME_EVENTFD2): Likewise.
10606         (__ASSUME_SIGNALFD4): Likewise.
10607         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10608
10609 2014-05-12  Andreas Schwab  <schwab@suse.de>
10610
10611         [BZ #16932]
10612         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10613         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10614         than maximum RPC packet size.
10615         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10616         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10617         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10618         (_nss_nis_getservbyport_r): Likewise.
10619
10620 2014-05-12  Will Newton  <will.newton@linaro.org>
10621
10622         * malloc/Makefile (tests): Add tst-mallopt.
10623         * malloc/tst-mallopt.c: New file.
10624
10625 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10626
10627         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10628         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10629
10630 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10631
10632         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10633         (tst-tlsmod6.so): Likewise.
10634
10635 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10636
10637         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10638
10639 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10640
10641         [BZ #16064]
10642         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10643         and <dl-procinfo.h>.
10644         (__fegetenv): Save SSE state in envp->__eip if supported.
10645         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10646         envp->__eip if supported.
10647         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10648         and <dl-procinfo.h>.
10649         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10650         __data_offset and __data_selector in environment to 0.  Set SSE
10651         state if supported.
10652         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10653         test-fenv-sse.
10654         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10655         -mfpmath=sse.
10656         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10657
10658 2014-05-09  Will Newton  <will.newton@linaro.org>
10659
10660         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10661         and libc_relro_required for ARM.
10662         * sysdeps/arm/preconfigure: Regenerate.
10663
10664 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10665             Stefan Liebler  <stli@linux.vnet.ibm.com>
10666
10667         * config.make.in (enable-lock-elision): New Makefile variable.
10668         * configure.ac: Likewise.
10669         * configure: Regenerate.
10670         * sysdeps/s390/configure.ac:
10671         Add check for gcc transactions support.
10672         * sysdeps/s390/configure: Regenerate.
10673         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10674         Build elision files if enabled.
10675         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10676         Add lock elision support for s390.
10677         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10678         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10679         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10680         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10681         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10682         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10683         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10684         Likewise.
10685         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10686         Likewise.
10687         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10688         Likewise.
10689         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10690         Likewise.
10691         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10692         (__lll_timedlock_elision, __lll_lock_elision)
10693         (__lll_unlock_elision, __lll_trylock_elision)
10694         (lll_timedlock_elision, lll_lock_elision)
10695         (lll_unlock_elision, lll_trylock_elision): Add.
10696         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10697         (pthread_mutex_t): Add lock elision support for s390.
10698
10699 2014-05-14  Wilco  <wdijkstr@arm.com>
10700
10701         * sysdeps/arm/fclrexcpt.c: Cleanup.
10702         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10703         * sysdeps/arm/feenablxcpt.c: Cleanup.
10704         * sysdeps/arm/fegetenv.c: Cleanup.
10705         * sysdeps/arm/fegetexcept.c: Cleanup.
10706         * sysdeps/arm/fegetround.c: Cleanup.
10707         * sysdeps/arm/feholdexcpt.c: Cleanup.
10708         * sysdeps/arm/fesetenv.c: Cleanup.
10709         * sysdeps/arm/fesetround.c: Cleanup.
10710         * sysdeps/arm/feupdateenv.c: Cleanup.
10711         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10712         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10713         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10714         * sysdeps/arm/ftestexcept.c: Cleanup.
10715         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10716         * sysdeps/arm/setfpucw.c: Cleanup.
10717
10718 2014-05-09  Will Newton  <will.newton@linaro.org>
10719
10720         * sysdeps/arm/armv7/strcmp.S: New file.
10721         * NEWS: Mention addition of ARMv7 optimized strcmp.
10722
10723 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10724
10725         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10726         look for %.ac rather than %.in.
10727
10728         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10729         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10730         * sysdeps/mach/hurd/configure: Regenerated.
10731         * sysdeps/unix/sysv/linux/configure: Regenerated.
10732
10733         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10734
10735 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10736
10737         [BZ# 16922]
10738         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10739         (LONG_SUB): Ditto.
10740         (PTR_SUB): Ditto.
10741
10742 2014-05-07  Andreas Schwab  <schwab@suse.de>
10743
10744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10745         when skipping over non-matching result from nscd.
10746
10747 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10748
10749         [BZ #16876]
10750         * nptl/sockperf.c (client): Check socket return value.
10751
10752         [BZ #16877]
10753         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10754         nscd security class.
10755
10756 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10757
10758         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10759         * sysdeps/arm/unwind.h: ... here.
10760
10761 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10762
10763         [BZ# 16916]
10764         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10765         Define.
10766
10767 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10768
10769         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10770         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10771         multiarch strncpy for PPC64.
10772         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10773         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10774         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10775         multiarch optimizations.
10776         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10777         (__libc_ifunc_impl_list): Likewise.
10778         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10779         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10780         multiarch stpncpy for PPC64.
10781         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10782         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10783
10784 2014-05-06  Andreas Schwab  <schwab@suse.de>
10785
10786         [BZ #16912]
10787         * gmon/mcount.c (_MCOUNT_DECL): Use
10788         atomic_compare_and_exchange_bool_acq instead of
10789         catomic_compare_and_exchange_bool_acq.
10790
10791 2014-05-05  Roland McGrath  <roland@hack.frob.com>
10792
10793         * elf/Makefile (others, install-bin): Remove pldd.
10794         (pldd-modules): Variable removed.
10795         ($(objpfx)pldd): Target removed.
10796         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10797         (others, install-bin): Append pldd here.
10798         ($(objpfx)pldd): New target.
10799
10800         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10801         to 0, so the first #if test emitted later doesn't see it undefined.
10802         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10803         * sysdeps/gnu/errlist.c: Regenerated.
10804
10805 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10806
10807         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10808         [libc_hidden_builtin_def]: Define to empty value.
10809         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10810         [libc_hidden_builtin_def]: Likewise.
10811         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10812         [libc_hidden_builtin_def]: Likewise.
10813         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10814         [libc_hidden_builtin_def]: Likewise.
10815         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10816         __redirect_memcpy and define ifunc as default hidden symbol.
10817         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10818         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10819
10820 2014-05-04  Adam Conrad  <adconrad@0c3.net>
10821
10822         * locale/iso-4217.def: Reintroduce XDR currency.
10823
10824 2014-05-04  Allan McRae  <allan@archlinux.org>
10825
10826         * po/eo.po: Update Esperanto translation from translation project.
10827
10828 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
10829
10830         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10831         and FEATURE_INDEX_MAX to 1.
10832         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10833
10834 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10835
10836         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10837         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10838         * iconvdata/big5.c (ONE_DIRECTION): Define.
10839         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10840         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10841         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10842         * iconvdata/cp932.c (ONE_DIRECTION): Define.
10843         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10844         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10845         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10846         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10847         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10848         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10849         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10850         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10851         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10852         * iconvdata/gbk.c (ONE_DIRECTION): Define.
10853         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10854         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10855         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10856         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10857         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10858         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10859         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10860         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10861         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10862         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10863         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10864         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10865         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10866         * iconvdata/iso646.c (ONE_DIRECTION): Define.
10867         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10868         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10869         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10870         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10871         * iconvdata/johab.c (ONE_DIRECTION): Define.
10872         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10873         * iconvdata/sjis.c (ONE_DIRECTION): Define.
10874         * iconvdata/t.61.c (ONE_DIRECTION): Define.
10875         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10876         * iconvdata/tscii.c (ONE_DIRECTION): Define.
10877         * iconvdata/uhc.c (ONE_DIRECTION): Define.
10878         * iconvdata/unicode.c (ONE_DIRECTION): Define.
10879         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10880         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10881         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10882
10883 2014-05-01  Roland McGrath  <roland@hack.frob.com>
10884
10885         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10886         (_IO_JUMPS_OFFSET): Define to 0.
10887
10888         * nptl/sysdeps/pthread/bits/libc-lock.h
10889         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10890         (__libc_lock_define_initialized_recursive): Always define using
10891         initializer.  Modern compilers treat uninitialized (implicit zero) and
10892         explicit zero initializers the same (i.e. put the datum in bss).
10893
10894 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10895
10896         * nscd/nscd-client.h: Include <string.h>.
10897
10898 2014-05-01  David S. Miller  <davem@davemloft.net>
10899
10900         [BZ #16885]
10901         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10902         multiple zero bytes exist at the end of a string.
10903         Reported by Aurelien Jarno <aurelien@aurel32.net>
10904
10905         * string/test-strcmp.c (check): Add explicit test for situations where
10906         there are multiple zero bytes after the first.
10907
10908 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10909
10910         [BZ #16890]
10911         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10912         when compiling wprintf.
10913         * stdio-common/tstdiomisc.c (t3): New function.
10914         (main): Call it.
10915
10916 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10917
10918         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10919         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10920         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10921         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10922
10923 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10924
10925         * stdlib/longlong.h: Updated from GCC.
10926
10927 2014-05-01  Will Newton  <will.newton@linaro.org>
10928             Bernard Ogden  <bernie.ogden@linaro.org>
10929
10930         * NEWS: Update fixed bug list.
10931
10932         [BZ #15119]
10933         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10934
10935 2014-04-30  David S. Miller  <davem@davemloft.net>
10936
10937         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10938         (libc_feholdexcept_setround_sparc_ctx): New function.
10939         (libc_fesetenv_sparc_ctx): Likewise.
10940         (libc_feupdateenv_sparc_ctx): Likewise.
10941         (libc_feholdsetround_sparc_ctx): Likewise.
10942         (libc_feholdexcept_setround_ctx): Define.
10943         (libc_feholdexcept_setroundf_ctx): Likewise.
10944         (libc_feholdexcept_setroundl_ctx): Likewise.
10945         (libc_fesetenv_ctx): Likewise.
10946         (libc_fesetenvf_ctx): Likewise.
10947         (libc_fesetenvl_ctx): Likewise.
10948         (libc_feupdateenv_ctx): Likewise.
10949         (libc_feupdateenvf_ctx): Likewise.
10950         (libc_feupdateenvl_ctx): Likewise.
10951         (libc_feresetround_ctx): Likewise.
10952         (libc_feresetroundf_ctx): Likewise.
10953         (libc_feresetroundl_ctx): Likewise.
10954         (libc_feholdsetround_ctx): Likewise.
10955         (libc_feholdsetroundf_ctx): Likewise.
10956         (libc_feholdsetroundl_ctx): Likewise.
10957
10958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10959         with __USE_GNU instead of XOPEN cpp guards.
10960
10961         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10962         0.
10963
10964         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10965         with XOPEN cpp guards.
10966
10967 2014-04-30  Julian Brown  <julian@codesourcery.com>
10968
10969         [BZ #16888]
10970         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10971         handling.
10972
10973 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
10974
10975         [BZ #9894]
10976         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10977         Change to 2.6.32.
10978         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10979         * sysdeps/unix/sysv/linux/configure: Regenerated.
10980         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10981         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10982         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10983         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10984         * README: Update reference to required Linux kernel version.
10985         * manual/install.texi (Linux): Update reference to required Linux
10986         kernel headers version.
10987         * INSTALL: Regenerated.
10988
10989         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10990         header inclusion.
10991         [POSIX] (limits.h): Likewise.
10992         [POSIX] (math.h): Likewise.
10993         [POSIX] (sys/wait.h): Likewise.
10994         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10995         function.
10996         [POSIX] (stddef.h): Do not allow header inclusion.
10997
10998 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10999
11000         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11001
11002 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11003
11004         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11005         Return immediately after lll_futex_wake.
11006
11007 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11008
11009         [BZ #16791]
11010         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11011         structure.
11012         (datahead_init_pos): Call datahead_init_common early.
11013         (datahead_init_neg): Likewise.
11014
11015         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11016         datahead_init_neg): New functions.
11017         * nscd/aicache.c (addhstaiX): Use them.
11018         * nscd/grpcache.c (cache_addgr): Likewise.
11019         * nscd/hstcache.c (cache_addhst): Likewise.
11020         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11021         * nscd/netgroupcache.c (do_notfound): Likewise.
11022         (addgetnetgrentX): Likewise.
11023         (addinnetgrX): Likewise.
11024         * nscd/pwdcache.c (cache_addpw): Likewise.
11025         * nscd/servicescache.c (cache_addserv): Likewise.
11026
11027 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11028             Atsushi Onoe  <atsushi@onoe.org>
11029
11030         [BZ #14308]
11031         [BZ #12994]
11032         [BZ #13651]
11033         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11034         one response is valid.
11035         * resolv/res_send.c (send_dg): Check for validity of other
11036         response if the current response is a referral.
11037
11038 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11039
11040         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11041
11042 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11043
11044         [BZ #16823]
11045         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11046         Always divide by positive zero when computing -Inf result.
11047         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11048         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11049
11050 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11051
11052         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11053         FPSCR if value do not change.
11054         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11055         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11056         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11057         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11058         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11059         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11060         function.
11061
11062 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11063
11064         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11065         * sysdeps/unix/sysv/linux/hppa: Move directory from
11066         ports/systeps/unix/sysv/linux/hppa.
11067         * README: Update listing for hppa-*-linux-gnu.
11068
11069 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11070
11071         [BZ #16754]
11072         * manual/stdio.texi (Hook functions): Fix types of stream hook
11073         functions.
11074         [BZ #16854]
11075         * socket/sys/socket.h: Fix typo in comment.
11076
11077 2014-04-28  Wilco  <wdijkstr@arm.com>
11078
11079         * sysdeps/arm/fenv_private.h: New file.
11080         * sysdeps/arm/math_private.h: New file.
11081         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11082
11083 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11084
11085         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11086         with __int128_t.
11087         (La_x86_64_retval): Likewise.
11088
11089 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11090
11091         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11092         fpsr if value didn't change.
11093         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11094         to fpcr if value didn't change.
11095         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11096         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11097         fpsr or fpcr if value didn't change.
11098         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11099         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11100         fpcr if value didn't change.
11101         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11102         to fpsr if value didn't change.
11103
11104 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11105
11106         * nptl/tst-sem3.c: Use test-skeleton.c
11107         (main): Rename to do_test.  Use return instead of
11108         exit.
11109         * nptl/tst-sem4.c: Use test-skeleton.c
11110         (main): Rename to do_test.
11111
11112 2014-04-22  David S. Miller  <davem@davemloft.net>
11113
11114         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11115         (struct sigaction): New struct member __glibc_reserved0, change
11116         type of sa_flags to int.
11117
11118 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11119
11120         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11121         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11122
11123 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11124
11125         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11126         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11127
11128 2014-04-22  Will Newton  <will.newton@linaro.org>
11129             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11130
11131         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11132         (__longjmp): Add longjmp and longjmp_target SystemTap
11133         probes.
11134         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11135         (__sigsetjmp): Add setjmp SystemTap probe.
11136
11137 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11138
11139         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11140         match manual order.
11141
11142 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11143
11144         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11145
11146         * sysdeps/powerpc/fpu/fenv_private.h
11147         (libc_feholdexcept_setroundl_ctx): Define to
11148         libc_feholdexcept_setround_ppc_ctx.
11149         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11150         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11151         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11152         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11153
11154 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11155
11156         * sysdeps/aarch64/math-tests.h: New file.
11157
11158 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11159
11160         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11161         New.
11162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11163         Check and set bit_AVX2_Usable.
11164         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11165         macro.
11166         (bit_AVX2): Likewise.
11167         (index_AVX2_Usable): Likewise.
11168         (CPUID_AVX2): Likewise.
11169         (HAS_AVX2): Likewise.
11170
11171 2014-04-17  Will Newton  <will.newton@linaro.org>
11172
11173         * manual/setjmp.texi (System V contexts): Add note that
11174         calling setcontext on a context created by a call to a
11175         signal handler is undefined.  Update text to note that
11176         setcontext from a signal handler is possible but not
11177         recommended.
11178
11179         [BZ #16629]
11180         * stdlib/tst-setcontext.c: Include signal.h.
11181         (main): Check that the signal stack before and
11182         after swapcontext is the same.
11183
11184         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11185         Re-implement to restore registers in user code and avoid
11186         rt_sigreturn system call.
11187
11188 2014-04-17  Wilco  <wdijkstr@arm.com>
11189
11190         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11191         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11192         * math/test-fenv.c: Skip exception trap tests on targets which only
11193         support non-stop mode.
11194
11195 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11196             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11197
11198         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11199         (libc_feholdsetround_aarch64_ctx)
11200         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11201         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11202         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11203         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11204         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11205         (libc_feresetround_noexl_ctx): Define.
11206
11207 2014-04-16  Richard Henderson  <rth@redhat.com>
11208
11209         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11210
11211         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11212         unwind tables.
11213
11214         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11215         const from the non-libc, non-ldso copy.
11216
11217         * sysdeps/alpha/libm-test-ulps: Regenerate.
11218
11219 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11220             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11221
11222         * sysdeps/aarch64/fpu/math_private.h: New file.
11223
11224 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11225
11226         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11227
11228 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11229
11230         [BZ #16275]
11231         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11232         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11233         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11234         Intel MPX bound registers before _dl_profile_fixup.
11235         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11236         registers after _dl_profile_fixup.  Save and restore bound
11237         registers bnd0/bnd1 when calling _dl_call_pltexit.
11238         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11239         (LR_BND_OFFSET): Likewise.
11240         (LRV_BND0_OFFSET): Likewise.
11241         (LRV_BND1_OFFSET): Likewise.
11242
11243 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11244
11245         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11246         to...
11247         * sysdeps/mach/hurd/i386/tls.h: ... here.
11248         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11249         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11250         fields.
11251
11252 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11253
11254         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11255
11256 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11257
11258         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11259
11260 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11261
11262         [BZ #14770]
11263         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11264         * sysdeps/s390/configure: Regenerate.
11265
11266         [BZ #16824]
11267         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11268         Set round-to-nearest internally to reduce error accumulation.
11269
11270 2014-04-16  Alan Modra  <amodra@gmail.com>
11271
11272         [BZ #16740]
11273         [BZ #16619]
11274         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11275         * math/libm-test.inc (frexp_test_data): Add tests.
11276         * NEWS: Update fixed bug list.
11277
11278 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11279
11280         * benchtests/Makefile: Depend on libraries in build directory.
11281         (bench-math): Separate out math tests.
11282         (bench-pthread): Separate out pthread tests.
11283         (bench): Include math and pthread tests.
11284
11285 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11286
11287         [BZ #16831]
11288         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11289         _dl_debug_initialize.
11290
11291         * configure.ac: Remove SELinux header check.
11292         * configure: Regenerate.
11293         * nscd/selinux.c (perms): Array of const char* to permission names.
11294         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11295         default policy. Call string_to_security_class and string_to_av_perm to
11296         translate strings. Enforce default policy and call avs_has_perm with
11297         results of translated strings.
11298
11299 2014-04-13  David S. Miller  <davem@davemloft.net>
11300
11301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11302
11303 2014-04-12  Allan McRae  <allan@archlinux.org>
11304
11305         [BZ #16838]
11306         * manual/string.texi (Collation Functions): Fix qsort argument
11307         order in example.
11308         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11309
11310 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11311
11312         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11313         Make the test a no-op if there are no exceptions defined.
11314
11315 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11316
11317         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11318         enable-hardcoded-path-in-tests
11319
11320 2014-04-11  Will Newton  <will.newton@linaro.org>
11321
11322         * benchtests/Makefile (extra-objs): Add json-lib.o.
11323         (bench-func): Tidy up JSON output.
11324         * benchtests/bench-skeleton.c: Include json-lib.h.
11325         (main): Use JSON library functions to do output of
11326         benchmark results.
11327         * benchtests/bench-timing-type.c (main): Output the
11328         timing type simply, leaving formatting to the user.
11329         * benchtests/json-lib.c: New file.
11330         * benchtests/json-lib.h: Likewise.
11331
11332 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11333
11334         [BZ #15215]
11335         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11336         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11337         memory barriers.  Add comments.
11338         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11339         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11340         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11341         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11342         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11343         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11344
11345 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11346
11347         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11348         * sysdeps/s390/s390-64/configure.ac: ... this ...
11349         * sysdeps/s390/configure.ac: ... to here.
11350         * sysdeps/s390/s390-32/configure: Delete file.
11351         * sysdeps/s390/s390-64/configure: Delete file.
11352         * sysdeps/s390/configure: Regenerate.
11353
11354 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11355
11356         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11357
11358 2014-04-11  Will Newton  <will.newton@linaro.org>
11359
11360         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11361         to zero if it is not defined elsewhere.  (mtrim): Test
11362         the value of MALLOC_DEBUG with #if rather than #ifdef.
11363
11364 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11365
11366         * benchtests/pthread_once-inputs: New file.
11367         * benchtests/pthread_once-source.c: New file.
11368         * benchtests/README: Update documentation.
11369
11370 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11371             H.J. Lu  <hongjiu.lu@intel.com>
11372
11373         [BZ #16275]
11374         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11375         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11376         * sysdeps/x86_64/configure: Regenerated.
11377         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11378         macro.
11379         (REGISTER_SAVE_RAX): Likewise.
11380         (REGISTER_SAVE_RCX): Likewise.
11381         (REGISTER_SAVE_RDX): Likewise.
11382         (REGISTER_SAVE_RSI): Likewise.
11383         (REGISTER_SAVE_RDI): Likewise.
11384         (REGISTER_SAVE_R8): Likewise.
11385         (REGISTER_SAVE_R9): Likewise.
11386         (REGISTER_SAVE_BND0): Likewise.
11387         (REGISTER_SAVE_BND1): Likewise.
11388         (REGISTER_SAVE_BND2): Likewise.
11389         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11390         bound registers when calling _dl_fixup.
11391
11392 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11393
11394         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11395         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11396         of its definition.
11397         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11398         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11399         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11400         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11401         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11402         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11403         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11404
11405 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11406
11407         [BZ #15514]
11408         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11409         pathconf(_PC_NAME_MAX).
11410
11411 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11412
11413         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11414         Remove macro usage.
11415         (__PTHREAD_SPINS): Move definition to ...
11416         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11417         (__PTHREAD_SPINS): ... here.
11418         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11419         (__PTHREAD_SPIN): Likewise.
11420         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11421         (__PTHREAD_SPIN): Likewise.
11422         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11423         (__PTHREAD_SPIN): Likewise.
11424         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11425         (__PTHREAD_SPIN): Likewise.
11426         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11427         (__PTHREAD_SPIN): Likewise.
11428         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11429         (__PTHREAD_SPIN): Likewise.
11430         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11431         (__PTHREAD_SPIN): Likewise.
11432         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11433         (__PTHREAD_SPIN): Likewise.
11434         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11435         (__PTHREAD_SPIN): Likewise.
11436         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11437         (__PTHREAD_SPIN): Likewise.
11438         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11439         (__PTHREAD_SPIN): Likewise.
11440         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11441         (__PTHREAD_SPIN): Likewise.
11442
11443         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11444         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11445         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11446         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11447         imply folder.
11448         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11449         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11450         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11451         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11452         correct imply path.
11453         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11454         strlen symbol for non multi-arch builds.
11455         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11456         missing hidden_def and weak_alias.
11457
11458 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11459
11460         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11461
11462 2014-04-07  Will Newton  <will.newton@linaro.org>
11463
11464         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11465         and contents.  [!_LIBC] Remove #ifndef and contents.
11466         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11467         * string/memccpy.c (__memccpy): Use ANSI prototype.
11468         * string/memfrob.c (memfrob): Likewise.
11469         * string/strcoll.c (STRCOLL): Likewise.
11470         * string/strlen.c (strlen): Likewise.
11471         * string/strtok.c (STRTOK): Likewise.
11472         * string/strcat.c: Remove unused #include of memcopy.h.
11473         (strcat): Use ANSI prototype.
11474         * string/strchr.c: Remove unused #include of memcopy.h.
11475         (strchr): Use ANSI prototype.
11476         * string/strcmp.c: Remove unused #include of memcopy.h.
11477         (strcmp): Use ANSI prototype.
11478         * string/strcpy.c: Remove unused #include of memcopy.h.
11479         (strcpy): Use ANSI prototype.
11480
11481 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11482
11483         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11484         * config.make.in (config-extra-cppflags): Set it from
11485         libc_extra_cppflags.
11486         * configure.ac (libc_extra_cflags): Make it accumulate over
11487         configure fragments.
11488         (libc_extra_cppflags): New flag.
11489         * configure. Regenerate.
11490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11491         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11492         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11494
11495         [BZ #16815]
11496         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11497         result for FE_DOWNWARD rounding mode.
11498         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11499         Likewise.
11500         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11501
11502 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11503
11504         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11505         in function argument name.
11506
11507 2014-04-03  David Svoboda  <svoboda@cert.org>
11508
11509         [BZ #5666]
11510         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11511         explicitly.
11512
11513 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11514
11515         * elf/dl-unmap-segments.h: New file.
11516         * sysdeps/generic/ldsodefs.h
11517         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11518         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11519         * elf/dl-fptr.c: Likewise.
11520         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11521         * sysdeps/aarch64/tlsdesc.c: Likewise.
11522         * sysdeps/arm/tlsdesc.c: Likewise.
11523         * sysdeps/i386/tlsdesc.c: Likewise.
11524         * sysdeps/tile/dl-runtime.c: Likewise.
11525         * sysdeps/x86_64/tlsdesc.c: Likewise.
11526         * elf/dl-load.h: New file.
11527         * elf/dl-load.c: Include it.
11528         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11529         Macros moved to dl-load.h.
11530         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11531         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11532         Use _dl_unmap_segments in place of __munmap.
11533         Break out segment-mapping loop into ...
11534         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11535
11536 2014-04-03  Will Newton  <will.newton@linaro.org>
11537
11538         * elf/dl-lookup.c (do_lookup_x): Remove comment
11539         referring to nested function and move variable
11540         declarations down to before first use.
11541
11542 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11543
11544         [BZ #16799]
11545         [BZ #16800]
11546         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11547         with 0 numerator.
11548         * math/s_catanf.c (__catanf): Likewise.
11549         * math/s_catanh.c (__catanh): Likewise.
11550         * math/s_catanhf.c (__catanhf): Likewise.
11551         * math/s_catanhl.c (__catanhl): Likewise.
11552         * math/s_catanl.c (__catanl): Likewise.
11553         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11554         by positive zero when computing -Inf result.
11555         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11556         (catanh_test): Likewise.
11557         * sysdeps/i386/fpu/libm-test-ulps: Update.
11558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11559
11560         [BZ #16789]
11561         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11562         instead of using underflowing value in computing result.
11563         * math/s_clog10.c (__clog10): Likewise.
11564         * math/s_clog10f.c (__clog10f): Likewise.
11565         * math/s_clog10l.c (__clog10l): Likewise.
11566         * math/s_clogf.c (__clogf): Likewise.
11567         * math/s_clogl.c (__clogl): Likewise.
11568         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11569         (clog10_test): Likewise.
11570         * sysdeps/i386/fpu/libm-test-ulps: Update.
11571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11572
11573 2014-04-02  Alan Modra  <amodra@gmail.com>
11574
11575         [BZ #16739]
11576         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11577         output when value is near a power of two.  Use int64_t for lx and
11578         remove casts.  Use decimal rather than hex exponent constants.
11579         Don't use long double multiplication when double will suffice.
11580         * math/libm-test.inc (nextafter_test_data): Add tests.
11581         * NEWS: Add 16739 and 16786 to bug list.
11582
11583         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11584
11585         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11586
11587 2014-04-01  Will Newton  <will.newton@linaro.org>
11588
11589         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11590         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11591
11592 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11593
11594         [BZ #13347]
11595         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11596         * nptl/tst-setuid2.c: New file.
11597         * nptl/Makefile (xtests): Add tst-setuid2.
11598
11599 2014-04-01  Alan Modra  <amodra@gmail.com>
11600
11601         [BZ #16786]
11602         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11603
11604 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11605
11606         [BZ #6803]
11607         [BZ #6804]
11608         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11609         set errno as appropriate.
11610         * math/w_scalbf.c (__scalbf): Likewise.
11611         * math/w_scalbl.c (__scalbl): Likewise.
11612         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11613         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11614         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11615         Add more NaN tests.
11616
11617         [BZ #16349]
11618         * math/w_atan2.c: Include <errno.h>.
11619         (__atan2): Set errno for result underflowing to zero.
11620         * math/w_atan2f.c: Include <errno.h>.
11621         (__atan2f): Set errno for result underflowing to zero.
11622         * math/w_atan2l.c: Include <errno.h>.
11623         (__atan2l): Set errno for result underflowing to zero.
11624         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11625         tests.
11626         * math/auto-libm-test-out: Regenerated.
11627
11628 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11629
11630         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11631         Encode instruction correctly in little endian.
11632         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11633         Likewise.
11634         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11635         Likewise.
11636         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11637         Likewise.
11638         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11639         Likewise.
11640
11641 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11642
11643         [BZ #9894]
11644         * sysdeps/unix/sysv/linux/kernel-features.h
11645         [__sparc__ && !__arch64__ && !__sparc_v9__]
11646         (__ASSUME_SET_ROBUST_LIST): Do not define.
11647         [__sparc__ && !__arch64__ && !__sparc_v9__]
11648         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11649         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11650         Likewise.
11651         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11652         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11653         (__ASSUME_REQUEUE_PI): Likewise.
11654         (__ASSUME_SET_ROBUST_LIST): Likewise.
11655         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11656         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11657         Undefine.
11658         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11659         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11660         Likewise.
11661         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11662         Likewise.
11663         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11664         Likewise.
11665         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11666         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11667         Undefine.
11668         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11669         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11670         Likewise.
11671
11672         [BZ #16648]
11673         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11674         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11675         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11676
11677 2014-03-31  Will Newton  <will.newton@linaro.org>
11678
11679         * benchtests/Makefile (bench): Add ffs and ffsll to list
11680         of tests.
11681         * benchtests/ffs-inputs: New file.
11682         * benchtests/ffsll-inputs: Likewise.
11683
11684 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11685
11686         [BZ #16770]
11687         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11688         too large before casting to int.
11689         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11690         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11691         * math/libm-test.inc (scalb_test_data): Add more tests.
11692
11693 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11694
11695         * benchtests/Makefile (DETAILED_OPT): New make option.
11696         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11697         set.
11698         * benchtests/bench-skeleton.c: Include stdbool.h.
11699         (main): Store and print timings per input.
11700         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11701         member to each argument value.
11702         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11703         (_print_arg_data): Initialize per-input timing to 0.
11704
11705         * benchtests/Makefile (timing-type): New binary.
11706         (bench-clean): Also remove bench-timing-type.
11707         (bench): New target for timing-type.
11708         (bench-func): Print output in JSON format.
11709         * benchtests/bench-skeleton.c (main): Print output in JSON
11710         format.
11711         * benchtests/bench-timing-type.c: New file.
11712         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11713         (TIMING_PRINT_STATS): Remove.
11714         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11715         name separately.
11716
11717         * benchtests/bench-modf.c: Remove.
11718         * benchtests/modf-inputs: New inputs file.
11719
11720 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11721
11722         [BZ #16362]
11723         * math/s_clog10.c (M_PI_LOG10E): New macro.
11724         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11725         imaginary parts are 0.
11726         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11727         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11728         imaginary parts are 0.
11729         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11730         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11731         imaginary parts are 0.
11732         * math/libm-test.inc (clog10_test_data): Update expected results
11733         for when real and imaginary parts are 0.
11734
11735 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11736
11737         * elf/dl-load.c: Finish conversion of __builtin_expect into
11738         __glibc_{un}likely.
11739
11740 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11741
11742         [BZ #16348]
11743         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11744         1+x for argument with exponent below -67.
11745         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11746         Likewise.
11747         * math/auto-libm-test-in: Add more tests of exp.
11748         * math/auto-libm-test-out: Regenerated.
11749
11750 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11751
11752         [BZ #16759]
11753         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11754         (nscd_getnetgrent): Use it.
11755
11756         [BZ #16760]
11757         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11758         of stpcpy.
11759
11760 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11761
11762         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11763         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11764         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11765         (lll_robust_unlock): Remove out of line section. Use cfi
11766         intrinsics.
11767         (LLL_STUB_UNWIND_INFO*): Remove.
11768         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11769         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11770         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11771         (lll_robust_unlock): Remove out of line section. Use cfi
11772         intrinsics.
11773         (LLL_STUB_UNWIND_INFO*): Remove.
11774
11775 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11776
11777         [BZ #16758]
11778         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11779         blank values.
11780
11781 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11782
11783         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11784
11785 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11786
11787         [BZ #16198]
11788         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11789         fnstenv.
11790         * math/test-fenv-preserve.c: New file.
11791         * math/Makefile (tests): Add test-fenv-preserve.
11792
11793 2014-03-26  Will Newton <will.newton@linaro.org>
11794
11795         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11796
11797 2014-03-25  Roland McGrath  <roland@hack.frob.com>
11798
11799         * scripts/versionlist.awk: Partition the version sets and emit all
11800         GLIBC_* (sorted) before all others (sorted).
11801
11802 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11803
11804         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11805         GLIBC_2.2.5 version.
11806
11807 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11808
11809         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11810         calls.
11811
11812         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11813         previous change.
11814
11815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11816
11817 2014-03-25  Andreas Schwab  <schwab@suse.de>
11818
11819         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11820         label to be used after in6ailist is initialized.
11821
11822 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11823
11824         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11825         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11826
11827 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11828
11829         [BZ #16357]
11830         [BZ #16599]
11831         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11832         min_plus_half.
11833         (fp_formats): Update initializers.
11834         (init_fp_formats): Initialize new field.
11835         (output_for_one_input_case): Allow underflow for results up to
11836         min_plus_half.
11837         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11838         * math/auto-libm-test-in: Don't mark some underflows from asin and
11839         atanh as spurious.
11840         * math/auto-libm-test-out: Regenerated.
11841         * sysdeps/i386/fpu/libm-test-ulps: Update.
11842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11843
11844 2014-03-25  Andreas Schwab  <schwab@suse.de>
11845
11846         * libio/Makefile (tst-ftell-partial-wide-ENV)
11847         (tst-ftell-active-handler-ENV): Define.
11848
11849 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
11850
11851         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11852
11853 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11854
11855         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11856
11857 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11858
11859         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11860         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11861         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11862
11863 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11864
11865         [BZ #16634]
11866         * elf/dl-load.c (open_verify): Add mode parameter.
11867         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11868         (open_path): Change from boolean 'secure' to complete flag 'mode'
11869         (_dl_map_object): Adjust.
11870         * elf/Makefile (tests): Add tst-dlopen-aout.
11871         * elf/tst-dlopen-aout.c: New test.
11872
11873 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
11874
11875         [BZ #16714]
11876         * sysdeps/unix/sysv/linux/s390/bits/stat.h
11877         (struct stat): Rename member pad0 to __glibc_reserved0.
11878
11879         [BZ #16712]
11880         * sysdeps/s390/s390-32/bits/wordsize.h
11881         (__WORDSIZE32_SIZE_ULONG): New define.
11882         * sysdeps/s390/s390-64/bits/wordsize.h
11883         (__WORDSIZE32_SIZE_ULONG): Likewise.
11884         * sysdeps/generic/stdint.h (SIZE_MAX):
11885         Define as UL if __WORDSIZE32_SIZE_ULONG.
11886
11887         [BZ #16713]
11888         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11889         (__glibc_reserved0): New variable.
11890         (sa_flags): Change type to int.
11891
11892         * posix/Makefile (before-compile): Use += before-compile instead
11893         of a :=.
11894
11895         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11896         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11897
11898 2014-03-20  Andreas Schwab  <schwab@suse.de>
11899
11900         [BZ #16743]
11901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11902         non-matching result from nscd.
11903
11904 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11905
11906         * scripts/bench.py: Moved to ...
11907         * benchtests/scripts/bench.py: ... here.
11908         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11909
11910 2014-03-24  Andreas Schwab  <schwab@suse.de>
11911
11912         [BZ #16002]
11913         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11914         alloca_account and account alloca use for struct in6ailist.
11915
11916 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11917
11918         [BZ #16284]
11919         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11920         rounding mode to recompute results that overflow to infinity or
11921         underflow to zero.
11922         * math/auto-libm-test-in: Don't mark tests as expected to fail for
11923         bug 16284.
11924         * math/auto-libm-test-out: Regenerated.
11925         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11926         (ccosh_test): Likewise.
11927         (csin_test_data): Use plus_oflow.
11928         (csin_test): Use ALL_RM_TEST.
11929         (csinh_test_data): Use plus_oflow.
11930         (csinh_test): Use ALL_RM_TEST.
11931         * sysdeps/i386/fpu/libm-test-ulps: Update.
11932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11933
11934 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
11935
11936         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11937         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11938         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11939
11940         [BZ #16731]
11941         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11942         when x - 1 is zero.
11943         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11944         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11945         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11946         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11947         argument is 1.
11948         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11949         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11950         zero.
11951         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11952         * sysdeps/i386/fpu/libm-test-ulps: Update.
11953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11954
11955 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11956
11957         * scripts/bench.pl: Remove file.
11958         * scripts/bench.py: New benchmark script.
11959         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11960         * benchtests/README: Mention python dependency.
11961         * scripts/pylintrc: New file.
11962         * scripts/pylint: New file.
11963
11964         * bits/mathdef.h: Use #ifdef instead of #if.
11965         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11966         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11967         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11968         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11969         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11970         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11971
11972 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11973             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11974
11975         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11977         and strpbrk-ppc64 objects.
11978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11979         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11980         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11981         multiarch strpbrk for POWER7.
11982         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11983         multiarch strpbrk for PPC64.
11984         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11985         ifunc selector.
11986         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11987         strpbrk for POWER7.
11988
11989 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11990
11991         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11992         (atan_test): Likewise.
11993         (atanh_test_data): Use NO_TEST_INLINE for two tests.
11994         (atanh_test): Use ALL_RM_TEST.
11995         (atan2_test_data): Likewise.
11996         (cabs_test): Likewise.
11997         (cacosh_test): Likewise.
11998         (carg_test): Likewise.
11999         (casin_test): Likewise.
12000         (casinh_test): Likewise.
12001         (cbrt_test): Likewise.
12002         (csqrt_test): Likewise.
12003         (erf_test): Likewise.
12004         (erfc_test): Likewise.
12005         (pow10_test): Likewise.
12006         (exp2_test): Likewise.
12007         (hypot_test): Likewise.
12008         (j0_test): Likewise.
12009         (j1_test): Likewise.
12010         (lgamma_test): Likewise.
12011         (gamma_test): Likewise.
12012         (sincos_test): Likewise.
12013         (tanh_test): Likewise.
12014         (y0_test): Likewise.
12015         (y1_test): Likewise.
12016         * sysdeps/i386/fpu/libm-test-ulps: Update.
12017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12018
12019 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12020
12021         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12023         and strcspn-ppc64 objects.
12024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12025         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12026         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12027         multiarch strcspn for POWER7.
12028         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12029         multiarch strcspn for PPC64.
12030         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12031         ifunc selector.
12032         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12033         strcspn for POWER7.
12034
12035 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12036
12037         * math/gen-libm-test.pl (generate_testfile): Expect only function
12038         name as argument to AUTO_TESTS_* and pass results for all rounding
12039         modes to parse_args.
12040         (parse_auto_input): Separate inputs of automatic tests from
12041         outputs before storing in %auto_tests.
12042         * math/libm-test.inc (acos_test_data): Update call to
12043         AUTO_TESTS_f_f.
12044         (acos_test): Use ALL_RM_TEST.
12045         (acos_tonearest_test_data): Remove.
12046         (acos_test_tonearest): Likewise.
12047         (acos_towardzero_test_data): Likewise.
12048         (acos_test_towardzero): Likewise.
12049         (acos_downward_test_data): Likewise.
12050         (acos_test_downward): Likewise.
12051         (acos_upward_test_data): Likewise.
12052         (acos_test_upward): Likewise.
12053         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12054         (asin_test_data): Likewise.
12055         (asin_test): Use ALL_RM_TEST.
12056         (asin_tonearest_test_data): Remove.
12057         (asin_test_tonearest): Likewise.
12058         (asin_towardzero_test_data): Likewise.
12059         (asin_test_towardzero): Likewise.
12060         (asin_downward_test_data): Likewise.
12061         (asin_test_downward): Likewise.
12062         (asin_upward_test_data): Likewise.
12063         (asin_test_upward): Likewise.
12064         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12065         (atan_test_data): Likewise.
12066         (atanh_test_data): Likewise.
12067         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12068         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12069         (carg_test_data): Likewise.
12070         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12071         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12072         (ccosh_test_data): Likewise.
12073         (cexp_test_data): Likewise.
12074         (clog_test_data): Likewise.
12075         (clog10_test_data): Likewise.
12076         (cos_test_data): Update call to AUTO_TESTS_f_f.
12077         (cos_test): Use ALL_RM_TEST.
12078         (cos_tonearest_test_data): Remove.
12079         (cos_test_tonearest): Likewise.
12080         (cos_towardzero_test_data): Likewise.
12081         (cos_test_towardzero): Likewise.
12082         (cos_downward_test_data): Likewise.
12083         (cos_test_downward): Likewise.
12084         (cos_upward_test_data): Likewise.
12085         (cos_test_upward): Likewise.
12086         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12087         (cosh_test): Use ALL_RM_TEST.
12088         (cosh_tonearest_test_data): Remove.
12089         (cosh_test_tonearest): Likewise.
12090         (cosh_towardzero_test_data): Likewise.
12091         (cosh_test_towardzero): Likewise.
12092         (cosh_downward_test_data): Likewise.
12093         (cosh_test_downward): Likewise.
12094         (cosh_upward_test_data): Likewise.
12095         (cosh_test_upward): Likewise.
12096         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12097         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12098         (ctan_test_data): Likewise.
12099         (ctan_test): Use ALL_RM_TEST.
12100         (ctan_tonearest_test_data): Remove.
12101         (ctan_test_tonearest): Likewise.
12102         (ctan_towardzero_test_data): Likewise.
12103         (ctan_test_towardzero): Likewise.
12104         (ctan_downward_test_data): Likewise.
12105         (ctan_test_downward): Likewise.
12106         (ctan_upward_test_data): Likewise.
12107         (ctan_test_upward): Likewise.
12108         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12109         (ctanh_test): Use ALL_RM_TEST.
12110         (ctanh_tonearest_test_data): Remove.
12111         (ctanh_test_tonearest): Likewise.
12112         (ctanh_towardzero_test_data): Likewise.
12113         (ctanh_test_towardzero): Likewise.
12114         (ctanh_downward_test_data): Likewise.
12115         (ctanh_test_downward): Likewise.
12116         (ctanh_upward_test_data): Likewise.
12117         (ctanh_test_upward): Likewise.
12118         (erf_test_data): Update call to AUTO_TESTS_f_f.
12119         (erfc_test_data): Likewise.
12120         (exp_test_data): Likewise.
12121         (exp_test): Use ALL_RM_TEST.
12122         (exp_tonearest_test_data): Remove.
12123         (exp_test_tonearest): Likewise.
12124         (exp_towardzero_test_data): Likewise.
12125         (exp_test_towardzero): Likewise.
12126         (exp_downward_test_data): Likewise.
12127         (exp_test_downward): Likewise.
12128         (exp_upward_test_data): Likewise.
12129         (exp_test_upward): Likewise.
12130         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12131         (exp10_test): Use ALL_RM_TEST.
12132         (exp10_tonearest_test_data): Remove.
12133         (exp10_test_tonearest): Likewise.
12134         (exp10_towardzero_test_data): Likewise.
12135         (exp10_test_towardzero): Likewise.
12136         (exp10_downward_test_data): Likewise.
12137         (exp10_test_downward): Likewise.
12138         (exp10_upward_test_data): Likewise.
12139         (exp10_test_upward): Likewise.
12140         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12141         (expm1_test_data): Likewise.
12142         (expm1_test): Use ALL_RM_TEST.
12143         (expm1_tonearest_test_data): Remove.
12144         (expm1_test_tonearest): Likewise.
12145         (expm1_towardzero_test_data): Likewise.
12146         (expm1_test_towardzero): Likewise.
12147         (expm1_downward_test_data): Likewise.
12148         (expm1_test_downward): Likewise.
12149         (expm1_upward_test_data): Likewise.
12150         (expm1_test_upward): Likewise.
12151         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12152         (fma_test): Use ALL_RM_TEST.
12153         (fma_towardzero_test_data): Remove.
12154         (fma_test_towardzero): Likewise.
12155         (fma_downward_test_data): Likewise.
12156         (fma_test_downward): Likewise.
12157         (fma_upward_test_data): Likewise.
12158         (fma_test_upward): Likewise.
12159         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12160         (j0_test_data): Update call to AUTO_TESTS_f_f.
12161         (j1_test_data): Likewise.
12162         (jn_test_data): Update call to AUTO_TESTS_if_f.
12163         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12164         (log_test_data): Update call to AUTO_TESTS_f_f.
12165         (log10_test_data): Likewise.
12166         (log1p_test_data): Likewise.
12167         (log2_test_data): Likewise.
12168         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12169         (pow_tonearest_test_data): Likewise.
12170         (sin_test_data): Update call to AUTO_TESTS_f_f.
12171         (sin_test): Use ALL_RM_TEST.
12172         (sin_tonearest_test_data): Remove.
12173         (sin_test_tonearest): Likewise.
12174         (sin_towardzero_test_data): Likewise.
12175         (sin_test_towardzero): Likewise.
12176         (sin_downward_test_data): Likewise.
12177         (sin_test_downward): Likewise.
12178         (sin_upward_test_data): Likewise.
12179         (sin_test_upward): Likewise.
12180         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12181         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12182         (sinh_test): Use ALL_RM_TEST.
12183         (sinh_tonearest_test_data): Remove.
12184         (sinh_test_tonearest): Likewise.
12185         (sinh_towardzero_test_data): Likewise.
12186         (sinh_test_towardzero): Likewise.
12187         (sinh_downward_test_data): Likewise.
12188         (sinh_test_downward): Likewise.
12189         (sinh_upward_test_data): Likewise.
12190         (sinh_test_upward): Likewise.
12191         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12192         (sqrt_test): Use ALL_RM_TEST.
12193         (sqrt_tonearest_test_data): Remove.
12194         (sqrt_test_tonearest): Likewise.
12195         (sqrt_towardzero_test_data): Likewise.
12196         (sqrt_test_towardzero): Likewise.
12197         (sqrt_downward_test_data): Likewise.
12198         (sqrt_test_downward): Likewise.
12199         (sqrt_upward_test_data): Likewise.
12200         (sqrt_test_upward): Likewise.
12201         (tan_test_data): Update call to AUTO_TESTS_f_f.
12202         (tan_test): Use ALL_RM_TEST.
12203         (tan_tonearest_test_data): Remove.
12204         (tan_test_tonearest): Likewise.
12205         (tan_towardzero_test_data): Likewise.
12206         (tan_test_towardzero): Likewise.
12207         (tan_downward_test_data): Likewise.
12208         (tan_test_downward): Likewise.
12209         (tan_upward_test_data): Likewise.
12210         (tan_test_upward): Likewise.
12211         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12212         (tgamma_test_data): Likewise.
12213         (y0_test_data): Likewise.
12214         (y1_test_data): Likewise.
12215         (yn_test_data): Update call to AUTO_TESTS_if_f.
12216         (main): Do not call removed functions.
12217
12218 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12219
12220         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12221         (ldexp_test_data): Remove.
12222         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12223         scalbn_test_data.
12224         (scalb_test): Use ALL_RM_TEST.
12225
12226 2014-03-19  Andreas Schwab  <schwab@suse.de>
12227
12228         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12229
12230 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12231
12232         [BZ #16649]
12233         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12234         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12235         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12236         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12237         (__ASSUME_PREADV): Undefine.
12238         (__ASSUME_PWRITEV): Likewise.
12239
12240 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12241
12242         * bits/mman-linux.h: Add comment about non-Linux use.
12243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12244         bits/mman-linux.h resting place.
12245
12246         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12247         * bits/mman-linux.h: ... here.
12248
12249 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12250
12251         * conform/conformtest.pl: Add standard definition when calling C
12252         preprocessor on data files.
12253         (checknamespace): Remove unused variable.
12254
12255 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12256
12257         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12258         minus_oflow, plus_uflow and minus_uflow in expected results.
12259         * math/libm-test.inc (scalbn_test_data): Add more tests of
12260         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12261         minus_uflow.
12262         (scalbn_test): Use ALL_RM_TEST.
12263         (scalbln_test_data): Add more tests of negative arguments.  Use
12264         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12265         (scalbln_test): Use ALL_RM_TEST.
12266
12267 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12268
12269         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12270
12271 2014-03-18  Will Newton  <will.newton@linaro.org>
12272
12273         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12274         inaccurate comment.
12275
12276 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12277
12278         * Makerules [!subdir] (check-abi): Exit with error status if a
12279         test failed.
12280
12281 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12282
12283         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12284         for rint.  Include results for all rounding modes.
12285         (nearbyint_test): Use ALL_RM_TEST.
12286         (rint_test_data): Include all tests used for nearbyint.
12287
12288 2014-03-17  Will Newton  <will.newton@linaro.org>
12289
12290         * nptl/sysdeps/pthread/pthread.h: Revert previous
12291         change.
12292
12293         * sysdeps/generic/ldsodefs.h: Revert previous
12294         change.
12295
12296         * libio/genops.c: Revert previous change.
12297         * libio/libioP.h: Likewise.
12298         * stdio-common/vfprintf.c: Likewise.
12299
12300         * sysdeps/generic/math_private.h: Revert previous
12301         change.
12302
12303         * sysdeps/generic/math_private.h: Check whether
12304         HAVE_RM_CTX is defined with #ifdef rather
12305         than #if.
12306
12307         * argp/argp-fmtstream.h: Check whether
12308         __STRICT_ANSI__ is defined with #ifdef rather
12309         than #if.
12310         * argp/argp.h: Likewise.
12311
12312         * libio/genops.c: Check whether
12313         _IO_JUMPS_OFFSET is defined with #ifdef rather
12314         than #if.
12315         * libio/libioP.h: Likewise.
12316         * stdio-common/vfprintf.c: Likewise.
12317
12318         * sysdeps/generic/ldsodefs.h: Check whether
12319         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12320         than #if.
12321
12322         * nptl/sysdeps/pthread/pthread.h: Check
12323         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12324         its value.
12325
12326 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12327
12328         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12329         setting O_APPEND.
12330         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12331         test case.
12332
12333         [BZ #16680]
12334         * libio/fileops.c (_IO_file_open): Seek to end of file but
12335         don't cache the offset.
12336         (get_file_offset): Remove function.
12337         (do_ftell): Use cached offset when available.
12338         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12339         don't cache the offset.
12340         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12341         case.
12342         (do_one_test): Call it.
12343         (do_ftell_test): Fix up expected old offset for a+ mode.
12344         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12345         available.
12346
12347         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12348         up test status with function return status.
12349         (do_write_test): Likewise.
12350         (do_append_test): Likewise.
12351
12352         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12353         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12354         Remove.
12355
12356 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12357
12358         * math/gen-libm-test.pl (parse_args): Handle results specified for
12359         each rounding mode separately.
12360         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12361         tests and results from lrint_tonearest_test_data,
12362         lrint_towardzero_test_data, lrint_downward_test_data and
12363         lrint_upward_test_data.
12364         (lrint_test): Use ALL_RM_TEST.
12365         (lrint_tonearest_test_data): Remove.
12366         (lrint_test_tonearest): Likewise.
12367         (lrint_towardzero_test_data): Likewise.
12368         (lrint_test_towardzero): Likewise.
12369         (lrint_downward_test_data): Likewise.
12370         (lrint_test_downward): Likewise.
12371         (lrint_upward_test_data): Likewise.
12372         (lrint_test_upward): Likewise.
12373         (llrint_test_data): Merge in per-rounding-mode tests and results
12374         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12375         llrint_downward_test_data and llrint_upward_test_data.
12376         (llrint_test): Use ALL_RM_TEST.
12377         (llrint_tonearest_test_data): Remove.
12378         (llrint_test_tonearest): Likewise.
12379         (llrint_towardzero_test_data): Likewise.
12380         (llrint_test_towardzero): Likewise.
12381         (llrint_downward_test_data): Likewise.
12382         (llrint_test_downward): Likewise.
12383         (llrint_upward_test_data): Likewise.
12384         (llrint_test_upward): Likewise.
12385         (rint_test_data): Merge in per-rounding-mode tests and results
12386         from rint_tonearest_test_data, rint_towardzero_test_data,
12387         rint_downward_test_data and rint_upward_test_data.  Add
12388         per-rounding-mode results for tests not in those arrays.
12389         (rint_test): Use ALL_RM_TEST.
12390         (rint_tonearest_test_data): Remove.
12391         (rint_test_tonearest): Likewise.
12392         (rint_towardzero_test_data): Likewise.
12393         (rint_test_towardzero): Likewise.
12394         (rint_downward_test_data): Likewise.
12395         (rint_test_downward): Likewise.
12396         (rint_upward_test_data): Likewise.
12397         (rint_test_upward): Likewise.
12398         (main): Don't call removed functions.
12399
12400 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12401
12402         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12403         "Compiled on ..." crapola.  It is anti-useful.
12404
12405 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12406
12407         * scripts/evaluate-test.sh: Handle fourth argument to determine
12408         whether test run should stop on failure.
12409         * Makeconfig (stop-on-test-failure): New variable.
12410         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12411         $(stop-on-test-failure).
12412         * Makefile (tests): Give a summary of results from testing and
12413         exit with failure status if they include an ERROR or FAIL.
12414         (xtests): Likewise.
12415         * manual/install.texi (Configuring and compiling): Mention
12416         stop-on-test-failure=y.
12417         * INSTALL: Regenerated.
12418
12419 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12420
12421         * scripts/versionlist.awk: New file.
12422         * Makerules [$(build-shared) = yes]
12423         (postclean-generated): Add Versions.def, not Versions.def.v and
12424         Versions.def.v.i.
12425         ($(common-objpfx)Versions.def.v.i): Target removed.
12426         ($(common-objpfx)Versions.def): New target.
12427         ($(common-objpfx)Versions.all): Depend on that rather that
12428         $(common-objpfx)Versions.def.v.
12429         * Versions.def: File removed.
12430
12431         * Makeconfig (+gccwarn): Add -Wundef.
12432         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12433         a dl-sysdep.h breaking its contract.
12434         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12435         * include/stackinfo.h: New file.
12436         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12437         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12438         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12439         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12440         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12441         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12442         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12443         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12444         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12445         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12446         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12447         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12448         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12449         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12450         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12451
12452 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12453
12454         [BZ #16707]
12455         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12456         implementation.
12457         * math/libm-test.inc (round_test_data): Add more tests.
12458
12459         [BZ #16706]
12460         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12461         implementation.
12462         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12463
12464         [BZ #16701]
12465         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12466         implementation.
12467         * math/libm-test.inc (ceil_test_data): Add more tests.
12468
12469         * math/libm-test.inc (trunc_test_data): Add more tests related to
12470         BZ#16414.
12471
12472 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12473
12474         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12475         with #if rather than #ifdef.
12476         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12477
12478 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12479
12480         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12481         first.  Disable AVX-512 GCC support if assembler doesn't support
12482         it.
12483         * sysdeps/x86_64/configure: Regenerated.
12484
12485 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12486
12487         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12488         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12489         (__old_pthread_attr_setstack): Likewise.
12490         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12491         [!_STACK_GROWS_DOWN]: Likewise.
12492
12493 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12494
12495         * config.make.in (have-bash2): Delete.
12496         * configure.ac (libc_cv_have_bash2): Delete.
12497         * configure: Regenerate.
12498         * elf/Makefile (common-ldd-rewrite): Rename to ...
12499         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12500         (sh-ldd-rewrite): Delete.
12501         (bash-ldd-rewrite): Delete.
12502         (have-bash2): Delete checks.
12503         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12504         ldd-rewrite.
12505
12506         * config.make.in (have-ksh): Delete.
12507         (KSH): Delete.
12508         * configure.ac (libc_cv_have_ksh): Delete.
12509         * configure: Regenerate.
12510
12511         * elf/Makefile: Delete $(have-ksh) check.
12512         ($(objpfx)sotruss): Change KSH to BASH.
12513         * elf/sotruss.ksh: Rename to ...
12514         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12515         function style to match POSIX.  Drop ksh vim mode setting.
12516
12517         * manual/time.texi (Specifying the Time Zone with TZ): Change
12518         Tuesday to Thursday.
12519
12520         * debug/tst-longjmp_chk2.c: Update header comment.
12521         (stackoverflow_handler): Add comment.  Call assert on pass value.
12522
12523 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12524
12525         [BZ #16194]
12526         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12527         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12528         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12529         (La_x86_64_vector): Add zmm.
12530         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12531         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12532         ($(objpfx)tst-audit10): New target.
12533         ($(objpfx)tst-audit10.out): Likewise.
12534         (tst-audit10-ENV): New.
12535         (AVX512-CFLAGS): Likewise.
12536         (CFLAGS-tst-audit10.c): Likewise.
12537         (CFLAGS-tst-auditmod10a.c): Likewise.
12538         (CFLAGS-tst-auditmod10b.c): Likewise.
12539         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12540         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12541         * sysdeps/x86_64/configure: Regenerated.
12542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12543         AVX-512 zmm register support.
12544         (_dl_x86_64_save_sse): Likewise.
12545         (_dl_x86_64_restore_sse): Likewise.
12546         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12547         size vector registers.
12548         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12549         (ZMM_SIZE): Likewise.
12550         * sysdeps/x86_64/tst-audit10.c: New file.
12551         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12552         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12553
12554 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12555
12556         * configure.ac (HAVE_EHDR_START): New check.
12557         * configure: Regenerated.
12558         * config.h.in (HAVE_EHDR_START): New #undef.
12559         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12560         assuming the lowest-addressed segment maps the start of the file.
12561
12562 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12563
12564         * INSTALL: Regenerated.
12565
12566 2014-03-13  Will Newton  <will.newton@linaro.org>
12567
12568         * manual/setjmp.texi (System V contexts): Improve
12569         clarity and grammar of documentation.
12570
12571 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12572
12573         [BZ #16381]
12574         * elf/Makefile (tests): Add tst-pie2.
12575         (tests-pie): Add tst-pie2.
12576         * elf/tst-pie2.c: New file.
12577         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12578         for ET_EXEC.
12579         * elf/rtld.c (map_doit): Load executable as lt_executable.
12580         (dl_main): Likewise.
12581
12582 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12583
12584         [BZ #16642]
12585         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12586         (__ASSUME_PSELECT): Undefine.
12587
12588 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12589
12590         [BZ #16689]
12591         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12592         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12593         static build.
12594         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12595         selector for static builds.
12596
12597 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12598
12599         [BZ #16695]
12600         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12601         key in the buffer.
12602
12603 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12604
12605         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12606         IFUNC selector for static builds.
12607
12608 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12609
12610         * sysdeps/mips/math_private.h [__mips_hard_float]
12611         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12612         libc_feresetround_mips_ctx.
12613         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12614         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12615         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12616
12617         [BZ #16677]
12618         * math/s_nextafter.c (__nextafter): Do not return value from
12619         overflowing computation.
12620         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12621         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12622         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12623         Likewise.
12624         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12625         Likewise.
12626         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12627         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12628
12629 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12630
12631         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12632         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12633         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12634         the new mov targetting sp.
12635
12636 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12637
12638         [BZ #16683]
12639         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12640         Define it for static builds as well.
12641         (NO_BZERO_IMPL): Likewise.
12642
12643 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12644
12645         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12646         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12647         multiarch strspn for PPC64.
12648         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12649         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12650         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12651         (__libc_ifunc_impl_list): Likewise.
12652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12653         multiarch optimizations
12654         * string/strspn.c (strspn): Using macro to redefine symbol name.
12655
12656 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12657             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12658
12659         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12660         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12661         multiarch strncat for PPC64.
12662         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12663         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12665         (__libc_ifunc_impl_list): Likewise.
12666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12667         multiarch optimizations
12668
12669 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12670
12671         [BZ #16639]
12672         * nscd/nscd.service: Make service type forking.
12673
12674 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12675
12676         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12677         sign in non default rounding modes.
12678         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12679
12680 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12681
12682         * math/libm-test.inc (ALL_RM_TEST): New macro.
12683         (ceil_test): Use ALL_RM_TEST.
12684         (cimag_test): Likewise.
12685         (conj_test): Likewise.
12686         (copysign_test): Likewise.
12687         (cproj_test): Likewise.
12688         (creal_test): Likewise.
12689         (fabs_test): Likewise.
12690         (floor_test): Likewise.
12691         (fmax_test): Likewise.
12692         (fmin_test): Likewise.
12693         (fmod_test): Likewise.
12694         (fpclassify_test): Likewise.
12695         (frexp_test): Likewise.
12696         (ilogb_test): Likewise.
12697         (isfinite_test): Likewise.
12698         (finite_test): Likewise.
12699         (isgreater_test): Likewise.
12700         (isgreaterequal_test): Likewise.
12701         (isinf_test): Likewise.
12702         (isless_test): Likewise.
12703         (islessequal_test): Likewise.
12704         (islessgreater_test): Likewise.
12705         (isnan_test): Likewise.
12706         (isnormal_test): Likewise.
12707         (issignaling_test): Likewise.
12708         (isunordered_test): Likewise.
12709         (logb_test): Likewise.
12710         (logb_downward_test_data): Remove.
12711         (logb_test_downward): Likewise.
12712         (lround_test): Use ALL_RM_TEST.
12713         (llround_test): Likewise.
12714         (modf_test): Likewise.
12715         (nexttoward_test): Likewise.
12716         (remainder_test): Likewise.
12717         (drem_test): Likewise.
12718         (remainder_tonearest_test_data): Likewise.
12719         (remainder_test_tonearest): Likewise.
12720         (drem_test_tonearest): Likewise.
12721         (remainder_towardzero_test_data): Likewise.
12722         (remainder_test_towardzero): Likewise.
12723         (drem_test_towardzero): Likewise.
12724         (remainder_downward_test_data): Likewise.
12725         (remainder_test_downward): Likewise.
12726         (drem_test_downward): Likewise.
12727         (remainder_upward_test_data): Likewise.
12728         (remainder_test_upward): Likewise.
12729         (drem_test_upward): Likewise.
12730         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12731         (round_test): Use ALL_RM_TEST.
12732         (signbit_test): Likewise.
12733         (trunc_test): Likewise.
12734         (significand_test): Likewise.
12735         (main): Don't call removed functions.
12736
12737 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12738
12739         [BZ #16674]
12740         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12741         || __USE_XOPEN2K8].
12742         (ILL_ILLOPN): Likewise.
12743         (ILL_ILLADR): Likewise.
12744         (ILL_ILLTRP): Likewise.
12745         (ILL_PRVOPC): Likewise.
12746         (ILL_PRVREG): Likewise.
12747         (ILL_COPROC): Likewise.
12748         (ILL_BADSTK): Likewise.
12749         (FPE_INTDIV): Likewise.
12750         (FPE_INTOVF): Likewise.
12751         (FPE_FLTDIV): Likewise.
12752         (FPE_FLTOVF): Likewise.
12753         (FPE_FLTUND): Likewise.
12754         (FPE_FLTRES): Likewise.
12755         (FPE_FLTINV): Likewise.
12756         (FPE_FLTSUB): Likewise.
12757         (SEGV_MAPERR): Likewise.
12758         (SEGV_ACCERR): Likewise.
12759         (BUS_ADRALN): Likewise.
12760         (BUS_ADRERR): Likewise.
12761         (BUS_OBJERR): Likewise.
12762         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12763         (TRAP_TRACE): Likewise.
12764         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12765         __USE_XOPEN2K8].
12766         (CLD_KILLED): Likewise.
12767         (CLD_DUMPED): Likewise.
12768         (CLD_TRAPPED): Likewise.
12769         (CLD_STOPPED): Likewise.
12770         (CLD_CONTINUED): Likewise.
12771         (POLL_IN): Likewise.
12772         (POLL_OUT): Likewise.
12773         (POLL_MSG): Likewise.
12774         (POLL_ERR): Likewise.
12775         (POLL_PRI): Likewise.
12776         (POLL_HUP): Likewise.
12777         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12778         Likewise.
12779         (ILL_ILLOPN): Likewise.
12780         (ILL_ILLADR): Likewise.
12781         (ILL_ILLTRP): Likewise.
12782         (ILL_PRVOPC): Likewise.
12783         (ILL_PRVREG): Likewise.
12784         (ILL_COPROC): Likewise.
12785         (ILL_BADSTK): Likewise.
12786         (FPE_INTDIV): Likewise.
12787         (FPE_INTOVF): Likewise.
12788         (FPE_FLTDIV): Likewise.
12789         (FPE_FLTOVF): Likewise.
12790         (FPE_FLTUND): Likewise.
12791         (FPE_FLTRES): Likewise.
12792         (FPE_FLTINV): Likewise.
12793         (FPE_FLTSUB): Likewise.
12794         (SEGV_MAPERR): Likewise.
12795         (SEGV_ACCERR): Likewise.
12796         (BUS_ADRALN): Likewise.
12797         (BUS_ADRERR): Likewise.
12798         (BUS_OBJERR): Likewise.
12799         (BUS_MCEERR_AR): Likewise.
12800         (BUS_MCEERR_AO): Likewise.
12801         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12802         (TRAP_TRACE): Likewise.
12803         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12804         __USE_XOPEN2K8].
12805         (CLD_KILLED): Likewise.
12806         (CLD_DUMPED): Likewise.
12807         (CLD_TRAPPED): Likewise.
12808         (CLD_STOPPED): Likewise.
12809         (CLD_CONTINUED): Likewise.
12810         (POLL_IN): Likewise.
12811         (POLL_OUT): Likewise.
12812         (POLL_MSG): Likewise.
12813         (POLL_ERR): Likewise.
12814         (POLL_PRI): Likewise.
12815         (POLL_HUP): Likewise.
12816         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12817         (ILL_ILLOPN): Likewise.
12818         (ILL_ILLADR): Likewise.
12819         (ILL_ILLTRP): Likewise.
12820         (ILL_PRVOPC): Likewise.
12821         (ILL_PRVREG): Likewise.
12822         (ILL_COPROC): Likewise.
12823         (ILL_BADSTK): Likewise.
12824         (FPE_INTDIV): Likewise.
12825         (FPE_INTOVF): Likewise.
12826         (FPE_FLTDIV): Likewise.
12827         (FPE_FLTOVF): Likewise.
12828         (FPE_FLTUND): Likewise.
12829         (FPE_FLTRES): Likewise.
12830         (FPE_FLTINV): Likewise.
12831         (FPE_FLTSUB): Likewise.
12832         (SEGV_MAPERR): Likewise.
12833         (SEGV_ACCERR): 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         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12842         __USE_XOPEN2K8].
12843         (CLD_KILLED): Likewise.
12844         (CLD_DUMPED): Likewise.
12845         (CLD_TRAPPED): Likewise.
12846         (CLD_STOPPED): Likewise.
12847         (CLD_CONTINUED): Likewise.
12848         (POLL_IN): Likewise.
12849         (POLL_OUT): Likewise.
12850         (POLL_MSG): Likewise.
12851         (POLL_ERR): Likewise.
12852         (POLL_PRI): Likewise.
12853         (POLL_HUP): Likewise.
12854         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12855         Likewise.
12856         (ILL_ILLOPN): Likewise.
12857         (ILL_ILLADR): Likewise.
12858         (ILL_ILLTRP): Likewise.
12859         (ILL_PRVOPC): Likewise.
12860         (ILL_PRVREG): Likewise.
12861         (ILL_COPROC): Likewise.
12862         (ILL_BADSTK): Likewise.
12863         (ILL_BADIADDR): Likewise.
12864         (ILL_BREAK): Likewise.
12865         (FPE_INTDIV): Likewise.
12866         (FPE_INTOVF): Likewise.
12867         (FPE_FLTDIV): Likewise.
12868         (FPE_FLTOVF): Likewise.
12869         (FPE_FLTUND): Likewise.
12870         (FPE_FLTRES): Likewise.
12871         (FPE_FLTINV): Likewise.
12872         (FPE_FLTSUB): Likewise.
12873         (FPE_DECOVF): Likewise.
12874         (FPE_DECDIV): Likewise.
12875         (FPE_DECERR): Likewise.
12876         (FPE_INVASC): Likewise.
12877         (FPE_INVDEC): Likewise.
12878         (SEGV_MAPERR): Likewise.
12879         (SEGV_ACCERR): Likewise.
12880         (SEGV_PSTKOVF): Likewise.
12881         (BUS_ADRALN): Likewise.
12882         (BUS_ADRERR): Likewise.
12883         (BUS_OBJERR): Likewise.
12884         (BUS_MCEERR_AR): Likewise.
12885         (BUS_MCEERR_AO): Likewise.
12886         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12887         (TRAP_TRACE): Likewise.
12888         (TRAP_BRANCH): Likewise.
12889         (TRAP_HWBKPT): Likewise.
12890         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12891         __USE_XOPEN2K8].
12892         (CLD_KILLED): Likewise.
12893         (CLD_DUMPED): Likewise.
12894         (CLD_TRAPPED): Likewise.
12895         (CLD_STOPPED): Likewise.
12896         (CLD_CONTINUED): Likewise.
12897         (POLL_IN): Likewise.
12898         (POLL_OUT): Likewise.
12899         (POLL_MSG): Likewise.
12900         (POLL_ERR): Likewise.
12901         (POLL_PRI): Likewise.
12902         (POLL_HUP): Likewise.
12903         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12904         (ILL_ILLOPN): Likewise.
12905         (ILL_ILLADR): Likewise.
12906         (ILL_ILLTRP): Likewise.
12907         (ILL_PRVOPC): Likewise.
12908         (ILL_PRVREG): Likewise.
12909         (ILL_COPROC): Likewise.
12910         (ILL_BADSTK): Likewise.
12911         (FPE_INTDIV): Likewise.
12912         (FPE_INTOVF): Likewise.
12913         (FPE_FLTDIV): Likewise.
12914         (FPE_FLTOVF): Likewise.
12915         (FPE_FLTUND): Likewise.
12916         (FPE_FLTRES): Likewise.
12917         (FPE_FLTINV): Likewise.
12918         (FPE_FLTSUB): Likewise.
12919         (SEGV_MAPERR): Likewise.
12920         (SEGV_ACCERR): Likewise.
12921         (BUS_ADRALN): Likewise.
12922         (BUS_ADRERR): Likewise.
12923         (BUS_OBJERR): Likewise.
12924         (BUS_MCEERR_AR): Likewise.
12925         (BUS_MCEERR_AO): Likewise.
12926         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12927         (TRAP_TRACE): Likewise.
12928         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12929         __USE_XOPEN2K8].
12930         (CLD_KILLED): Likewise.
12931         (CLD_DUMPED): Likewise.
12932         (CLD_TRAPPED): Likewise.
12933         (CLD_STOPPED): Likewise.
12934         (CLD_CONTINUED): Likewise.
12935         (POLL_IN): Likewise.
12936         (POLL_OUT): Likewise.
12937         (POLL_MSG): Likewise.
12938         (POLL_ERR): Likewise.
12939         (POLL_PRI): Likewise.
12940         (POLL_HUP): Likewise.
12941         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12942         (ILL_ILLOPN): Likewise.
12943         (ILL_ILLADR): Likewise.
12944         (ILL_ILLTRP): Likewise.
12945         (ILL_PRVOPC): Likewise.
12946         (ILL_PRVREG): Likewise.
12947         (ILL_COPROC): Likewise.
12948         (ILL_BADSTK): Likewise.
12949         (FPE_INTDIV): Likewise.
12950         (FPE_INTOVF): Likewise.
12951         (FPE_FLTDIV): Likewise.
12952         (FPE_FLTOVF): Likewise.
12953         (FPE_FLTUND): Likewise.
12954         (FPE_FLTRES): Likewise.
12955         (FPE_FLTINV): Likewise.
12956         (FPE_FLTSUB): Likewise.
12957         (SEGV_MAPERR): Likewise.
12958         (SEGV_ACCERR): Likewise.
12959         (BUS_ADRALN): Likewise.
12960         (BUS_ADRERR): Likewise.
12961         (BUS_OBJERR): Likewise.
12962         (BUS_MCEERR_AR): Likewise.
12963         (BUS_MCEERR_AO): Likewise.
12964         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12965         (TRAP_TRACE): Likewise.
12966         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12967         __USE_XOPEN2K8].
12968         (CLD_KILLED): Likewise.
12969         (CLD_DUMPED): Likewise.
12970         (CLD_TRAPPED): Likewise.
12971         (CLD_STOPPED): Likewise.
12972         (CLD_CONTINUED): Likewise.
12973         (POLL_IN): Likewise.
12974         (POLL_OUT): Likewise.
12975         (POLL_MSG): Likewise.
12976         (POLL_ERR): Likewise.
12977         (POLL_PRI): Likewise.
12978         (POLL_HUP): Likewise.
12979         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12980         (ILL_ILLOPN): Likewise.
12981         (ILL_ILLADR): Likewise.
12982         (ILL_ILLTRP): Likewise.
12983         (ILL_PRVOPC): Likewise.
12984         (ILL_PRVREG): Likewise.
12985         (ILL_COPROC): Likewise.
12986         (ILL_BADSTK): Likewise.
12987         (FPE_INTDIV): Likewise.
12988         (FPE_INTOVF): Likewise.
12989         (FPE_FLTDIV): Likewise.
12990         (FPE_FLTOVF): Likewise.
12991         (FPE_FLTUND): Likewise.
12992         (FPE_FLTRES): Likewise.
12993         (FPE_FLTINV): Likewise.
12994         (FPE_FLTSUB): Likewise.
12995         (SEGV_MAPERR): Likewise.
12996         (SEGV_ACCERR): Likewise.
12997         (BUS_ADRALN): Likewise.
12998         (BUS_ADRERR): Likewise.
12999         (BUS_OBJERR): Likewise.
13000         (BUS_MCEERR_AR): Likewise.
13001         (BUS_MCEERR_AO): Likewise.
13002         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13003         (TRAP_TRACE): Likewise.
13004         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13005         __USE_XOPEN2K8].
13006         (CLD_KILLED): Likewise.
13007         (CLD_DUMPED): Likewise.
13008         (CLD_TRAPPED): Likewise.
13009         (CLD_STOPPED): Likewise.
13010         (CLD_CONTINUED): Likewise.
13011         (POLL_IN): Likewise.
13012         (POLL_OUT): Likewise.
13013         (POLL_MSG): Likewise.
13014         (POLL_ERR): Likewise.
13015         (POLL_PRI): Likewise.
13016         (POLL_HUP): Likewise.
13017         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13018         (ILL_ILLOPN): Likewise.
13019         (ILL_ILLADR): Likewise.
13020         (ILL_ILLTRP): Likewise.
13021         (ILL_PRVOPC): Likewise.
13022         (ILL_PRVREG): Likewise.
13023         (ILL_COPROC): Likewise.
13024         (ILL_BADSTK): Likewise.
13025         (ILL_DBLFLT): Likewise.
13026         (ILL_HARDWALL): Likewise.
13027         (FPE_INTDIV): Likewise.
13028         (FPE_INTOVF): Likewise.
13029         (FPE_FLTDIV): Likewise.
13030         (FPE_FLTOVF): Likewise.
13031         (FPE_FLTUND): Likewise.
13032         (FPE_FLTRES): Likewise.
13033         (FPE_FLTINV): Likewise.
13034         (FPE_FLTSUB): Likewise.
13035         (SEGV_MAPERR): Likewise.
13036         (SEGV_ACCERR): Likewise.
13037         (BUS_ADRALN): Likewise.
13038         (BUS_ADRERR): Likewise.
13039         (BUS_OBJERR): Likewise.
13040         (BUS_MCEERR_AR): Likewise.
13041         (BUS_MCEERR_AO): Likewise.
13042         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13043         (TRAP_TRACE): Likewise.
13044         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13045         __USE_XOPEN2K8].
13046         (CLD_KILLED): Likewise.
13047         (CLD_DUMPED): Likewise.
13048         (CLD_TRAPPED): Likewise.
13049         (CLD_STOPPED): Likewise.
13050         (CLD_CONTINUED): Likewise.
13051         (POLL_IN): Likewise.
13052         (POLL_OUT): Likewise.
13053         (POLL_MSG): Likewise.
13054         (POLL_ERR): Likewise.
13055         (POLL_PRI): Likewise.
13056         (POLL_HUP): Likewise.
13057         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13058         (ILL_ILLOPN): Likewise.
13059         (ILL_ILLADR): Likewise.
13060         (ILL_ILLTRP): Likewise.
13061         (ILL_PRVOPC): Likewise.
13062         (ILL_PRVREG): Likewise.
13063         (ILL_COPROC): Likewise.
13064         (ILL_BADSTK): Likewise.
13065         (FPE_INTDIV): Likewise.
13066         (FPE_INTOVF): Likewise.
13067         (FPE_FLTDIV): Likewise.
13068         (FPE_FLTOVF): Likewise.
13069         (FPE_FLTUND): Likewise.
13070         (FPE_FLTRES): Likewise.
13071         (FPE_FLTINV): Likewise.
13072         (FPE_FLTSUB): Likewise.
13073         (SEGV_MAPERR): Likewise.
13074         (SEGV_ACCERR): Likewise.
13075         (BUS_ADRALN): Likewise.
13076         (BUS_ADRERR): Likewise.
13077         (BUS_OBJERR): Likewise.
13078         (BUS_MCEERR_AR): Likewise.
13079         (BUS_MCEERR_AO): Likewise.
13080         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13081         (TRAP_TRACE): Likewise.
13082         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13083         __USE_XOPEN2K8].
13084         (CLD_KILLED): Likewise.
13085         (CLD_DUMPED): Likewise.
13086         (CLD_TRAPPED): Likewise.
13087         (CLD_STOPPED): Likewise.
13088         (CLD_CONTINUED): Likewise.
13089         (POLL_IN): Likewise.
13090         (POLL_OUT): Likewise.
13091         (POLL_MSG): Likewise.
13092         (POLL_ERR): Likewise.
13093         (POLL_PRI): Likewise.
13094         (POLL_HUP): Likewise.
13095         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13096         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13097
13098         [BZ #16670]
13099         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13100         before #include of <time.h>.
13101         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13102         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13103         (test-xfail-UNIX98/sched.h/conform): Likewise.
13104
13105 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13106
13107         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13108         error absence of trapping exception support.
13109         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13110
13111 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13112
13113         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13114         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13115         * timezone/Makefile (testdata): Move definition above include of
13116         Rules.
13117         (test-zones): New variable.
13118         (tests-special): Add zone files.
13119         (build-testdata): Use $(evaluate-test).
13120
13121         * elf/Makefile (tests-special): Rename tests to end with .out.
13122         ($(objpfx)noload-mem): Likewise.
13123         ($(objpfx)tst-leaks1-mem): Likewise.
13124         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13125         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13126         $(objpfx)test-iconvconfig.out.
13127         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13128         set -e inside subshell and redirect output to file.
13129         * iconvdata/Makefile (generated): Rename tests to end with .out.
13130         Correct type.
13131         (tests-special): Rename tests to end with .out.
13132         ($(objpfx)mtrace-tst-loading): Likewise.
13133         * intl/Makefile (generated): Likewise.
13134         (tests-special): Likewise.
13135         ($(objpfx)mtrace-tst-gettext): Likewise.
13136         * misc/Makefile (generated): Likewise.
13137         (tests-special): Likewise.
13138         ($(objpfx)tst-error1-mem): Likewise.
13139         * nptl/Makefile (tests-special): Likewise.
13140         ($(objpfx)tst-stack3-mem): Likewise.
13141         (generated): Likewise.
13142         * posix/Makefile (generated): Likewise.
13143         (tests-special): Likewise.
13144         (xtests-special): Likewise.
13145         ($(objpfx)tst-fnmatch-mem): Likewise.
13146         ($(objpfx)bug-regex2-mem): Likewise.
13147         ($(objpfx)bug-regex14-mem): Likewise.
13148         ($(objpfx)bug-regex21-mem): Likewise.
13149         ($(objpfx)bug-regex31-mem): Likewise.
13150         ($(objpfx)tst-vfork3-mem): Likewise.
13151         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13152         ($(objpfx)tst-pcre-mem): Likewise.
13153         ($(objpfx)tst-boost-mem): Likewise.
13154         ($(objpfx)bug-ga2-mem): Likewise.
13155         ($(objpfx)bug-glob2-mem): Likewise.
13156         * resolv/Makefile (generate): Likewise.
13157         (tests-special): Likewise.
13158         (xtests-special): Likewise.
13159         (generated): Likewise.
13160         ($(objpfx)mtrace-tst-leaks): Likewise.
13161         ($(objpfx)mtrace-tst-leaks2): Likewise.
13162
13163         * scripts/merge-test-results.sh: New file.
13164         * Makefile (tests-special-notdir): New variable.
13165         (tests): Run merge-test-results.sh.
13166         (xtests): Likewise.
13167         * Rules (tests-special-notdir): New variable.
13168         (xtests-special-notdir): Likewise.
13169         (tests): Run merge-test-results.sh
13170         (xtests): Likewise.
13171
13172         * Makeconfig (test-xfail-name): New variable.
13173         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13174         compute variable name for expected failures.
13175         * conform/Makefile (conformtest-headers-data): New variable.
13176         (conformtest-standards): Likewise.
13177         (conformtest-headers-ISO): Likewise.
13178         (conformtest-headers-ISO99): Likewise.
13179         (conformtest-headers-ISO11): Likewise.
13180         (conformtest-headers-POSIX): Likewise.
13181         (conformtest-headers-XPG3): Likewise.
13182         (conformtest-headers-XPG4): Likewise.
13183         (conformtest-headers-UNIX98): Likewise.
13184         (conformtest-headers-XOPEN2K): Likewise.
13185         (conformtest-headers-POSIX2008): Likewise.
13186         (conformtest-headers-XOPEN2K8): Likewise.
13187         (conformtest-header-list-base): Likewise.
13188         (conformtest-header-list-tests): Likewise.
13189         (conformtest-header-base): Likewise.
13190         (conformtest-header-tests): Likewise.
13191         (tests-special): Add $(conformtest-header-list-tests).  If
13192         [$(fast-check) && !$(cross-compiling)], add
13193         $(conformtest-header-tests) instead of
13194         $(objpfx)run-conformtest.out.
13195         (generated): Add $(conformtest-header-list-base).  If
13196         [$(fast-check) && !$(cross-compiling)], add
13197         $(conformtest-header-base).  Remove previous setting.
13198         ($(conformtest-header-list-tests)): New target.
13199         (test-xfail-run-conformtest): Remove variable.
13200         ($(objpfx)run-conformtest.out): Remove target.
13201         (test-xfail-ISO11/complex.h/conform): New variable.
13202         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13203         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13204         (test-xfail-XPG3/varargs.h/conform): Likewise.
13205         (test-xfail-XPG4/varargs.h/conform): Likewise.
13206         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13207         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13208         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13209         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13210         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13211         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13212         (test-xfail-XPG3/ftw.h/conform): Likewise.
13213         (test-xfail-XPG3/grp.h/conform): Likewise.
13214         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13215         (test-xfail-XPG3/limits.h/conform): Likewise.
13216         (test-xfail-XPG3/pwd.h/conform): Likewise.
13217         (test-xfail-XPG3/search.h/conform): Likewise.
13218         (test-xfail-XPG3/signal.h/conform): Likewise.
13219         (test-xfail-XPG3/stdio.h/conform): Likewise.
13220         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13221         (test-xfail-XPG3/string.h/conform): Likewise.
13222         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13223         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13224         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13225         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13226         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13227         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13228         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13229         (test-xfail-XPG3/termios.h/conform): Likewise.
13230         (test-xfail-XPG3/time.h/conform): Likewise.
13231         (test-xfail-XPG3/unistd.h/conform): Likewise.
13232         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13233         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13234         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13235         (test-xfail-XPG4/netdb.h/conform): Likewise.
13236         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13237         (test-xfail-XPG4/signal.h/conform): Likewise.
13238         (test-xfail-XPG4/stdio.h/conform): Likewise.
13239         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13240         (test-xfail-XPG4/stropts.h/conform): Likewise.
13241         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13242         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13243         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13244         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13245         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13246         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13247         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13248         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13249         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13250         (test-xfail-XPG4/termios.h/conform): Likewise.
13251         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13252         (test-xfail-XPG4/unistd.h/conform): Likewise.
13253         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13254         (test-xfail-POSIX/sched.h/conform): Likewise.
13255         (test-xfail-POSIX/signal.h/conform): Likewise.
13256         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13257         (test-xfail-POSIX/tar.h/conform): Likewise.
13258         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13259         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13260         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13261         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13262         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13263         (test-xfail-UNIX98/sched.h/conform): Likewise.
13264         (test-xfail-UNIX98/signal.h/conform): Likewise.
13265         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13266         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13267         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13268         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13269         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13270         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13271         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13272         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13273         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13274         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13275         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13276         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13277         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13278         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13279         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13280         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13281         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13282         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13283         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13284         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13285         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13286         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13287         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13288         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13289         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13290         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13291         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13292         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13293         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13294         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13295         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13296         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13297         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13298         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13299         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13300         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13301         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13302         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13303         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13304         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13305         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13306         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13307         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13308         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13309         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13310         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13311         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13312         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13313         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13314         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13315         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13316         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13317         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13318         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13319         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13320         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13321         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13322         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13323         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13324         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13325         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13326         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13327         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13328         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13329         (conformtest-cc-flags): Likewise.
13330         ($(conformtest-header-tests): New target.
13331         * conform/check-header-lists.sh: New file.
13332         * conform/run-conformtest.sh: Remove.
13333
13334         * conform/conformtest.pl: Allow ' and \ in values given for
13335         constants.
13336         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13337         inclusion.
13338         [POSIX] (sys/types.h): Likewise.
13339         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13340         inclusion.
13341         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13342         inclusion.
13343         * conform/data/signal.h-data (SIGIO): Remove expectation.
13344         [XPG3] (SIGBUS): Do not expect.
13345         [POSIX || XPG3] (SIGPOLL): Likewise.
13346         [POSIX || XPG3] (SIGPROF): Likewise.
13347         [POSIX || XPG3] (SIGSYS): Likewise.
13348         [XPG3] (SIGTRAP): Likewise.
13349         [POSIX || XPG3] (SIGURG): Likewise.
13350         [POSIX || XPG3] (SIGVTALRM): Likewise.
13351         [POSIX || XPG3] (SIGXCPU): Likewise.
13352         [POSIX || XPG3] (SIGXFSZ): Likewise.
13353         [POSIX] (SA_SIGINFO): Expect.
13354         [XPG3] (siginfo_t): Do not expect type or contents.
13355         [POSIX] (si_pid): Do not expect element.
13356         [POSIX] (si_uid): Likewise.
13357         [POSIX] (si_addr): Likewise.
13358         [POSIX] (si_status): Likewise.
13359         [POSIX] (si_band): Likewise.
13360         [XPG4] (si_value): Likewise.
13361         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13362         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13363         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13364         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13365         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13366         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13367         [POSIX || XPG3] (ILL_COPROC): Likewise.
13368         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13369         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13370         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13371         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13372         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13373         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13374         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13375         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13376         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13377         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13378         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13379         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13380         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13381         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13382         [POSIX || XPG3] (CLD_EXITED): Likewise.
13383         [POSIX || XPG3] (CLD_KILLED): Likewise.
13384         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13385         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13386         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13387         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13388         [POSIX || XPG3] (POLL_IN): Likewise.
13389         [POSIX || XPG3] (POLL_OUT): Likewise.
13390         [POSIX || XPG3] (POLL_MSG): Likewise.
13391         [POSIX || XPG3] (POLL_ERR): Likewise.
13392         [POSIX || XPG3] (POLL_PRI): Likewise.
13393         [POSIX || XPG3] (POLL_HUP): Likewise.
13394         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13395         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13396         (SIG*): Do not allow.
13397         [XPG3] (si_*): Likewise.
13398         [XPG3] (SI_*): Likewise.
13399         [XPG3 || XPG4] (sigev_*): Likewise.
13400         [XPG3 || XPG4] (SIGEV_*): Likewise.
13401         [XPG3 || XPG4] (sival_*): Likewise.
13402         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13403         [POSIX || XPG3] (BUS_*): Likewise.
13404         [POSIX || XPG3] (CLD_*): Likewise.
13405         [POSIX || XPG3] (FPE_*): Likewise.
13406         [POSIX || XPG3] (ILL_*): Likewise.
13407         [POSIX || XPG3] (POLL_*): Likewise.
13408         [POSIX || XPG3] (SEGV_*): Likewise.
13409         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13410         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13411         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13412         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13413         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13414         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13415         Specify type and value.
13416         (TVERSLEN): Likewise.
13417         (REGTYPE): Likewise.
13418         (AREGTYPE): Likewise.
13419         (LNKTYPE): Likewise.
13420         (SYMTYPE): Likewise.
13421         (CHRTYPE): Likewise.
13422         (BLKTYPE): Likewise.
13423         (DIRTYPE): Likewise.
13424         (FIFOTYPE): Likewise.
13425         (CONTTYPE): Likewise.
13426         (TSUID): Likewise.
13427         (TSGID): Likewise.
13428         (TSVTX): Likewise.
13429         (TUREAD): Likewise.
13430         (TUWRITE): Likewise.
13431         (TUEXEC): Likewise.
13432         (TGREAD): Likewise.
13433         (TGWRITE): Likewise.
13434         (TGEXEC): Likewise.
13435         (TOREAD): Likewise.
13436         (TOWRITE): Likewise.
13437         (TOEXEC): Likewise.
13438         [POSIX] (TSVTX): Expect constant.
13439
13440 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13441
13442         * Makefile (tests): Change dependencies to ....
13443         (tests-special): ... additions to this variable.
13444         (tests): Depend on $(tests-special).
13445         * Makerules (check-abi-list): New variable.
13446         (check-abi): Depend on $(check-abi-list).
13447         [$(subdir) = elf] (tests-special): Add
13448         $(objpfx)check-abi-libc.out.
13449         [$(build-shared) = yes && subdir] (tests-special): Add
13450         $(check-abi-list).
13451         [$(build-shared) = yes && subdir] (tests): Do not depend on
13452         check-abi.
13453         * Rules (tests): Depend on $(tests-special).
13454         (xtests): Depend on $(xtests-special).
13455         * catgets/Makefile (tests): Change dependencies to ....
13456         (tests-special): ... additions to this variable.
13457         * conform/Makefile (tests): Change dependencies to ....
13458         (tests-special): ... additions to this variable.
13459         * elf/Makefile (tests): Change dependencies to ....
13460         (tests-special): ... additions to this variable.
13461         * grp/Makefile (tests): Change dependencies to ....
13462         (tests-special): ... additions to this variable.
13463         * iconv/Makefile (xtests): Change dependencies to ....
13464         (xtests-special): ... additions to this variable.
13465         * iconvdata/Makefile (tests): Change dependencies to ....
13466         (tests-special): ... additions to this variable.
13467         * intl/Makefile (tests): Change dependencies to ....
13468         (tests-special): ... additions to this variable.  Also add
13469         $(objpfx)tst-gettext.out.
13470         * io/Makefile (tests): Change dependencies to ....
13471         (tests-special): ... additions to this variable.
13472         * libio/Makefile (tests): Change dependencies to ....
13473         (tests-special): ... additions to this variable.
13474         * malloc/Makefile (tests): Change dependencies to ....
13475         (tests-special): ... additions to this variable.
13476         * misc/Makefile (tests): Change dependencies to ....
13477         (tests-special): ... additions to this variable.
13478         * nptl/Makefile (tests): Change dependencies to ....
13479         (tests-special): ... additions to this variable.
13480         * nptl_db/Makefile (tests): Change dependencies to ....
13481         (tests-special): ... additions to this variable.
13482         * posix/Makefile (tests): Change dependencies to ....
13483         (tests-special): ... additions to this variable.
13484         (xtests): Change dependencies to ....
13485         (xtests-special): ... additions to this variable.
13486         * resolv/Makefile (tests): Change dependencies to ....
13487         (tests-special): ... additions to this variable.
13488         (xtests): Change dependencies to ....
13489         (xtests-special): ... additions to this variable.
13490         * stdio-common/Makefile (tests): Change dependencies to ....
13491         (tests-special): ... additions to this variable.
13492         (do-tst-unbputc): Remove target.
13493         (do-tst-printf): Likewise.
13494         * stdlib/Makefile (tests): Change dependencies to ....
13495         (tests-special): ... additions to this variable.
13496         * string/Makefile (tests): Change dependencies to ....
13497         (tests-special): ... additions to this variable.
13498         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13499         (tests-special): ... additions to this variable.
13500
13501         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13502         whole file.
13503         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13504         whole file.
13505         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13506         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13507
13508         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13509         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13510         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13511         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13512         * conform/data/libgen.h-data [XPG3]: Likewise.
13513         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13514         * conform/data/ndbm.h-data [XPG3]: Likewise.
13515         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13516         * conform/data/netdb.h-data [XPG3]: Likewise.
13517         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13518         * conform/data/poll.h-data [XPG3]: Likewise.
13519         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13520         * conform/data/strings.h-data [XPG3]: Likewise.
13521         * conform/data/stropts.h-data [XPG3]: Likewise.
13522         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13523         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13524         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13525         Likewise.
13526         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13527         * conform/data/sys/time.h-data [XPG3]: Likewise.
13528         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13529         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13530         * conform/data/sys/un.h-data [XPG3]: Likewise.
13531         * conform/data/syslog.h-data [XPG3]: Likewise.
13532         * conform/data/ucontext.h-data [XPG3]: Likewise.
13533         * conform/data/utmpx.h-data [XPG3]: Likewise.
13534         * conform/data/varargs.h-data [UNIX98]: Enable file.
13535
13536         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13537
13538         * math/libm-test.inc (struct test_f_f_data): Move expected results
13539         into structure for each rounding mode.
13540         (struct test_ff_f_data): Likewise.
13541         (struct test_ff_f_data_nexttoward): Likewise.
13542         (struct test_fi_f_data): Likewise.
13543         (struct test_fl_f_data): Likewise.
13544         (struct test_if_f_data): Likewise.
13545         (struct test_fff_f_data): Likewise.
13546         (struct test_c_f_data): Likewise.
13547         (struct test_f_f1_data): Likewise.
13548         (struct test_fF_f1_data): Likewise.
13549         (struct test_ffI_f1_data): Likewise.
13550         (struct test_c_c_data): Likewise.
13551         (struct test_cc_c_data): Likewise.
13552         (struct test_f_i_data): Likewise.
13553         (struct test_ff_i_data): Likewise.
13554         (struct test_f_l_data): Likewise.
13555         (struct test_f_L_data): Likewise.
13556         (struct test_fFF_11_data): Likewise.
13557         (RM_): New macro.
13558         (RM_FE_DOWNWARD): Likewise.
13559         (RM_FE_TONEAREST): Likewise.
13560         (RM_FE_TOWARDZERO): Likewise.
13561         (RM_FE_UPWARD): Likewise.
13562         (RUN_TEST_LOOP_f_f): Update references to expected results.
13563         (RUN_TEST_LOOP_2_f): Likewise.
13564         (RUN_TEST_LOOP_fff_f): Likewise.
13565         (RUN_TEST_LOOP_c_f): Likewise.
13566         (RUN_TEST_LOOP_f_f1): Likewise.
13567         (RUN_TEST_LOOP_fF_f1): Likewise.
13568         (RUN_TEST_LOOP_fI_f1): Likewise.
13569         (RUN_TEST_LOOP_ffI_f1): Likewise.
13570         (RUN_TEST_LOOP_c_c): Likewise.
13571         (RUN_TEST_LOOP_cc_c): Likewise.
13572         (RUN_TEST_LOOP_f_i): Likewise.
13573         (RUN_TEST_LOOP_f_i_tg): Likewise.
13574         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13575         (RUN_TEST_LOOP_f_b): Likewise.
13576         (RUN_TEST_LOOP_f_b_tg): Likewise.
13577         (RUN_TEST_LOOP_f_l): Likewise.
13578         (RUN_TEST_LOOP_f_L): Likewise.
13579         (RUN_TEST_LOOP_fFF_11): Likewise.
13580         * math/gen-libm-test.pl (parse_args): Output four copies of
13581         expected results for each test.
13582
13583         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13584         (__ASSUME_UTIMES): Remove.
13585         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13586         (__ASSUME_UTIMES): Likewise.
13587
13588         * math/gen-auto-libm-tests.c: Update comment on output format.
13589         (output_for_one_input_case): Generate before-rounding and
13590         after-rounding information as conditions on output flags not
13591         floating-point format.
13592         * math/auto-libm-test-out: Regenerated.
13593         * math/gen-libm-test.pl (cond_value): New function.
13594         (or_cond_value): Use cond_value.
13595         (generate_testfile): Handle conditional exceptions.
13596
13597 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13598
13599         * math/libm-test.inc (max_valid_error): New variable.
13600         (init_max_error): Take new argument specifying whether function
13601         results are exactly determined.  Set max_valid_error and bound
13602         other variables for errors based on this argument.
13603         (set_max_error): Do not record results above max_valid_error.
13604         (check_float_internal): Only accept errors of up to 0.5ulps if
13605         also at most max_valid_error.
13606         (START): Take new argument EXACT and pass it to init_max_error.
13607         (acos_test): Update call to START.
13608         (acos_test_tonearest): Likewise.
13609         (acos_test_towardzero): Likewise.
13610         (acos_test_downward): Likewise.
13611         (acos_test_upward): Likewise.
13612         (acosh_test): Likewise.
13613         (asin_test): Likewise.
13614         (asin_test_tonearest): Likewise.
13615         (asin_test_towardzero): Likewise.
13616         (asin_test_downward): Likewise.
13617         (asin_test_upward): Likewise.
13618         (asinh_test): Likewise.
13619         (atan_test): Likewise.
13620         (atanh_test): Likewise.
13621         (atan2_test): Likewise.
13622         (cabs_test): Likewise.
13623         (cacos_test): Likewise.
13624         (cacosh_test): Likewise.
13625         (carg_test): Likewise.
13626         (casin_test): Likewise.
13627         (casinh_test): Likewise.
13628         (catan_test): Likewise.
13629         (catanh_test): Likewise.
13630         (cbrt_test): Likewise.
13631         (ccos_test): Likewise.
13632         (ccosh_test): Likewise.
13633         (ceil_test): Likewise.
13634         (cexp_test): Likewise.
13635         (cimag_test): Likewise.
13636         (clog_test): Likewise.
13637         (clog10_test): Likewise.
13638         (conj_test): Likewise.
13639         (copysign_test): Likewise.
13640         (cos_test): Likewise.
13641         (cos_test_tonearest): Likewise.
13642         (cos_test_towardzero): Likewise.
13643         (cos_test_downward): Likewise.
13644         (cos_test_upward): Likewise.
13645         (cosh_test): Likewise.
13646         (cosh_test_tonearest): Likewise.
13647         (cosh_test_towardzero): Likewise.
13648         (cosh_test_downward): Likewise.
13649         (cosh_test_upward): Likewise.
13650         (cpow_test): Likewise.
13651         (cproj_test): Likewise.
13652         (creal_test): Likewise.
13653         (csin_test): Likewise.
13654         (csinh_test): Likewise.
13655         (csqrt_test): Likewise.
13656         (ctan_test): Likewise.
13657         (ctan_test_tonearest): Likewise.
13658         (ctan_test_towardzero): Likewise.
13659         (ctan_test_downward): Likewise.
13660         (ctan_test_upward): Likewise.
13661         (ctanh_test): Likewise.
13662         (ctanh_test_tonearest): Likewise.
13663         (ctanh_test_towardzero): Likewise.
13664         (ctanh_test_downward): Likewise.
13665         (ctanh_test_upward): Likewise.
13666         (erf_test): Likewise.
13667         (erfc_test): Likewise.
13668         (exp_test): Likewise.
13669         (exp_test_tonearest): Likewise.
13670         (exp_test_towardzero): Likewise.
13671         (exp_test_downward): Likewise.
13672         (exp_test_upward): Likewise.
13673         (exp10_test): Likewise.
13674         (exp10_test_tonearest): Likewise.
13675         (exp10_test_towardzero): Likewise.
13676         (exp10_test_downward): Likewise.
13677         (exp10_test_upward): Likewise.
13678         (pow10_test): Likewise.
13679         (exp2_test): Likewise.
13680         (expm1_test): Likewise.
13681         (expm1_test_tonearest): Likewise.
13682         (expm1_test_towardzero): Likewise.
13683         (expm1_test_downward): Likewise.
13684         (expm1_test_upward): Likewise.
13685         (fabs_test): Likewise.
13686         (fdim_test): Likewise.
13687         (floor_test): Likewise.
13688         (fma_test): Likewise.
13689         (fma_test_towardzero): Likewise.
13690         (fma_test_downward): Likewise.
13691         (fma_test_upward): Likewise.
13692         (fmax_test): Likewise.
13693         (fmin_test): Likewise.
13694         (fmod_test): Likewise.
13695         (fpclassify_test): Likewise.
13696         (frexp_test): Likewise.
13697         (hypot_test): Likewise.
13698         (ilogb_test): Likewise.
13699         (isfinite_test): Likewise.
13700         (finite_test): Likewise.
13701         (isgreater_test): Likewise.
13702         (isgreaterequal_test): Likewise.
13703         (isinf_test): Likewise.
13704         (isless_test): Likewise.
13705         (islessequal_test): Likewise.
13706         (islessgreater_test): Likewise.
13707         (isnan_test): Likewise.
13708         (isnormal_test): Likewise.
13709         (issignaling_test): Likewise.
13710         (isunordered_test): Likewise.
13711         (j0_test): Likewise.
13712         (j1_test): Likewise.
13713         (jn_test): Likewise.
13714         (ldexp_test): Likewise.
13715         (lgamma_test): Likewise.
13716         (gamma_test): Likewise.
13717         (lrint_test): Likewise.
13718         (lrint_test_tonearest): Likewise.
13719         (lrint_test_towardzero): Likewise.
13720         (lrint_test_downward): Likewise.
13721         (lrint_test_upward): Likewise.
13722         (llrint_test): Likewise.
13723         (llrint_test_tonearest): Likewise.
13724         (llrint_test_towardzero): Likewise.
13725         (llrint_test_downward): Likewise.
13726         (llrint_test_upward): Likewise.
13727         (log_test): Likewise.
13728         (log10_test): Likewise.
13729         (log1p_test): Likewise.
13730         (log2_test): Likewise.
13731         (logb_test): Likewise.
13732         (logb_test_downward): Likewise.
13733         (lround_test): Likewise.
13734         (llround_test): Likewise.
13735         (modf_test): Likewise.
13736         (nearbyint_test): Likewise.
13737         (nextafter_test): Likewise.
13738         (nexttoward_test): Likewise.
13739         (pow_test): Likewise.
13740         (pow_test_tonearest): Likewise.
13741         (pow_test_towardzero): Likewise.
13742         (pow_test_downward): Likewise.
13743         (pow_test_upward): Likewise.
13744         (remainder_test): Likewise.
13745         (drem_test): Likewise.
13746         (remainder_test_tonearest): Likewise.
13747         (drem_test_tonearest): Likewise.
13748         (remainder_test_towardzero): Likewise.
13749         (drem_test_towardzero): Likewise.
13750         (remainder_test_downward): Likewise.
13751         (drem_test_downward): Likewise.
13752         (remainder_test_upward): Likewise.
13753         (drem_test_upward): Likewise.
13754         (remquo_test): Likewise.
13755         (rint_test): Likewise.
13756         (rint_test_tonearest): Likewise.
13757         (rint_test_towardzero): Likewise.
13758         (rint_test_downward): Likewise.
13759         (rint_test_upward): Likewise.
13760         (round_test): Likewise.
13761         (scalb_test): Likewise.
13762         (scalbn_test): Likewise.
13763         (scalbln_test): Likewise.
13764         (signbit_test): Likewise.
13765         (sin_test): Likewise.
13766         (sin_test_tonearest): Likewise.
13767         (sin_test_towardzero): Likewise.
13768         (sin_test_downward): Likewise.
13769         (sin_test_upward): Likewise.
13770         (sincos_test): Likewise.
13771         (sinh_test): Likewise.
13772         (sinh_test_tonearest): Likewise.
13773         (sinh_test_towardzero): Likewise.
13774         (sinh_test_downward): Likewise.
13775         (sinh_test_upward): Likewise.
13776         (sqrt_test): Likewise.
13777         (sqrt_test_tonearest): Likewise.
13778         (sqrt_test_towardzero): Likewise.
13779         (sqrt_test_downward): Likewise.
13780         (sqrt_test_upward): Likewise.
13781         (tan_test): Likewise.
13782         (tan_test_tonearest): Likewise.
13783         (tan_test_towardzero): Likewise.
13784         (tan_test_downward): Likewise.
13785         (tan_test_upward): Likewise.
13786         (tanh_test): Likewise.
13787         (tgamma_test): Likewise.
13788         (trunc_test): Likewise.
13789         (y0_test): Likewise.
13790         (y1_test): Likewise.
13791         (yn_test): Likewise.
13792         (significand_test): Likewise.
13793
13794         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13795         individual tests in comment.
13796         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13797         (prev_max_error): New variable.
13798         (prev_real_max_error): Likewise.
13799         (prev_imag_max_error): Likewise.
13800         (compare_ulp_data): Don't refer to test names in comment.
13801         (find_test_ulps): Remove function.
13802         (find_function_ulps): Likewise.
13803         (find_complex_function_ulps): Likewise.
13804         (init_max_error): Take function name as argument.  Look up ulps
13805         for that function.
13806         (print_ulps): Remove function.
13807         (print_max_error): Use prev_max_error instead of calling
13808         find_function_ulps.
13809         (print_complex_max_error): Use prev_real_max_error and
13810         prev_imag_max_error instead of calling find_complex_function_ulps.
13811         (check_float_internal): Take max_ulp parameter instead of calling
13812         find_test_ulps.  Don't call print_ulps.
13813         (check_float): Update call to check_float_internal.
13814         (check_complex): Update calls to check_float_internal.
13815         (START): Pass argument to init_max_error.
13816         * math/gen-libm-test.pl (%results): Don't include "kind"
13817         information.
13818         (parse_ulps): Don't handle ulps of individual tests.
13819         (print_ulps_file): Likewise.
13820         (output_ulps): Likewise.
13821         * math/README.libm-test: Update.
13822         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13823         individual tests.
13824         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13825         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13826         * sysdeps/arm/libm-test-ulps: Likewise.
13827         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13828         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13829         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13830         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13831         * sysdeps/microblaze/libm-test-ulps: Likewise.
13832         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13833         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13834         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13835         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13836         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13837         * sysdeps/sh/libm-test-ulps: Likewise.
13838         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13839         * sysdeps/tile/libm-test-ulps: Likewise.
13840         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13841
13842 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
13843
13844         * math/libm-test.inc (print_complex_max_error): Check separately
13845         whether real and imaginary errors are within allowed range and
13846         pass 0 to print_complex_function_ulps instead of value within
13847         allowed range.
13848
13849 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13850
13851         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13852         formatting.
13853         (get_handles_fopen): Likewise.
13854         (do_write_test): Likewise.
13855
13856         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13857
13858         * libio/fileops.c (do_ftell): Use cached offset when
13859         available.
13860         * libio/iofwide.c (do_ftell_wide): Likewise.
13861         * libio/iofdopen.c (_IO_new_fdopen): Don't use
13862         _IO_file_attach.
13863         * libio/wfileops.c (_IO_fwide): Don't cache offset.
13864
13865         [BZ #16532]
13866         * libio/libioP.h (get_file_offset): New function.
13867         * libio/fileops.c (get_file_offset): Likewise.
13868         (do_ftell): Likewise.
13869         (_IO_new_file_seekoff): Split out ftell logic.
13870         * libio/wfileops.c (do_ftell_wide): Likewise.
13871         (_IO_wfile_seekoff): Split out ftell logic.
13872         * libio/tst-ftell-active-handler.c: New test case.
13873         * libio/Makefile (tests): Add it.
13874
13875 2014-03-03  Roland McGrath  <roland@hack.frob.com>
13876
13877         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13878         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13879
13880 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13881
13882         [BZ #16639]
13883         * nscd/connections.c (nscd_init): Call do_exit.
13884         (start_threads): Call do_exit and notify_parent.
13885         (begin_drop_privileges): Call do_exit.
13886         (finish_drop_privileges): Likewise.
13887         * nscd/selinux.c (preserve_capabilities): Likewise.
13888         (install_real_capabilities): Likewise.
13889         (nscd_selinux_enabled): Likewise.
13890         (avc_create_thread): Likewise.
13891         (avc_alloc_lock): Likewise.
13892         (nscd_avc_init): Likewise.
13893         * nscd/nscd.c (parent_fd): New static variable.
13894         (main): Create a pipe between parent and child processes.
13895         Skip closing parent_fd.
13896         (monitor_child): New function.
13897         (do_exit): Likewise.
13898         (notify_parent): Likewise.
13899         * nscd/nscd.h (notify_parent): Likewise.
13900         (do_exit): Likewise.
13901
13902 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
13903
13904         * malloc/malloc.c (__libc_calloc): Revert last change.
13905
13906 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13907
13908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13909
13910 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13911
13912         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13913         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13914         implementation.
13915         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13916         (__libc_ifunc_impl_list): Likewise.
13917         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13918         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13919         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13920         * string/strrchr.c: Define STRRCHR.
13921
13922 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
13923
13924         * benchtest/bench-strtok.c (simple_strtok): Delete.
13925         (strtok_string): Use as benchmark.
13926         * string/strtok (STRTOK): New macro.
13927
13928 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
13929
13930         * manual/threads.texi: Add header and standard comments to all
13931         functions.
13932
13933         * elf/dl-lookup.c (check_match): New function.
13934         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13935         (do_lookup_x): Remove nested function check_match. Use non-nested
13936         function check_match.
13937
13938 2014-02-28  Roland McGrath  <roland@hack.frob.com>
13939
13940         * csu/Makefile (generated, before-compile): Use += rather than =.
13941         * catgets/Makefile (generated, generated-dirs): Likewise.
13942         * debug/Makefile (generated): Likewise.
13943         * dlfcn/Makefile (generated): Likewise.
13944         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13945         * iconvdata/Makefile (before-compile, generated): Likewise.
13946         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13947         * libio/Makefile (generated): Likewise.
13948         * malloc/Makefile (generated): Likewise.
13949         * manual/Makefile (generated, generated-dirs): Likewise.
13950         * misc/Makefile (generated): Likewise.
13951         * posix/Makefile (generated): Likewise.
13952         * resolv/Makefile (generated): Likewise.
13953         * sunrpc/Makefile (generated, generated-dirs): Likewise.
13954         * timezone/Makefile (generated, generated-dirs): Likewise.
13955
13956         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13957
13958 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13959
13960         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13961         power8 implementation.
13962         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13963         file: POWER8 llround ifunc implementation.
13964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13965         (__lllround): Add POWER8 implementation.
13966         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13967         POWER8 llround implementation.
13968
13969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13970         power8 implementation.
13971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13972         file: POWER8 llrint ifunc implementation.
13973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13974         Add POWER8 implementation.
13975         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13976         POWER8 llrint implementation.
13977
13978         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13979         power8 implementation.
13980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13981         file: POWER8 finite ifunc implementation.
13982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13983         Add POWER8 implementation.
13984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13985         Likewise.
13986         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13987         POWER8 finite implementation.
13988         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13989
13990         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13991         power8 implementation.
13992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13993         file: POWER8 isinf ifunc implementation.
13994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13995         POWER8 implementation.
13996         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13997         Likewise.
13998         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13999         isinf implementation.
14000         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14001
14002         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14003         (INIT_ARCH): Add hwcap2 initialization.
14004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14005         power8 implementation.
14006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14007         file: POWER8 isnan ifunc implementation.
14008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14009         POWER8 implementation.
14010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14011         Likewise.
14012         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14013         isnan implementation.
14014         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14015
14016 2014-02-27  Joey Ye  <joey.ye@arm.com>
14017
14018         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14019         (_FP_NANFRAC_Q): Set to zero.
14020
14021 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14022
14023         [BZ #16623]
14024         * math/auto-libm-test-in: New test inputs.
14025         * math/auto-libm-test-out: Regenerate.
14026         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14027         and DA.
14028         (__cos): Likewise.
14029         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14030
14031 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14032
14033         * scripts/evaluate-test.sh: Take new argument indicating whether
14034         failure is expected.
14035         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14036         indicating whether failure is expected.
14037         * conform/Makefile (test-xfail-run-conformtest): New variable.
14038         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14039         level.
14040         * posix/Makefile (test-xfail-annexc): New variable.
14041         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14042
14043 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14044
14045         * argp/Makefile: Include Makeconfig immediately after defining
14046         subdir.
14047         * assert/Makefile: Likewise.
14048         * benchtests/Makefile: Likewise.
14049         * catgets/Makefile: Likewise.
14050         * conform/Makefile: Likewise.
14051         * crypt/Makefile: Likewise.
14052         * csu/Makefile: Likewise.
14053         (all): Remove target.
14054         * ctype/Makefile: Include Makeconfig immediately after defining
14055         subdir.
14056         * debug/Makefile: Likewise.
14057         * dirent/Makefile: Likewise.
14058         * dlfcn/Makefile: Likewise.
14059         * gmon/Makefile: Likewise.
14060         * gnulib/Makefile: Likewise.
14061         * grp/Makefile: Likewise.
14062         * gshadow/Makefile: Likewise.
14063         * hesiod/Makefile: Likewise.
14064         * hurd/Makefile: Likewise.
14065         (all): Remove target.
14066         * iconvdata/Makefile: Include Makeconfig immediately after
14067         defining subdir.
14068         * inet/Makefile: Likewise.
14069         * intl/Makefile: Likewise.
14070         * io/Makefile: Likewise.
14071         * libio/Makefile: Likewise.
14072         (all): Remove target.
14073         * locale/Makefile: Include Makeconfig immediately after defining
14074         subdir.
14075         * login/Makefile: Likewise.
14076         * mach/Makefile: Likewise.
14077         (all): Remove target.
14078         * malloc/Makefile: Include Makeconfig immediately after defining
14079         subdir.
14080         (all): Remove target.
14081         * manual/Makefile: Include Makeconfig immediately after defining
14082         subdir.
14083         * math/Makefile: Likewise.
14084         * misc/Makefile: Likewise.
14085         * nis/Makefile: Likewise.
14086         * nss/Makefile: Likewise.
14087         * po/Makefile: Likewise.
14088         (all): Remove target.
14089         * posix/Makefile: Include Makeconfig immediately after defining
14090         subdir.
14091         * pwd/Makefile: Likewise.
14092         * resolv/Makefile: Likewise.
14093         * resource/Makefile: Likewise.
14094         * rt/Makefile: Likewise.
14095         * setjmp/Makefile: Likewise.
14096         * shadow/Makefile: Likewise.
14097         * signal/Makefile: Likewise.
14098         * socket/Makefile: Likewise.
14099         * soft-fp/Makefile: Likewise.
14100         * stdio-common/Makefile: Likewise.
14101         * stdlib/Makefile: Likewise.
14102         * streams/Makefile: Likewise.
14103         * string/Makefile: Likewise.
14104         * sunrpc/Makefile: Likewise.
14105         (all): Remove target.
14106         * sysvipc/Makefile: Include Makeconfig immediately after defining
14107         subdir.
14108         * termios/Makefile: Likewise.
14109         * time/Makefile: Likewise.
14110         * timezone/Makefile: Likewise.
14111         (all): Remove target.
14112         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14113         subdir.
14114         * wctype/Makefile: Likewise.
14115
14116 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14117
14118         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14119         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14120         (libc_feholdexcept_setround_mips): Ditto.
14121         (libc_feholdsetround): New.
14122         (libc_feholdsetroundf): New.
14123         (libc_feholdsetroundl): New.
14124         (libc_feupdateenv_test_mips): New.
14125         (libc_feupdateenv_test): New.
14126         (libc_feupdateenv_testf): New.
14127         (libc_feupdateenv_testl): New.
14128         (libc_feresetround): New.
14129         (libc_feresetroundf): New.
14130         (libc_feresetroundl): New.
14131         (libc_fetestexcept_mips): New.
14132         (libc_fetestexcept): New.
14133         (libc_fetestexceptf): New.
14134         (libc_fetestexceptl): New.
14135         (HAVE_RM_CTX): New.
14136         (libc_feholdexcept_setround_mips_ctx): New.
14137         (libc_feholdexcept_setround_ctx): New.
14138         (libc_feholdexcept_setroundf_ctx): New.
14139         (libc_feholdexcept_setroundl_ctx): New.
14140         (libc_fesetenv_mips_ctx): New.
14141         (libc_fesetenv_ctx): New.
14142         (libc_fesetenv_ctxf): New.
14143         (libc_fesetenv_ctxl): New.
14144         (libc_feupdateenv_mips_ctx): New.
14145         (libc_feupdateenv_ctx): New.
14146         (libc_feupdateenvf_ctx): New.
14147         (libc_feupdateenvl_ctx): New.
14148         (libc_feholdsetround_mips_ctx): New.
14149         (libc_feholdsetround_ctx): New.
14150         (libc_feholdsetroundf_ctx): New.
14151         (libc_feholdsetroundl_ctx): New.
14152         (libc_feresetround_mips_ctx): New.
14153         (libc_feresetround_ctx): New.
14154         (libc_feresetroundf_ctx): New.
14155         (libc_feresetroundl_ctx): New.
14156
14157 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14158
14159         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14160
14161         * manual/ipc.texi: New file.
14162         * manual/Makefile (chapters): Add ipc.
14163         * manual/job.texi: Add "Inter-Process Communication" to next.
14164         * manual/process.texi: Add "Inter-Process Communication" to prev.
14165
14166 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14167
14168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14169
14170 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14171
14172         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14173
14174         * manual/arith.texi: Fix spaces after sentences.
14175         * manual/charset.texi: Likewise.
14176         * manual/errno.texi: Likewise.
14177         * manual/install.texi: Likewise.
14178         * manual/llio.texi: Likewise.
14179         * manual/locale.texi: Likewise.
14180         * manual/maint.texi: Likewise.
14181         * manual/math.texi: Likewise.
14182         * manual/memory.texi: Likewise.
14183         * manual/message.texi: Likewise.
14184         * manual/probes.texi: Likewise.
14185         * manual/resource.texi: Likewise.
14186         * manual/signal.texi: Likewise.
14187         * manual/socket.texi: Likewise.
14188         * manual/stdio.texi: Likewise.
14189         * manual/string.texi: Likewise.
14190         * manual/time.texi: Likewise.
14191         * manual/users.texi: Likewise.
14192
14193 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14194
14195         [BZ #16632]
14196         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14197         _DEFAULT_SOURCE is defined.
14198
14199 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14200             Carlos O'Donell  <carlos@redhat.com>
14201
14202         [BZ #16613]
14203         * elf/dl-tls.c (_dl_count_modids): New function.
14204         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14205         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14206         audit library and increment generation counter.
14207         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14208         * elf/tst-audit9.c: New file.
14209         * elf/tst-auditmod9a.c: New file.
14210         * elf/tst-auditmod9b.c: New file.
14211         * elf/Makefile: Add rules to build and run tst-audit9.
14212
14213 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14214
14215         [BZ #15347]
14216         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14217
14218 2014-02-25  Will Newton  <will.newton@linaro.org>
14219
14220         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14221         (__longjmp): Restore sp and lr before restoring callee
14222         saved registers.  Add longjmp and longjmp_target
14223         SystemTap probe point.
14224         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14225         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14226         Define to zero to match jmpbuf layout.
14227         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14228         (__sigsetjmp): Save sp and lr before saving callee
14229         saved registers.  Add setjmp SystemTap probe point.
14230
14231 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14232
14233         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14234
14235 2014-02-24  Andreas Schwab  <schwab@suse.de>
14236
14237         [BZ #15804]
14238         * elf/pldd.c (wait_for_ptrace_stop): New function.
14239         (main): Call it after attaching.
14240
14241 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14242
14243         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14244         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14245         Versions files is now verboten.
14246         * hurd/Versions (libc: GLIBC_2.0):
14247         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14248         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14249         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14250         * mach/Versions: Likewise.
14251
14252         * csu/Versions: Remove unused %include.
14253         * resolv/Versions: Likewise.
14254
14255 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14256
14257         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14258         ($(objpfx)check-local-headers.out): Likewise.
14259         ($(objpfx)begin-end-check.out): Likewise.
14260         * Makerules (check-abi-%.out): Likewise.
14261         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14262         ($(objpfx)test2.cat): Likewise.
14263         ($(objpfx)de/libc.cat): Likewise.
14264         ($(objpfx)test-gencat.out): Likewise.
14265         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14266         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14267         ($(objpfx)noload-mem): Likewise.
14268         ($(objpfx)tst-pathopt.out): Likewise.
14269         ($(objpfx)tst-rtld-load-self.out): Likewise.
14270         ($(objpfx)tst-array1-cmp.out): Likewise.
14271         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14272         ($(objpfx)tst-array2-cmp.out): Likewise.
14273         ($(objpfx)tst-array3-cmp.out): Likewise.
14274         ($(objpfx)tst-array4-cmp.out): Likewise.
14275         ($(objpfx)tst-array5-cmp.out): Likewise.
14276         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14277         ($(objpfx)check-textrel.out): Likewise.
14278         ($(objpfx)check-execstack.out): Likewise.
14279         ($(objpfx)check-localplt.out): Likewise.
14280         ($(objpfx)order2-cmp.out): Likewise.
14281         ($(objpfx)tst-leaks1-mem): Likewise.
14282         ($(objpfx)tst-leaks1-static-mem): Likewise.
14283         ($(objpfx)tst-initorder-cmp.out): Likewise.
14284         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14285         ($(objpfx)tst-unused-dep.out): Likewise.
14286         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14287         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14288         * iconv/Makefile (test-iconvconfig): Likewise.
14289         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14290         ($(objpfx)iconv-test.out): Likewise.
14291         ($(objpfx)tst-tables.out): Likewise.
14292         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14293         ($(objpfx)tst-gettext.out): Likewise.
14294         ($(objpfx)tst-translit.out): Likewise.
14295         ($(objpfx)tst-gettext2.out): Likewise.
14296         ($(objpfx)tst-gettext4.out): Likewise.
14297         ($(objpfx)tst-gettext6.out): Likewise.
14298         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14299         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14300         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14301         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14302         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14303         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14304         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14305         ($(objpfx)wordexp-tst.out): Likewise.
14306         ($(objpfx)annexc.out): Likewise.
14307         ($(objpfx)tst-fnmatch-mem): Likewise.
14308         ($(objpfx)bug-regex2-mem): Likewise.
14309         ($(objpfx)bug-regex14-mem): Likewise.
14310         ($(objpfx)bug-regex21-mem): Likewise.
14311         ($(objpfx)bug-regex31-mem): Likewise.
14312         ($(objpfx)tst-vfork3-mem): Likewise.
14313         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14314         ($(objpfx)tst-pcre-mem): Likewise.
14315         ($(objpfx)tst-boost-mem): Likewise.
14316         ($(objpfx)tst-getconf.out): Likewise.
14317         ($(objpfx)bug-ga2-mem): Likewise.
14318         ($(objpfx)bug-glob2-mem): Likewise.
14319         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14320         ($(objpfx)mtrace-tst-leaks2): Likewise.
14321         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14322         ($(objpfx)tst-printf.out): Likewise.
14323         ($(objpfx)tst-setvbuf1.out): Likewise.
14324         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14325         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14326         ($(objpfx)tst-fmtmsg.out): Likewise.
14327         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14328         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14329
14330         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14331         * bits/sigaction.h [__USE_MISC]: Likewise.
14332         * bits/waitstatus.h: Update #endif comments.
14333         * ctype/ctype.h: Likewise.
14334         * dirent/dirent.h: Likewise.
14335         [__USE_MISC]: Remove redundant conditionals.
14336         * grp/grp.h: Update #endif comments.
14337         [__USE_GNU]: Remove redundant conditionals.
14338         [__USE_MISC]: Likewise.
14339         * inet/netinet/in.h [__USE_GNU]: Likewise.
14340         * io/sys/stat.h [__USE_MISC]: Likewise.
14341         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14342         * libio/bits/stdio.h: Update #endif comments.
14343         [__USE_MISC]: Remove redundant conditionals.
14344         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14345         * libio/stdio.h: Update #endif comments.
14346         [__USE_MISC]: Remove redundant conditionals.
14347         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14348         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14349         * math/math.h: Update #else and #endif comments.
14350         [__USE_MISC]: Remove redundant conditionals.
14351         * misc/sys/uio.h: Update #endif comments.
14352         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14353         * posix/glob.h [__USE_MISC]: Likewise.
14354         * posix/sys/types.h: Update #endif comments.
14355         [__USE_MISC]: Remove redundant conditionals.
14356         * posix/sys/wait.h: Update #endif comments.
14357         [__USE_MISC]: Remove redundant conditionals.
14358         * posix/unistd.h: Update #endif comments.
14359         [__USE_MISC]: Remove redundant conditionals.
14360         * pwd/pwd.h [__USE_GNU]: Likewise.
14361         [__USE_MISC]: Likewise.
14362         * resolv/netdb.h [__USE_GNU]: Likewise.
14363         * signal/signal.h: Update #endif comments.
14364         [__USE_MISC]: Remove redundant conditionals.
14365         * stdlib/stdlib.h: Update #else and #endif comments.
14366         [__USE_MISC]: Remove redundant conditionals.
14367         [__USE_GNU]: Likewise.
14368         * string/bits/string2.h [__USE_MISC]: Likewise.
14369         * string/string.h: Update #endif comments.
14370         [__USE_MISC]: Remove redundant conditionals.
14371         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14372         Likewise.
14373         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14374         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14375         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14376         Likewise.
14377         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14378         Likewise.
14379         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14380         comments.
14381         [__USE_MISC]: Remove redundant conditionals.
14382         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14383         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14384         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14385         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14386         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14387         Likewise.
14388         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14389         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14390         Likewise.
14391         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14392         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14393         Likewise.
14394         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14395         Likewise.
14396         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14397         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14398         Likewise.
14399         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14400         Likewise.
14401         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14402         * sysdeps/x86/bits/string.h: Update #endif comments.
14403         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14404         conditionals.
14405         * time/sys/time.h: Update #endif comments.
14406         * time/time.h: Likewise.
14407         [__USE_MISC]: Remove redundant conditionals.
14408
14409 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14410
14411         [BZ #16600]
14412         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14413
14414 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14415
14416         * Versions.def (librt): Add GLIBC_2.17.
14417
14418 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14419
14420         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14421         synonym for _SYS_AUXV_H to allow direct inclusion.
14422         * sysdeps/sparc/bits/hwcap.h: Likewise.
14423         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14424         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14425         * sysdeps/sparc/sysdep.h: Likewise.
14426
14427 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14428
14429         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14430
14431 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14432
14433         * benchtests/bench-strrchr.c: Print length instead of position.
14434
14435 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14436
14437         [BZ #16611]
14438         * sysdeps/unix/sysv/linux/kernel-features.h
14439         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14440         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14441         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14442         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14443         Likewise.
14444         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14445         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14446         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14447         (__ASSUME_SENDMMSG): Define instead of using previous
14448         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14449         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14450         (__ASSUME_SENDMMSG_SYSCALL): Define.
14451         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14452         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14453         Likewise.
14454         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14455         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14456         Likewise.
14457         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14458         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14459         Likewise.
14460         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14461         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14462         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14463         [__ASSUME_SENDMMSG]: Change conditionals to
14464         [__ASSUME_SENDMMSG_SOCKETCALL].
14465         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14466         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14467         Define.
14468         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14469         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14470         Likewise.
14471         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14472         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14473         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14474         [!__ASSUME_SENDMMSG]: Change conditional to
14475         [!__ASSUME_SENDMMSG_SOCKETCALL].
14476         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14477         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14478         Define.
14479
14480         [BZ #16610]
14481         * sysdeps/unix/sysv/linux/kernel-features.h
14482         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14483         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14484         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14485         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14486         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14487         [__i386__ || __sparc__]
14488         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14489         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14490         (__ASSUME_RECVMMSG): Define instead of using previous
14491         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14492         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14493         (__ASSUME_RECVMMSG_SYSCALL): Define.
14494         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14495         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14496         Likewise.
14497         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14498         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14499         Likewise.
14500         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14501         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14502         Likewise.
14503         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14504         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14505         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14506         [__ASSUME_RECVMMSG]: Change condition to
14507         [__ASSUME_RECVMMSG_SOCKETCALL].
14508         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14509         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14510         Define.
14511         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14512         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14513         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14514         Likewise.
14515         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14516         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14517         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14518         [!__ASSUME_RECVMMSG]: Change condition to
14519         [!__ASSUME_RECVMMSG_SOCKETCALL].
14520         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14521         (__ASSUME_RECVMMSG_SYSCALL): Define.
14522
14523         [BZ #16609]
14524         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14525         __powerpc__ || __s390__ || __sh__ || __sparc__]
14526         (__ASSUME_SOCKETCALL): Define.
14527         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14528         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14529         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14530         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14531         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14532         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14533         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14534         (__ASSUME_ACCEPT4): Define instead of using previous
14535         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14536         __powerpc__ || __sparc__ || __s390__)] condition.
14537         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14538         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14539         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14540         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14541         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14542         [!__ASSUME_ACCEPT4]: Change condition to
14543         [!__ASSUME_ACCEPT4_SOCKETCALL].
14544         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14545         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14546         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14547         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14548         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14549         __ASSUME_ACCEPT4_SYSCALL.
14550         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14551         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14552         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14553         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14554         __ASSUME_ACCEPT4_SYSCALL.
14555         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14556         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14557         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14558         [__ASSUME_ACCEPT4]: Change condition to
14559         [__ASSUME_ACCEPT4_SOCKETCALL].
14560         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14561         (__ASSUME_SOCKETCALL): Define.
14562         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14563         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14564         (__ASSUME_SOCKETCALL): Define.
14565         (__ASSUME_ACCEPT4): Remove.
14566         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14567         Define.
14568         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14569         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14570         Likewise.
14571         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14572         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14573
14574         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14575         macro.
14576         (HWCAP_ARM_LPAE): Likewise.
14577         (HWCAP_ARM_EVTSTRM): Likewise.
14578         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14579         Add vpfd32, lpae and evtstrm.
14580         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14581         Increase to 22.
14582
14583 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14584
14585         * math/auto-libm-test-in: Add tests of clog10.
14586         * math/auto-libm-test-out: Regenerated.
14587         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14588         * sysdeps/i386/fpu/libm-test-ulps: Update.
14589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14590
14591 2014-02-18  Andreas Schwab  <schwab@suse.de>
14592
14593         [BZ #16574]
14594         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14595         Store non-zero if the second buffer was newly allocated.
14596         (send_dg): Likewise.
14597         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14598         to send_vc and send_dg.
14599         (res_nsend): Pass NULL for ansp2_malloced.
14600         * resolv/res_query.c (__libc_res_nquery): Add parameter
14601         answerp2_malloced and pass it down to __libc_res_nsend.
14602         (res_nquery): Pass additional NULL to __libc_res_nquery.
14603         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14604         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14605         second answer buffer if answerp2_malloced was set.
14606         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14607         (__libc_res_nquerydomain): Add parameter
14608         answerp2_malloced and pass it down to __libc_res_nquery.
14609         (res_nquerydomain): Pass additional NULL to
14610         __libc_res_nquerydomain.
14611         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14612         additional NULL to __libc_res_nsend and __libc_res_nquery.
14613         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14614         additional NULL to __libc_res_nsearch.
14615         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14616         parameter of __libc_res_nsearch to check for separately allocated
14617         second buffer.
14618         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14619         __libc_res_nquery.
14620         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14621         additional NULL to __libc_res_nquery.
14622         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14623         __libc_res_nsearch.
14624         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14625         * include/resolv.h: Update prototypes of __libc_res_nquery,
14626         __libc_res_nsearch, __libc_res_nsend.
14627
14628 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14629
14630         * math/auto-libm-test-in: Add tests of fma.
14631         * math/auto-libm-test-out: Regenerated.
14632         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14633         (fma_towardzero_test_data): Likewise.
14634         (fma_downward_test_data): Likewise.
14635         (fma_upward_test_data): Likewise.
14636         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14637         mpc_mode.
14638         (rounding_modes): Add values for new field.
14639         (func_calc_method): Add value mpfr_fff_f.
14640         (func_calc_desc): Add mpfr_fff_f union field.
14641         (test_function): Add field exact_args.
14642         (FUNC): Add macro argument EXACT_ARGS.
14643         (FUNC_mpfr_f_f): Update call to FUNC.
14644         (FUNC_mpfr_f_f): Likewise.
14645         (FUNC_mpfr_ff_f): Likewise.
14646         (FUNC_mpfr_if_f): Likewise.
14647         (FUNC_mpc_c_f): Likewise.
14648         (FUNC_mpc_c_c): Likewise.
14649         (test_functions): Add fma.  Update calls to FUNC.
14650         (handle_input_arg): Add argument exact_args.
14651         (add_test): Update call to handle_input_arg.
14652         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14653         (output_for_one_input_case): Update call to calc_generic_results.
14654         Recalculate exact zero results in each rounding mode.
14655
14656         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14657         non-negative before setting low bit.
14658         * math/auto-libm-test-in: Mark one asin test possibly having
14659         spurious underflow.
14660         * math/auto-libm-test-out: Regenerated.
14661         * sysdeps/i386/fpu/libm-test-ulps: Update.
14662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14663
14664 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14665
14666         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14667         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14668         ports/sysdeps/unix/sysv/linux/microblaze.
14669         * README: Add missing listing for microblaze*-*-linux-gnu.
14670
14671 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14672
14673         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14674         duplicate code
14675
14676 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14677
14678         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14679         * sysdeps/unix/sysv/linux/ia64: Move directory from
14680         ports/sysdeps/unix/sysv/linux/ia64.
14681         * README: Update listing for ia64-*-linux-gnu.
14682
14683 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14684             Joseph Myers  <joseph@codesourcery.com>
14685
14686         * Makeconfig (test-name): New variable.
14687         (evaluate-test): Likewise.
14688         * Makerules (do-test-clean): Remove .test-result files.
14689         (common-mostlyclean): Likewise.
14690         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14691         * scripts/evaluate-test.sh: New file.
14692
14693 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14694
14695         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14696         separate $(objpfx)tst-fopenloc-cmp.out and
14697         $(objpfx)tst-fopenloc-mem.out targets.
14698         (tests): Update dependencies.
14699         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14700         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14701         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14702         (tst-rxspencer-no-utf8-ARGS): New variable.
14703         (tst-rxspencer-no-utf8-ENV): Likewise.
14704         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14705         instead of $(objpfx)tst-rxspencer-mem.
14706         ($(objpfx)tst-rxspencer-mem): Change target to
14707         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14708         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14709         * posix/tst-rxspencer-no-utf8.c: New file.
14710
14711         * elf/Makefile ($(objpfx)order.out): Remove rule.
14712         [$(run-built-tests) = yes] (tests): Depend on
14713         $(objpfx)order-cmp.out.
14714         ($(objpfx)order-cmp.out): New rule.
14715         [$(run-built-tests) = yes] (tests): Depend on
14716         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14717         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14718         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14719         $(objpfx)tst-array5-static-cmp.out.
14720         ($(objpfx)tst-array1.out): Remove rule.
14721         ($(objpfx)tst-array1-cmp.out): New rule.
14722         ($(objpfx)tst-array1-static.out): Remove rule.
14723         ($(objpfx)tst-array1-static-cmp.out): New rule.
14724         ($(objpfx)tst-array2.out): Remove rule.
14725         ($(objpfx)tst-array2-cmp.out): New rule.
14726         ($(objpfx)tst-array3.out): Remove rule.
14727         ($(objpfx)tst-array3-cmp.out): New rule.
14728         ($(objpfx)tst-array4.out): Remove rule.
14729         ($(objpfx)tst-array4-cmp.out): New rule.
14730         ($(objpfx)tst-array5.out): Remove rule.
14731         ($(objpfx)tst-array5-cmp.out): New rule.
14732         ($(objpfx)tst-array5-static.out): Remove rule.
14733         ($(objpfx)tst-array5-static-cmp.out): New rule.
14734         [$(run-built-tests) = yes] (tests): Depend on
14735         $(objpfx)order2-cmp.out.
14736         ($(objpfx)order2.out): Remove rule.
14737         ($(objpfx)order2-cmp.out): New rule.
14738         ($(objpfx)tst-initorder.out): Remove rule.
14739         [$(run-built-tests) = yes] (tests): Depend on
14740         $(objpfx)tst-initorder-cmp.out.
14741         ($(objpfx)tst-initorder-cmp.out): New rule.
14742         ($(objpfx)tst-initorder2.out): Remove rule.
14743         [$(run-built-tests) = yes] (tests): Depend on
14744         $(objpfx)tst-initorder2-cmp.out.
14745         ($(objpfx)tst-initorder2-cmp.out): New rule.
14746         [$(run-built-tests) = yes] (tests): Depend on
14747         $(objpfx)tst-unused-dep-cmp.out.
14748         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14749         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14750         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14751         on $(objpfx)tst-setvbuf1-cmp.out.
14752         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14753         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14754         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14755         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14756         ($(objpfx)tst-svc.out): Remove rule.
14757         ($(objpfx)tst-svc-cmp.out): New rule.
14758
14759 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14760
14761         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14762         * ctype/ctype.h [__USE_MISC]: Likewise.
14763         * dirent/dirent.h [__USE_MISC]: Likewise.
14764         * grp/grp.h [__USE_MISC]: Likewise.
14765         * io/fcntl.h [__USE_MISC]: Likewise.
14766         * io/sys/stat.h [__USE_MISC]: Likewise.
14767         * libio/stdio.h [__USE_MISC]: Likewise.
14768         * posix/unistd.h [__USE_MISC]: Likewise.
14769         * pwd/pwd.h [__USE_MISC]: Likewise.
14770         * stdlib.h [__USE_MISC]: Likewise.
14771         * string/bits/string2.h [__USE_MISC]: Likewise.
14772         * string/string.h [__USE_MISC]: Likewise.
14773         * time/time.h [__USE_MISC]: Likewise.
14774
14775 2014-02-13  Andreas Schwab  <schwab@suse.de>
14776
14777         [BZ #16574]
14778         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14779         second answer buffer if it was separately allocated.
14780
14781 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14782
14783         * sysdeps/mips/math-tests.h: Include <features.h>.
14784         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14785         (ROUNDING_TESTS_long_double): Do not define.
14786         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14787         (EXCEPTION_TESTS_long_double): Likewise.
14788         * sysdeps/mips/mips64/libm-test-ulps: Update.
14789
14790         * include/features.h (__USE_BSD): Remove macro definitions.
14791         (__USE_SVID): Likewise.
14792         (_BSD_SOURCE): Likewise.
14793         (_SVID_SOURCE): Likewise.
14794         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14795         from definition of _DEFAULT_SOURCE.
14796         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14797         [_DEFAULT_SOURCE].
14798         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14799         * bits/mman.h [__USE_BSD]: Likewise.
14800         * bits/termios.h [__USE_BSD]: Likewise.
14801         * bits/waitstatus.h [__USE_BSD]: Likewise.
14802         * ctype/ctype.h [__USE_SVID]: Likewise.
14803         * dirent/dirent.h [__USE_BSD]: Likewise.
14804         * grp/grp.h [__USE_SVID]: Likewise.
14805         [__USE_BSD]: Likewise.
14806         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14807         * io/fcntl.h [__USE_BSD]: Likewise.
14808         * io/ftw.h [__USE_BSD]: Likewise.
14809         * io/sys/stat.h [__USE_BSD]: Likewise.
14810         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14811         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14812         * libio/stdio.h [__USE_SVID]: Likewise.
14813         [__USE_BSD]: Likewise.
14814         * math/math.h [__USE_SVID]: Likewise.
14815         [__USE_BSD]: Likewise.
14816         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14817         * misc/bits/syslog.h [__USE_BSD]: Likewise.
14818         * misc/search.h [__USE_SVID]: Likewise.
14819         * misc/sys/mman.h [__USE_BSD]: Likewise.
14820         * misc/sys/syslog.h [__USE_BSD]: Likewise.
14821         * misc/sys/uio.h [__USE_BSD]: Likewise.
14822         * posix/bits/unistd.h [__USE_BSD]: Likewise.
14823         * posix/glob.h [__USE_BSD]: Likewise.
14824         * posix/regex.h [__USE_BSD]: Likewise.
14825         * posix/sys/types.h [__USE_BSD]: Likewise.
14826         [__USE_SVID]: Likewise.
14827         * posix/sys/utsname.h [__USE_SVID]: Likewise.
14828         * posix/sys/wait.h [__USE_BSD]: Likewise.
14829         [__USE_SVID]: Likewise.
14830         * posix/unistd.h [__USE_BSD]: Likewise.
14831         [__USE_SVID]: Likewise.
14832         * pwd/pwd.h [__USE_SVID]: Likewise.
14833         * resolv/netdb.h [__USE_BSD]: Likewise.
14834         * setjmp/setjmp.h [__USE_BSD]: Likewise.
14835         * signal/signal.h [__USE_BSD]: Likewise.
14836         [__USE_SVID]: Likewise.
14837         * socket/sys/socket.h [__USE_BSD]: Likewise.
14838         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14839         * stdlib/stdlib.h [__USE_BSD]: Likewise.
14840         [__USE_SVID]: Likewise.
14841         * string/bits/string2.h [__USE_BSD]: Likewise.
14842         [__USE_SVID]: Likewise.
14843         * string/bits/string3.h [__USE_BSD]: Likewise.
14844         * string/endian.h [__USE_BSD]: Likewise.
14845         * string/string.h [__USE_SVID]: Likewise.
14846         [__USE_BSD]: Likewise.
14847         * string/strings.h [__USE_BSD]: Likewise.
14848         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14849         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14850         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14851         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14852         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14853         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14854         Likewise.
14855         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14856         Likewise.
14857         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14858         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14859         Likewise.
14860         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14861         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14862         Likewise.
14863         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14864         Likewise.
14865         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14866         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14867         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14868         Likewise.
14869         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14870         Likewise.
14871         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14872         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14873         * termios/termios.h [__USE_BSD]: Likewise.
14874         * time/sys/time.h [__USE_BSD]: Likewise.
14875         * time/time.h [__USE_BSD]: Likewise.
14876         [__USE_SVID]: Likewise.
14877
14878         * Makefile (subdir_targets): Remove subdir_lint.out.
14879
14880         * stdio-common/Makefile (do-tst-unbputc): Remove target.
14881         (do-tst-printf): Likewise.
14882         (tests): Depend directly on $(objpfx)tst-unbputc.out and
14883         $(objpfx)tst-printf.out.
14884
14885         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14886
14887         * Makerules (check-abi-%): Change target to
14888         $(objpfx)check-abi-%.out.
14889         (check-abi target): Update dependencies.
14890         (check-abi-pattern variable): Redirect output of diff to $@.
14891         (check-abi variable): Likewise.
14892         * elf/Makefile (check-abi): Update dependencies.
14893
14894         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14895         unused.
14896         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14897         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14898         subnormal range.
14899         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14900         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14901         value has largest subnormal exponent.
14902         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14903         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14904         * sysdeps/aarch64/soft-fp/sfp-machine.h
14905         (_FP_TININESS_AFTER_ROUNDING): New macro.
14906         * sysdeps/alpha/soft-fp/sfp-machine.h
14907         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14908         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14909         Likewise.
14910         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14911         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14912         * sysdeps/mips/soft-fp/sfp-machine.h
14913         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14914         * sysdeps/powerpc/soft-fp/sfp-machine.h
14915         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14916         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14917         Likewise.
14918         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14919         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14920         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14921         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14922         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14923         Likewise.
14924
14925 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
14926
14927         [BZ #16545]
14928         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14929         model 1.
14930
14931 2014-02-12  Richard Henderson  <rth@redhat.com>
14932
14933         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14934         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14935         * sysdeps/unix/sysv/linux/alpha: Move directory from
14936         ports/sysdeps/unix/sysv/linux/alpha.
14937         * README: Update listing for alpha-*-linux-gnu.
14938
14939 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
14940
14941         * include/features.h: Update comment documenting feature test
14942         macros.
14943         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
14944         _DEFAULT_SOURCE.
14945         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14946         (_SVID_SOURCE): Likewise.
14947         (_DEFAULT_SOURCE): Update description of default features.
14948         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14949         with _GNU_SOURCE.
14950         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14951         (S_ISVTX): Likewise.
14952         * manual/math.texi (Mathematical Constants): Likewise.
14953         * manual/signal.texi (Interrupted Primitives): Likewise.
14954         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14955         * math/test-matherr.c (_SVID_SOURCE): Do not define.
14956         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14957         Don't refer to _SVID_SOURCE in warning text.
14958
14959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14960
14961         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14962         already defined.
14963         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14964         * sysdeps/mips/dl-lookup.c: Remove.
14965         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14966
14967 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14968
14969         [BZ #16447]
14970         * math/auto-libm-test-in: Add testcase for expl.
14971         * math/auto-libm-test-out: Regenerate.
14972         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14973         calculation of unsafe.
14974         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14975
14976 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14977
14978         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14979         * sysdeps/unix/sysv/linux/aarch64: Move directory from
14980         ports/sysdeps/unix/sysv/linux/aarch64.
14981         * README: Update listing for aarch64*-*-linux-gnu.
14982
14983 2014-02-11  Will Newton  <will.newton@linaro.org>
14984
14985         * manual/probes.texi (Mathematical Function Probes): Use
14986         "triggered" instead of "hit".
14987
14988         * manual/probes.texi (Internal Probes): Add documentation
14989         of setjmp, longjmp and longjmp_target probes.
14990
14991         * include/stap-probe.h: Add comment about probe argument
14992         format.
14993
14994         * malloc/mtrace.c (attribute_hidden): Remove unused macro
14995         definition.  (tr_where, tr_freehook, tr_mallochook,
14996         tr_reallochook, tr_memalignhook): Use ANSI protoype.
14997
14998 2014-02-11  David S. Miller  <davem@davemloft.net>
14999
15000         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15001         processing int_tests.
15002
15003 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15004
15005         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15006         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15007         * sysdeps/unix/sysv/linux/mips: Move directory from
15008         ports/sysdeps/unix/sysv/linux/mips.
15009         * README: Update listing for mips-*-linux-gnu and
15010         mips64-*-linux-gnu.
15011
15012 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15013
15014         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15015         * sysdeps/unix/sysv/linux/m68k: Move directory from
15016         ports/sysdeps/unix/sysv/linux/m68k.
15017         * README: Update listing for m68k-*-linux-gnu.
15018
15019 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15020
15021         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15022         * sysdeps/unix/sysv/linux/generic: Move directory from
15023         ports/sysdeps/unix/sysv/linux/generic.
15024         * sysdeps/unix/sysv/linux/tile: Move directory from
15025         ports/sysdeps/unix/sysv/linux/tile.
15026         * README: Update listing for tile*-*-linux-gnu.
15027
15028 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15029
15030         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15031         __builtin_expect.
15032         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15033         * catgets/open_catalog.c (__open_catalog): Likewise.
15034         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15035         * debug/confstr_chk.c: Likewise.
15036         * debug/fread_chk.c (__fread_chk): Likewise.
15037         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15038         * debug/getgroups_chk.c: Likewise.
15039         * debug/mbsnrtowcs_chk.c: Likewise.
15040         * debug/mbsrtowcs_chk.c: Likewise.
15041         * debug/mbstowcs_chk.c: Likewise.
15042         * debug/memcpy_chk.c: Likewise.
15043         * debug/memmove_chk.c: Likewise.
15044         * debug/mempcpy_chk.c: Likewise.
15045         * debug/memset_chk.c: Likewise.
15046         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15047         * debug/strcat_chk.c (__strcat_chk): Likewise.
15048         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15049         * debug/strncat_chk.c (__strncat_chk): Likewise.
15050         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15051         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15052         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15053         * debug/wcpncpy_chk.c: Likewise.
15054         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15055         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15056         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15057         * debug/wcsncpy_chk.c: Likewise.
15058         * debug/wcsnrtombs_chk.c: Likewise.
15059         * debug/wcsrtombs_chk.c: Likewise.
15060         * debug/wcstombs_chk.c: Likewise.
15061         * debug/wmemcpy_chk.c: Likewise.
15062         * debug/wmemmove_chk.c: Likewise.
15063         * debug/wmempcpy_chk.c: Likewise.
15064         * debug/wmemset_chk.c: Likewise.
15065         * dirent/scandirat.c (SCANDIRAT): Likewise.
15066         * dlfcn/dladdr1.c (dladdr1): Likewise.
15067         * dlfcn/dladdr.c (dladdr): Likewise.
15068         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15069         * dlfcn/dlerror.c (__dlerror): Likewise.
15070         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15071         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15072         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15073         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15074         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15075         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15076         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15077         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15078         Likewise.
15079         * elf/dl-conflict.c: Likewise.
15080         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15081         * elf/dl-dst.h: Likewise.
15082         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15083         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15084         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15085         * elf/dl-init.c (call_init, _dl_init): Likewise.
15086         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15087         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15088         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15089         Likewise.
15090         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15091         Likewise.
15092         * elf/dl-minimal.c (__libc_memalign): Likewise.
15093         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15094         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15095         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15096         * elf/dl-sym.c (do_sym): Likewise.
15097         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15098         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15099         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15100         * elf/dl-writev.h (_dl_writev): Likewise.
15101         * elf/ldconfig.c (search_dir): Likewise.
15102         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15103         (dl_main): Likewise.
15104         * elf/setup-vdso.h (setup_vdso): Likewise.
15105         * grp/compat-initgroups.c (compat_call): Likewise.
15106         * grp/fgetgrent.c (fgetgrent): Likewise.
15107         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15108         * grp/putgrent.c (putgrent): Likewise.
15109         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15110         Likewise.
15111         * hurd/hurdinit.c: Likewise.
15112         * iconvdata/8bit-gap.c (struct): Likewise.
15113         * iconvdata/ansi_x3.110.c : Likewise.
15114         * iconvdata/big5.c : Likewise.
15115         * iconvdata/big5hkscs.c : Likewise.
15116         * iconvdata/cp1255.c: Likewise.
15117         * iconvdata/cp1258.c : Likewise.
15118         * iconvdata/cp932.c : Likewise.
15119         * iconvdata/euc-cn.c: Likewise.
15120         * iconvdata/euc-jisx0213.c : Likewise.
15121         * iconvdata/euc-jp.c: Likewise.
15122         * iconvdata/euc-jp-ms.c : Likewise.
15123         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15124         * iconvdata/gb18030.c : Likewise.
15125         * iconvdata/gbbig5.c (const): Likewise.
15126         * iconvdata/gbgbk.c: Likewise.
15127         * iconvdata/gbk.c : Likewise.
15128         * iconvdata/ibm1364.c : Likewise.
15129         * iconvdata/ibm930.c : Likewise.
15130         * iconvdata/ibm932.c: Likewise.
15131         * iconvdata/ibm933.c : Likewise.
15132         * iconvdata/ibm935.c : Likewise.
15133         * iconvdata/ibm937.c : Likewise.
15134         * iconvdata/ibm939.c : Likewise.
15135         * iconvdata/ibm943.c: Likewise.
15136         * iconvdata/iso_11548-1.c: Likewise.
15137         * iconvdata/iso-2022-cn.c : Likewise.
15138         * iconvdata/iso-2022-cn-ext.c : Likewise.
15139         * iconvdata/iso-2022-jp-3.c: Likewise.
15140         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15141         * iconvdata/iso-2022-kr.c : Likewise.
15142         * iconvdata/iso646.c (gconv_end): Likewise.
15143         * iconvdata/iso_6937-2.c : Likewise.
15144         * iconvdata/iso_6937.c : Likewise.
15145         * iconvdata/iso8859-1.c: Likewise.
15146         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15147         * iconvdata/shift_jisx0213.c : Likewise.
15148         * iconvdata/sjis.c : Likewise.
15149         * iconvdata/t.61.c : Likewise.
15150         * iconvdata/tcvn5712-1.c : Likewise.
15151         * iconvdata/tscii.c: Likewise.
15152         * iconvdata/uhc.c : Likewise.
15153         * iconvdata/unicode.c (gconv_end): Likewise.
15154         * iconvdata/utf-16.c (gconv_end): Likewise.
15155         * iconvdata/utf-32.c (gconv_end): Likewise.
15156         * iconvdata/utf-7.c (base64): Likewise.
15157         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15158         * iconv/gconv_close.c (__gconv_close): Likewise.
15159         * iconv/gconv_open.c (__gconv_open): Likewise.
15160         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15161         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15162         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15163         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15164         (ucs4le_internal_loop_single): Likewise.
15165         * iconv/iconv.c (iconv): Likewise.
15166         * iconv/iconv_close.c: Likewise.
15167         * iconv/loop.c (SINGLE): Likewise.
15168         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15169         * include/atomic.h: Likewise.
15170         * inet/inet6_option.c (option_alloc): Likewise.
15171         * intl/bindtextdom.c (set_binding_values): Likewise.
15172         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15173         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15174         * intl/localealias.c (read_alias_file): Likewise.
15175         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15176         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15177         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15178         * libio/fmemopen.c (fmemopen): Likewise.
15179         * libio/iofgets.c (_IO_fgets): Likewise.
15180         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15181         * libio/iofgetws.c (fgetws): Likewise.
15182         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15183         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15184         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15185         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15186         * locale/findlocale.c (_nl_find_locale): Likewise.
15187         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15188         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15189         Likewise.
15190         * locale/setlocale.c (setlocale): Likewise.
15191         * login/programs/pt_chown.c (main): Likewise.
15192         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15193         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15194         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15195         (mmap, mmap64, mremap, munmap): Likewise.
15196         * math/e_exp2l.c: Likewise.
15197         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15198         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15199         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15200         * math/s_catan.c (__catan): Likewise.
15201         * math/s_catanf.c (__catanf): Likewise.
15202         * math/s_catanh.c (__catanh): Likewise.
15203         * math/s_catanhf.c (__catanhf): Likewise.
15204         * math/s_catanhl.c (__catanhl): Likewise.
15205         * math/s_catanl.c (__catanl): Likewise.
15206         * math/s_ccosh.c (__ccosh): Likewise.
15207         * math/s_ccoshf.c (__ccoshf): Likewise.
15208         * math/s_ccoshl.c (__ccoshl): Likewise.
15209         * math/s_cexp.c (__cexp): Likewise.
15210         * math/s_cexpf.c (__cexpf): Likewise.
15211         * math/s_cexpl.c (__cexpl): Likewise.
15212         * math/s_clog10.c (__clog10): Likewise.
15213         * math/s_clog10f.c (__clog10f): Likewise.
15214         * math/s_clog10l.c (__clog10l): Likewise.
15215         * math/s_clog.c (__clog): Likewise.
15216         * math/s_clogf.c (__clogf): Likewise.
15217         * math/s_clogl.c (__clogl): Likewise.
15218         * math/s_csin.c (__csin): Likewise.
15219         * math/s_csinf.c (__csinf): Likewise.
15220         * math/s_csinh.c (__csinh): Likewise.
15221         * math/s_csinhf.c (__csinhf): Likewise.
15222         * math/s_csinhl.c (__csinhl): Likewise.
15223         * math/s_csinl.c (__csinl): Likewise.
15224         * math/s_csqrt.c (__csqrt): Likewise.
15225         * math/s_csqrtf.c (__csqrtf): Likewise.
15226         * math/s_csqrtl.c (__csqrtl): Likewise.
15227         * math/s_ctan.c (__ctan): Likewise.
15228         * math/s_ctanf.c (__ctanf): Likewise.
15229         * math/s_ctanh.c (__ctanh): Likewise.
15230         * math/s_ctanhf.c (__ctanhf): Likewise.
15231         * math/s_ctanhl.c (__ctanhl): Likewise.
15232         * math/s_ctanl.c (__ctanl): Likewise.
15233         * math/w_pow.c: Likewise.
15234         * math/w_powf.c: Likewise.
15235         * math/w_powl.c: Likewise.
15236         * math/w_scalb.c (sysv_scalb): Likewise.
15237         * math/w_scalbf.c (sysv_scalbf): Likewise.
15238         * math/w_scalbl.c (sysv_scalbl): Likewise.
15239         * misc/error.c (error_tail): Likewise.
15240         * misc/pselect.c (__pselect): Likewise.
15241         * nis/nis_callback.c (__nis_create_callback): Likewise.
15242         * nis/nis_call.c (__nisfind_server): Likewise.
15243         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15244         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15245         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15246         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15247         * nis/nis_lookup.c (nis_lookup): Likewise.
15248         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15249         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15250         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15251         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15252         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15253         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15254         * nis/nss_compat/compat-initgroups.c (add_group)
15255         (internal_getgrent_r): Likewise.
15256         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15257         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15258         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15259         (internal_getspnam_r): Likewise.
15260         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15261         (_nss_nis_getaliasbyname_r): Likewise.
15262         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15263         (_nss_nis_getntohost_r): Likewise.
15264         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15265         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15266         (_nss_nis_getgrgid_r): Likewise.
15267         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15268         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15269         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15270         (_nss_nis_gethostbyname4_r): Likewise.
15271         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15272         (initgroups_netid): Likewise.
15273         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15274         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15275         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15276         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15277         (_nss_nis_getprotobynumber_r): Likewise.
15278         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15279         (_nss_nis_getsecretkey): Likewise.
15280         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15281         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15282         (_nss_nis_getpwuid_r): Likewise.
15283         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15284         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15285         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15286         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15287         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15288         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15289         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15290         Likewise.
15291         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15292         (_nss_nisplus_getntohost_r): Likewise.
15293         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15294         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15295         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15296         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15297         Likewise.
15298         * nis/nss_nisplus/nisplus-initgroups.c
15299         (_nss_nisplus_initgroups_dyn): Likewise.
15300         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15301         (_nss_nisplus_getnetbyaddr_r): Likewise.
15302         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15303         (_nss_nisplus_getprotobynumber_r): Likewise.
15304         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15305         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15306         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15307         Likewise.
15308         * nis/nss_nisplus/nisplus-service.c
15309         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15310         (_nss_nisplus_getservbyport_r): Likewise.
15311         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15312         (_nss_nisplus_getspnam_r): Likewise.
15313         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15314         Likewise.
15315         * nscd/aicache.c (addhstaiX): Likewise.
15316         * nscd/cache.c (cache_search, prune_cache): Likewise.
15317         * nscd/connections.c (register_traced_file, send_ro_fd)
15318         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15319         (main_loop_epoll): Likewise.
15320         * nscd/grpcache.c (addgrbyX): Likewise.
15321         * nscd/hstcache.c (addhstbyX): Likewise.
15322         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15323         * nscd/mem.c (gc, mempool_alloc): Likewise.
15324         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15325         (addinnetgrX): Likewise.
15326         * nscd/nscd-client.h (__nscd_acquire_maplock)
15327         (__nscd_drop_map_ref): Likewise.
15328         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15329         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15330         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15331         Likewise.
15332         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15333         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15334         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15335         (__nscd_get_map_ref): Likewise.
15336         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15337         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15338         Likewise.
15339         * nscd/pwdcache.c (addpwbyX): Likewise.
15340         * nscd/selinux.c (preserve_capabilities): Likewise.
15341         * nscd/servicescache.c (addservbyX): Likewise.
15342         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15343         * posix/fnmatch.c (fnmatch): Likewise.
15344         * posix/getopt.c (_getopt_internal_r): Likewise.
15345         * posix/glob.c (glob, glob_in_dir): Likewise.
15346         * posix/wordexp.c (exec_comm_child): Likewise.
15347         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15348         (getanswer_r, gaih_getanswer_slice): Likewise.
15349         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15350         * resolv/res_init.c: Likewise.
15351         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15352         * resolv/res_query.c (__libc_res_nquery): Likewise.
15353         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15354         Likewise.
15355         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15356         * stdio-common/perror.c (perror): Likewise.
15357         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15358         * stdio-common/tmpnam.c (tmpnam): Likewise.
15359         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15360         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15361         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15362         Likewise.
15363         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15364         * stdlib/putenv.c (putenv): Likewise.
15365         * stdlib/setenv.c (__add_to_environ): Likewise.
15366         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15367         * stdlib/strtol_l.c (INTERNAL): Likewise.
15368         * string/memmem.c (memmem): Likewise.
15369         * string/strerror.c (strerror): Likewise.
15370         * string/strnlen.c (__strnlen): Likewise.
15371         * string/test-memmem.c (simple_memmem): Likewise.
15372         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15373         * sunrpc/pm_getport.c (__get_socket): Likewise.
15374         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15375         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15376         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15377         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15378         Likewise.
15379         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15380         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15381         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15382         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15383         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15384         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15385         Likewise.
15386         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15387         Likewise.
15388         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15389         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15390         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15391         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15392         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15393         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15394         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15395         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15396         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15397         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15398         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15399         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15400         Likewise.
15401         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15402         Likewise.
15403         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15404         Likewise.
15405         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15406         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15407         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15408         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15409         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15410         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15411         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15412         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15413         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15414         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15415         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15416         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15417         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15418         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15419         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15420         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15421         Likewise.
15422         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15423         Likewise.
15424         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15425         Likewise.
15426         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15427         Likewise.
15428         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15429         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15430         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15431         Likewise.
15432         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15433         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15434         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15435         * sysdeps/posix/sleep.c: Likewise.
15436         * sysdeps/posix/tempname.c: Likewise.
15437         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15438         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15439         Likewise.
15440         * sysdeps/powerpc/powerpc32/dl-machine.h
15441         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15442         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15443         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15444         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15445         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15446         Likewise.
15447         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15448         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15449         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15450         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15451         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15452         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15453         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15454         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15455         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15456         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15457         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15458         (elf_machine_lazy_rel): Likewise.
15459         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15460         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15461         (elf_machine_lazy_rel): Likewise.
15462         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15463         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15464         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15465         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15466         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15467         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15468         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15469         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15470         Likewise.
15471         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15472         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15473         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15474         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15475         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15476         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15477         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15478         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15479         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15480         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15481         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15482         Likewise.
15483         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15484         (__posix_fallocate64_l64): Likewise.
15485         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15486         (posix_fallocate): Likewise.
15487         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15488         Likewise.
15489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15490         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15491         (getifaddrs_internal): Likewise.
15492         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15493         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15494         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15495         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15496         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15497         (__posix_fallocate64_l64): Likewise.
15498         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15499         Likewise.
15500         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15501         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15502         (__get_clockfreq): Likewise.
15503         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15504         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15505         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15506         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15507         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15508         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15509         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15510         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15511         Likewise.
15512         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15513         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15514         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15515         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15516         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15517         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15518         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15519         Likewise.
15520         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15521         (posix_fallocate): Likewise.
15522         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15523         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15524         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15525         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15526         (elf_machine_rela, elf_machine_rela_relative)
15527         (elf_machine_lazy_rel): Likewise.
15528         * time/asctime.c (asctime_internal): Likewise.
15529         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15530         * time/tzset.c (__tzset_parse_tz): Likewise.
15531         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15532         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15533         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15534         * wcsmbs/wcsmbsload.h: Likewise.
15535
15536         [BZ #15894]
15537         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15538
15539         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15540         (arena_get2): Remove THREAD_STATS conditionals.
15541         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15542         (__malloc_stats, int): Likewise.
15543
15544 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15545
15546         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15547         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15548
15549         * manual/setjmp.texi: Fix typos/grammar errors.
15550
15551         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15552         Only return early when n is <= 0.  Delete unused return statement.
15553
15554         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15555         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15556         * debug/tst-longjmp_chk3.c: New file.
15557
15558         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15559         (test_main): Replace code with set_fortify_handler call.
15560         * debug/test-strcpy_chk.c: Likewise.
15561         * debug/tst-chk1.c: Likewise.
15562         * debug/tst-longjmp_chk.c: Likewise.
15563         * test-skeleton.c: Include fcntl.h & paths.h
15564         (set_fortify_handler): Define.
15565
15566         * debug/tst-longjmp_chk.c: Add header comment and include
15567         ../test-skeleton.c.
15568         (do_test): Mark static.
15569         (TEST_FUNCTION): Define.
15570
15571         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15572         (IP_PMTUDISC_INTERFACE): Likewise.
15573         (IP_MULTICAST_IF): Likewise.
15574         (IP_MULTICAST_TTL): Likewise.
15575         (IP_MULTICAST_LOOP): Likewise.
15576         (IP_ADD_MEMBERSHIP): Likewise.
15577         (IP_DROP_MEMBERSHIP): Likewise.
15578         (IP_UNBLOCK_SOURCE): Likewise.
15579         (IP_BLOCK_SOURCE): Likewise.
15580         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15581         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15582         (IP_MSFILTER): Likewise.
15583         (MCAST_JOIN_GROUP): Likewise.
15584         (MCAST_BLOCK_SOURCE): Likewise.
15585         (MCAST_UNBLOCK_SOURCE): Likewise.
15586         (MCAST_LEAVE_GROUP): Likewise.
15587         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15588         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15589         (MCAST_MSFILTER): Likewise.
15590         (IP_MULTICAST_ALL): Likewise.
15591         (IP_UNICAST_IF): Likewise.
15592
15593         * timezone/Makefile: Delete $(have-ksh) check.
15594         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15595         * timezone/tzselect.ksh: Add +x mode bits.
15596
15597         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15598         (ANON_INODE_FS_MAGIC): Likewise.
15599         (BDEVFS_MAGIC): Likewise.
15600         (BINFMTFS_MAGIC): Likewise.
15601         (BTRFS_TEST_MAGIC): Likewise.
15602         (CRAMFS_MAGIC_WEND): Likewise.
15603         (DEBUGFS_MAGIC): Likewise.
15604         (ECRYPTFS_SUPER_MAGIC): Likewise.
15605         (EXT3_SUPER_MAGIC): Likewise.
15606         (EXT4_SUPER_MAGIC): Likewise.
15607         (FUTEXFS_SUPER_MAGIC): Likewise.
15608         (HOSTFS_SUPER_MAGIC): Likewise.
15609         (HUGETLBFS_MAGIC): Likewise.
15610         (MINIX3_SUPER_MAGIC): Likewise.
15611         (MTD_INODE_FS_MAGIC): Likewise.
15612         (NILFS_SUPER_MAGIC): Likewise.
15613         (OPENPROM_SUPER_MAGIC): Likewise.
15614         (PIPEFS_MAGIC): Likewise.
15615         (PSTOREFS_MAGIC): Likewise.
15616         (QNX6_SUPER_MAGIC): Likewise.
15617         (RAMFS_MAGIC): Likewise.
15618         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15619         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15620         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15621         (SECURITYFS_MAGIC): Likewise.
15622         (SELINUX_MAGIC): Likewise.
15623         (SMACK_MAGIC): Likewise.
15624         (SOCKFS_MAGIC): Likewise.
15625         (SQUASHFS_MAGIC): Likewise.
15626         (STACK_END_MAGIC): Likewise.
15627         (TMPFS_MAGIC): Likewise.
15628         (USBDEVICE_SUPER_MAGIC): Likewise.
15629         (V9FS_MAGIC): Likewise.
15630         (XENFS_SUPER_MAGIC): Likewise.
15631         (CRAMFS_MAGIC): Fix typo in comment.
15632         (EXT2_SUPER_MAGIC): Update comment.
15633         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15634
15635 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15636
15637         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15638         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15639         * sysdeps/unix/sysv/linux/arm: Move directory from
15640         ports/sysdeps/unix/sysv/linux/arm.
15641         * README: Update listing for arm-*-linux-gnueabi.
15642
15643         * README: Remove mention of am33.
15644
15645 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15646
15647         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15648         than the comma operator, to avoid "rhs of comma has no effect"
15649         compiler warnings.
15650         (__sigfillset, __sigandset, __sigorset): Likewise.
15651         * include/signal.h (__sigemptyset): Likewise.
15652         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15653
15654 2014-02-07  Allan McRae  <allan@archlinux.org>
15655
15656         * version.h (RELEASE): Set to "development".
15657         (VERSION): Set to "2.19.90"
15658         * NEWS: Add 2.20 section.
15659
15660 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15661
15662         [BZ #16529]
15663         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15664
15665 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15666
15667         * manual/contrib.texi: Update entry for Carlos O'Donell,
15668         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15669
15670 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15671
15672         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15673
15674         * sysdeps/unix/sysv/linux/kernel-features.h
15675         [__LINUX_KERNEL_VERSION >= 0x020621]
15676         (__ASSUME_PROC_PID_TASK_COMM): Define.
15677
15678 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15679
15680         [BZ #16398]
15681         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15682         conversion when destination buffer does not have enough space.
15683         * libio/tst-ftell-partial-wide.c: New test case.
15684         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15685
15686         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15687         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15688         Leonard and Allan McRae.
15689
15690 2014-02-04  David S. Miller  <davem@davemloft.net>
15691
15692         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15693         32-bit.
15694
15695 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15696
15697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15698         New file
15699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15700         New file
15701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15702         New file.
15703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15704         New file.
15705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15706         New file.
15707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15708         New file.
15709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15710         New file.
15711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15712         New file.
15713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15714         New file.
15715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15716         New file.
15717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15718         New file.
15719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15720         New file.
15721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15722         New file.
15723
15724 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15725
15726         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15727         * shlib-versions: Likewise.
15728
15729 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15730             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15731
15732         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15733         (abilist-pattern): New variable, set to %-le.abilist.
15734
15735         * Makerules (abilist-pattern): New variable.
15736         (vpath): Use $(abilist-pattern) in place of %.abilist.
15737         (check-abi-% pattern rule): Likewise.
15738         (check-abi, update-abi): Likewise.
15739
15740 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15741
15742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15743
15744 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15745
15746         * manual/startup.texi: Add next, previous, and top entries for
15747         the `Program Arguments' and `Environment Variables' nodes.
15748
15749 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15750
15751         * manual/macros.texi: Add comments before MTASC-safety macros.
15752
15753         * manual/users.texi: Document MTASC-safety properties.
15754
15755         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15756         (pthread_getspecific, pthread_setspecific): Format with
15757         @deftypefun, and add @safety note.
15758         * manual/signal.texi: Move comments that analyze the above
15759         functions to their home place.
15760
15761 2014-02-03  Allan McRae  <allan@archlinux.org>
15762
15763         * po/sl.po: Update Slovenian translation from translation project.
15764
15765 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15766
15767         * manual/time.texi (timegm): Add missing blank after @c.
15768         Reported by Joseph Myers <joseph@codesourcery.com>.
15769
15770 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15771
15772         * manual/check-safety.sh: New.
15773         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15774
15775         * manual/terminal.texi: Document MTASC-safety properties.
15776
15777         * manual/filesys.texi: Document MTASC-safety properties.
15778
15779         * manual/errno.texi: Document MTASC-safety properties.
15780
15781         * manual/intro.texi: Document safety identifiers and
15782         conditionals.
15783
15784         * manual/string.texi (wcstok): Fix prototype.
15785         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15786
15787         * manual/time.texi: Document MTASC-safety properties.
15788
15789         * manual/string.texi: Document MTASC-safety properties.
15790
15791         * manual/threads.texi: Document MTASC-safety properties.
15792
15793         * manual/stdio.texi: Document MTASC-safety properties.
15794
15795         * manual/syslog.texi: Document MTASC-safety properties.
15796
15797         * manual/sysinfo.texi: Document MTASC-safety properties.
15798
15799         * manual/startup.texi: Document MTASC-safety properties.
15800
15801         * manual/socket.texi: Document MTASC-safety properties.
15802
15803         * manual/signal.texi: Document MTASC-safety properties.
15804
15805 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
15806
15807         * manual/setjmp.texi: Document MTASC-safety properties.
15808
15809         * manual/search.texi: Document MTASC-safety properties.
15810
15811         * manual/resource.texi: Document MTASC-safety properties.
15812
15813         * manual/process.texi: Document MTASC-safety properties.
15814
15815         * manual/platform.texi: Document MTASC-safety properties.
15816
15817         * manual/pipe.texi: Document MTASC-safety properties.
15818
15819         * manual/pattern.texi: Document MTASC-safety properties.
15820
15821         * manual/message.texi: Document MTASC-safety properties.
15822
15823         [BZ #12751]
15824         * manual/memory.texi: Document MTASC-safety properties.
15825
15826         * manual/math.texi: Document MTASC-safety properties.
15827
15828         * manual/locale.texi: Document MTASC-safety properties.
15829
15830         * manual/llio.texi: Document MTASC-safety properties.
15831
15832         * manual/libdl.texi: New.
15833
15834         * manual/lang.texi: Document MTASC-safety properties.
15835
15836         * manual/job.texi: Document MTASC-safety properties.
15837
15838         * manual/getopt.texi: Document MTASC-safety properties.
15839
15840         * manual/ctype.texi: Document MTASC-safety properties.
15841
15842 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
15843
15844         [BZ #16046]
15845         * csu/libc-tls.c (static_map): Remove variable.
15846         (__libc_setup_tls): Use main executable's link map for TLS data.
15847         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15848         casing for LM_ID_BASE and GL(dl_nns).
15849         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15850         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
15851         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15852         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15853         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15854         member.
15855         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15856         l_phnum members.
15857
15858 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
15859
15860         * manual/debug.texi: Document MTASC-safety properties.
15861
15862 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
15863
15864         [BZ #16510]
15865         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15866         of __x86_64__ when disabling x87 inline functions.
15867
15868 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
15869
15870         * manual/charset.texi: Document MTASC-safety properties.
15871
15872         * manual/crypt.texi: Document MTASC-safety properties.
15873
15874         * manual/conf.texi: Document MTASC-safety properties.
15875
15876         * manual/arith.texi: Document MTASC-safety properties.
15877
15878         * manual/argp.texi: Document MTASC-safety properties.
15879
15880         * manual/macros.texi: Introduce macros to document multi
15881         thread, asynchronous signal and asynchronous cancellation
15882         safety properties.
15883         * manual/intro.texi: Introduce the properties themselves.
15884
15885 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15886
15887         * sysdeps/sh/sh4/Makefile: New file.
15888
15889 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
15890
15891         * math/gen-libm-test.pl ($srcdir): New variable.
15892         ($auto_input): Use it.
15893
15894 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15895
15896         [BZ #16506]
15897         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15898         access beyond array bounds when parsing netgroups file.
15899
15900         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15901         the old buffer before realloc.
15902
15903 2014-01-27  Allan McRae  <allan@archlinux.org>
15904
15905         * po/fr.po: Update French translation from translation project.
15906
15907 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15908
15909         * sysdeps/sh/libm-test-ulps: Regenerate.
15910
15911 2014-01-24  David S. Miller  <davem@davemloft.net>
15912
15913         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15914
15915 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15916
15917         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15918         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15919
15920 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15921
15922         [BZ #16474]
15923         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15924         string pointers after reallocation.
15925
15926 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15927
15928         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15929         __SH4A__ instead of __SH_FPU_ANY__.
15930
15931 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15932
15933         * sysdeps/sh/fpu_control.h: New file.
15934         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15935         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15936         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15937         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15938         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15939         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15940         * sysdeps/sh/sys/ucontext.h: Remove.
15941         * sysdeps/sh/sys: Remove directory.
15942
15943 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15944
15945         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15946         s390/sys/ucontext.h.
15947         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15948         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15949
15950 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
15951
15952         [BZ #15605]
15953         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15954
15955 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15956
15957         [BZ#16431]
15958         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15959         Adjust the vDSO correctly for internal calls.
15960         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15961
15962 2014-01-20  Allan McRae  <allan@archlinux.org>
15963
15964         * po/ca.po: Update Catalan translation from translation project.
15965
15966 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
15967
15968         * sysdeps/s390/sotruss-lib.c: New file.
15969
15970 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15971
15972         [BZ#16430]
15973         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15974         (__GI___gettimeofday): Alias for a different internal symbol to avoid
15975         local calls issues by not having a PLT stub required for IFUNC calls.
15976         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15977
15978 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
15979
15980         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15981         * math/test-fpucw-static.c: Likewise.
15982
15983 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15984
15985         [BZ #16453]
15986         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15987
15988 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15989
15990         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15991         implementation for powerpc.
15992
15993 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
15994
15995         [BZ #14782]
15996         * sysdeps/posix/system.c (__libc_system): Do not enable
15997         asynchronous cancellation.
15998
15999 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16000
16001         [BZ #16427]
16002         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16003         handling only for numbers special also in the IEEE case.
16004
16005 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16006
16007         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16008
16009 2014-01-11  Allan McRae  <allan@archlinux.org>
16010
16011         * po/bg.po: Update Bulgarian translation from translation project.
16012
16013         * po/de.po: Update German translation from translation project.
16014
16015 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16016
16017         * sysdeps/generic/gcc-compat.h: New file.
16018
16019 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16020
16021         * benchtests/asin-inputs: Correct slow inputs.
16022         * benchtests/acos-inputs: Likewise.
16023
16024 2014-01-10  Allan McRae  <allan@archlinux.org>
16025
16026         * po:sv.po: Update Swedish translation from translation project.
16027
16028         * po/vi.po: Update Vietnamese translation from translation project.
16029
16030         * po/eo.po: Update Esperanto translation from translation project.
16031
16032         * po/cs.po: Update Czech translation from translation project.
16033
16034         * po/nl.po: Update Dutch translation from translation project.
16035
16036         * po/pl.po: Update Polish translation from translation project.
16037
16038         * po/ru.po: Update Russian translation from translation project.
16039
16040         * po/uk.po: Update Ukrainian translation from translation project.
16041
16042 2014-01-08  Brooks Moses  <bmoses@google.com>
16043
16044         * elf/dl-load.c: Fix comment typo.
16045
16046 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16047
16048         * po/header.pot: Rename to...
16049         * po/pot.header: ... this.
16050         * po/Makefile: Use pot.header.
16051
16052 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16053             Maxim Kuvyrkov  <maxim@kugelworks.com>
16054
16055         [BZ #16394]
16056         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16057         SRC and DEST against LEN.
16058
16059 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16060
16061         [BZ #16414]
16062         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16063         implementation.
16064         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16065
16066 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16067
16068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16069
16070 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16071
16072         [BZ #16408]
16073         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16074         for large positive arguments.
16075
16076 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16077
16078         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16079
16080         * math/auto-libm-test-in: Mark various tests with
16081         xfail-rounding:ldbl-128ibm.
16082         * math/auto-libm-test-out: Regenerated.
16083
16084         [BZ #16407]
16085         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16086         Increase overflow threshold.
16087
16088 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16089
16090         [BZ #14286]
16091         * stdio-common/vfprintf.c: Check for integer overflow.
16092
16093 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16094
16095         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16096         the first argument and return value of __tls_get_addr_internal.
16097
16098 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16099
16100         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16101         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16102
16103 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16104
16105         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16106         * sysdeps/s390/rtld-global-offsets.sym: New file.
16107         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16108         GLIBC_2.19 symbol.
16109         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16110         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16111         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16112         ... this.
16113         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16114         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16115         ... this.
16116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16117         Regenerate.
16118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16119         Regenerate.
16120         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16121         halfs of GPRs for high_gprs contexts.
16122         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16123         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16124         field.
16125         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16126         uc_flags field.
16127         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16128         64 bit versions:
16129         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16130         for high GPRs (uc_high_gprs) and for future extensions
16131         (__reserved).
16132         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16133         for future extensions (__reserved).
16134         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16135         64 bit versions:
16136         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16137         SC_HIGHGPRS offset definition.
16138         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16139         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16140
16141         * Versions.def: Add GLIBC_2.19 for libpthread.
16142         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16143         siglongjmp for libpthread with GLIBC_2.19 symver.
16144         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16145         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16146         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16147         * sysdeps/s390/__longjmp.c: New file.
16148         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16149         * sysdeps/s390/longjmp.c: New file.
16150         * sysdeps/s390/setjmp.S: New file.
16151         * sysdeps/s390/sigjmp.S: New file.
16152         * sysdeps/s390/v1-longjmp.c: New file.
16153         * sysdeps/s390/v1-setjmp.h: New file.
16154         * sysdeps/s390/v1-sigjmp.c: New file.
16155         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16156         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16157         GLIBC_2.19 version.
16158         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16159         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16160         versioned symbols for ____longjmp_chk.
16161         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16162         Likewise.
16163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16164         Regenerate.
16165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16166         Regenerate.
16167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16168         Regenerate.
16169         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16170         Regenerate.
16171         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16172         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16173         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16174         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16175         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16176         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16177         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16178         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16179         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16180         * sysdeps/s390/rtld-__longjmp.c: New file.
16181         * sysdeps/s390/rtld-setjmp.S: New file.
16182
16183 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16184
16185         [BZ #16400]
16186         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16187         Return -__logl (x) for small positive arguments without evaluating
16188         a polynomial.
16189
16190 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16191
16192         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16193         Rename to ...
16194         (__ptrace_peeksiginfo_args): ... this.
16195         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16196         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16197         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16198
16199 2014-01-06  Allan McRae  <allan@archlinux.org>
16200
16201         * inet/netinet/in.h: Fix typo in comment.
16202
16203 2014-01-05  Andreas Jaeger  <aj@suse.de>
16204
16205         * sysdeps/i386/fpu/libm-test-ulps: Update.
16206
16207 2014-01-05  Allan McRae  <allan@archlinux.org>
16208
16209         * po/libc.pot: Regenerated.
16210
16211         * malloc/memusagestat.c: Fix gettext call formatting.
16212
16213 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16214
16215         * nscd/nscd.c: Improve usage() output.
16216
16217 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16218
16219         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16220         * sysdeps/unix/sysv/linux/configure: Regenerated.
16221         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16222         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16223
16224 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16225
16226         [BZ #16390]
16227         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16228         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16229
16230 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16231
16232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16233         extra tokens at end of #undef directive.
16234         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16235         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16236         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16237
16238 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16239
16240         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16241
16242         * math/auto-libm-test-in: Mark various tests with
16243         xfail-rounding:ldbl-128ibm.
16244         * math/auto-libm-test-out: Regenerated.
16245
16246 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16247
16248         [BZ #16386]
16249         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16250         numbers with subnormal high part when calculating exponent.
16251
16252         [BZ #16385]
16253         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16254         fabs.
16255
16256         [BZ #16384]
16257         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16258         M_LN2l.
16259         (__ieee754_acoshl): Use __log1pl not __log1p.
16260
16261 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16262
16263         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16264         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16265         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16266         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16267         (reused_arena, arena_get2): Convert to GNU style.
16268         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16269         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16270         (memalign_check, __malloc_set_state): Likewise.
16271         * malloc/mallocbug.c (main): Likewise.
16272         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16273         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16274         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16275         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16276         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16277         (__posix_memalign, malloc_info): Likewise.
16278         * malloc/malloc.h: Likewise.
16279         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16280         (mallochook, memalignhook, reallochook, mabort): Likewise.
16281         * malloc/mcheck.h: Likewise.
16282         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16283         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16284         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16285         * malloc/morecore.c (__default_morecore): Likewise.
16286         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16287         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16288         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16289         (print_and_abort): Likewise.
16290         * malloc/obstack.h: Likewise.
16291         * malloc/set-freeres.c (__libc_freeres): Likewise.
16292         * malloc/tst-mallocstate.c (main): Likewise.
16293         * malloc/tst-mtrace.c (main): Likewise.
16294         * malloc/tst-realloc.c (do_test): Likewise.
16295
16296 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16297
16298         [BZ #16366]
16299         * nscd/netgroupcache.c (do_notfound): New function.
16300         (addgetnetgrentX): Use it.
16301
16302         [BZ # 16365]
16303         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16304         NSS_STATUS_NOTFOUND.
16305
16306 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16307
16308         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16310
16311 2014-01-01  Allan McRae  <allan@archlinux.org>
16312
16313         * scripts/update-copyrights: Update configure input file suffix.
16314
16315         * NEWS: Update copyright year.
16316         * catgets/gencat.c: Likewise.
16317         * csu/version.c: Likewise.
16318         * debug/catchsegv.sh: Likewise.
16319         * debug/pcprofiledump.c: Likewise.
16320         * debug/xtrace.sh: Likewise.
16321         * elf/ldconfig.c: Likewise.
16322         * elf/ldd.bash.in: Likewise.
16323         * elf/pldd.c: Likewise.
16324         * elf/sotruss.ksh: Likewise.
16325         * elf/sprof.c: Likewise.
16326         * iconv/iconv_prog.c: Likewise.
16327         * iconv/iconvconfig.c: Likewise.
16328         * locale/programs/locale.c: Likewise.
16329         * locale/programs/localedef.c: Likewise.
16330         * login/programs/pt_chown.c: Likewise.
16331         * malloc/memusage.sh: Likewise.
16332         * malloc/memusagestat.c: Likewise.
16333         * malloc/mtrace.pl: Likewise.
16334         * manual/libc.texinfo: Likewise.
16335         * nscd/nscd.c: Likewise.
16336         * nss/getent.c: Likewise.
16337         * nss/makedb.c: Likewise.
16338         * posix/getconf.c: Likewise.
16339         * scripts/test-installation.pl: Likewise.
16340
16341         * All files with FSF copyright notices: Update copyright dates
16342         using scripts/update-copyrights.
16343         * intl/plural.c: Regenerated.
16344         * locale/programs/charmap-kw.h: Likewise.
16345         * locale/programs/locfile-kw.h: Likewise.
16346
16347 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16348
16349         * sysdeps/unix/sysv/linux/configure: Regenerated.
16350         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16351         the linux/fanotify.h header.
16352         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16353         HAVE_LINUX_FANOTIFY_H is defined.
16354
16355 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16356
16357         * benchtests/cos-inputs: New inputs.
16358         * benchtests/sin-inputs: Likewise.
16359
16360         * benchtests/atan-inputs: New inputs. Fix name of multiple
16361         precision fallback inputs.
16362
16363         * benchtests/atanh-inputs: New inputs.
16364         * benchtests/tanh-inputs: Likewise.
16365
16366         * benchtests/acosh-inputs: New inputs.
16367         * benchtests/asinh-inputs: Likewise.
16368
16369         * benchtests/cosh-inputs: New inputs.
16370         * benchtests/sinh-inputs: Likewise.
16371
16372         * benchtests/acos-inputs: Add more inputs.
16373         * benchtests/asin-inputs: Likewise.
16374
16375 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16376
16377         [BZ #16375]
16378         * manual/arith.texi: Fix spelling.
16379         * manual/charset.texi: Likewise.
16380         * manual/errno.texi: Likewise.
16381         * manual/filesys.texi: Likewise.
16382         * manual/lang.texi: Likewise.
16383         * manual/llio.texi: Likewise.
16384         * manual/locale.texi: Likewise.
16385         * manual/message.texi: Likewise.
16386         * manual/resource.texi: Likewise.
16387         * manual/search.texi: Likewise.
16388         * manual/setjmp.texi: Likewise.
16389         * manual/stdio.texi: Likewise.
16390         * manual/string.texi: Likewise.
16391         * manual/sysinfo.texi: Likewise.
16392         * manual/time.texi: Likewise.
16393
16394 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16395
16396         * po/sl.po: New file.
16397
16398 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16399
16400         * .gitignore: Add core/.gdbinit/.gdb_history.
16401
16402 2013-12-27  Allan McRae  <allan@archlinux.org>
16403
16404         [BZ #16369]
16405         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16406         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16407
16408 2013-12-24  Brooks Moses  <bmoses@google.com>
16409
16410         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16411         all compilers that claim C++98 compliance, not just GCC.
16412         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16413         Likewise.
16414
16415 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16416
16417         * NEWS: Restore accidentally deleted bug-fix entries.
16418
16419 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16420             Ondřej Bílka  <neleai@seznam.cz>
16421
16422         [BZ #15073]
16423         * malloc/malloc.c (_int_free): Perform sanity check only if we
16424         have_lock.
16425
16426 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16427
16428         [BZ #12986]
16429         * manual/stdio.texi (String Input Conversions): Clarify that character
16430         classes are not supported.
16431
16432 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16433
16434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16435
16436 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16437
16438         [BZ #16337]
16439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16440         Calculate results for small negative arguments directly rather
16441         than using reflection formula with special underflow handling.
16442
16443         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16444         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16445         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16446         (fchflags): Likewise.
16447         (revoke): Likewise.
16448         (setlogin): Likewise.
16449         (sigaltstack): Likewise.
16450         (wait4): Likewise.
16451         (sigblock): Remove.
16452         (sigsetmask): Likewise.
16453         (wait3): Likewise.
16454         (waitpid): Likewise.
16455         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16456         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16457         file.
16458         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16459         * sysdeps/unix/bsd/Makefile: ... here.
16460         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16461         * sysdeps/unix/bsd/Versions: ... here.
16462         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16463         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16464         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16465         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16466         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16467         * sysdeps/unix/bsd/sigblock.c: ... here.
16468         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16469         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16470         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16471         * sysdeps/unix/bsd/sigvec.c: ... here.
16472         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16473         * sysdeps/unix/bsd/tcdrain.c: ... here.
16474         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16475         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16476         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16477         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16478         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16479         * sysdeps/unix/bsd/wait.c: ... here.
16480         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16481         * sysdeps/unix/bsd/wait3.c: ... here.
16482         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16483         * sysdeps/unix/bsd/waitpid.c: ... here.
16484
16485 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16486
16487         [BZ #16356]
16488         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16489         round-to-nearest for [!USE_AS_EXPM1L].
16490         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16491         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16492         more tests of exp and exp10.  Expect some exp10 tests to miss
16493         exceptions or fail in directed rounding modes.
16494         * math/auto-libm-test-out: Regenerated.
16495         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16496         (exp10_test_tonearest): New function.
16497         (exp10_towardzero_test_data): New array.
16498         (exp10_test_towardzero): New function.
16499         (exp10_downward_test_data): New array.
16500         (exp10_test_downward): New function.
16501         (exp10_upward_test_data): New array.
16502         (exp10_test_upward): New function.
16503         (main): Call the new functions.
16504         * sysdeps/i386/fpu/libm-test-ulps: Update.
16505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16506
16507 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16508
16509         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16510         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16511         * math/auto-libm-test-out: Regenerated.
16512         * math/libm-test.inc (acosh_test_data): Add more tests.
16513         (atanh_test_data): Likewise.
16514         (ceil_test_data): Likewise.
16515         (copysign_test_data): Likewise.
16516         * sysdeps/i386/fpu/libm-test-ulps: Update.
16517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16518
16519         * timezone/checktab.awk: Update from tzcode 2013i.
16520         * timezone/private.h: Likewise.
16521         * timezone/scheck.c: Likewise.
16522         * timezone/tzfile.h: Likewise.
16523         * timezone/tzselect.ksh: Likewise.
16524         * timezone/zdump.c: Likewise.
16525         * timezone/zic.c: Likewise.
16526
16527         * math/auto-libm-test-in: Add tests of cpow.
16528         * math/auto-libm-test-out: Regenerated.
16529         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16530         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16531         mpc_cc_c.
16532         (func_calc_desc): Add mpc_cc_c union field.
16533         (test_functions): Add cpow.
16534         (special_fill_2pi): New function.
16535         (special_real_inputs): Add 2pi.
16536         (calc_generic_results): Handle mpc_cc_c.
16537         * sysdeps/i386/fpu/libm-test-ulps: Update.
16538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16539
16540         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16541         csqrt, ctan and ctanh.
16542         * math/auto-libm-test-out: Regenerated.
16543         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16544         (TEST_COND_x86): Likewise.
16545         (ccos_test_data): Use AUTO_TESTS_c_c.
16546         (ccosh_test_data): Likewise.
16547         (cexp_test_data): Likewise.
16548         (clog_test_data): Likewise.
16549         (csqrt_test_data): Likewise.
16550         (ctan_test_data): Likewise.
16551         (ctan_tonearest_test_data): Likewise.
16552         (ctan_towardzero_test_data): Likewise.
16553         (ctan_downward_test_data): Likewise.
16554         (ctan_upward_test_data): Likewise.
16555         (ctanh_test_data): Likewise.
16556         (ctanh_tonearest_test_data): Likewise.
16557         (ctanh_towardzero_test_data): Likewise.
16558         (ctanh_downward_test_data): Likewise.
16559         (ctanh_upward_test_data): Likewise.
16560         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16561         mpc_c_c.
16562         (func_calc_desc): Add mpc_c_c union field.
16563         (FUNC_mpc_c_c): New macro.
16564         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16565         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16566         ctanh.
16567         (special_fill_min_subnorm_p120): New function.
16568         (special_real_inputs): Add min_subnorm_p120.
16569         (calc_generic_results): Handle mpc_c_c.
16570         * sysdeps/i386/fpu/libm-test-ulps: Update.
16571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16572
16573 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16574
16575         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16576         (do_sin_slow): New functions.
16577         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16578         (cslow2, csloww1, csloww2): Use the new functions.
16579
16580         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16581         Use M to change sign of result instead of X.  Assume X is
16582         positive.
16583         (csloww1): Likewise.
16584         (__sin): Adjust.
16585         (__cos): Adjust.
16586
16587         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16588         arguments A and DA.
16589         (__sin): Adjust.
16590         (__cos): Likewise.
16591
16592         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16593         (__cos): Likewise.
16594         (sloww1): Don't adjust sign of DX.
16595         (csloww1): Likewise.
16596         (sloww2): Use X directly and don't adjust sign of DX.
16597         (csloww2): Likewise.
16598
16599 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16600
16601         * math/auto-libm-test-in: Add tests of cabs and carg.
16602         * math/auto-libm-test-out: Regenerated.
16603         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16604         (carg_test_data): Likewise.
16605         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16606         mpc_c_f.
16607         (func_calc_desc): Add mpc_c_f union field.
16608         (test_functions): Add cabs and carg.
16609         (calc_generic_results): Handle mpc_c_f.
16610
16611         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16612         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16613         as a macro and a compat symbol.
16614         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16615         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16616         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16617         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16618         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16619         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16620         not use .hidden.
16621         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16622         Likewise.
16623         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16624         Likewise.
16625         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16626         Likewise.
16627         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16628         Likewise.
16629         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16630         Likewise.
16631         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16632         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16633         from GLIBC_2.3.2.
16634
16635 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16636
16637         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16638
16639 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16640
16641         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16642         trailing whitespace removed.
16643         * scripts/config.guess: Update to version 2013-11-29.
16644         * scripts/config.sub: Update to version 2013-10-01.
16645
16646         * math/auto-libm-test-in: Add tests of sincos.
16647         * math/auto-libm-test-out: Regenerated.
16648         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16649         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16650         mpfr_f_11.
16651         (func_calc_desc): Add mpfr_f_11 union field.
16652         (test_functions): Add sincos.
16653         (calc_generic_results): Handle mpfr_f_11.
16654         * sysdeps/i386/fpu/libm-test-ulps: Update.
16655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16656
16657 2013-12-19  Andreas Schwab  <schwab@suse.de>
16658
16659         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16660         CALL_MCOUNT.
16661         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16662         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16663         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16664
16665 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16666
16667         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16668         * sysdeps/i386/fpu/libm-test-ulps: Update.
16669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16670
16671         [BZ #16293]
16672         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16673         round-to-nearest mode when using frndint.
16674         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16675         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16676         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16677         Likewise.
16678         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16679         sinh test to fail.
16680         * math/auto-libm-test-out: Regenerated.
16681         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16682         (TEST_COND_x86): Likewise.
16683         (expm1_tonearest_test_data): New array.
16684         (expm1_test_tonearest): New function.
16685         (expm1_towardzero_test_data): New array.
16686         (expm1_test_towardzero): New function.
16687         (expm1_downward_test_data): New array.
16688         (expm1_test_downward): New function.
16689         (expm1_upward_test_data): New array.
16690         (expm1_test_upward): New function.
16691         (main): Run the new test functions.
16692         * sysdeps/i386/fpu/libm-test-ulps: Update.
16693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16694
16695         * include/features.h: Update comment documenting feature test
16696         macros.  Mention _DEFAULT_SOURCE in comment.
16697         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16698         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16699         _BSD_SOURCE and _SVID_SOURCE.
16700         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16701         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16702         !_SVID_SOURCE]: Likewise.
16703         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16704         (__USE_POSIX_IMPLICITLY): Define.
16705         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16706         (_POSIX_SOURCE): Undefine and redefine.
16707         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16708         (_POSIX_C_SOURCE): Likewise.
16709         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16710         (Feature Test Macros): Update documentation of default features.
16711
16712 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16713
16714         * benchtests/Makefile: Add bench-strtok.
16715         * benchtests/bench-strtok.c: New file: strtok benchtest.
16716
16717 2013-12-19  Allan McRae  <allan@archlinux.org>
16718
16719         * manual/install.texi: Suppress menu for plain text output.
16720         * INSTALL: Regenerated.
16721
16722 2013-12-18  Brooks Moses  <bmoses@google.com>
16723
16724         [BZ #15846]
16725         * misc/getauxval.c: Include errno.h.
16726         (__getauxval): Set errno to ENOENT if the requested type is not
16727         found.
16728         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16729         don't declare with __attribute_const__.
16730         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16731         * manual/startup.texi: Document that getauxval sets errno.
16732
16733 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16734
16735         * math/auto-libm-test-in: Add tests of jn and yn.
16736         * math/auto-libm-test-out: Regenerated.
16737         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16738         (yn_test_data): Likewise.
16739         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16740         mpfr_if_f.
16741         (func_calc_desc): Add mpfr_if_f union field.
16742         (FUNC_mpfr_if_f): New macro.
16743         (test_functions): Add jn and yn.
16744         (calc_generic_results): Assert type of second input for
16745         mpfr_ff_f.  Handle mpfr_if_f.
16746         (output_for_one_input_case): Disable all checking for arguments
16747         fitting floating-point types in case of an integer argument.
16748         * sysdeps/i386/fpu/libm-test-ulps: Update.
16749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16750
16751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16752         Don't expect fegetround reference in libm.so.
16753
16754 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16755
16756         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16757         $(config-cflags-nofma).
16758
16759 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16760
16761         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16762         * math/auto-libm-test-out: Regenerated.
16763
16764         [BZ #16338]
16765         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16766         to determine exponent and adjust argument to have exponent of -1.
16767         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16768         log2.
16769         * math/auto-libm-test-out: Regenerated.
16770         * sysdeps/i386/fpu/libm-test-ulps: Update.
16771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16772
16773 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16774
16775         * manual/probes.texi: Remove cases when per-thread arenas are
16776         disabled.
16777
16778 2013-12-18  Andreas Schwab  <schwab@suse.de>
16779
16780         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16781         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16782         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16783         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16784         * sysdeps/i386/i686/multiarch/Makefile: Update.
16785         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16786
16787 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16788
16789         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16790         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16791
16792 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
16793
16794         [BZ #15968]
16795         Support TZ transition times < 00:00:00.
16796         This is needed for version-3 tz-format files; it supports time
16797         stamps past 2037 for America/Godthab (the only entry in the tz
16798         database for which this change is relevant).
16799         * manual/time.texi (TZ Variable): Document transition times
16800         from -167:59:59 through -00:00:01.
16801         * time/tzset.c (tz_rule): Time of day is now signed.
16802         (__tzset_parse_tz): Parse negative time of day.
16803
16804         Document TZ transition times >= 25:00:00.
16805         * manual/time.texi (TZ Variable): Document transition times from
16806         25:00:00 through 167:59:59.  These are already supported, and this
16807         support will help with version-3 tz-format files.
16808
16809         * manual/time.texi (TZ Variable): Modernize North America example
16810         to reflect current (i.e., 2007-and-later) daylight saving rules.
16811
16812         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16813
16814 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16815
16816         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16817         * sysdeps/unix/bsd/bits/stat.h: Likewise.
16818         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16819         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16820         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16821         * sysdeps/unix/bsd/bsdstat.h: Likewise.
16822         * sysdeps/unix/bsd/clock.c: Likewise.
16823         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16824         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16825         * sysdeps/unix/bsd/init-posix.c: Likewise.
16826         * sysdeps/unix/bsd/poll.c: Likewise.
16827         * sysdeps/unix/bsd/ptsname.c: Likewise.
16828         * sysdeps/unix/bsd/seekdir.c: Likewise.
16829         * sysdeps/unix/bsd/setegid.c: Likewise.
16830         * sysdeps/unix/bsd/seteuid.c: Likewise.
16831         * sysdeps/unix/bsd/setgid.c: Likewise.
16832         * sysdeps/unix/bsd/setrgid.c: Likewise.
16833         * sysdeps/unix/bsd/setruid.c: Likewise.
16834         * sysdeps/unix/bsd/setsid.c: Likewise.
16835         * sysdeps/unix/bsd/setuid.c: Likewise.
16836         * sysdeps/unix/bsd/sigaction.c: Likewise.
16837         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16838         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16839         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16840         * sysdeps/unix/bsd/telldir.c: Likewise.
16841         * sysdeps/unix/bsd/times.c: Likewise.
16842         * sysdeps/unix/bsd/usleep.c: Likewise.
16843
16844         * misc/Makefile (install-lib): Remove libbsd-compat.a.
16845         ($(objpfx)libbsd-compat.a): Remove rule.
16846
16847         * include/features.h (__FAVOR_BSD): Do not define.
16848         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16849         features conflicting with POSIX.
16850         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16851         (_BSD_SOURCE): Remove description of not being a subset of other
16852         feature test macros.
16853         * manual/job.texi (getpgrp): Do not document BSD version.
16854         (getpgid): Do not document by reference to BSD getpgrp.
16855         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16856         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16857         * signal/signal.h [__FAVOR_BSD]: Likewise.
16858         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16859         instead of making contents conditional on [__FAVOR_BSD].
16860         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16861
16862 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16863
16864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16865
16866 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16867
16868         [BZ #16314]
16869         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16870         values below 2**-450, not 2**-500.
16871         * math/auto-libm-test-in: Don't allow spurious underflow from
16872         hypot.
16873         * math/auto-libm-test-out: Regenerated.
16874
16875         [BZ #16316]
16876         [BZ #16330]
16877         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16878         values of ha and hb and sort them after adjusting subnormal
16879         arguments.
16880         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16881         Likewise.
16882         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16883         values of ea and eb and sort them after adjusting subnormal
16884         arguments.
16885         * math/auto-libm-test-in: Do not expect some hypot tests of
16886         subnormals to fail.  Add more hypot tests.
16887         * math/auto-libm-test-out: Regenerated.
16888
16889 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16890
16891         [BZ #13304]
16892         * sysdeps/sh/s_fma.c: New file.
16893         * sysdeps/sh/s_fmaf.c: New file.
16894         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
16895         version.
16896         * sysdeps/sh/Implies: Add sh/soft-fp.
16897
16898 2013-12-16  Roland McGrath  <roland@hack.frob.com>
16899
16900         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
16901         level of indirection to members `objname', `errstring', `malloced'.
16902         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16903         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
16904         it as the __longjmp argument (just pass 1 instead).
16905         (_dl_catch_error): Initialize C with argument pointers and address of
16906         volatile local ERRCODE rather than copying values out of C at return.
16907
16908 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
16909
16910         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16911         * math/auto-libm-test-out: Regenerated.
16912         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16913         (hypot_test_data): Likewise.
16914         (pow_test_data): Likewise.
16915         (pow_tonearest_test_data): Likewise.
16916         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16917         mpfr_ff_f.
16918         (func_calc_desc): Add mpfr_ff_f union field.
16919         (FUNC_mpfr_ff_f): New macro.
16920         (test_functions): Add atan2, hypot and pow.
16921         (special_fill_min): New function.
16922         (special_fill_minus_min): Likewise.
16923         (special_fill_min_subnorm): Likewise.
16924         (special_fill_minus_min_subnorm): Likewise.
16925         (special_real_inputs): Add min, -min, min_subnorm and
16926         -min_subnorm.
16927         (calc_generic_results): Handle mpfr_ff_f.
16928         * sysdeps/i386/fpu/libm-test-ulps: Update.
16929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16930
16931 2013-12-16  Will Newton  <will.newton@linaro.org>
16932
16933         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16934         (Aligned Memory Blocks): Add documentation for aligned_alloc
16935         and suggest it as an alternative to posix_memalign.
16936         (Hooks for Malloc): Document __memalign_hook is also called
16937         for aligned_alloc.  (Summary of Malloc): Add summary for
16938         aligned alloc.  Document __memalign_hook is also called
16939         for aligned_alloc.
16940
16941 2013-12-16  Will Newton  <will.newton@linaro.org>
16942
16943         * manual/memory.texi (Malloc Examples): Clarify default
16944         alignment documentation.  Suggest posix_memalign rather
16945         than memalign or valloc.
16946         (Aligned Memory Blocks): Remove suggestion to use memalign
16947         or valloc.  Remove obsolete comment about BSD.
16948         Document memalign errno values and mark the function obsolete.
16949         Document posix_memalign returned error codes.  Mark valloc
16950         as obsolete.  (Hooks for Malloc): __memalign_hook is also
16951         called for posix_memalign and valloc.
16952         (Summary of Malloc): Add posix_memalign to function summary.
16953         __memalign_hook is also called for posix_memalign and valloc.
16954
16955 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16956
16957         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16958         TAYLOR_SIN.
16959         (__sin): Adjust.
16960         (__cos): Likewise.
16961         (sloww): Use mynumber union.  Expand ternary operator into
16962         if-else statements.
16963         (cslow): use mynumber union.
16964
16965 2013-12-16  Allan McRae  <allan@archlinux.org>
16966
16967         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16968         * configure: Regenerated.
16969
16970         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16971
16972         [BZ #14120]
16973         * configure.ac: Added --enable-maintainer-mode. Check for
16974         autoconf when enabled.
16975         * configure: Regenerated.
16976
16977         * nscd/nscd.service: New file.
16978         * nscd/nscd.tmpfiles: New file.
16979
16980 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
16981
16982         [BZ #12100]
16983         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16984         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16985         * sysdeps/x86_64/multiarch/strstr.c: ... here.
16986         (strstr): Add __strstr_sse2_unaligned ifunc.
16987         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16988         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16989         (strcasestr): Remove __strcasestr_sse42 ifunc.
16990         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16991         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16992         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16993
16994 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16995
16996         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16997         * sysdeps/sh/bits/fenv.h: ... here.
16998         * sysdeps/sh/sh4/fpu/bits: Remove directory.
16999
17000 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17001
17002         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17003
17004         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17005         hypotf multiarch implementations.
17006         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17007         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17008         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17009         multiarch hypot for PPC64.
17010         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17011         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17012         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17013         multiarch hypotf for PPC64.
17014
17015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17016         modff multiarch implementations.
17017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17020         multiarch modf for PPC64.
17021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17024         multiarch modff for PPC64.
17025
17026         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17027         and logl multiarch implementations.
17028         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17031         multiarch logb for PPC64.
17032         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17034         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17035         multiarch logb for PPC64.
17036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17039         multiarch logb for PPC64.
17040
17041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17042         isinff multiarch implementation.
17043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17044         file.
17045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17046         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17047         multiarch isinf for PPC64.
17048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17049         file.
17050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17051         multiarch isinff for PPC64.
17052
17053         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17054         finitef multiarch implementation.
17055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17056         file.
17057         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17059         multiarch finite for PPC64.
17060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17061         file.
17062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17063         multiarch finitef for PPC64.
17064
17065         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17066         lrint multiarch implementation.
17067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17068         file.
17069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17071         multiarch llrint for PPC64.
17072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17073         multiarch lrint for PPC64.
17074
17075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17076         copysignf multiarch implementation.
17077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17078         file.
17079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17080         file.
17081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17082         multiarch copysign for PPC64.
17083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17084         multiarch copysignf for PPC64.
17085
17086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17087         multiarch implementation.
17088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17089         file.
17090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17091         file.
17092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17093         file.
17094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17095         file.
17096         multiarch llround for PPC64.
17097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17098         multiarch trunc for PPC64.
17099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17100         multiarch truncf for PPC64.
17101
17102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17103         multiarch implementation.
17104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17105         file.
17106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17107         file.
17108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17109         file.
17110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17111         file.
17112         multiarch llround for PPC64.
17113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17114         multiarch round for PPC64.
17115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17116         multiarch roundf for PPC64.
17117
17118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17119         multiarch implementation.
17120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17121         file.
17122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17123         file.
17124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17125         file.
17126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17127         file.
17128         multiarch llround for PPC64.
17129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17130         multiarch floor for PPC64.
17131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17132         multiarch floorf for PPC64.
17133
17134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17135         multiarch implementation.
17136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17137         file.
17138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17139         file.
17140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17141         file.
17142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17143         file.
17144         multiarch llround for PPC64.
17145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17146         multiarch ceil for PPC64.
17147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17148         multiarch ceilf for PPC64.
17149
17150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17151         multiarch implementation.
17152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17153         file.
17154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17155         file.
17156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17157         file.
17158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17159         multiarch llround for PPC64.
17160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17161         multiarch lround for PPC64.
17162
17163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17164         multiarch implementation.
17165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17168         file.
17169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17172         multiarch isnan for PPC64.
17173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17174         multiarch isnanf for PPC64.
17175
17176         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17177         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17178         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17179         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17180         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17182
17183         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17184         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17185         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17186         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17187
17188         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17189         multiarch implementations.
17190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17191         (__libc_ifunc_impl_list): Likewise.
17192         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17193         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17194         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17195         multiarch stpcpy for PPC64.
17196
17197         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17198         multiarch implementations.
17199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17200         (__libc_ifunc_impl_list): Likewise.
17201         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17202         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17203         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17204         multiarch strcpy for PPC64.
17205
17206         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17207         redefine function name.
17208         (_wordcopy_fwd_dest_aligned): Likewise.
17209         (_wordcopy_bwd_aligned): Likewise.
17210         (_wordcopy_bwd_dest_aligned): Likewise.
17211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17212         multiarch implementations.
17213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17214         (__libc_ifunc_impl_list): Likewise.
17215         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17216         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17217         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17218         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17219         multiarch wcscpy for PPC64.
17220
17221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17222         multiarch implementations.
17223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17224         (__libc_ifunc_impl_list): Likewise.
17225         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17226         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17227         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17228         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17229         multiarch wcscpy for PPC64.
17230
17231         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17232         multiarch implementations.
17233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17234         (__libc_ifunc_impl_list): Likewise.
17235         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17236         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17237         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17238         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17239         multiarch wcsrchr for PPC64.
17240
17241         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17242         multiarch implementations.
17243         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17244         (__libc_ifunc_impl_list): Likewise.
17245         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17246         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17247         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17248         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17249         multiarch wcschr for PPC64.
17250
17251         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17252         multiarch implementations.
17253         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17254         (__libc_ifunc_impl_list): Likewise.
17255         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17256         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17257         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17258         multiarch strchrnul for PPC64.
17259
17260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17261         implementations.
17262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17263         (__libc_ifunc_impl_list): Likewise.
17264         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17265         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17266         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17267         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17268         strchr for PPC64.
17269
17270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17271         implementations.
17272         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17273         (__libc_ifunc_impl_list): Likewise.
17274         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17275         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17276         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17277         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17278         strncmp for PPC64.
17279
17280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17281         multiarch implementations.
17282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17283         (__libc_ifunc_impl_list): Likewise.
17284         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17285         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17286         strncasecmp for PPC64.
17287         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17288         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17289         multiarch strncasecmp_l for PPC64.
17290
17291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17292         multiarch implementations.
17293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17294         (__libc_ifunc_impl_list): Likewise.
17295         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17296         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17297         multiarch strcasecmp for PPC64.
17298         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17299         file.
17300         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17301         multiarch strcasecmp_l for PPC64.
17302
17303         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17304         implementations.
17305         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17306         (__libc_ifunc_impl_list): Likewise.
17307         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17308         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17309         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17310         strnlen for PPC64.
17311
17312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17313         implementations.
17314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17315         (__libc_ifunc_impl_list): Likewise.
17316         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17317         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17318         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17319         strlen for PPC64.
17320
17321         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17322         implementations.
17323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17324         (__libc_ifunc_impl_list): Likewise.
17325         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17326         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17327         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17328         rawmemrchr for PPC64.
17329
17330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17331         implementation.
17332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17333         (__libc_ifunc_impl_list): Likewise.
17334         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17335         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17336         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17337         memrchr for PPC64.
17338
17339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17340         implementation.
17341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17342         (__libc_ifunc_impl_list): Likewise.
17343         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17344         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17345         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17346         memchr for PPC64.
17347
17348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17349         implementation.
17350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17351         (__libc_ifunc_impl_list): Likewise.
17352         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17353         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17354         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17355         mempcpy for PPC64.
17356
17357         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17358         avoid cretion of __bzero symbol.
17359         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17360         Likewise.
17361         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17362         Likewise.
17363         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17364         Likewise.
17365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17366         multiarch implementations.
17367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17368         (__libc_ifunc_impl_list): Likewise.
17369         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17370         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17371         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17372         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17373         bzero for PPC32.
17374         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17375         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17376         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17377         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17378         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17379         memset for PPC64.
17380         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17381
17382         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17383         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17384         implementations.
17385         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17386         (__libc_ifunc_impl_list): Likewise.
17387         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17388         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17389         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17390         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17391         memcmp for PPC64.
17392
17393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17394         multiarch for POWER/PPC64.
17395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17396         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17397         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17398         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17399         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17400         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17401         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17402         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17403         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17404         memcpy for PPC64.
17405
17406         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17407         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17408         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17409         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17410         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17411         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17412         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17413         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17414         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17415         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17416         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17417         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17418         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17419         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17420         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17428
17429 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17430
17431         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17432
17433 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17434
17435         * benchtests/Makefile (bench): Add exp2 and log2.
17436         (LDLIBS-bench-exp2): Add -lm.
17437         (LDLIBS-bench-log2): Likewise.
17438         * benchtests/exp2-inputs: New inputs file.
17439         * benchtests/log2-inputs: New inputs file.
17440         * benchtests/log-inputs: Add new inputs.
17441         * benchtests/tan-inputs: Likewise.
17442
17443 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17444
17445         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17446         definition...
17447         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17448         (csloww2): ... from here.
17449
17450         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17451         instead of structures.
17452         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17453         (POLYNOMIAL): Likewise.
17454         (TAYLOR_SLOW): Likewise.
17455         (__sin): Likewise.
17456         (__cos): Likewise.
17457         (slow1): Likewise.
17458         (slow2): Likewise.
17459         (sloww): Likewise.
17460         (sloww1); Likewise.
17461         (sloww2): Likewise.
17462         (bsloww1): Likewise.
17463         (bsloww2): Likewise.
17464         (cslow2): Likewise.
17465         (csloww): Likewise.
17466         (csloww1): Likewise.
17467         (csloww2): Likewise.
17468
17469 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17470
17471         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17472         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17473         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17474         * malloc/hooks.c (realloc_check): Likewise.
17475
17476         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17477         * malloc/arena.c: Remove PER_THREAD conditional.
17478         [!PER_THREAD]: Remove code.
17479         (ptmalloc_unlock_all2): Likewise.
17480         (ptmalloc_init): Likewise.
17481         (_int_new_arena): Likewise.
17482         (arena_get2): Likewise.
17483         * malloc/hooks.c (__malloc_get_state): Likewise.
17484         (__malloc_set_state): Likewise.
17485         * malloc/malloc.c: Likewise.
17486         (struct malloc_state): Likewise.
17487         (struct malloc_par): Likewise.
17488         (__libc_realloc): Likewise.
17489         (__libc_mallopt): Likewise.
17490
17491 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17492
17493         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17494
17495 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17496
17497         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17498         macro to a function.  Check for zero perturb_byte.
17499         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17500
17501         * malloc/malloc.c: (force_reg): Remove.
17502         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17503         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17504         force_reg by atomic_forced_read.
17505         * malloc/arena.c (ptmalloc_init): Likewise.
17506         * malloc/hooks.c (top_check): Likewise.
17507
17508 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17509
17510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17511
17512 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17513
17514         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17515
17516 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17517
17518         * math/auto-libm-test-in: Add tests of lgamma.
17519         * math/auto-libm-test-out: Regenerated.
17520         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17521         (M_LOG_2_SQRT_PIl): Likewise.
17522         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17523         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17524         mpfr_f_f1.
17525         (func_calc_desc): Add mpfr_f_f1 union field.
17526         (ARGS1): New macro.
17527         (ARGS2): Likewise.
17528         (ARGS3): Likewise.
17529         (ARGS4): Likewise.
17530         (RET1): Likewise.
17531         (RET2): Likewise.
17532         (CALC): Likewise.
17533         (FUNC): Likewise.
17534         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17535         (test_functions): Add lgamma.
17536         (calc_generic_results): Handle mpfr_f_f1.
17537         * sysdeps/i386/fpu/libm-test-ulps: Update.
17538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17539
17540 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17541
17542         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17543         __mpn_add_n for PowerPC64/POWER7.
17544         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17545         __mpn_sub_n for PowerPC64/POWER7.
17546
17547         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17548         __mpn_addmul_1 for PowerPC64.
17549         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17550         __mpn_submul_1 for PowerPC64.
17551         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17552         for PowerPC64.
17553         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17554         for PowerPC64.
17555
17556 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17557
17558         [BZ #15089]
17559         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17560
17561 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17562
17563         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17564
17565         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17566         add multiarch folders.
17567         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17568         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17569         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17570         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17571         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17572         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17573         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17574         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17575         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17576         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17577         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17584
17585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17586         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17588         New file.
17589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17590         New file.
17591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17592         multiarch __ieee754_hypot for PowerPC32.
17593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17594         New file.
17595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17596         New file.
17597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17598         multiarch __ieee754_hypotf for PowerPC32.
17599
17600         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17601         long_double_symbol only if __logbl is defined.
17602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17603         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17604         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17605         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17606         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17607         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17608         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17609         path for implementation.
17610         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17611         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17613         logb, and logbl multiarch implementations for PowerPC32.
17614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17615         file.
17616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17617         file.
17618         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17619         multiarch logb for PowerPC32.
17620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17621         file.
17622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17623         file.
17624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17625         multiarch logbf for PowerPC32.
17626         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17628         file.
17629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17630         multiarch logbl implementation for PowerPC32.
17631
17632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17633         and modff multiarch implementations.
17634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17635         New file.
17636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17637         New file.
17638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17639         multiarch modf for PowerPC32.
17640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17641         New file.
17642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17643         New file.
17644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17645         multiarch modff for PowerPC32.
17646
17647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17648         and lrintf multiarch implementations.
17649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17650         New file.
17651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17652         New file.
17653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17654         multiarch lrint for PowerPC32.
17655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17656         file: multiarch lrintf for PowerPC32.
17657
17658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17659         and lroundf multiarch implementations.
17660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17661         New file.
17662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17663         New file.
17664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17665         New file.
17666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17667         multiarch lround for PowerPC32.
17668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17669         file: multiarch lroundf for PowerPC32.
17670
17671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17672         copysign and copysignf multiarch implementations.
17673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17674         New file.
17675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17676         New file.
17677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17678         file: multiarch copysign for PowerPC32.
17679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17680         file: multiarch copysignf for PowerPC32.
17681
17682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17683         and truncf multiarch implementations.
17684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17685         New file.
17686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17687         file.
17688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17689         multiarch trunc for PowerPC32.
17690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17691         New file.
17692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17693         New file.
17694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17695         multiarch truncf for PowerPC32.
17696
17697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17698         and roundf multiarch implementations.
17699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17700         New file.
17701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17702         file.
17703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17704         multiarch round for PowerPC32.
17705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17706         New file.
17707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17708         New file.
17709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17710         multiarch roundf for PowerPC32.
17711
17712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17713         and floorf multiarch implementations.
17714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17715         New file.
17716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17717         file.
17718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17719         multiarch floor for PowerPC32.
17720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17721         New file.
17722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17723         New file.
17724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17725         multiarch floorf for PowerPC32.
17726
17727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17728         and ceilf multiarch implementations.
17729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17730         New file.
17731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17732         file.
17733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17734         multiarch ceil for PowerPC32.
17735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17736         New file.
17737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17738         file.
17739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17740         multiarch ceilf for PowerPC32.
17741
17742         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17743         is defined.
17744         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17745         FINITEF is defined.
17746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17747         and finitef multiarch implementations.
17748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17749         New file.
17750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17751         file.
17752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17753         multiarch finite for PowerPC32.
17754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17755         New file.
17756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17757         file: multiarch finitef for PowerPC32.
17758
17759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17760         and isinff multiarch implementations.
17761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17762         file.
17763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17764         file.
17765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17766         multiarch isinf for PowerPC32.
17767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17768         New file.
17769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17770         multiarch isinff for PowerPC32.
17771
17772         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17773         alias when __isnan is defined.
17774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17775         and isnanf multiarch implementations.
17776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17777         file.
17778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17779         file.
17780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17781         file.
17782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17783         file.
17784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17785         multiarch isnan for PowerPC32.
17786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17787         New file.
17788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17789         New file.
17790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17791         multiarch isnanf for PowerPC32.
17792
17793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17794         and sqrtf multiarch implementations.
17795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17796         file.
17797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17798         file.
17799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17800         multiarch sqrt for PowerPC32.
17801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17802         file.
17803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17804         file.
17805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17806         multiarch sqrtf for PowerPC32.
17807
17808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17809         and llroundf multiarch implementations.
17810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17811         New file.
17812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17813         New file.
17814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17815         New file.
17816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17817         file: multiarch llround for PowerPC32.
17818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17819         file: multiarch llroundf for PowerPC32.
17820
17821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17822         multiarch PowerPC32 fpu implementations.
17823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17824         New file.
17825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17826         New file.
17827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17828         multiarch llrint for PowerPC32.
17829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17830         New file.
17831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17832         New file.
17833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17834         file.
17835
17836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17837
17838         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17839         file.
17840         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17841         file.
17842         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17843         file.
17844         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17845         multiarch wordcopy for PPC32.
17846         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17847         wordcopy objects.
17848         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17849         (__libc_ifunc_impl_list): Likewise.
17850         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17851         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17852         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17853         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17854         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17855         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17856
17857         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17858         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17859         file.
17860         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17861         file.
17862         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17863         file.
17864         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17865         multiarch wcscpy for PPC32.
17866         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17867         multiarch objects.
17868         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17869         (__libc_ifunc_impl_list): Likewise.
17870         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17871         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17872         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17873         sysdeps/powerpc/power6/wcscpy.c.
17874
17875         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17876         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17877         file.
17878         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17879         file.
17880         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17881         file.
17882         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17883         multiarch wcsrchr for PPC32.
17884         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17885         multiarch objects.
17886         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17887         (__libc_ifunc_impl_list): Likewise.
17888         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17889         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17890         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17891         sysdeps/powerpc/power6/wcsrchr.c.
17892
17893         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17894         file.
17895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17896         file.
17897         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17898         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17899         multiarch wcschr for PPc32.
17900         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17901         multiarch objects.
17902         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17903         (__libc_ifunc_impl_list): Likewise.
17904         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17905         * sysdeps/powerpc/power6/wcschr.c: ... to here.
17906         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17907         sysdeps/powerpc/power6/wcschr.c.
17908
17909         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17910         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17911         file.
17912         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17913         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17914         file: multiarch strchr for PPC32.
17915         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17916         multiarch objects.
17917         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17918         (__libc_ifunc_impl_list): Likewise.
17919
17920         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17921         name.
17922         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17923         file.
17924         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17925         file.
17926         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17927         multiarch strchrnul for PPC32.
17928         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17929         multiarch objects.
17930         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17931         (__libc_ifunc_impl_list): Likewise.
17932
17933         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17934         file.
17935         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17936         multiarch strncasecmp for PPC32.
17937         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17938         file.
17939         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17940         multiarch strncasecmp_l for PPC32.
17941         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17942         strncasecmp multiarch objects.
17943         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17944         (__libc_ifunc_impl_list): Likewise.
17945
17946         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17947         file.
17948         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17949         multiarch strncasecmp for PPC32.
17950         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17951         New file.
17952         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17953         multiarch strcasecmp_l for PPC32.
17954         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17955         multiarch objects.
17956         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17957         (__libc_ifunc_impl_list): Likewise.
17958
17959         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17960         file.
17961         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17962         file.
17963         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17964         multiarch strncmp for PPC32.
17965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17966         multiarch objects.
17967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17968         (__libc_ifunc_impl_list): Likewise.
17969
17970         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17971         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17972         file.
17973         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17974         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17976         multiarch objects.
17977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17978         (__libc_ifunc_impl_list): Likewise.
17979
17980         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17981         file.
17982         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17983         file.
17984         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17986         multiarch objects.
17987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17988         (__libc_ifunc_impl_list): Likewise.
17989
17990         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17991         file.
17992         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17993         file.
17994         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17995         multiarch rawmemchr for PPC32.
17996         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17997         multiarch objects.
17998         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17999         (__libc_ifunc_impl_list): Likewise.
18000
18001         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18002         file.
18003         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18004         file.
18005         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18006         file: memrchr multiarch for PPC32.
18007         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18008         multiarch objects.
18009         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18010         (__libc_ifunc_impl_list): Likewise.
18011
18012         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18013         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18014         file.
18015         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18016         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18017         multiarch memchr for PPC32.
18018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18019         multiarch objects.
18020         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18021         (__libc_ifunc_impl_list): Likewise.
18022
18023         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18024         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18025         file.
18026         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18027         file.
18028         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18029         file: multiarch mempcpy for PPC32.
18030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18031         multiarch objects.
18032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18033         (__libc_ifunc_impl_list): Likewise.
18034
18035         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18036         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18037         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18038         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18039         multiarch bzero for PPC32.
18040         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18041         file.
18042         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18043         file.
18044         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18045         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18046         file: multiarch memset for PPC32.
18047         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18048         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18049         memset multiarch objects.
18050         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18051         (__libc_ifunc_impl_list): Likewise.
18052
18053         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18054         file.
18055         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18056         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18057         memcmp for PPC32.
18058         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18059         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18060         multiarch objects.
18061         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18062         (__libc_ifunc_impl_list): Likewise.
18063
18064         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18066         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18067         file.
18068         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18069         file.
18070         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18071         file.
18072         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18073         multiarch memcpy for PPC32.
18074         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18075         multiarch objects.
18076         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18077         (__libc_ifunc_impl_list): Likewise.
18078
18079         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18080         support multiarch for POWER/PPC32.
18081         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18082         Likewise.
18083         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18085         Implies file to make multiarch folder appers before the fpu and
18086         default folder for power4 configuration.
18087
18088 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18089
18090         * scripts/bench.pl: Append volatile keyword to type.
18091
18092 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18093
18094         * sysdeps/sh/sotruss-lib.c: New file.
18095         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18096
18097 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18098
18099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18100
18101 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18102
18103         [BZ #6810]
18104         * math/w_tgamma.c: Include <errno.h>.
18105         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18106         * math/w_tgammaf.c: Include <errno.h>.
18107         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18108         * math/w_tgammal.c: Include <errno.h>.
18109         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18110         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18111         underflow.  Add more tgamma tests.
18112         * math/auto-libm-test-out: Regenerated.
18113         * sysdeps/i386/fpu/libm-test-ulps: Update.
18114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18115
18116         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18117         sin, sinh, tan, tanh, tgamma, y0 and y1.
18118         * math/auto-libm-test-out: Regenerated.
18119         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18120         (TEST_COND_x86): Likewise.
18121         (M_E2l): Remove macro.
18122         (M_E3l): Likewise.
18123         (M_2_SQRT_PIl): Likewise.
18124         (M_SQRT_PIl): Likewise.
18125         (M_1_DIV_El): Likewise.
18126         (log_test_data): Use AUTO_TESTS_f_f.
18127         (log10_test_data): Likewise.
18128         (log1p_test_data): Likewise.
18129         (log2_test_data): Likewise.
18130         (sin_test_data): Likewise.
18131         (sin_tonearest_test_data): Likewise.
18132         (sin_towardzero_test_data): Likewise.
18133         (sin_downward_test_data): Likewise.
18134         (sin_upward_test_data): Likewise.
18135         (sinh_test_data): Likewise.
18136         (sinh_tonearest_test_data): Likewise.
18137         (sinh_towardzero_test_data): Likewise.
18138         (sinh_downward_test_data): Likewise.
18139         (sinh_upward_test_data): Likewise.
18140         (tan_test_data): Likewise.
18141         (tan_tonearest_test_data): Likewise.
18142         (tan_towardzero_test_data): Likewise.
18143         (tan_downward_test_data): Likewise.
18144         (tan_upward_test_data): Likewise.
18145         (tanh_test_data): Likewise.
18146         (tgamma_test_data): Likewise.
18147         (y0_test_data): Likewise.
18148         (y1_test_data): Likewise.
18149         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18150         (special_real_inputs): Add pi/4.
18151         * sysdeps/i386/fpu/libm-test-ulps: Update.
18152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18153
18154 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18155
18156         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18157         "longjmp_target" static probes.
18158         (__longjmp): Rename to __longjmp_symbol.
18159         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18160         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18161         on which longjmp to generate.
18162         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18163         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18164         probe.
18165         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18166         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18167         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18168         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18169         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18170         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18172         __longjmp_symbol based on which __longjmp to generate.
18173         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18174         probe.
18175         (setjmp): Rename to setjmp_symbol.
18176         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18177         (_setjmp): Rename to _setjmp_symbol.
18178         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18179         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18180         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18181         which setjmp to generate.
18182         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18183         "longjmp_target" static probes.
18184
18185 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18186
18187         * benchtests/README: Add note about output arguments.
18188         * benchtests/bench-sincos.c: Remove file.
18189         * benchtests/sincos-inputs: New file.
18190         * scripts/bench.pl: Identify output arguments and define
18191         static variables for them.
18192
18193         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18194
18195         [BZ #15941]
18196         * Makefile (INSTALL): Add install-plain.texi as the primary
18197         dependency.
18198         * manual/install-plain.texi: New file.
18199         * manual/install.texi: Include node directive only for
18200         non-plaintext output.
18201
18202 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18203
18204         * stdlib/longlong.h: Update from GCC.
18205
18206         [BZ #6807]
18207         [BZ #15901]
18208         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18209         * math/w_j0f.c (y0f): Likewise.
18210         * math/w_j0l.c (__y0l): Likewise.
18211         * math/w_j1.c (y1): Likewise.
18212         * math/w_j1f.c (y1f): Likewise.
18213         * math/w_j1l.c (__y1l): Likewise
18214         * math/w_jn.c (yn): Likewise.
18215         * math/w_jnf.c (ynf): Likewise.
18216         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18217         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18218         value for Bessel function domain errors outside _SVID_ mode.
18219         Adjust sign of return value for yn (negative integer, 0).
18220         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18221         by zero in return for negative x and set sign appropriately for
18222         negative n.
18223         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18224         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18225         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18226         expectations in error cases.
18227         (y1_test_data): Likewise.
18228         (yn_test_data): Likewise.
18229         * sysdeps/i386/fpu/libm-test-ulps: Update.
18230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18231
18232 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18233
18234         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18235         "64" to "64-v1".  Add "64-v2".
18236         (abi-64-options): Rename to ...
18237         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18238         (abi-64-condition): Rename to ...
18239         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18240         (abi-64-ld-soname): Rename to ...
18241         (abi-64-v1-ld-soname): ... this.
18242         (abi-64-v2-options): Define.
18243         (abi-64-v2-condition): Likewise.
18244         (abi-64-v2-ld-soname): Likewise.
18245         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18246         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18250
18251 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18252             Alan Modra  <amodra@gmail.com>
18253
18254         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18255         New versions for use with the ELFv2 ABI.
18256         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18257         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18258         declaration.
18259         (struct La_ppc64v2_retval): Likewise.
18260         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18261         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18262         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18263         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18264         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18265         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18266         Do not save or restore CR.
18267         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18268         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18269         return values for ELFv2 ABI.  Fix location of FPR return registers.
18270         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18271         updated values for _CALL_ELF == 2.
18272         (La_regs, La_retval, int_retval): Likewise.
18273
18274 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18275
18276         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18277         (FRAME_MIN_SIZE_PARM): Likewise.
18278         (FRAME_BACKCHAIN): Likewise.
18279         (FRAME_CR_SAVE): Likewise.
18280         (FRAME_LR_SAVE): Likewise.
18281         (FRAME_TOC_SAVE): Likewise.
18282         (FRAME_PARM_SAVE): Likewise.
18283         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18284         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18285         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18286         (call_mcount_parm_offset): New macro.
18287         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18288         (PROF): Use symbolic stack frame offsets.
18289         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18290         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18291         Redefine in terms of FRAME_MIN_SIZE.
18292         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18293         (_dl_profile_resolve): Likewise.  Update comment.
18294         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18295         symbols stack frame offsets.
18296         (__sigsetjmp): Likewise.
18297         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18298         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18299         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18300         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18301
18302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18303         (FRAME_BACKCHAIN): Remove.
18304         (FRAME_CR_SAVE): Likewise.
18305         (FRAME_LR_SAVE): Likewise.
18306         (FRAME_COMPILER_DW): Likewise.
18307         (FRAME_LINKER_DW): Likewise.
18308         (FRAME_TOC_SAVE): Likewise.
18309         (FRAME_PARM_SAVE): Likewise.
18310         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18311         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18312         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18314         (CHECK_SP): Use symbolic stack frame offsets.
18315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18316         zone" instead of caller's parameter save area for temp storage.
18317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18318         Likewise.  Also, use symbolic stack frame offsets.
18319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18320         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18321         our own stack frame instead of the caller's.
18322         (__socket): Use symbolic stack frame offsets.
18323
18324 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18325             Alan Modra  <amodra@gmail.com>
18326
18327         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18328         Define.
18329         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18330         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18331         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18332         New function.
18333         (elf_machine_fixup_plt): Call it.
18334         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18335         reloc arguments.
18336         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18337         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18338         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18339         r2 before calling target.
18340
18341 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18342             Alan Modra  <amodra@gmail.com>
18343
18344         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18345         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18346         versions of macros to support ELFv2 ABI.
18347         (LOCALENTRY): New macro.
18348         (ENTRY, EALIGN): Use it.
18349         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18350         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18351         fall through into ENTRY entry point.
18352         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18353         Only define if _CALL_ELF != 2.
18354
18355         (elf_machine_matches_host): Verify ABI version matches.
18356         (RTLD_START): Use LOCALENTRY.
18357         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18358         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18359         (PLT_ENTRY_WORDS): New macro.
18360         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18361         (elf_machine_runtime_setup): Support ELFv2 ABI.
18362         (elf_machine_fixup_plt): Likewise.
18363         (elf_machine_plt_conflict): Likewise.
18364         (resolve_ifunc): Likewise.
18365         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18366         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18367         Likewise.
18368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18369         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18371         (makecontext): Support ELFv2 ABI.
18372         * elf/elf.h (EF_PPC64_ABI): Define.
18373
18374 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18375
18376         * sysdeps/powerpc/powerpc64/sysdep.h
18377         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18378         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18379         (ENTRY) [ASSEMBLER]: ... but instead here ...
18380         (EALIGN) [ASSEMBLER]: ... and here.
18381         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18382         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18383         (ENTRY_2) [!ASSEMBLER]: Use it.
18384         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18385         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18386         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18387         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18388         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18390         Use PPC64_LOAD_FUNCPTR.
18391
18392         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18393
18394 2013-12-04  Alan Modra  <amodra@gmail.com>
18395
18396         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18397         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18398         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18399         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18400
18401         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18402         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18403         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18404         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18405         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18406         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18407
18408 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18409
18410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18411         (__makecontext): Fix incorrect CFI when backtracing out of
18412         context created via makecontext.
18413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18414         (__setcontext): Fix incorrect CFI during switch to new context.
18415         (__novec_setcontext): Likewise.
18416
18417 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18418
18419         [BZ #4772]
18420         * time/strptime_l.c (__strptime_internal): Allow modifiers
18421         in strptime.
18422         * time/tst-strptime.c (day_tests): Add testcase.
18423
18424 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18425
18426         * scripts/bench.pl: Skip over blank lines.
18427
18428 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18429
18430         [BZ #926]
18431         * manual/time.texi (Calendar Time): Clarify what timezone functions
18432         use.
18433
18434 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18435
18436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18437
18438 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18439
18440         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18441         implementation.
18442         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18443         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18444         * debug/memset_chk.c (__memset_chk): Likewise.
18445         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18446         * debug/strncpy_chk.c: Likewise.
18447
18448 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18449
18450         [BZ #15268]
18451         [BZ #15425]
18452         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18453         (__ieee754_exp): For possibly underflowing results, check size of
18454         result and force underflow exception if required.
18455         * math/auto-libm-test-in: Add more tests of exp.
18456         * math/auto-libm-test-out: Regenerated.
18457         * sysdeps/i386/fpu/libm-test-ulps: Update.
18458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18459
18460         [BZ #16283]
18461         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18462         * math/w_exp2f.c (__exp2f): Likewise.
18463         * math/w_exp2l.c (__exp2l): Likewise.
18464         * math/auto-libm-test-in: Do not allow missing errno on exp2
18465         underflow.
18466         * math/auto-libm-test-out: Regenerated.
18467
18468 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18469
18470         [BZ #16274]
18471         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18472         handle filename validation.
18473         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18474         (do_open): Delete.
18475
18476 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18477
18478         [BZ #6786]
18479         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18480         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18481         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18482         <float.h>.
18483         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18484         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18485         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18486         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18487         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18488         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18489         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18490         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18491         Add more erfc tests.
18492         * math/auto-libm-test-out: Regenerated.
18493         * sysdeps/i386/fpu/libm-test-ulps: Update.
18494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18495
18496         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18497         exp2, expm1, j0 and j1.
18498         * math/auto-libm-test-out: Regenerated.
18499         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18500         (erfc_test_data): Likewise.
18501         (exp_test_data): Likewise.
18502         (exp_tonearest_test_data): Likewise.
18503         (exp_towardzero_test_data): Likewise.
18504         (exp_downward_test_data): Likewise.
18505         (exp_upward_test_data): Likewise.
18506         (exp10_test_data): Likewise.
18507         (exp2_test_data): Likewise.
18508         (expm1_test_data): Likewise.
18509         (j0_test_data): Likewise.
18510         (j1_test_data): Likewise.
18511         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18512         (input_flag_type): Add flag_xfail_rounding.
18513         (input_flags): Add xfail-rounding.
18514         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18515         (output_for_one_input_case): Handle flag_xfail_rounding.
18516         * sysdeps/i386/fpu/libm-test-ulps: Update.
18517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18518
18519 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18520
18521         [BZ #16289]
18522         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18523         division by 0.
18524
18525 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18526
18527         [BZ #16195]
18528         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18529         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18530         (STAP_PROBE0): New macro.
18531         (STAP_PROBE1): Likewise.
18532         (STAP_PROBE2): Likewise.
18533         (STAP_PROBE3): Likewise.
18534         (STAP_PROBE4): Likewise.
18535
18536 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18537
18538         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18539
18540 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18541
18542         * benchtests/Makefile (bench): Add sqrt.
18543         (LDLIBS-bench-sqrt): New.
18544         * benchtests/sqrt-input: New.
18545
18546 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18547
18548         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18549         (GAIH_EAI): Likewise.
18550         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18551         (gaih_inet): Likewise.
18552         (getaddrinfo): Don't use GAIH_EAI.
18553
18554         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18555         (struct gaih): Remove definition.
18556
18557 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18558
18559         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18560         Use HERRNOP directly.
18561
18562 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18563
18564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18565
18566 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18567
18568         * math/gen-auto-libm-tests.c (test_functions): Add more
18569         single-argument functions.
18570         (special_fill_pi_2): New function.
18571         (special_fill_minus_pi_2): Likewise.
18572         (special_fill_pi_6): Likewise.
18573         (special_fill_minus_pi_6): Likewise.
18574         (special_fill_pi_3): Likewise.
18575         (special_fill_2pi_3): Likewise.
18576         (special_fill_e): Likewise.
18577         (special_fill_1_e): Likewise.
18578         (special_fill_e_minus_1): Likewise.
18579         (special_real_inputs): Add more special inputs.
18580         (output_for_one_input_case): Do not require ERANGE on underflow to
18581         zero if round-to-nearest result does not underflow to zero, unless
18582         exact results required.
18583         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18584         atan, atanh, cbrt, cos and cosh.
18585         * math/auto-libm-test-out: Regenerated.
18586         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18587         (acos_tonearest_test_data): Likewise.
18588         (acos_towardzero_test_data): Likewise.
18589         (acos_downward_test_data): Likewise.
18590         (acos_upward_test_data): Likewise.
18591         (acosh_test_data): Likewise.
18592         (asin_test_data): Likewise.
18593         (asin_tonearest_test_data): Likewise.
18594         (asin_towardzero_test_data): Likewise.
18595         (asin_upward_test_data): Likewise.
18596         (asinh_test_data): Likewise.
18597         (atan_test_data): Likewise.
18598         (atanh_test_data): Likewise.
18599         (cbrt_test_data): Likewise.
18600         (cos_test_data): Likewise.
18601         (cos_tonearest_test_data): Likewise.
18602         (cos_towardzero_test_data): Likewise.
18603         (cos_downward_test_data): Likewise.
18604         (cos_upward_test_data): Likewise.
18605         (cosh_test_data): Likewise.
18606         (cosh_tonearest_test_data): Likewise.
18607         (cosh_towardzero_test_data): Likewise.
18608         (cosh_downward_test_data): Likewise.
18609         (cosh_upward_test_data): Likewise.
18610         * sysdeps/i386/fpu/libm-test-ulps: Update.
18611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18612
18613 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18614
18615         [BZ #6787]
18616         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18617         * math/w_exp10f.c (__exp10f): Likewise.
18618         * math/w_exp10l.c (__exp10l): Likewise.
18619         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18620         errno settings in existing tests.
18621
18622         [BZ #14032]
18623         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18624         precision control set to double precision.
18625         * sysdeps/i386/fpu/w_sqrt.c: New file.
18626         * math/auto-libm-test-in: Add more tests.
18627         * math/auto-libm-test-out: Update.
18628
18629         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18630         (sqrt_test_tonearest): New function.
18631         (sqrt_towardzero_test_data): New variable.
18632         (sqrt_test_towardzero): New function.
18633         (sqrt_downward_test_data): New variable.
18634         (sqrt_test_downward): New function.
18635         (sqrt_upward_test_data): New variable.
18636         (sqrt_test_upward): New function.
18637         (main): Call the new functions.
18638
18639         * math/gen-auto-libm-tests.c: New file.
18640         * math/auto-libm-test-in: Likewise.
18641         * math/auto-libm-test-out: New generated file.
18642         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18643         variables.
18644         (%beautify): Add generated representations of zero.
18645         (top level): Set $auto_input and call parse_auto_input.
18646         (beautify): Remove trailing "f" from hex float constants.
18647         (parse_args): Handle XFAIL_TEST.
18648         (convert_condition): New function.
18649         (or_value): Likewise.
18650         (or_cond_value): Likewise.
18651         (generate_testfile): Handle AUTO_TESTS_* lines.
18652         (parse_auto_input): New function.
18653         * math/libm-test.inc (XFAIL_TEST): New macro.
18654         (ERRNO_UNCHANGED): Update value.
18655         (ERRNO_EDOM): Likewise.
18656         (ERRNO_ERANGE): Likewise.
18657         (IGNORE_RESULT): Likewise.
18658         (TEST_COND_flt_32): New macro.
18659         (TEST_COND_dbl_64): Likewise.
18660         (TEST_COND_ldbl_96_intel): Likewise.
18661         (TEST_COND_ldbl_96_m68k): Likewise.
18662         (TEST_COND_ldbl_128): Likewise.
18663         (TEST_COND_ldbl_128ibm): Likewise.
18664         (TEST_COND_long32): Likewise.
18665         (TEST_COND_long64): Likewise.
18666         (TEST_COND_before_rounding): Likewise.
18667         (TEST_COND_after_rounding): Likewise.
18668         (enable_test): Handle XFAIL_TEST flag.
18669         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18670         with finite results.
18671         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18672         auto-libm-test-out.
18673
18674 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18675             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18676
18677         [BZ #16214]
18678         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18679         __tls_get_addr_internal instead of __tls_get_offset in order to
18680         avoid GOT pointer dependency.  Make rtld export
18681         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18682         __tls_get_addr since we are a __tls_get_offset platform.
18683         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18684         GOT pointer being set up before.
18685         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18686
18687 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18688
18689         * manual/math.texi (Errors in Math Functions): Document accuracy
18690         goals.
18691
18692         [BZ #15004]
18693         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18694         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18695         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18696         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18697         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18698         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18699         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18700         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18701         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18702         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18703         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18704         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18705         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18706         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18707         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18708         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18709
18710         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18711         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18712         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18713         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18714         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18715         Likewise.
18716         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18717         Likewise.
18718         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18719         Likewise.
18720         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18721         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18722         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18723         atomic-feupdateenv and flt-rounds.
18724         * sysdeps/powerpc/nofpu/Versions (libc): Add
18725         __atomic_feholdexcept, __atomic_feclearexcept,
18726         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18727         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18728         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18729         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18730         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18731         here.
18732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18733         Update.
18734
18735         * manual/arith.texi (FP Exceptions): Document that exceptions may
18736         not be raised when matherr is used.
18737         (Math Error Reporting): Document overflow in directed rounding
18738         modes.  Document that errno may not be set when finite values are
18739         returned on overflow.  Document intent to set errno on underflow
18740         only for underflow to zero.
18741
18742         [BZ #16271]
18743         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18744         round-to-nearest then adjust result for other rounding modes.
18745         * include/fenv.h (fegetround): Use libm_hidden_proto.
18746         * math/fegetround.c (fegetround): Use libm_hidden_def.
18747         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18748         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18749         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18750         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18751         Likewise.
18752         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18753         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18754         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18755         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18756
18757 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18758
18759         [BZ #16077]
18760         * nss/Versions (libnss_files): Add
18761         _nss_files_gethostbyname3_r.
18762         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18763         New function.
18764         (HOST_DB_LOOKUP): Remove macro.
18765         (_nss_files_gethostbyname_r): Implement function without the
18766         HOST_DB_LOOKUP macro.
18767         (_nss_files_gethostbyname2_r): Likewise.
18768
18769 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18770
18771         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18772
18773 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18774
18775         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18776         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18777         warning.
18778
18779 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18780
18781         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18782         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18783         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18784         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18785         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18786         __fe_nomask_env_priv and attribute_hidden.
18787         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18788         (libc_feupdateenv_test_ppc): Likewise.
18789         (libc_feresetround_ppc): Likewise.
18790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18791         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18792         compat_symbol macro.
18793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18794         (__fe_nomask_env): Likewise.
18795         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18796
18797 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18798
18799         * string/Makefile: Remove ifunc tests.
18800         * string/test-string.h: Define TEST_IFUNC.
18801         * string/test-bcopy-ifunc.c: Remove.
18802         * string/test-bzero-ifunc.c: Likewise.
18803         * string/test-memccpy-ifunc.c: Likewise.
18804         * string/test-memchr-ifunc.c: Likewise.
18805         * string/test-memcmp-ifunc.c: Likewise.
18806         * string/test-memcpy-ifunc.c: Likewise.
18807         * string/test-memmem-ifunc.c: Likewise.
18808         * string/test-memmove-ifunc.c: Likewise.
18809         * string/test-mempcpy-ifunc.c: Likewise.
18810         * string/test-memrchr-ifunc.c: Likewise.
18811         * string/test-memset-ifunc.c: Likewise.
18812         * string/test-rawmemchr-ifunc.c: Likewise.
18813         * string/test-stpcpy-ifunc.c: Likewise.
18814         * string/test-stpncpy-ifunc.c: Likewise.
18815         * string/test-strcasecmp-ifunc.c: Likewise.
18816         * string/test-strcasestr-ifunc.c: Likewise.
18817         * string/test-strcat-ifunc.c: Likewise.
18818         * string/test-strchr-ifunc.c: Likewise.
18819         * string/test-strchrnul-ifunc.c: Likewise.
18820         * string/test-strcmp-ifunc.c: Likewise.
18821         * string/test-strcpy-ifunc.c: Likewise.
18822         * string/test-strcspn-ifunc.c: Likewise.
18823         * string/test-strlen-ifunc.c: Likewise.
18824         * string/test-strncasecmp-ifunc.c: Likewise.
18825         * string/test-strncat-ifunc.c: Likewise.
18826         * string/test-strncmp-ifunc.c: Likewise.
18827         * string/test-strncpy-ifunc.c: Likewise.
18828         * string/test-strnlen-ifunc.c: Likewise.
18829         * string/test-strpbrk-ifunc.c: Likewise.
18830         * string/test-strrchr-ifunc.c: Likewise.
18831         * string/test-strspn-ifunc.c: Likewise.
18832         * string/test-strstr-ifunc.c: Likewise.
18833
18834 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18835
18836         * benchtests/Makefile: Remove ifunc tests.
18837         * benchtests/bench-string.h: Define TEST_IFUNC.
18838         * benchtests/bench-bcopy-ifunc.c: Remove.
18839         * benchtests/bench-bzero-ifunc.c: Likewise.
18840         * benchtests/bench-memccpy-ifunc.c: Likewise.
18841         * benchtests/bench-memchr-ifunc.c: Likewise.
18842         * benchtests/bench-memcmp-ifunc.c: Likewise.
18843         * benchtests/bench-memcpy-ifunc.c: Likewise.
18844         * benchtests/bench-memmem-ifunc.c: Likewise.
18845         * benchtests/bench-memmove-ifunc.c: Likewise.
18846         * benchtests/bench-mempcpy-ifunc.c: Likewise.
18847         * benchtests/bench-memrchr-ifunc.c: Likewise.
18848         * benchtests/bench-memset-ifunc.c: Likewise.
18849         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18850         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18851         * benchtests/bench-stpcpy-ifunc.c: Likewise.
18852         * benchtests/bench-stpncpy-ifunc.c: Likewise.
18853         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18854         * benchtests/bench-strcasestr-ifunc.c: Likewise.
18855         * benchtests/bench-strcat-ifunc.c: Likewise.
18856         * benchtests/bench-strchr-ifunc.c: Likewise.
18857         * benchtests/bench-strchrnul-ifunc.c: Likewise.
18858         * benchtests/bench-strcmp-ifunc.c: Likewise.
18859         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18860         * benchtests/bench-strcpy-ifunc.c: Likewise.
18861         * benchtests/bench-strcspn-ifunc.c: Likewise.
18862         * benchtests/bench-strlen-ifunc.c: Likewise.
18863         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18864         * benchtests/bench-strncat-ifunc.c: Likewise.
18865         * benchtests/bench-strncmp-ifunc.c: Likewise.
18866         * benchtests/bench-strncpy-ifunc.c: Likewise.
18867         * benchtests/bench-strnlen-ifunc.c: Likewise.
18868         * benchtests/bench-strpbrk-ifunc.c: Likewise.
18869         * benchtests/bench-strrchr-ifunc.c: Likewise.
18870         * benchtests/bench-strsep-ifunc.c: Likewise.
18871         * benchtests/bench-strspn-ifunc.c: Likewise.
18872         * benchtests/bench-strstr-ifunc.c: Likewise.
18873
18874 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18875
18876         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18877
18878 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18879
18880         * resolv/netdb.h: Use __glibc_reserved instead __unused.
18881         * rt/aio.h: Likewise.
18882         * sysdeps/gnu/bits/utmp.h: Likewise.
18883         * sysdeps/gnu/bits/utmpx.h: Likewise.
18884         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18885         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18886         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18887         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18888         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18889         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18890         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18891         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18892         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18893         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18894         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18895         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18896         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18898         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18899         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18900         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18901         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18902         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18903         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18904         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18905         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18906         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18907         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18908         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18909         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18910         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18911         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18912         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18913         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18914         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18915         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18916         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18917         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18918         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18919         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18920         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18921         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18922         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18923         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18924         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18925         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18926
18927 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
18928
18929         [BZ #16245]
18930         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18931         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18932
18933 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
18934
18935         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18936         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18937         Likewise.
18938
18939 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18940
18941         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18942         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18943         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18944         (__fesetround): Remove define.
18945         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18946         rounding and exceptions handling.
18947         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18948         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18949         (__fe_nomask_env): Likewise.
18950         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18951         __fegetround instead of fegetround.
18952         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18953         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18954
18955 2013-11-21  Roland McGrath  <roland@hack.frob.com>
18956
18957         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18958         it's there.
18959
18960         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18961
18962 2013-11-21  Meador Inge  <meadori@codesourcery.com>
18963
18964         [BZ #11157]
18965         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18966         (encrypt_r): Likewise.
18967         * malloc/obstack.h (obstack_free): Likewise.
18968         * posix/unistd.h (encrypt): Likewise.
18969
18970 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
18971
18972         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18973         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18974         DL_CALL_DT_FINI() that call the functions directly.
18975         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18976         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18977         * elf/dl-fini.c: Likewise.
18978
18979 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
18980
18981         * malloc/hooks.c (memalign_check): Add alignment rounding.
18982         * malloc/malloc.c (_mid_memalign): New function.
18983         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18984         Implement by calling _mid_memalign.
18985         * manual/probes.texi (Memory Allocation Probes): Remove
18986         memory_valloc_retry and memory_pvalloc_retry.
18987
18988 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18989
18990         * locale/programs/locarchive.c (open_archive): Add const
18991         qualifier to ARCHIVEFNAME and copy default fname to
18992         DEFAULT_FNAME.
18993
18994         [BZ #15601]
18995         * libio/tst-widetext.input: Rename Oriya to Odia.
18996         * locale/iso-639.def: Likewise.
18997
18998         * manual/probes.texi (Mathematical Function Probes): Add
18999         documentation for sin, cos, asin and acos probes.
19000         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19001         (__sin32): Add slowasin probe.
19002         (__cos32): Add slowacos probe.
19003         (__mpsin): Add slowsin probe.
19004         (__mpcos): Add slowcos probe.
19005
19006 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19007
19008         [BZ #15483]
19009         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19010         thread-local __sim_exceptions_thread and global
19011         __sim_exceptions_global.
19012         (__sim_disabled_exceptions): Change to thread-local
19013         __sim_disabled_exceptions_thread and global
19014         __sim_disabled_exceptions_global.
19015         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19016         and global __sim_round_mode_global.
19017         (__simulate_exceptions): Use thread-local floating-point state and
19018         set global state from it as needed.
19019         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19020         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19021         __sim_round_mode_thread.
19022         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19023         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19024         and global __sim_exceptions_global.
19025         (__sim_disabled_exceptions): Change to thread-local
19026         __sim_disabled_exceptions_thread and global
19027         __sim_disabled_exceptions_global.
19028         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19029         and global __sim_round_mode_global.
19030         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19031         (SIM_SET_GLOBAL): Likewise.
19032         * sysdeps/powerpc/soft-fp/sfp-machine.h
19033         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19034         __sim_round_mode_thread.
19035         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19036         __sim_disabled_exceptions_thread.
19037         (__sim_exceptions): Change to __sim_exceptions_thread.
19038         (__sim_disabled_exceptions): Change to
19039         __sim_disabled_exceptions_thread.
19040         (__sim_round_mode): Change to __sim_round_mode_thread.
19041         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19042         thread-local floating-point state and set global state from it as
19043         needed.
19044         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19045         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19046         (__sim_disabled_exceptions): Remove extern declaration.
19047         (feenableexcept): Use thread-local floating-point state and set
19048         global state from it as needed.
19049         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19050         extern declaration.
19051         (__sim_disabled_exceptions): Likewise.
19052         (__sim_round_mode): Likewise.
19053         (__fegetenv): Use thread-local floating-point state.
19054         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19055         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19056         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19057         floating-point state and set global state from it as needed.
19058         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19059         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19060         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19061         Likewise.
19062         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19063         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19064         Likewise.
19065         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19066         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19067         Use __sim_round_mode_thread.
19068         * math/test-fenv-tls.c: New file.
19069         * math/Makefile (tests): Add test-fenv-tls.
19070         ($(objpfx)test-fenv-tls): Depend on
19071         $(common-objpfx)nptl/libpthread.so.
19072
19073 2013-11-19  Andreas Schwab  <schwab@suse.de>
19074
19075         * locale/programs/locale.c (show_info): Decode wordarray elements.
19076         * locale/categories.def (LC_MONETARY): Add element for
19077         _NL_MONETARY_CRNCYSTR.
19078         * locale/C-monetary.c (conversion_rate): New variable.
19079         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19080         element.
19081
19082 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19083
19084         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19085         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19086
19087 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19088
19089         * elf/Makefile (tst-auxv): New test.
19090         * elf/tst-auxv.c: New
19091         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19092
19093 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19094
19095         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19096         (hidden_proto): Caller changed.
19097         (hidden_tls_proto): New macro.
19098         (libc_hidden_tls_proto): Likewise.
19099         (rtld_hidden_tls_proto): Likewise.
19100         (libm_hidden_tls_proto): Likewise.
19101         (libresolv_hidden_tls_proto): Likewise.
19102         (librt_hidden_tls_proto): Likewise.
19103         (libdl_hidden_tls_proto): Likewise.
19104         (libnss_files_hidden_tls_proto): Likewise.
19105         (libnsl_hidden_tls_proto): Likewise.
19106         (libnss_nisplus_hidden_tls_proto): Likewise.
19107         (libutil_hidden_tls_proto): Likewise.
19108
19109 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19110
19111         [BZ #10253]
19112         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19113         (decompose_rpath): Defer expansion to fillin_rpath.
19114         (_dl_init_paths): Pass linkmap to fillin_rpath.
19115
19116 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19117
19118         * benchtests/Makefile: Add strsep.
19119         * benchtests/bench-strsep.c: New file: strsep benchtest.
19120         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19121
19122 2013-11-18  Andreas Schwab  <schwab@suse.de>
19123
19124         * locale/programs/locale.c (show_info) [case byte]: Check for
19125         '\377' instead of '\177'.
19126         * locale/C-monetary.c (not_available): Always use "\377".
19127         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19128         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19129         detect unavailable sign_posn locale elements.
19130         * locale/localeconv.c (__localeconv): For grouping and
19131         mon_grouping handle "\177" and "\377" like no grouping.
19132         (INT_ELEM): New macro.  Use it to set all numeric members.
19133         * locale/programs/ld-monetary.c (monetary_read)
19134         <tok_mon_grouping>: Normalize single -1 to the empty string.
19135         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19136         Likewise.
19137
19138 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19139
19140         [BZ #16055]
19141         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19142         when we match (nil).
19143         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19144
19145 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19146
19147         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19148         (NO_TEST_INLINE): Update value.
19149         (ERRNO_UNCHANGED): Likewise.
19150         (ERRNO_EDOM): Likewise.
19151         (ERRNO_ERANGE): Likewise.
19152         (IGNORE_RESULT): Likewise.
19153         (check_float_internal): Check signs of NaN results if
19154         TEST_NAN_SIGN used.
19155         (check_complex): Pass TEST_NAN_SIGN flag through to second
19156         check_float_internal call.
19157         (copysign_test_data): Add tests with quiet NaNs as second
19158         argument.  Use TEST_NAN_SIGN.
19159         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19160         TEST_NAN_SIGN.
19161         (signbit_test_data): Add tests of quiet NaN argument.
19162         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19163
19164         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19165         $ignore_result.
19166         (parse_args): Handle function results specified as IGNORE.
19167         * math/libm-test.inc (IGNORE_RESULT): New macro.
19168         (check_float_internal): Do not check numerical result if flag
19169         IGNORE_RESULT set.
19170         (check_complex): Pass through IGNORE_RESULT to second
19171         check_float_internal call.
19172         (check_int): Do not check numerical result if flag IGNORE_RESULT
19173         set.
19174         (check_long): Likewise.
19175         (check_bool): Likewise.
19176         (check_longlong): Likewise.
19177         (lrint_test_data): Add tests of infinite and NaN arguments.
19178         (lrint_tonearest_test_data): Likewise.
19179         (lrint_towardzero_test_data): Likewise.
19180         (lrint_downward_test_data): Likewise.
19181         (lrint_upward_test_data): Likewise.
19182         (llrint_test_data): Likewise.
19183         (llrint_tonearest_test_data): Likewise.
19184         (llrint_towardzero_test_data): Likewise.
19185         (llrint_downward_test_data): Likewise.
19186         (llrint_upward_test_data): Likewise.
19187         (lround_test_data): Likewise.
19188         (llround_test_data): Likewise.
19189
19190         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19191         (ERRNO_UNCHANGED): Update value.
19192         (ERRNO_EDOM): Likewise.
19193         (ERRNO_ERANGE): Likewise.
19194         (NO_TEST_INLINE_FLOAT): New macro.
19195         (NO_TEST_INLINE_DOUBLE): Likewise.
19196         (enable_test): New function.
19197         (RUN_TEST_f_f): Check enable_test before running test.
19198         (RUN_TEST_2_f): Likewise.
19199         (RUN_TEST_fff_f): Likewise.
19200         (RUN_TEST_c_f): Likewise.
19201         (RUN_TEST_f_f1): Likewise.
19202         (RUN_TEST_fF_f1): Likewise.
19203         (RUN_TEST_fI_f1): Likewise.
19204         (RUN_TEST_ffI_f1): Likewise.
19205         (RUN_TEST_c_c): Likewise.
19206         (RUN_TEST_cc_c): Likewise.
19207         (RUN_TEST_f_i): Likewise.
19208         (RUN_TEST_f_i_tg): Likewise.
19209         (RUN_TEST_ff_i_tg): Likewise.
19210         (RUN_TEST_f_b): Likewise.
19211         (RUN_TEST_f_b_tg): Likewise.
19212         (RUN_TEST_f_l): Likewise.
19213         (RUN_TEST_f_L): Likewise.
19214         (RUN_TEST_fFF_11): Likewise.
19215         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19216         conditionals.
19217         (cosh_test_data): Likewise.
19218         (exp_test_data): Likewise.
19219         (expm1_test_data): Likewise.
19220         (hypot_test_data): Likewise.
19221         (pow_test_data): Likewise.
19222         (sinh_test_data): Likewise.
19223         (tanh_test_data): Likewise.
19224         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19225         flags argument.
19226
19227         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19228         tests with quiet NaN input and output.
19229         (acosh_test_data): Likewise.
19230         (asin_test_data): Likewise.
19231         (asinh_test_data): Likewise.
19232         (atan_test_data): Likewise.
19233         (atanh_test_data): Likewise.
19234         (atan2_test_data): Likewise.
19235         (cbrt_test_data): Likewise.
19236         (cos_test_data): Likewise.
19237         (cosh_test_data): Likewise.
19238         (erf_test_data): Likewise.
19239         (erfc_test_data): Likewise.
19240         (exp_test_data): Likewise.
19241         (exp10_test_data): Likewise.
19242         (exp2_test_data): Likewise.
19243         (expm1_test_data): Likewise.
19244         (hypot_test_data): Likewise.
19245         (j0_test_data): Likewise.
19246         (j1_test_data): Likewise.
19247         (jn_test_data): Likewise.
19248         (lgamma_test_data): Likewise.
19249         (log_test_data): Likewise.
19250         (log10_test_data): Likewise.
19251         (log1p_test_data): Likewise.
19252         (log2_test_data): Likewise.
19253         (pow_test_data): Likewise.
19254         (scalb_test_data): Likewise.
19255         (sin_test_data): Likewise.
19256         (sincos_test_data): Likewise.
19257         (sinh_test_data): Likewise.
19258         (tan_test_data): Likewise.
19259         (tanh_test_data): Likewise.
19260         (tgamma_test_data): Likewise.
19261         (y0_test_data): Likewise.
19262         (y1_test_data): Likewise.
19263         (yn_test_data): Likewise.
19264
19265         [BZ #16167]
19266         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19267         argument being NaN and avoid computations with second argument in
19268         that case.
19269         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19270         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19271         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19272
19273 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19274
19275         * locale/iso-639.def: Add Chitwani Tharu (the).
19276
19277 2013-11-14  Andreas Schwab  <schwab@suse.de>
19278
19279         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19280         word instead of empty string.
19281
19282 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19283
19284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19285         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19287         (__fe_nomask_env): Likewise.
19288
19289 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19290
19291         * benchtests/bench-timing.h: Include time.h.
19292
19293 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19294
19295         [BZ #15997]
19296         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19297         to 3.4.0 for x32.
19298         * sysdeps/unix/sysv/linux/configure: Regenerated.
19299
19300 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19301
19302         [BZ #16151]
19303         * stdlib/strtod_l.c (round_and_return): Do not consider
19304         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19305         exponent one less than half the least subnormal exponent.
19306         * stdlib/test-strtod-round-data: Add more tests.
19307         * stdlib/tst-strtod-round.c (tests): Regenerated.
19308
19309 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19310
19311         [BZ #14143]
19312         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19313         (__fe_mask_env): Likewise.
19314         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19315         libm_hidden_proto and add function prototype.
19316         (__fe_mask_env): Add function prototype.
19317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19318         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19320         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19322         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19323
19324 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19325
19326         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19327         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19328
19329 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19330
19331         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19332         of htab_find_slot().
19333
19334 2013-11-11  David S. Miller  <davem@davemloft.net>
19335
19336         [BZ #16150]
19337         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19338         symbol in the non-vis3 case in static builds.
19339         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19340         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19341         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19342         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19343
19344 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19345
19346         [BZ #387]
19347         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19348         it is empty.
19349
19350 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19351
19352         * benchtests/Makefile: Add bench-strtod.
19353         * benchtests/bench-strtod.c: New file: strtod benchtest
19354
19355 2013-11-11  Andreas Schwab  <schwab@suse.de>
19356
19357         [BZ #16153]
19358         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19359         terminating NUL in key length.
19360
19361 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19362
19363         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19364         Add artificial ODP entry for vDSO symbol for PPC64.
19365         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19366         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19367
19368 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19369
19370         [BZ #15374]
19371         * nss/getent.c (services_keys): Recognize services starting with digit.
19372
19373 2013-11-06  David S. Miller  <davem@davemloft.net>
19374
19375         [BZ #15985]
19376         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19377         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19378
19379 2013-11-06  Will Newton  <will.newton@linaro.org>
19380
19381         * manual/memory.texi (Malloc Examples): Remove register
19382         keyword from examples.
19383
19384 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19385
19386         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19387
19388 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19389
19390         [BZ #6981]
19391         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19392         depending on [__GCC_IEC_559 > 0].
19393         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19394         depending on [__GCC_IEC_559_COMPLEX > 0].
19395
19396 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19397
19398         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19399         to iso-639.def.
19400
19401 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19402
19403         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19404
19405 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19406
19407         [BZ #16112]
19408         * malloc/malloc (malloc_info): Do not handle first bin as
19409         special case.
19410
19411 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19412
19413         * locale/iso-639.def: Add Central Nahuatl (nhn).
19414
19415 2013-11-01  Bruno Haible  <bruno@clisp.org>
19416
19417         [BZ #7003]
19418         * manual/math.texi (BSD Random): Specify range upper bound as
19419         in POSIX.
19420
19421 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19422
19423         * locale/iso-639.def: Add Meadow Mari (mhr).
19424
19425 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19426
19427         [BZ #14752], [BZ #15763]
19428         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19429         Validate name.
19430         * rt/tst_shm.c: Add test for escaping directory.
19431
19432 2013-10-31  Andreas Schwab  <schwab@suse.de>
19433
19434         [BZ #15917]
19435         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19436         followed by 'x' as part of digit sequence.
19437         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19438
19439 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19440
19441         [BZ #16037]
19442         * configure.ac: allow GNU Make 4.0 and greater.
19443         * configure: Regenerated.
19444
19445 2013-10-30  Will Newton  <will.newton@linaro.org>
19446
19447         [BZ #16038]
19448         * malloc/hooks.c (memalign_check): Limit alignment to the
19449         maximum representable power of two.
19450         * malloc/malloc.c (__libc_memalign): Likewise.
19451         * malloc/tst-memalign.c (do_test): Add test for very
19452         large alignment values.
19453         * malloc/tst-posix_memalign.c (do_test): Likewise.
19454
19455 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19456
19457         [BZ #11087]
19458         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19459         (munmap_chunk): Likewise.
19460         (mremap_chunk): Likewise.
19461
19462 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19463
19464         [BZ #15799]
19465         * stdlib/div.c (div): Remove obsolete code.
19466         * stdlib/ldiv.c (ldiv): Likewise.
19467         * stdlib/lldiv.c (lldiv): Likewise.
19468
19469 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19470
19471         [BZ #16071]
19472         * nss/nss_files/files-XXX.c (get_contents_ret): New
19473         enumerator.
19474         (get_contents): New function.
19475         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19476
19477 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19478
19479         * configure.in: Moved to ...
19480         * configure.ac: ... here. Change reference to configure.in
19481         to configure.ac.
19482         * sysdeps/arm/preconfigure.ac: ... here.
19483         configure.in to configure.ac.
19484         * sysdeps/gnu/configure.in: Moved to ...
19485         * sysdeps/gnu/configure.ac: ... here.
19486         * sysdeps/i386/configure.in: Moved to ...
19487         * sysdeps/i386/configure.ac: ... here.
19488         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19489         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19490         * sysdeps/mach/configure.in: Moved to ...
19491         * sysdeps/mach/configure.ac: ... here.
19492         * sysdeps/mach/hurd/configure.in: Moved to ...
19493         * sysdeps/mach/hurd/configure.ac: ... here.
19494         * sysdeps/powerpc/configure.in: Moved to ...
19495         * sysdeps/powerpc/configure.ac: ... here.
19496         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19497         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19498         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19499         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19500         * sysdeps/s390/s390-32/configure.in: Moved to ...
19501         * sysdeps/s390/s390-32/configure.ac: ... here.
19502         * sysdeps/s390/s390-64/configure.in: Moved to ...
19503         * sysdeps/s390/s390-64/configure.ac: ... here.
19504         * sysdeps/sh/configure.in: Moved to ...
19505         * sysdeps/sh/configure.ac: ... here.
19506         * sysdeps/sparc/configure.in: Moved to ...
19507         * sysdeps/sparc/configure.ac: ... here.
19508         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19509         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19510         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19511         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19512         * sysdeps/x86_64/configure.in: Moved to ...
19513         * sysdeps/x86_64/configure.ac: ... here.
19514         * sysdeps/x86_64/preconfigure.in: Moved to ...
19515         * sysdeps/x86_64/preconfigure.ac: ... here.
19516         * aclocal.m4: Change reference to configure.in to configure.ac.
19517         * config.h.in: Likewise.
19518         * manual/install.texi: Likewise.
19519         * manual/maint.texi: Likewise.
19520         * Makefile: Likewise.
19521         * malloc/Makefile: Likewise.
19522         * nscd/Makefile: Likewise.
19523         * Makeconfig: Change reference to configure.in and
19524         preconfigure.in to configure.ac and preconfigure.ac
19525         respectively.
19526         * INSTALL: Regenerated.
19527         * configure: Likewise.
19528         * sysdeps/gnu/configure: Likewise.
19529         * sysdeps/i386/configure: Likewise.
19530         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19531         * sysdeps/mach/configure: Likewise.
19532         * sysdeps/mach/hurd/configure: Likewise.
19533         * sysdeps/powerpc/configure: Likewise.
19534         * sysdeps/powerpc/powerpc32/configure: Likewise.
19535         * sysdeps/powerpc/powerpc64/configure: Likewise.
19536         * sysdeps/s390/s390-32/configure: Likewise.
19537         * sysdeps/s390/s390-64/configure: Likewise.
19538         * sysdeps/sh/configure: Likewise.
19539         * sysdeps/sparc/configure: Likewise.
19540         * sysdeps/unix/sysv/linux/configure: Likewise.
19541         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19542         * sysdeps/x86_64/configure: Likewise.
19543         * sysdeps/x86_64/preconfigure: Likewise.
19544
19545 2013-10-29  Andreas Schwab  <schwab@suse.de>
19546
19547         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19548
19549 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19550
19551         * benchtests/pow-inputs: Add new inputs.
19552
19553         * benchtests/exp-inputs: Add new inputs.
19554
19555         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19556         conditional check for return value.
19557         (__cos32): Likewise.
19558
19559 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19560
19561         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19562         to provide a boost for large inputs with word alignment.
19563         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19564         implementation based on optimized PPC64 strcpy.
19565         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19566         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19567         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19568         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19569
19570 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19571
19572         [BZ #2801]
19573         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19574
19575 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19576
19577         [BZ #14876]
19578         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19579         * time/tst-strptime.c (day_tests): Add testcase.
19580
19581 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19582
19583         [BZ #14029]
19584         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19585
19586 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19587
19588         [BZ #16074]
19589         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19590         MAP_FAILED on error.
19591
19592 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19593
19594         [BZ #16072]
19595         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19596         heap for large requests.
19597
19598 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19599
19600         [BZ #9954]
19601         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19602         result if the result has no associated interface.
19603         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19604         interface for all 127.X.Y.Z addresses.
19605
19606 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19607
19608         * locale/iso-639.def: Add Ligurian (lij)
19609
19610 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19611
19612         [BZ #15825]
19613         * sunrpc/rpc_main.c: Document rpcgen -5.
19614
19615 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19616
19617         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19618
19619 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19620
19621         [BZ #10278]
19622         * posix/glob.c: Match only directories when trailing slash is present.
19623         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19624         (main): Add testcase.
19625
19626 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19627
19628         [BZ #15670]
19629         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19630
19631 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19632
19633         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19634         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19635         AUTH_DES and cindex for FIPS 140-2.
19636         (DES Encryption): Add cindex FIPS 46-3.
19637
19638         * locale/locarchive.h (struct locarhandle): Add fname.
19639         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19640         if an optional argument was specified to --list-archive,
19641         otherwise NULL.
19642         * locale/programs/locarchive.c (show_archive_content): Take new
19643         argument fname and pass it via ah.fname to open_archive.
19644         * locale/programs/localedef.h: Update decl.
19645         (open_archive): If AH->fname is non-null, open that file
19646         rather than the default file name, and don't ignore ENOENT.
19647         (create_archive): Set AH.fname to NULL.
19648         (delete_locales_from_archive): Likewise.
19649         (add_locales_to_archive): Likewise.
19650         * locale/programs/locfile.c (write_all_categories): Likewise.
19651
19652 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19653             Aldy Hernandez  <aldyh@redhat.com>
19654
19655         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19656         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19657         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19658         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19659         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19660         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19661         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19662         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19663         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19664         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19665         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19666         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19667         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19668         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19669         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19670         Likewise.
19671         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19672         Likewise.
19673         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19674         Likewise.
19675         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19676         Likewise.
19677         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19678         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19679         Likewise.
19680         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19681         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19682         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19683         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19684         Likewise.
19685         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19686         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19687         * sysdeps/powerpc/preconfigure: Likewise.
19688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19689         Likewise.
19690         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19691         Replace contents of file by #include of <fenv_libc.h>.
19692         * sysdeps/powerpc/soft-fp/sfp-machine.h
19693         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19694         and <sys/prctl.h>.
19695         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19696         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19700         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19702         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19703         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19704         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19705         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19706         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19708         Allow copysignl PLT reference to be missing.
19709
19710 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19711             Joseph Myers  <joseph@codesourcery.com
19712
19713         [BZ #15948]
19714         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19715         single character.
19716         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19717
19718 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19719
19720         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19721         * elf/tst-tls1.c: Likewise.
19722         * elf/tst-tls10.h: Likewise.
19723         * elf/tst-tls14.c: Likewise.
19724         * elf/tst-tls2.c: Likewise.
19725         * elf/tst-tls3.c: Likewise.
19726         * elf/tst-tls4.c: Likewise.
19727         * elf/tst-tls5.c: Likewise.
19728         * elf/tst-tls6.c: Likewise.
19729         * elf/tst-tls7.c: Likewise.
19730         * elf/tst-tls8.c: Likewise.
19731         * elf/tst-tls9.c: Likewise.
19732         * elf/tst-tlsmod1.c: Likewise.
19733         * elf/tst-tlsmod13.c: Likewise.
19734         * elf/tst-tlsmod13a.c: Likewise.
19735         * elf/tst-tlsmod14a.c: Likewise.
19736         * elf/tst-tlsmod16a.c: Likewise.
19737         * elf/tst-tlsmod16b.c: Likewise.
19738         * elf/tst-tlsmod2.c: Likewise.
19739         * elf/tst-tlsmod3.c: Likewise.
19740         * elf/tst-tlsmod4.c: Likewise.
19741         * elf/tst-tlsmod5.c: Likewise.
19742         * elf/tst-tlsmod6.c: Likewise.
19743
19744 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19745
19746         [BZ #12486]
19747         * malloc/malloc.c: remove checks for statistics.
19748
19749 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19750
19751         [BZ #15277]
19752         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19753         * inet/tst-network.c: Add testcase.
19754
19755 2013-10-17  Andreas Schwab  <schwab@suse.de>
19756
19757         [BZ #15218]
19758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19759         to determine canonical name.
19760
19761 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19762
19763         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19764         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19765         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19766         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19768         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19769         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19770         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19771         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19772         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19773         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19774         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19775         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19776         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19777         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19778         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19779         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19780         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19781         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19782         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19783         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19784         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19785         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19786         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19787         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19788         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19789         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19790         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19791         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19792         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19793         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19794         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19795         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19796         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19797         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19798         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19799         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19800         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19801         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19802         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19803         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19804         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19805         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19806         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19807         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19808         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19809         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19810         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19811         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19812         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19813         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19814         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19815         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19816         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19817         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19818         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19819         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19820         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19821
19822 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
19823
19824         [BZ #16041]
19825         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19826         make result into a quiet NaN.
19827
19828 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
19829
19830         * soft-fp/adddf3.c: Fix horizontal whitespace.
19831         * soft-fp/addsf3.c: Likewise.
19832         * soft-fp/addtf3.c: Likewise.
19833         * soft-fp/divdf3.c: Likewise.
19834         * soft-fp/divsf3.c: Likewise.
19835         * soft-fp/divtf3.c: Likewise.
19836         * soft-fp/double.h: Likewise.
19837         * soft-fp/eqdf2.c: Likewise.
19838         * soft-fp/eqsf2.c: Likewise.
19839         * soft-fp/eqtf2.c: Likewise.
19840         * soft-fp/extenddftf2.c: Likewise.
19841         * soft-fp/extended.h: Likewise.
19842         * soft-fp/extendsfdf2.c: Likewise.
19843         * soft-fp/extendsftf2.c: Likewise.
19844         * soft-fp/extendxftf2.c: Likewise.
19845         * soft-fp/fixdfdi.c: Likewise.
19846         * soft-fp/fixdfsi.c: Likewise.
19847         * soft-fp/fixdfti.c: Likewise.
19848         * soft-fp/fixsfdi.c: Likewise.
19849         * soft-fp/fixsfsi.c: Likewise.
19850         * soft-fp/fixsfti.c: Likewise.
19851         * soft-fp/fixtfdi.c: Likewise.
19852         * soft-fp/fixtfsi.c: Likewise.
19853         * soft-fp/fixtfti.c: Likewise.
19854         * soft-fp/fixunsdfdi.c: Likewise.
19855         * soft-fp/fixunsdfsi.c: Likewise.
19856         * soft-fp/fixunsdfti.c: Likewise.
19857         * soft-fp/fixunssfdi.c: Likewise.
19858         * soft-fp/fixunssfsi.c: Likewise.
19859         * soft-fp/fixunssfti.c: Likewise.
19860         * soft-fp/fixunstfdi.c: Likewise.
19861         * soft-fp/fixunstfsi.c: Likewise.
19862         * soft-fp/fixunstfti.c: Likewise.
19863         * soft-fp/floatdidf.c: Likewise.
19864         * soft-fp/floatdisf.c: Likewise.
19865         * soft-fp/floatditf.c: Likewise.
19866         * soft-fp/floatsidf.c: Likewise.
19867         * soft-fp/floatsisf.c: Likewise.
19868         * soft-fp/floatsitf.c: Likewise.
19869         * soft-fp/floattidf.c: Likewise.
19870         * soft-fp/floattisf.c: Likewise.
19871         * soft-fp/floattitf.c: Likewise.
19872         * soft-fp/floatundidf.c: Likewise.
19873         * soft-fp/floatundisf.c: Likewise.
19874         * soft-fp/floatunditf.c: Likewise.
19875         * soft-fp/floatunsidf.c: Likewise.
19876         * soft-fp/floatunsisf.c: Likewise.
19877         * soft-fp/floatunsitf.c: Likewise.
19878         * soft-fp/floatuntidf.c: Likewise.
19879         * soft-fp/floatuntisf.c: Likewise.
19880         * soft-fp/floatuntitf.c: Likewise.
19881         * soft-fp/fmadf4.c: Likewise.
19882         * soft-fp/fmasf4.c: Likewise.
19883         * soft-fp/fmatf4.c: Likewise.
19884         * soft-fp/gedf2.c: Likewise.
19885         * soft-fp/gesf2.c: Likewise.
19886         * soft-fp/getf2.c: Likewise.
19887         * soft-fp/ledf2.c: Likewise.
19888         * soft-fp/lesf2.c: Likewise.
19889         * soft-fp/letf2.c: Likewise.
19890         * soft-fp/muldf3.c: Likewise.
19891         * soft-fp/mulsf3.c: Likewise.
19892         * soft-fp/multf3.c: Likewise.
19893         * soft-fp/negdf2.c: Likewise.
19894         * soft-fp/negsf2.c: Likewise.
19895         * soft-fp/negtf2.c: Likewise.
19896         * soft-fp/op-1.h: Likewise.
19897         * soft-fp/op-2.h: Likewise.
19898         * soft-fp/op-4.h: Likewise.
19899         * soft-fp/op-8.h: Likewise.
19900         * soft-fp/op-common.h: Likewise.
19901         * soft-fp/quad.h: Likewise.
19902         * soft-fp/single.h: Likewise.
19903         * soft-fp/soft-fp.h: Likewise.
19904         * soft-fp/sqrtdf2.c: Likewise.
19905         * soft-fp/sqrtsf2.c: Likewise.
19906         * soft-fp/sqrttf2.c: Likewise.
19907         * soft-fp/subdf3.c: Likewise.
19908         * soft-fp/subsf3.c: Likewise.
19909         * soft-fp/subtf3.c: Likewise.
19910         * soft-fp/truncdfsf2.c: Likewise.
19911         * soft-fp/trunctfdf2.c: Likewise.
19912         * soft-fp/trunctfsf2.c: Likewise.
19913         * soft-fp/trunctfxf2.c: Likewise.
19914         * soft-fp/unorddf2.c: Likewise.
19915         * soft-fp/unordsf2.c: Likewise.
19916         * soft-fp/unordtf2.c: Likewise.
19917
19918 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
19919
19920         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19921         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19922
19923 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
19924
19925         * elf/dl-libc.c: Clear initfini list after freeing.
19926
19927 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
19928
19929         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19930         * soft-fp/addsf3.c: Likewise.
19931         * soft-fp/addtf3.c: Likewise.
19932         * soft-fp/divdf3.c: Likewise.
19933         * soft-fp/divsf3.c: Likewise.
19934         * soft-fp/divtf3.c: Likewise.
19935         * soft-fp/double.h: Likewise.
19936         * soft-fp/eqdf2.c: Likewise.
19937         * soft-fp/eqsf2.c: Likewise.
19938         * soft-fp/eqtf2.c: Likewise.
19939         * soft-fp/extenddftf2.c: Likewise.
19940         * soft-fp/extended.h: Likewise.
19941         * soft-fp/extendsfdf2.c: Likewise.
19942         * soft-fp/extendsftf2.c: Likewise.
19943         * soft-fp/extendxftf2.c: Likewise.
19944         * soft-fp/fixdfdi.c: Likewise.
19945         * soft-fp/fixdfsi.c: Likewise.
19946         * soft-fp/fixdfti.c: Likewise.
19947         * soft-fp/fixsfdi.c: Likewise.
19948         * soft-fp/fixsfsi.c: Likewise.
19949         * soft-fp/fixsfti.c: Likewise.
19950         * soft-fp/fixtfdi.c: Likewise.
19951         * soft-fp/fixtfsi.c: Likewise.
19952         * soft-fp/fixtfti.c: Likewise.
19953         * soft-fp/fixunsdfdi.c: Likewise.
19954         * soft-fp/fixunsdfsi.c: Likewise.
19955         * soft-fp/fixunsdfti.c: Likewise.
19956         * soft-fp/fixunssfdi.c: Likewise.
19957         * soft-fp/fixunssfsi.c: Likewise.
19958         * soft-fp/fixunssfti.c: Likewise.
19959         * soft-fp/fixunstfdi.c: Likewise.
19960         * soft-fp/fixunstfsi.c: Likewise.
19961         * soft-fp/fixunstfti.c: Likewise.
19962         * soft-fp/floatdidf.c: Likewise.
19963         * soft-fp/floatdisf.c: Likewise.
19964         * soft-fp/floatditf.c: Likewise.
19965         * soft-fp/floatsidf.c: Likewise.
19966         * soft-fp/floatsisf.c: Likewise.
19967         * soft-fp/floatsitf.c: Likewise.
19968         * soft-fp/floattidf.c: Likewise.
19969         * soft-fp/floattisf.c: Likewise.
19970         * soft-fp/floattitf.c: Likewise.
19971         * soft-fp/floatundidf.c: Likewise.
19972         * soft-fp/floatundisf.c: Likewise.
19973         * soft-fp/floatunsidf.c: Likewise.
19974         * soft-fp/floatunsisf.c: Likewise.
19975         * soft-fp/floatuntidf.c: Likewise.
19976         * soft-fp/floatuntisf.c: Likewise.
19977         * soft-fp/floatuntitf.c: Likewise.
19978         * soft-fp/fmadf4.c: Likewise.
19979         * soft-fp/fmasf4.c: Likewise.
19980         * soft-fp/fmatf4.c: Likewise.
19981         * soft-fp/gedf2.c: Likewise.
19982         * soft-fp/gesf2.c: Likewise.
19983         * soft-fp/getf2.c: Likewise.
19984         * soft-fp/ledf2.c: Likewise.
19985         * soft-fp/lesf2.c: Likewise.
19986         * soft-fp/letf2.c: Likewise.
19987         * soft-fp/muldf3.c: Likewise.
19988         * soft-fp/mulsf3.c: Likewise.
19989         * soft-fp/multf3.c: Likewise.
19990         * soft-fp/negdf2.c: Likewise.
19991         * soft-fp/negsf2.c: Likewise.
19992         * soft-fp/negtf2.c: Likewise.
19993         * soft-fp/op-1.h: Likewise.
19994         * soft-fp/op-2.h: Likewise.
19995         * soft-fp/op-4.h: Likewise.
19996         * soft-fp/op-8.h: Likewise.
19997         * soft-fp/op-common.h: Likewise.
19998         * soft-fp/quad.h: Likewise.
19999         * soft-fp/single.h: Likewise.
20000         * soft-fp/soft-fp.h: Likewise.
20001         * soft-fp/sqrtdf2.c: Likewise.
20002         * soft-fp/sqrtsf2.c: Likewise.
20003         * soft-fp/sqrttf2.c: Likewise.
20004         * soft-fp/subdf3.c: Likewise.
20005         * soft-fp/subsf3.c: Likewise.
20006         * soft-fp/subtf3.c: Likewise.
20007         * soft-fp/truncdfsf2.c: Likewise.
20008         * soft-fp/trunctfdf2.c: Likewise.
20009         * soft-fp/trunctfsf2.c: Likewise.
20010         * soft-fp/trunctfxf2.c: Likewise.
20011         * soft-fp/unorddf2.c: Likewise.
20012         * soft-fp/unordsf2.c: Likewise.
20013         * soft-fp/unordtf2.c: Likewise.
20014
20015 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20016
20017         [BZ #15672]
20018         * misc/error.c (error_tail): Fix possible buffer overflow.
20019
20020 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20021
20022         [BZ #13028]
20023         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20024         address.
20025
20026 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20027
20028         [BZ #832]
20029         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20030         testing pipefail option.
20031
20032 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20033
20034         * soft-fp/double.h: Indent preprocessor directives inside #if.
20035         * soft-fp/extended.h: Likewise.
20036         * soft-fp/op-2.h: Likewise.
20037         * soft-fp/op-4.h: Likewise.
20038         * soft-fp/op-common.h: Likewise.
20039         * soft-fp/quad.h: Likewise.
20040         * soft-fp/single.h: Likewise.
20041         * soft-fp/soft-fp.h: Likewise.
20042
20043 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20044
20045         * iconv/iconv_prog.c: Fix typos.
20046         * stdio-common/psiginfo-data.h: Likewise.
20047
20048 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20049
20050         [BZ #15764]
20051         * locale/setlocale.c: Fix typo.
20052
20053 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20054
20055         [BZ #16036]
20056         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20057         signaling NaN arguments.
20058         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20059         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20060
20061         [BZ #14910]
20062         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20063         unordered operands.
20064         * soft-fp/gesf2.c (__gesf2): Likewise.
20065         * soft-fp/getf2.c (__getf2): Likewise.
20066         * soft-fp/ledf2.c (__ledf2): Likewise.
20067         * soft-fp/lesf2.c (__lesf2): Likewise.
20068         * soft-fp/letf2.c (__letf2): Likewise.
20069
20070         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20071         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20072         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20073         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20074         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20075         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20076         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20077         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20078         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20079         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20080         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20081         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20082         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20083         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20084         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20085         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20086         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20087         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20088         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20089         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20090         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20091         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20092         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20093         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20094         * soft-fp/floattidf.c (__floattidf): Likewise.
20095         * soft-fp/floattisf.c (__floattisf): Likewise.
20096         * soft-fp/floattitf.c (__floattitf): Likewise.
20097         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20098         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20099         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20100         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20101         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20102         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20103         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20104         * soft-fp/gesf2.c (__gesf2): Likewise.
20105         * soft-fp/getf2.c (__getf2): Likewise.
20106         * soft-fp/ledf2.c (__ledf2): Likewise.
20107         * soft-fp/lesf2.c (__lesf2): Likewise.
20108         * soft-fp/letf2.c (__letf2): Likewise.
20109
20110         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20111         Undefine and redefine.
20112         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20113         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20114         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20115         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20116         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20117         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20118         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20119         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20120         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20121         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20122         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20123         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20124         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20125         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20126         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20127
20128         [BZ #16032]
20129         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20130         without decrementing exponent if mantissa >= that for the
20131         denominator, not >.
20132         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20133         denominator, not >.  Decrement exponent in < case instead of
20134         incrementing in >= case.
20135         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20136         without decrementing exponent if mantissa >= that for the
20137         denominator, not >.
20138
20139         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20140         computing saturated result for unsigned overflow.
20141
20142 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20143             Jeff Law  <law@redhat.com>
20144
20145         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20146         (atan2Mp): Add systemtap probe marker.
20147         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20148         (__ieee754_log): Add systemtap probe marker.
20149         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20150         (atanMp): Add systemtap probe marker.
20151         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20152         (tanMp): Add systemtap probe marker.
20153         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20154         (__slowexp): Add systemtap probe marker.
20155         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20156         (__slowpow): Add systemtap probe marker.
20157         * manual/probes.texi: Document probes.
20158
20159 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20160
20161         [BZ #15362]
20162         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20163         written.
20164         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20165         written.
20166         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20167         written to buffer but not flushed.
20168         * libio/iofwrite_u.c:  Likewise.
20169         * libio/iopadn.c:  Return bytes returned even if EOF was
20170         encountered.
20171         * libio/iowpadn.c:  Likewise.
20172         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20173         if _IO_padn does not write the whole buffer.
20174         [!COMPILE_WPRINTF] (PAD): Likewise.
20175
20176 2013-10-10  David S. Miller  <davem@davemloft.net>
20177
20178         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20179         directory block.
20180
20181 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20182
20183         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20184         instead of FSF address.
20185         * soft-fp/fixdfti.c: Likewise.
20186         * soft-fp/fixsfti.c: Likewise.
20187         * soft-fp/fixtfti.c: Likewise.
20188         * soft-fp/fixunsdfti.c: Likewise.
20189         * soft-fp/fixunssfti.c: Likewise.
20190         * soft-fp/fixunstfti.c: Likewise.
20191         * soft-fp/floattidf.c: Likewise.
20192         * soft-fp/floattisf.c: Likewise.
20193         * soft-fp/floattitf.c: Likewise.
20194         * soft-fp/floatuntidf.c: Likewise.
20195         * soft-fp/floatuntisf.c: Likewise.
20196         * soft-fp/floatuntitf.c: Likewise.
20197         * soft-fp/trunctfxf2.c: Likewise.
20198
20199         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20200         * soft-fp/fixdfti.c: Likewise.
20201         * soft-fp/fixsfti.c: Likewise.
20202         * soft-fp/fixtfti.c: Likewise.
20203         * soft-fp/fixunsdfti.c: Likewise.
20204         * soft-fp/fixunssfti.c: Likewise.
20205         * soft-fp/fixunstfti.c: Likewise.
20206         * soft-fp/floattidf.c: Likewise.
20207         * soft-fp/floattisf.c: Likewise.
20208         * soft-fp/floattitf.c: Likewise.
20209         * soft-fp/floatuntidf.c: Likewise.
20210         * soft-fp/floatuntisf.c: Likewise.
20211         * soft-fp/floatuntitf.c: Likewise.
20212         * soft-fp/trunctfxf2.c: Likewise.
20213
20214 2013-10-10  David S. Miller  <davem@davemloft.net>
20215
20216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20217
20218 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20219
20220         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20221         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20222         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20223         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20224         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20225         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20226         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20227
20228         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20229         for NaNs before doing comparisons on argument.
20230         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20231         Likewise.
20232
20233 2013-10-10  Will Newton  <will.newton@linaro.org>
20234
20235         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20236         passed to _int_memalign does not overflow.
20237
20238 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20239
20240         * scripts/bench.pl: Add include-sources directive.
20241         * benchtests/README: Update documentation.
20242
20243 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20244
20245         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20246         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20247         instead of FP_INIT_ROUNDMODE.
20248         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20249         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20250
20251         [BZ #16034]
20252         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20253         copy class of input value.
20254         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20255         not handle exceptions.
20256         * soft-fp/negsf2.c (__negsf2): Likewise.
20257         * soft-fp/negtf2.c (__negtf2): Likewise.
20258         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20259
20260 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20261
20262         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20263         semicolon.  From Linux kernel.
20264
20265 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20266
20267         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20268
20269 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20270
20271         [BZ #156]
20272         * manual/socket.texi: Added statement about buffer
20273         for gethostbyname2_r.
20274
20275 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20276
20277         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20278         Use .p2align directive instead, throughout.
20279         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20280         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20281         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20282         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20283         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20284         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20285         * sysdeps/x86_64/strchr.S: Likewise.
20286         * sysdeps/x86_64/strrchr.S: Likewise.
20287
20288 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20289
20290         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20291
20292         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20293
20294         * sysdeps/generic/math_private.h (__mpsin1): Remove
20295         declaration.
20296         (__mpcos1): Likewise.
20297         (__mpsin): New argument __range_reduce.
20298         (__mpcos): Likewise.
20299         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20300         (slow): Use __mpsin and __mpcos.
20301         (slow1): Likewise.
20302         (slow2): Likewise.
20303         (sloww): Likewise.
20304         (sloww1): Likewise.
20305         (sloww2): Likewise.
20306         (bsloww): Likewise.
20307         (bsloww1): Likewise.
20308         (bsloww2): Likewise.
20309         (cslow2): Likewise.
20310         (csloww): Likewise.
20311         (csloww1): Likewise.
20312         (csloww2): Likewise.
20313         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20314         range_reduce.  Merge in __mpsin1.
20315         (__mpcos): Likewise.
20316         (__mpsin1): Remove.
20317         (__mpcos1): Likewise.
20318
20319 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20320
20321         * locale/loadlocale.c (_nl_intern_locale_data): Use
20322         LOCFILE_ALIGNED_P.
20323         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20324         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20325         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20326         obstack data is appropriately aligned.
20327         (obstack_int32_grow_fast): Likewise.
20328         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20329         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20330         (add_locale_uint32_array): Likewise.
20331
20332 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20333
20334         * benchtests/Makefile: Remove ARGLIST and RET variables.
20335         ($(objpfx)bench-%.c): Pass only function name to the script.
20336         * benchtests/README: Update documentation.
20337         * benchtests/acos-inputs: Add new directives.
20338         * benchtests/acosh-inputs: Likewise.
20339         * benchtests/asin-inputs: Likewise.
20340         * benchtests/asinh-inputs: Likewise.
20341         * benchtests/atan-inputs: Likewise.
20342         * benchtests/atanh-inputs: Likewise.
20343         * benchtests/cos-inputs: Likewise.
20344         * benchtests/cosh-inputs: Likewise.
20345         * benchtests/exp-inputs: Likewise.
20346         * benchtests/log-inputs: Likewise.
20347         * benchtests/pow-inputs: Likewise.
20348         * benchtests/rint-inputs: Likewise.
20349         * benchtests/sin-inputs: Likewise.
20350         * benchtests/sinh-inputs: Likewise.
20351         * benchtests/tan-inputs: Likewise.
20352         * benchtests/tanh-inputs: Likewise.
20353         * scripts/bench.pl: Add support for new directives.
20354
20355 2013-10-07  Alan Modra  <amodra@gmail.com>
20356
20357         * README: Fix careless merge.
20358
20359 2013-10-05  Alan Modra  <amodra@gmail.com>
20360
20361         * NEWS: Mention powerpc64le support and bugs fixed.
20362         * README: Both big-endian and little-endian powerpc64 supported.
20363
20364 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20365
20366         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20367         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20368         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20369         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20370
20371 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20372
20373         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20374         match prototype.
20375
20376 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20377
20378         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20379         Move -mhard-float appending from
20380         ports/sysdeps/powerpc/powerpc32/Makefile.
20381         [$(with-fp) = yes] (ASFLAGS): Likewise.
20382         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20383         * sysdeps/powerpc/nofpu: Move directory from
20384         ports/sysdeps/powerpc/nofpu.
20385         * sysdeps/powerpc/soft-fp: Move directory from
20386         ports/sysdeps/powerpc/soft-fp.
20387         * sysdeps/powerpc/powerpc32/405: Move directory from
20388         ports/sysdeps/powerpc/powerpc32/405.
20389         * sysdeps/powerpc/powerpc32/440: Move directory from
20390         ports/sysdeps/powerpc/powerpc32/440.
20391         * sysdeps/powerpc/powerpc32/464: Move directory from
20392         ports/sysdeps/powerpc/powerpc32/464.
20393         * sysdeps/powerpc/powerpc32/476: Move directory from
20394         ports/sysdeps/powerpc/powerpc32/476.
20395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20396         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20398         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20400         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20402         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20404         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20405         * README: Update for powerpc-*-linux-gnu software floating point
20406         support in libc.
20407
20408         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20409         case to powerpc/powerpc32*.
20410         * sysdeps/unix/sysv/linux/configure: Regenerated.
20411
20412         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20413         (_FPU_MASK_OM): Define as 0x04.
20414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20416         0x00c10080.
20417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20418         0x0000003c.
20419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20420
20421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20422         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20423         getcontext_e500.
20424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20425         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20426         setcontext_e500.
20427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20428         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20429         and setcontext_e500.
20430
20431 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20432
20433         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20434
20435 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20436
20437         * manual/threads.texi (Default Thread Attributes): Fix typo.
20438
20439 2013-10-04  Will Newton  <will.newton@linaro.org>
20440
20441         * malloc/Makefile: Add tst-memalign.
20442         * malloc/tst-memalign.c: New file.
20443
20444         * malloc/tst-posix_memalign.c: Add comments.
20445         (do_test): Add comments and call free on all potentially
20446         allocated pointers. Add space after cast.
20447
20448         * malloc/tst-pvalloc.c: Add comments.
20449         (do_test): Add comments and call free on all potentially
20450         allocated pointers. Remove duplicate check for NULL pointer.
20451         Add space after cast.
20452
20453         * malloc/tst-valloc.c: Add comments.
20454         (do_test): Add comments and call free on all potentially
20455         allocated pointers. Remove duplicate check for NULL pointer.
20456         Add space after cast.
20457
20458 2013-10-04  Alan Modra  <amodra@gmail.com>
20459
20460         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20461         Use stdint types in rather than __attribute__((mode())).
20462         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20463
20464 2013-10-04  Alan Modra  <amodra@gmail.com>
20465
20466         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20467         Correct handling of unaligned relocs for little-endian.
20468         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20469
20470 2013-10-04  Alan Modra  <amodra@gmail.com>
20471
20472         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20473         * configure: Regenerate.
20474         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20475         * shlib-versions: Likewise.
20476
20477 2013-10-04  Alan Modra  <amodra@gmail.com>
20478
20479         * string/tester.c (test_memrchr): Increment reported test cycle.
20480
20481 2013-10-04  Alan Modra  <amodra@gmail.com>
20482
20483         * string/test-memcpy.c (do_one_test): When reporting errors, print
20484         string address and don't overrun end of string.
20485
20486 2013-10-04  Alan Modra  <amodra@gmail.com>
20487
20488         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20489         insrdi.  Make better use of reg selection to speed exit slightly.
20490         Schedule entry path a little better.  Remove useless "are we done"
20491         checks on entry to main loop.  Handle wrapping around zero address.
20492         Correct main loop count.  Handle single left-over word from main
20493         loop inline rather than by using loop_small.  Remove extra word
20494         case in loop_small caused by wrong loop count.  Add little-endian
20495         support.
20496         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20497         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20498         cache hint.
20499         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20500         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20501         support.  Avoid rlwimi.
20502         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20503
20504 2013-10-04  Alan Modra  <amodra@gmail.com>
20505
20506         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20507         insrdi.  Formatting.
20508         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20509         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20510         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20511         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20512         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20513         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20514
20515 2013-10-04  Alan Modra  <amodra@gmail.com>
20516
20517         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20518         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20519         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20520         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20521         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20522         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20523         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20524         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20525         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20526         use of regs.  Use power7 mtocrf.  Tidy function tails.
20527
20528 2013-10-04  Alan Modra  <amodra@gmail.com>
20529
20530         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20531         Formatting.  Consistently use rXXX register defines or rN defines.
20532         Use early exit labels that avoid restoring unused non-volatile regs.
20533         Make cr field use more consistent with rWORDn compares.  Rename
20534         regs used as shift registers for unaligned loop, using rN defines
20535         for short lifetime/multiple use regs.
20536         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20537         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20538         addi 1,1,64 to pop stack frame.  Simplify return value code.
20539         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20540
20541 2013-10-04  Alan Modra  <amodra@gmail.com>
20542
20543         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20544         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20545         rather than rlwimi.
20546         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20547         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20548         little-endian support.  Correct typos.
20549         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20550         rather than rlwimi.
20551         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20552         in loop and entry code to keep "and." results.
20553         (strchr): Add little-endian support.  Comment.  Move cntlzd
20554         earlier in tail.
20555         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20556
20557 2013-10-04  Alan Modra  <amodra@gmail.com>
20558
20559         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20560         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20561         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20562         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20563
20564 2013-10-04  Alan Modra  <amodra@gmail.com>
20565
20566         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20567         (rTMP): Define as r11.
20568         (strcmp): Add little-endian support.  Optimise tail.
20569         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20570         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20571         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20572         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20573         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20574         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20575         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20576
20577 2013-10-04  Alan Modra  <amodra@gmail.com>
20578
20579         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20580         little-endian support.  Remove unnecessary "are we done" tests.
20581         Handle "s" wrapping around zero and extremely large "size".
20582         Correct main loop count.  Handle single left-over word from main
20583         loop inline rather than by using small_loop.  Correct comments.
20584         Delete "zero" tail, use "end_max" instead.
20585         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20586
20587 2013-10-04  Alan Modra  <amodra@gmail.com>
20588
20589         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20590         support.  Don't branch over align.
20591         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20592         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20593         support.  Rearrange tmp reg use to suit.  Comment.
20594         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20595
20596 2013-10-04  Alan Modra  <amodra@gmail.com>
20597
20598         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20599
20600 2013-10-04  Alan Modra  <amodra@gmail.com>
20601
20602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20603         conditional form of branch and link when obtaining pc.
20604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20605
20606 2013-10-04  Alan Modra  <amodra@gmail.com>
20607
20608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20609         HIWORD/LOWORD.
20610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20612
20613 2013-10-04  Alan Modra  <amodra@gmail.com>
20614
20615         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20616         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20617         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20618         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20619         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20620         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20621         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20622         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20623         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20624         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20625
20626 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20627             Alistair Popple <alistair@ozlabs.au.ibm.com>
20628             Alan Modra <amodra@gmail.com>
20629
20630         [BZ #15723]
20631         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20632         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20633         _dl_hwcap access for little-endian.
20634         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20635         destroy vmx regs when saving unaligned.
20636         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20637         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20638         destroy vmx regs when saving unaligned.
20639
20640 2013-10-04  Alan Modra  <amodra@gmail.com>
20641
20642         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20643         Don't use a union to pack hi/low value.
20644
20645 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20646
20647         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20648         for little-endian.
20649         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20650         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20651         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20652         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20653         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20654
20655 2013-10-04  Alan Modra  <amodra@gmail.com>
20656
20657         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20658         constants to usual value for .cst8 section, and remove redundant
20659         high address load.
20660         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20661         constant for 0x1p52.  Load little-endian words of double from
20662         correct stack offsets.
20663
20664 2013-10-04  Alan Modra  <amodra@gmail.com>
20665
20666         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20667         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20668         words of double from correct stack offsets.
20669         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20670         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20671         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20672         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20673         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20674         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20675         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20676         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20677         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20678         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20679         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20680         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20681         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20682         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20683         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20684         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20685         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20686
20687 2013-10-04  Alan Modra  <amodra@gmail.com>
20688
20689         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20690         64-bit int/double union.
20691         (_FPU_SETCW): Likewise.
20692         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20693         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20694
20695 2013-10-04  Alan Modra  <amodra@gmail.com>
20696
20697         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20698         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20699
20700 2013-10-04  Alan Modra  <amodra@gmail.com>
20701
20702         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20703         use vector int constants.
20704         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20705
20706 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20707
20708         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20709         array with long long.
20710         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20711         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20712         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20713         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20714         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20715         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20716         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20717         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20718         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20719         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20720         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20721         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20722         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20723
20724 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20725
20726         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20727         (__signbit): Likewise.  Correct for little-endian.
20728         (__signbitl): Call __signbit.
20729         (lrint): Correct for little-endian.
20730         (lrintf): Call lrint.
20731
20732 2013-10-04  Alan Modra  <amodra@gmail.com>
20733
20734         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20735         union 32-bit int array member with 64-bit int array.
20736         (t515, tm256): Double rather than long double.
20737         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20738
20739 2013-10-04  Alan Modra  <amodra@gmail.com>
20740
20741         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20742         Delete.
20743         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20744         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20745         version of math_ldbl.h.
20746
20747 2013-10-04  Alan Modra  <amodra@gmail.com>
20748
20749         [BZ #15734], [BZ #15735]
20750         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20751         all uses of ieee875 long double macros and unions.  Simplify test
20752         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20753         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20754         normalize after ldbl_extract_mantissa, and don't add hidden bit
20755         already handled.  Don't treat low word of ieee854 mantissa like
20756         low word of IBM long double and mask off bit when testing for
20757         zero.
20758         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20759         all uses of ieee875 long double macros and unions.  Simplify tests
20760         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20761         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20762         two1022, instead use their values.  Recognise that tests for large
20763         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20764         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20765         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20766         test for 0.0L and nan.  Correct negation.
20767         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20768         ieee875 long double macros and unions.  Correct output for large
20769         magnitude x.  Correct absolute value calculation.
20770         (__erfcl): Likewise.
20771         * math/libm-test.inc: Add tests for errors discovered in IBM long
20772         double versions of fmodl, remainderl, erfl and erfcl.
20773
20774 2013-10-04  Alan Modra  <amodra@gmail.com>
20775
20776         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20777         all uses of ieee854 long double macros and unions.  Simplify tests
20778         for long doubles that are fully specified by the high double.
20779         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20780         Likewise.
20781         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20782         Remove dead code too.
20783         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20784         (__ieee754_ynl): Likewise.
20785         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20786         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20787         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20788         Remove dead code too.
20789         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20790         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20791         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20792         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20793         Simplify.
20794         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20795         Simplify.
20796         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20797         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20798         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20799         Comment on variable precision.
20800         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20801         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20802         Likewise.
20803         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20804         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20805         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20806         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20807         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20808
20809 2013-10-04  Alan Modra  <amodra@gmail.com>
20810
20811         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20812         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20813         all uses of ieee854 long double macros and unions.
20814         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20815         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20816         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20817         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20818         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20819         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20820         Likewise.
20821         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20822         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20823         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20824         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20825         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20826         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20827         Simplify sign and nan test too.
20828         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20829         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20830         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20831         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20832         Likewise.
20833         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20834         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20835         Likewise.
20836         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20837         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20838         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20839         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20840         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20841         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20842
20843 2013-10-04  Alan Modra  <amodra@gmail.com>
20844
20845         * stdio-common/printf_size.c (__printf_size): Don't use
20846         union ieee854_long_double in fpnum union.
20847         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
20848         signbit macro to retrieve sign from long double.
20849         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20850         retrieve sign from long double.
20851         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20852         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20853         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20854         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20855         * math/test-misc.c (main): Don't use union ieee854_long_double.
20856
20857 2013-10-04  Alan Modra  <amodra@gmail.com>
20858
20859         [BZ #15680]
20860         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20861         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20862         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20863         calculation.  Remove unnecessary test for denormal exponent.
20864         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20865         Correct handling of denormals.  Avoid undefined shift behaviour.
20866         Correct normalisation of low mantissa when low double is denormal.
20867         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20868         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
20869         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20870         Correct normalisation of low mantissa.  Test for overflow of high
20871         mantissa and normalise.
20872         (ldbl_nearbyint): Use more readable constant for two52.
20873         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20874         (__mpn_construct_long_double): Fix test for overflow of high
20875         mantissa and correct normalisation.  Avoid undefined shift.
20876
20877 2013-10-04  Alan Modra  <amodra@gmail.com>
20878
20879         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20880         (union ibm_extended_long_double): Define as an array of ieee754_double.
20881         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20882         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20883         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20884         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20885         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20886         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20887         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20888         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20889         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20890         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20891         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20892
20893 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
20894
20895         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20896         page size instead of calling getpagesize.
20897
20898         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20899         (LOCFILE_ALIGN_MASK): Likewise.
20900         (LOCFILE_ALIGN_UP): Likewise.
20901         (LOCFILE_ALIGNED_P): Likewise.
20902         * locale/programs/ld-collate.c (collate_output): Use the new
20903         macros instead of __alignof__ (int32_t).
20904         * locale/weight.h (findidx): Likewise.
20905
20906 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
20907
20908         [BZ #431]
20909         * manual/string.texi: Fix strncat and wcsncat.
20910
20911 2013-10-03  Brooks Moses  <bmoses@google.com>
20912
20913         [BZ #15915]
20914         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20915         * Makerules: ...here, and adjust associated comments.
20916
20917 2013-10-02  Will Newton  <will.newton@linaro.org>
20918
20919         * malloc/Makefile: Add tst-pvalloc.
20920         * malloc/tst-pvalloc.c: New file.
20921
20922 2013-10-02  Will Newton  <will.newton@linaro.org>
20923
20924         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20925         improve test coverage.
20926
20927 2013-10-02  Will Newton  <will.newton@linaro.org>
20928
20929         * malloc/Makefile: Add tst-posix_memalign.
20930         * malloc/tst-posix_memalign.c: New file.
20931
20932 2013-10-01  Eric Blake  <eblake@redhat.com>
20933
20934         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20935         Use __THROWNL rather than __THROW on static functions.
20936
20937 2013-09-30  Petr Machata  <pmachata@redhat.com>
20938
20939         * elf/elf.h (R_AARCH64_ABS16): New macro.
20940         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20941         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20942         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20943         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20944         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20945         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20946         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20947         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20948         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20949         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20950         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20951         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20952         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20953         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20954         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20955         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20956         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20957         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20958         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20959         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20960         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20961         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20962         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20963         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20964         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20965         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20966         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20967         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20968         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20969         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20970         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20971         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20972         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20973         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20974         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20975         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20976         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20977         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20978         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20979         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20980         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20981         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20982         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20983         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20984         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20985         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20986         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20987         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20988         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20989         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20990         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20991         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20992         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20993         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20994         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20995         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20996         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20997         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20998         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20999         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21000         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21001         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21002         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21003         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21004         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21005         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21006         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21007         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21008         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21009         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21010         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21011         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21012         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21013         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21014         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21015         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21016         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21017         (R_AARCH64_TLSDESC_LDR): Likewise.
21018         (R_AARCH64_TLSDESC_ADD): Likewise.
21019         (R_AARCH64_TLSDESC_CALL): Likewise.
21020
21021 2013-09-30  Andreas Schwab  <schwab@suse.de>
21022
21023         [BZ #15048]
21024         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21025         the nss database lookup.
21026         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21027         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21028
21029 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21030
21031         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21032
21033 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21034
21035         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21036         ${Bash-specific parameter/pattern/string} parameter expansion.
21037         * sysdeps/unix/make-syscalls.sh: Likewise.
21038
21039 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21040
21041         * sysdeps/sh/stackguard-macros.h: New file.
21042
21043 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21044
21045         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21046         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21047         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21048         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21049         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21050         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21051
21052 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21053
21054         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21055         Fix thread ID register.
21056
21057 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21058
21059         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21060         [POSIX || UNIX98]: Require rather than permitting all symbols from
21061         <time.h>.
21062         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21063         element of struct sched_param.
21064         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21065         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21066         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21067         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21068         constant.
21069
21070 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21071
21072         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21073         argument calculation.
21074
21075 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21076
21077         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21078         Expect macro.
21079         [POSIX] (pthread_attr_t): Do not require type.
21080         [POSIX] (pthread_cond_t): Likewise.
21081         [POSIX] (pthread_condattr_t): Likewise.
21082         [POSIX] (pthread_key_t): Likewise.
21083         [POSIX] (pthread_mutex_t): Likewise.
21084         [POSIX] (pthread_mutexattr_t): Likewise.
21085         [POSIX] (pthread_once_t): Likewise.
21086         [POSIX] (pthread_t): Likewise.
21087         [POSIX-based standards] (pthread_atfork): Expect function.
21088
21089 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21090             Richard Sandiford  <richard@codesourcery.com>
21091
21092         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21093         (swap_endianness_p): New extern variable.
21094         (set_big_endian): New inline function.
21095         (maybe_swap_uint32): Likewise.
21096         (maybe_swap_uint32_array): Likewise.
21097         (maybe_swap_uint32_obstack): Likewise.
21098         * locale/programs/locfile.c: Include <stdbool.h>.
21099         (swap_endianness_p): New variable.
21100         (add_locale_uint32): Call maybe_swap_uint32.
21101         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21102         (write_locale_data): Call maybe_swap_uint32_array.
21103         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21104         maybe_swap_uint32.
21105         (obstack_int32_grow_fast): Likewise.
21106         (output_weightwc): Call maybe_swap_uint32_obstack.
21107         (collate_output): Likewise.
21108         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21109         (OPT_LITTLE_ENDIAN): Likewise.
21110         (options): Add --little-endian and --big-endian options.
21111         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21112         * locale/programs/locarchive.c: Include "locfile.h".
21113         (GET): New macro.
21114         (SET): Likewise.
21115         (INC): Likewise.
21116         (create_archive): Use the new macros to access fields of
21117         structures directly mapped from or written to locale archives.
21118         (oldlocrecentcmp): Likewise.
21119         (enlarge_archive): Likewise.
21120         (insert_name): Likewise.
21121         (add_alias): Likewise.
21122         (add_locale): Likewise.
21123         (delete_locales_from_archive): Likewise.
21124         (show_archive_content): Likewise.
21125         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21126         locale data.
21127
21128 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21129
21130         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21131         http://www.gnu.org/doc/freemanuals.texi.
21132         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21133
21134 2013-09-24  Will Newton  <will.newton@linaro.org>
21135
21136         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21137         macro.
21138
21139 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21140
21141         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21142         unsigned char.
21143
21144 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21145
21146         * manual/threads.texi (POSIX Threads): Fix a typo.
21147
21148 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21149
21150         [BZ #14547]
21151         * string/tst-strcoll-overflow.c: New test case.
21152         * string/Makefile (xtests): Add tst-strcoll-overflow.
21153         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21154         cache if string sizes may cause integer overflow.
21155
21156         [BZ #14547]
21157         * string/strcoll_l.c (coll_seq): New members rule, idx,
21158         save_idx and back_us.
21159         (get_next_seq_nocache): New function.
21160         (do_compare_nocache): New function.
21161         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21162         when malloc fails.
21163
21164 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21165
21166         [BZ #15754]
21167         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21168         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21169         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21170
21171         [BZ #15754]
21172         * elf/Makefile (tests): Add tst-ptrguard1.
21173         (tests-static): Add tst-ptrguard1-static.
21174         (tst-ptrguard1-ARGS): Define.
21175         (tst-ptrguard1-static-ARGS): Define.
21176         * elf/tst-ptrguard1.c: New file.
21177         * elf/tst-ptrguard1-static.c: New file.
21178         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21179         * sysdeps/i386/stackguard-macros.h: Likewise.
21180         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21181         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21182         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21183         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21184         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21185         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21186
21187 2013-09-23  Hector Marco  <hecmargi@upv.es>
21188             Ismael Ripoll  <iripoll@disca.upv.es>
21189             Carlos O'Donell  <carlos@redhat.com>
21190
21191         [BZ #15754]
21192         * sysdeps/generic/stackguard-macros.h: Define
21193         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21194         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21195         Define __pointer_chk_guard_local.
21196         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21197         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21198
21199 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21200
21201         [BZ #15859]
21202         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21203
21204 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21205
21206         * include/string.h (__ffs): Declare as hidden.
21207         * string/ffs.c (__ffs): Define as hidden.
21208         * sysdeps/i386/ffs.c (__ffs): Likewise.
21209         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21210         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21211         * sysdeps/s390/ffs.c (__ffs): Likewise.
21212         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21213
21214 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21215
21216         * NEWS: Mention malloc probes.
21217
21218         * malloc/arena.c (new_heap): New memory_heap_new probe.
21219         (grow_heap): New memory_heap_more probe.
21220         (shrink_heap): New memory_heap_less probe.
21221         (heap_trim): New memory_heap_free probe.
21222         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21223         (systrim): New memory_sbrk_less probe.
21224         * manual/probes.texi: Document them.
21225
21226         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21227         * manual/probes.texi: Document it.
21228
21229         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21230         (__libc_realloc): Add memory_realloc_retry probe.
21231         (__libc_memalign): Add memory_memalign_retry probe.
21232         (__libc_valloc): Add memory_valloc_retry probe.
21233         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21234         (__libc_calloc): Add memory_calloc_retry probe.
21235         * manual/probes.texi: Document them.
21236
21237         * malloc/arena.c (get_free_list): Add probe
21238         memory_arena_reuse_free_list.
21239         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21240         and memory_arena_reuse.
21241         (arena_get2) [!PER_THREAD]: Likewise.
21242         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21243         memory_arena_reuse_realloc.
21244         * manual/probes.texi: Document them.
21245
21246         * malloc/malloc.c (__libc_free): Add
21247         memory_mallopt_free_dyn_thresholds probe.
21248         (__libc_mallopt): Add multiple memory_mallopt probes.
21249         * manual/probes.texi: Document them.
21250
21251         * malloc/malloc.c: Include stap-probe.h.
21252         (__libc_mallopt): Add memory_mallopt probe.
21253         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21254         * manual/probes.texi: New.
21255         * manual/Makefile (chapters): Add probes.
21256         * manual/threads.texi: Set next node.
21257
21258 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21259
21260         [BZ #15963, #13985]
21261         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21262         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21263         Add `Chinese' to `nan' entry name.
21264
21265 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21266
21267         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21268         (POLYNOMIAL): Likewise.
21269         (TAYLOR_SINCOS): Likewise.
21270         (TAYLOR_SLOW): Likewise.
21271         (__sin): Use TAYLOR_SINCOS.
21272         (__cos): Likewise.
21273         (slow): Use TAYLOR_SLOW.
21274         (sloww): Likewise.
21275         (bsloww): Likewise.
21276         (csloww): Likewise.
21277
21278 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21279
21280         * stdlib/strtod_l.c: Fix buffer overrun.
21281
21282 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21283
21284         * benchtests/Makefile (bench): Add sincos.
21285         * benchtests/bench-sincos.c: New file.
21286
21287         * math/libm-test.inc (cos_test_data): New test inputs.
21288         (sin_test_data): Likewise.
21289
21290         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21291         macro.
21292         (__sin): Use it.
21293         (__cos): Likewise.
21294         (slow1): Likewise.
21295         (slow2): Likewise.
21296         (sloww1): Likewise.
21297         (sloww2): Likewise.
21298         (bsloww1): Likewise.
21299         (bsloww2): Likewise.
21300         (cslow2): Likewise.
21301         (csloww1): Likewise.
21302         (csloww2): Likewise.
21303
21304         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21305         function.
21306         (__sin): Use it.
21307         (__cos): Likewise.
21308
21309         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21310         gotos.
21311         (__cos): Likewise.
21312
21313 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21314
21315         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21316         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21317         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21318         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21319         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21320         * elf/cache.c (print_entry): Handle the new cache flags.
21321
21322 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21323             Aldy Hernandez  <aldyh@redhat.com>
21324
21325         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21326         Change condition to [_SOFT_FLOAT].
21327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21332         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21335         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21336         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21337         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21338         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21339         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21340         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21341         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21342         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21343         declaration.
21344
21345 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21346
21347         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21348         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21349         (__longjmp): Use LOAD_GP to load saved GPRs.
21350         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21351         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21352         (__sigsetjmp): Use SAVE_GP to save GPRs.
21353
21354         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21355         Do not append -msoft-float.
21356         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21357
21358 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21359
21360         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21361
21362 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21363
21364         [BZ #15966]
21365         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21366         (_FPU_GETCW): Use initial "__" on variable and field names but not
21367         on macro parameter name.
21368         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21369         parentheses around reference to macro parameter.
21370
21371 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21372
21373         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21374         prototype.
21375         (ctype_startup): Use uint32_t in cast and sizeof for
21376         ctype->charnames.
21377
21378 2013-09-11  Jia Liu  <proljc@gmail.com>
21379
21380         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21381         __daddr_t_defined.
21382         [__FreeBSD__]: Likewise.
21383
21384 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21385
21386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21387         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21388         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21389         (strchr): Remove __strchr_sse42 ifunc selection.
21390         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21391         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21392
21393 2013-09-11  Will Newton  <will.newton@linaro.org>
21394
21395         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21396         parameter to RES. Remove hardcoded 1000 value.
21397         * benchtests/bench-skeleton.c (main): Pass RES parameter
21398         to TIMING_INIT and multiply result by 1000.
21399
21400 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21401
21402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21403
21404 2013-09-11  Andreas Schwab  <schwab@suse.de>
21405
21406         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21407         if not defined.
21408         (O_TMPFILE) [__USE_GNU]: Define.
21409         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21410         Define.
21411
21412 2013-09-11  Will Newton  <will.newton@linaro.org>
21413
21414         [BZ #15857]
21415         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21416         does not overflow.
21417
21418 2013-09-11  Will Newton  <will.newton@linaro.org>
21419
21420         [BZ #15856]
21421         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21422         does not overflow.
21423
21424 2013-09-11  Will Newton  <will.newton@linaro.org>
21425
21426         [BZ #15855]
21427         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21428         does not overflow.
21429
21430 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21431
21432         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21433         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21434         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21435         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21436         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21437
21438 2013-09-10  Allan McRae  <allan@archlinux.org>
21439
21440         [BZ #15748]
21441         * manual/arith.texi (Parsing of Floats): Clarify
21442         cross-reference.
21443
21444         [BZ #15849]
21445         * manual/install.texi (Running make install): Mention
21446         --enable-pt-chown.
21447         * INSTALL: Regenerated.
21448
21449 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21450
21451         * csu/init-first.c (_init): Remove the !SHARED condition around
21452         FPU control word initialization.
21453         * elf/dl-support.c (_dl_fpu_control): New variable.
21454         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21455         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21456         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21457         * math/test-fpucw-static.c: New file.
21458         * math/test-fpucw-ieee.c: New file.
21459         * math/test-fpucw-ieee-static.c: New file.
21460         * math/Makefile (tests): Add `test-fpucw-ieee' and
21461         `$(tests-static)'.
21462         (tests-static): New variable.
21463         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21464         dependency to...
21465         [($(build-shared),yes)]
21466         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21467         ... this.
21468         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21469         New dependency.
21470
21471 2013-09-09  Allan McRae  <allan@archlinux.org>
21472
21473         [BZ #15939]
21474         * manual/string.texi (Collation Functions): Fix typo in
21475         strcoll example.
21476         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21477
21478         [BZ #15893]
21479         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21480
21481         [BZ #15892]
21482         * libio/memstream.c (open_memstream): Fix memory leak.
21483         * libio/wmemstream.c (open_wmemstream): Likewise.
21484
21485         [BZ #15895]
21486         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21487
21488 2013-09-09  Will Newton  <will.newton@linaro.org>
21489
21490         * malloc/Makefile: Add tst-realloc to tests.
21491         * malloc/tst-realloc.c: New file.
21492
21493 2013-09-09  Allan McRae  <allan@archlinux.org>
21494
21495         [BZ #15844]
21496         * COPYING: Update from GNU website to fix FSF address.
21497         * COPYING.LIB: Likewise.
21498
21499 2013-09-06  David S. Miller  <davem@davemloft.net>
21500
21501         * po/zh_TW.po: Update Chinese (traditional) translation from
21502         translation project.
21503
21504 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21505             Joseph Myers  <joseph@codesourcery.com>
21506
21507         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21508         "localeinfo.h".
21509         (obstack_chunk_alloc): New macro.
21510         (obstack_chunk_free): Likewise.
21511         (record_offset): New function.
21512         (init_locale_data): Likewise.
21513         (align_locale_data): Likewise.
21514         (add_locale_empty): Likewise.
21515         (add_locale_raw_data): Likewise.
21516         (add_locale_raw_obstack): Likewise.
21517         (add_locale_string): Likewise.
21518         (add_locale_wstring): Likewise.
21519         (add_locale_uint32): Likewise.
21520         (add_locale_uint32_array): Likewise.
21521         (add_locale_char): Likewise.
21522         (start_locale_structure): Likewise.
21523         (end_locale_structure): Likewise.
21524         (start_locale_prelude): Likewise.
21525         (end_locale_prelude): Likewise.
21526         (write_locale_data): Take locale_file structure rather than an
21527         iovec.
21528         * locale/programs/locfile.h: Include "obstack.h".
21529         (struct locale_file): Change to store locale file contents instead
21530         of header.
21531         (init_locale_data): New prototype.
21532         (align_locale_data): Likewise.
21533         (add_locale_empty): Likewise.
21534         (add_locale_raw_data): Likewise.
21535         (add_locale_raw_obstack): Likewise.
21536         (add_locale_string): Likewise.
21537         (add_locale_wstring): Likewise.
21538         (add_locale_uint32): Likewise.
21539         (add_locale_uint32_array): Likewise.
21540         (add_locale_char): Likewise.
21541         (start_locale_structure): Likewise.
21542         (end_locale_structure): Likewise.
21543         (start_locale_prelude): Likewise.
21544         (end_locale_prelude): Likewise.
21545         (write_locale_data): Update prototype.
21546         * locale/programs/3level.h (struct TABLE): Remove result field.
21547         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21548         Use new locale_file interface.
21549         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21550         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21551         * locale/programs/ld-address.c (address_output): Use new
21552         locale_file interface.
21553         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21554         NO_ADD_LOCALE.
21555         (collate_finish): Don't call collseq_table_finalize.
21556         (collate_output): Use new locale_file interface.
21557         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21558         in file.
21559         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21560         (TABLE): Move defines earlier in file.
21561         (ELEMENT): Likewise.
21562         (DEFAULT): Likewise.
21563         (wctrans_table_add): Move macro and inline function earlier in
21564         file.
21565         (struct wctype_table): Move type earlier in file.
21566         (add_locale_wctype_table): New static prototype.
21567         (struct locale_ctype_t): Use logical types instead of struct iovec
21568         pointers for members.
21569         (ctype_output): Use new locale_file interface.
21570         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21571         new locale_file interface.
21572         (allocate_arrays): Update for use of new locale_file interface.
21573         * locale/programs/ld-identification.c (identification_output): Use
21574         new locale_file interface.
21575         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21576         * locale/programs/ld-messages.c (messages_output): Likewise.
21577         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21578         * locale/programs/ld-name.c (name_output): Likewise.
21579         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21580         * locale/programs/ld-paper.c (paper_output): Likewise.
21581         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21582         * locale/programs/ld-time.c (time_output): Likewise.
21583
21584 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21585
21586         * benchtests/Makefile: Add memrchr benchmark.
21587         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21588         benchmark as memrchr.
21589         * benchtests/bench-memrchr-ifunc.c: New file.
21590         * benchtests/bench-memrchr.c: New file.
21591
21592 2013-09-06   Will Newton  <will.newton@linaro.org>
21593
21594         * benchtests/Makefile (string-bench): Add memcpy.
21595
21596 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21597             Cong Wang  <amwang@redhat.com>
21598
21599         [BZ #15850]
21600         * sysdeps/unix/sysv/linux/bits/in.h
21601         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21602         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21603         before __USE_KERNEL_IPV6_DEFS uses.
21604         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21605         IPPROTO_BEETPH.
21606         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21607         sockaddr_in6, or ipv6_mreq.
21608
21609 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21610
21611         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21612         memory access for final bytes in some large inputs.
21613         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21614
21615 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21616
21617         * string/test-memrchr.c: New file.
21618         * string/test-memrchr-ifunc.c: New file.
21619         * string/Makefile: Add new memrchr testcase.
21620
21621 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21622
21623         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21624         fanotify_init returns EPERM.
21625
21626 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21627
21628         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21629         errors.
21630         (top level): Treat second token from macro or constant entries for
21631         allowed headers as allowed.
21632         * include/complex.h: Condition internal declarations on
21633         [!_ISOMAC].
21634         * include/fenv.h: Condition include of <stdbool.h> and internal
21635         declarations on [!_ISOMAC].
21636
21637 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21638
21639         [BZ #15923]
21640         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21641
21642 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21643
21644         * configure.in (--enable-versioning): Remove configure option.
21645         (libc_cv_asm_symver_directive): Remove configure test.
21646         (libc_cv_ld_version_script_option): Likewise.
21647         (VERSIONING): Remove variable and AC_SUBST.
21648         (DO_VERSIONING): Remove AC_DEFINE.
21649         * configure: Regenerated.
21650         * config.h.in (DO_VERSIONING): Remove macro.
21651         * Makerules [$(versioning) = yes]: Change conditionals to
21652         [$(build-shared) = yes].
21653         * config.make.in (versioning): Remove variable.
21654         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21655         [$(build-shared) = yes].
21656         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21657         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21658         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21659         [$(build-shared) = yes].
21660         * extra-lib.mk [$(versioning) = yes]: Likewise.
21661         * hurd/Makefile [$(versioning) = yes]: Likewise.
21662         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21663         [SHARED].
21664         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21665         [SHARED].
21666         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21667         [SHARED && !NO_HIDDEN].
21668         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21669         [SHARED].
21670         [SHARED && DO_VERSIONING]: Likewise..
21671         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21672         [$(build-shared) = yes].
21673         * manual/install.texi (--disable-versioning): Remove
21674         documentation.
21675         * INSTALL: Regenerated.
21676         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21677         to [SHARED].
21678         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21679         [$(build-shared) = yes].
21680         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21681         * sysdeps/i386/i686/multiarch/strstr-c.c
21682         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21683         [SHARED && !NO_HIDDEN].
21684         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21685         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21686         * sysdeps/powerpc/powerpc32/dl-machine.c
21687         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21688         * sysdeps/powerpc/powerpc32/sysdep.h
21689         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21690         to [SHARED && PIC && !NO_HIDDEN].
21691         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21692         conditional to [SHARED].
21693
21694 2013-09-04   Will Newton  <will.newton@linaro.org>
21695
21696         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21697         * benchtests/bench-string.h: Include bench-timing.h instead
21698         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21699         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21700         call to HP_TIMING_DIFF_INIT.
21701         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21702         instead of hp-timing.h macros.
21703         * benchtests/bench-memchr.c: Likewise.
21704         * benchtests/bench-memcmp.c: Likewise.
21705         * benchtests/bench-memcpy.c: Likewise.
21706         * benchtests/bench-memmem.c: Likewise.
21707         * benchtests/bench-memmove.c: Likewise.
21708         * benchtests/bench-memset.c: Likewise.
21709         * benchtests/bench-rawmemchr.c: Likewise.
21710         * benchtests/bench-strcasecmp.c: Likewise.
21711         * benchtests/bench-strcasestr.c: Likewise.
21712         * benchtests/bench-strcat.c: Likewise.
21713         * benchtests/bench-strchr.c: Likewise.
21714         * benchtests/bench-strcmp.c: Likewise.
21715         * benchtests/bench-strcpy.c: Likewise.
21716         * benchtests/bench-strcpy_chk.c: Likewise.
21717         * benchtests/bench-strlen.c: Likewise.
21718         * benchtests/bench-strncasecmp.c: Likewise.
21719         * benchtests/bench-strncat.c: Likewise.
21720         * benchtests/bench-strncmp.c: Likewise.
21721         * benchtests/bench-strncpy.c: Likewise.
21722         * benchtests/bench-strnlen.c: Likewise.
21723         * benchtests/bench-strpbrk.c: Likewise.
21724         * benchtests/bench-strrchr.c: Likewise.
21725         * benchtests/bench-strspn.c: Likewise.
21726         * benchtests/bench-strstr.c: Likewise.
21727
21728 2013-09-04  Will Newton  <will.newton@linaro.org>
21729
21730         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21731
21732 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21733
21734         [BZ #15427]
21735         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21736         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21737         * math/libm-test.inc (lgamma_test_data): Add more tests.
21738         * sysdeps/i386/fpu/libm-test-ulps: Update.
21739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21740
21741 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21742
21743         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21745         Add ifunc.
21746         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21747         Add strcmp-sse2-unaligned
21748         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21749
21750 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21751
21752         * Versions.def (libc): Add GLIBC_2.19.
21753
21754 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21755
21756         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21757         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21758
21759 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21760
21761         [BZ #14155]
21762         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21763         intermediate calculations in recurrence.
21764         (__ieee754_ynf): Likewise.
21765         * math/libm-test.inc (jn_test_data): Do not allow spurious
21766         underflow exception.  Add more tests.
21767         (yn_test_data): Add more tests.
21768         * sysdeps/i386/fpu/libm-test-ulps: Update.
21769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21770
21771 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21772
21773         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21774
21775 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21776
21777         * csu/init-first.c: Fix then/than typos.
21778         * locale/programs/ld-collate.c: Likewise.
21779         * locale/programs/linereader.h: Likewise.
21780         * manual/charset.texi: Likewise.
21781         * manual/filesys.texi: Likewise.
21782         * manual/stdio.texi: Likewise.
21783         * manual/string.texi: Likewise.
21784         * stdlib/fmtmsg.c: Likewise.
21785         * sysdeps/i386/stpncpy.S: Likewise.
21786         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21787         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21788         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21789         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21790
21791 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21792
21793         * elf/dl-open.c: Fix typos.
21794         * iconvdata/gbbig5.c: Likewise.
21795         * iconvdata/iso-2022-jp.c: Likewise.
21796         * iconv/gconv_int.h: Likewise.
21797         * iconv/loop.c: Likewise.
21798         * nis/rpcsvc/nis.h: Likewise.
21799         * resolv/ns_name.c: Likewise.
21800         * stdio-common/vfscanf.c: Likewise.
21801         * streams/stropts.h: Likewise.
21802         * sunrpc/rpc_thread.c: Likewise.
21803         * sysdeps/i386/strpbrk.S: Likewise.
21804         * sysdeps/ieee754/k_standard.c: Likewise.
21805         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21806         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21807         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21808         * sysdeps/mach/hurd/profil.c: Likewise.
21809         * sysdeps/s390/dl-procinfo.h: Likewise.
21810         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21811         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21812         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21813         * sysdeps/x86_64/dl-trampoline.S: Likewise.
21814         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21815
21816 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
21817
21818         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21819         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21820
21821 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
21822
21823         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21824         aix specific files.
21825         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21826         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21827         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21828         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21829         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21830         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21831         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21832         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21833
21834 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21835             Roland McGrath  <roland@hack.frob.com>
21836
21837         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21838         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21839
21840 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21841
21842         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21843         __executable_start symbol instead of _start.
21844
21845 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21846
21847         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21848         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21849         Move macros to...
21850         * sysdeps/gnu/ldsodefs.h: ... this new file.
21851
21852         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21853         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21854         instead of ELFOSABI_LINUX.
21855
21856         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21857         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21858         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21859         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21860         Likewise.
21861         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21862         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21863         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21864         Likewise.
21865         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21866         (ibm_extended_long_double): Add ieee_nan member.
21867         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21868         (do_test): New function.
21869
21870         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21871         TEST_TRUNC.
21872         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21873         functions, renamed from truncdfsf_test, trunctfsf_test,
21874         trunctfdf_test.
21875         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21876         functions.
21877         (do_test): Run all these.
21878
21879 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
21880
21881         * argp/argp-help.c: Fix typos.
21882         * argp/argp-parse.c: Likewise.
21883         * debug/backtracesyms.c: Likewise.
21884         * elf/elf.h: Likewise.
21885         * malloc/malloc.c: Likewise.
21886         * nis/nis_print.c: Likewise.
21887         * resolv/res_comp.c: Likewise.
21888         * stdlib/stdlib.h: Likewise.
21889         * sunrpc/clnt_tcp.c: Likewise.
21890         * sunrpc/clnt_udp.c: Likewise.
21891         * sunrpc/clnt_unix.c: Likewise.
21892         * sysdeps/unix/bsd/ptsname.c: Likewise.
21893         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21894         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21896         Likewise.
21897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21898         Likewise.
21899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21900         Likewise.
21901         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21902
21903 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21904
21905         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21906         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21907
21908 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
21909
21910         [BZ #15897]
21911         * dlfcn/Makefile (tests): Add bug-dl-leaf.
21912         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21913         ($(objpfx)bug-dl-leaf): New rule.
21914         ($(objpfx)bug-dl-leaf.so): Likewise.
21915         ($(objpfx)bug-dl-leaf.out): Likewise.
21916         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21917         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21918         * dlfcn/bug-dl-leaf.c: New test.
21919         * dlfcn/bug-dl-leaf-lib.c: Likewise.
21920         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21921         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21922         (dlclose): Likewise.
21923         (dlmopen): Likewise.
21924
21925 2013-08-27  Roland McGrath  <roland@hack.frob.com>
21926
21927         * include/netdb.h [!_ISOMAC]:
21928         Don't include <tls.h>.
21929         (h_errno, __libc_h_errno): Move declaration and macros out of
21930         [_LIBC_REENTRANT].
21931
21932         * include/resolv.h [_RESOLV_H_]:
21933         Don't include <tls.h>.
21934         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21935         * resolv/res_libc.c: Don't include <tls.h>.
21936         (_res): Use __attribute__ ((nocommon)) in place of
21937         __attribute__ ((section (".bss"))).
21938
21939         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21940         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21941
21942         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21943
21944         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21945         only under [SIOCGIFCONF && SIOCGIFNETMASK].
21946
21947         * resolv/res_mkquery.c: Include <sys/time.h>.
21948
21949         * inet/ifreq.c: Moved to ...
21950         * sysdeps/unix/ifreq.c: ... here.
21951         * inet/ifreq.c: New file, true stub version.
21952
21953         * socket/sa_len.c: New file.
21954         * socket/Makefile (aux): Add it.
21955         * sysdeps/unix/sysv/linux/Makefile
21956         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21957         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21958         and #include <socket/sa_len.c>.
21959         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21960         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21961
21962         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21963         * bits/socket.h: ... here.
21964
21965         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21966         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21967         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21968
21969 2013-08-27  Andreas Schwab  <schwab@suse.de>
21970
21971         [BZ #15736]
21972         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21973         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21974         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21975         * string/test-strcasecmp.c (test_main): Run tests in several
21976         locales.
21977         * string/test-strncasecmp.c (test_main): Likewise.
21978
21979         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21980         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21981         to __strcasecmp_nonascii and __strncasecmp_nonascii.
21982         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21983         (__strncasecmp_ssse3) [PIC]: Likewise.
21984
21985 2013-08-26  Roland McGrath  <roland@hack.frob.com>
21986
21987         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21988
21989         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21990         instead of explicitly declaring xdecrypt.
21991         * nis/nss_nis/nis-publickey.c: Likewise.
21992
21993 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21994
21995         [BZ #15890]
21996         * nscd/aicache.c: Include res_hconf.h.
21997         (addhstaiX): Initialize res_hconf.
21998
21999 2013-08-26  Andreas Schwab  <schwab@suse.de>
22000
22001         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22002         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22003
22004 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22005
22006         * nscd/aicache.c (addhstaiX): Fix indentation.
22007
22008 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22009
22010         * configure.ac: Quote $build_pt_chown test.
22011         * configure: Regenerated.
22012
22013 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22014
22015         [BZ #15532]
22016         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22017         * math/s_cexpf.c (__cexpf): Likewise.
22018         * math/s_cexpl.c (__cexpl): Likewise.
22019         * math/libm-test.inc (cexp_test_data): Correct expected return
22020         value for NaN + i0.  Add another test.
22021
22022 2013-08-22  David S. Miller  <davem@davemloft.net>
22023
22024         * po/ca.po: Update Catalan translation from translation project.
22025         * po/uk.po: Add Ukrainian translations from translation project.
22026
22027 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22028
22029         [BZ #15797]
22030         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22031         is infinite, not alongside NaN test.
22032         * math/s_fdimf.c (__fdimf): Likewise.
22033         * math/s_fdiml.c (__fdiml): Likewise.
22034         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22035         errno is unchanged.
22036
22037 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22038
22039         * argp/argp-help.c: Fix typos.
22040         * crypt/speeds.c: Likewise.
22041         * csu/check_fds.c: Likewise.
22042         * elf/dl-load.c: Likewise.
22043         * elf/dl-open.c: Likewise.
22044         * elf/reldep3.c: Likewise.
22045         * elf/reldep.c: Likewise.
22046         * elf/sprof.c: Likewise.
22047         * iconv/iconv_charmap.c: Likewise.
22048         * iconv/skeleton.c: Likewise.
22049         * iconv/strtab.c: Likewise.
22050         * io/lockf64.c: Likewise.
22051         * libio/libioP.h: Likewise.
22052         * resolv/gai_notify.c: Likewise.
22053         * resolv/ns_name.c: Likewise.
22054         * resolv/ns_samedomain.c: Likewise.
22055         * resolv/res_send.c: Likewise.
22056         * stdlib/random.c: Likewise.
22057         * sunrpc/rpc/xdr.h: Likewise.
22058         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22059         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22060         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22061         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22062         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22063         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22064         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22065         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22066         * sysdeps/mach/hurd/check_fds.c: Likewise.
22067         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22068         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22069         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22070         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22071         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22072         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22073         * sysdeps/pthread/aio_notify.c: Likewise.
22074         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22075         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22076         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22077         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22078         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22079
22080 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22081
22082         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22083         version if bit_Slow_SSE4_2 is set.
22084         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22085         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22086
22087 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22088
22089         [BZ #15867]
22090         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22091         trampoline stack frame information.
22092         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22093         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22094         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22095         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22096         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22097         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22098         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22099         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22100         sa_flags value.
22101         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22102         interrupting a syscall and set with option SA_SIGINFO.
22103
22104 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22105
22106         [BZ #15531]
22107         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22108         argument is infinite.
22109         * math/s_cprojf.c (__cprojf): Likewise.
22110         * math/s_cprojl.c (__cprojl): Likewise.
22111         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22112         * math/libm-test.inc (cproj_test_data): Add more tests.
22113
22114         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22115
22116         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22117         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22118         size.  Use __ffs to determine corresponding shift.
22119
22120 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22121             Roland McGrath  <roland@hack.frob.com>
22122
22123         * Makefile (INSTALL): Remove trailing blank lines from output of
22124         makeinfo.
22125
22126 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22127
22128         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22129         Align 32 bit compat elf_greg to 8 bytes.
22130
22131 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22132
22133         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22134
22135 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22136
22137         * string/strcoll_l.c (coll_seq): New structure.
22138         (get_next_seq_cached): New function.
22139         (get_next_seq): New function.
22140         (do_compare): New function.
22141         (STRCOLL): Use GNU style definition.  Simplify implementation
22142         by using get_next_seq, get_next_seq_cached and do_compare.
22143
22144 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22145
22146         [BZ #14699]
22147         CVE-2013-4237
22148         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22149         member.
22150         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22151         member.
22152         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22153         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22154         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22155         conditional.
22156         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22157         GETDENTS_64BIT_ALIGNED.
22158         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22159         * manual/filesys.texi (Reading/Closing Directory): Document
22160         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22161         strongly.
22162         * manual/conf.texi (Limits for Files): Add portability note to
22163         NAME_MAX, PATH_MAX.
22164         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22165
22166 2013-08-13  Andreas Schwab  <schwab@suse.de>
22167
22168         [BZ #15749]
22169         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22170         of fabs.
22171         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22172         LDBL_MAX_EXP >= 16384]: Add tests for it.
22173
22174 2013-08-12  David S. Miller  <davem@davemloft.net>
22175
22176         * version.h (RELEASE): Set to "development".
22177         (VERSION): Set to "2.18.90".
22178         * NEWS: Add 2.19 section.
22179
22180 2013-08-03  David S. Miller  <davem@davemloft.net>
22181
22182         * po/ko.po: Update Korean translation from translation project.
22183
22184 2013-08-01  David S. Miller  <davem@davemloft.net>
22185
22186         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22187         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22188         Bilka.
22189
22190 2013-07-30  David S. Miller  <davem@davemloft.net>
22191
22192         * po/fr.po: Update French translation from translation project.
22193
22194 2013-07-28  David S. Miller  <davem@davemloft.net>
22195
22196         * po/cs.po: Update Czech translation from translation project.
22197
22198         * po/sv.po: Update Swedish translation from translation project.
22199
22200 2013-07-27  David S. Miller  <davem@davemloft.net>
22201
22202         * po/eo.po: Update Esperanto translation from translation project.
22203
22204         * po/vi.po: Update Vietnamese translation from translation project.
22205
22206         * po/de.po: Update German translation from translation project.
22207
22208 2013-07-26  David S. Miller  <davem@davemloft.net>
22209
22210         * po/bg.po: Update Bulgarian translation from translation project.
22211
22212         * po/nl.po: Update Dutch translation from translation project.
22213         * po/pl.po: Update Polish translation from translation project.
22214         * po/ru.po: Update Russian translation from translation project.
22215
22216 2013-07-24  David S. Miller  <davem@davemloft.net>
22217
22218         * po/libc.pot: Update.
22219
22220 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22221
22222         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22223         variable page size.
22224         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22225         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22226         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22227
22228 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22229
22230         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22231
22232 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22233             Andreas Schwab  <schwab@suse.de>
22234             Roland McGrath  <roland@hack.frob.com>
22235             Joseph Myers  <joseph@codesourcery.com>
22236             Carlos O'Donell  <carlos@redhat.com>
22237
22238         [BZ #15755]
22239         * config.h.in: Define HAVE_PT_CHOWN.
22240         * config.make.in (build-pt-chown): New variable.
22241         * configure.in (--enable-pt_chown): New configure option.
22242         * configure: Regenerate.
22243         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22244         build-pt-chown is enabled.
22245         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22246         pt_chown to fix pty ownership.
22247         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22248         CLOSE_ALL_FDS.
22249         * manual/install.texi (Configuring and compiling): Mention
22250         --enable-pt_chown. Add @findex for grantpt.
22251         * INSTALL: Regenerate.
22252
22253 2013-07-20  David S. Miller  <davem@davemloft.net>
22254
22255         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22256         difference between 32-bit and 64-bit.
22257
22258 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22259
22260         [BZ #15711]
22261         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22262         Avoid system header dependency with -ffreestanding.
22263         ($(objpfx)bits/syscall%d): Likewise.
22264
22265 2013-07-13  David S. Miller  <davem@davemloft.net>
22266
22267         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22268         underflows from atanl/atan2l due to bug 15319.
22269         (casinh_test_data): Likewise.
22270
22271 2013-07-07  David S. Miller  <davem@davemloft.net>
22272
22273         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22274
22275 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22276
22277         * sysdeps/i386/fpu/libm-test-ulps: Update.
22278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22279
22280 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22281
22282         * configure.in (--enable-lock-elision): Fix message text.
22283         * INSTALL: Regenerate.
22284         * configure: Regenerate.
22285
22286 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22287
22288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22289
22290 2013-07-03  Andreas Jaeger  <aj@suse.de>
22291
22292         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22293         define.
22294         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22295         (ptrace_peeksiginfo_args): Add.
22296         (__ptrace_peeksiginfo_flags): Add.
22297         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22298         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22299         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22300
22301 2013-07-03  Allan McRae  <allan@archlinux.org>
22302
22303         * sysdeps/i386/fpu/libm-test-ulps: Update.
22304
22305 2013-07-02  David S. Miller  <davem@davemloft.net>
22306
22307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22308
22309 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22310
22311         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22312
22313 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22314
22315         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22317
22318 2013-07-02  Andi Kleen <ak@linux.intel.com>
22319
22320         * config.h.in (ENABLE_LOCK_ELISION): Add.
22321         * configure.in (--enable-lock-elision): Add option.
22322         * manual/install.texi: Document --enable lock elision.
22323         * configure: Regenerate
22324         * INSTALL: Regenerate.
22325
22326 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22327
22328         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22329         SSE4.2 strcasecmp for libc.a.
22330         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22331
22332 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22333
22334         [BZ #13304]
22335         * soft-fp/op-common.h (_FP_FMA): New macro.
22336         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22337         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22338         (_FP_MUL_MEAT_1_imm): ... here.
22339         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22340         (_FP_MUL_MEAT_1_wide): ... here.
22341         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22342         (_FP_MUL_MEAT_1_hard): ... here.
22343         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22344         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22345         (_FP_MUL_MEAT_2_wide): ... here.
22346         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22347         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22348         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22349         (_FP_MUL_MEAT_2_gmp): ... here.
22350         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22351         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22352         (_FP_MUL_MEAT_4_wide): ... here.
22353         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22354         (_FP_MUL_MEAT_4_gmp): ... here.
22355         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22356         (_FP_WFRACBITS_DW_S): Likewise.
22357         (_FP_WFRACXBITS_DW_S): Likewise.
22358         (_FP_HIGHBIT_DW_S): Likewise.
22359         (FP_FMA_S): Likewise.
22360         (_FP_FRAC_HIGH_DW_S): Likewise.
22361         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22362         (_FP_WFRACBITS_DW_D): Likewise.
22363         (_FP_WFRACXBITS_DW_D): Likewise.
22364         (_FP_HIGHBIT_DW_D): Likewise.
22365         (FP_FMA_D): Likewise.
22366         (_FP_FRAC_HIGH_DW_D): Likewise.
22367         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22368         (_FP_WFRACBITS_DW_E): Likewise.
22369         (_FP_WFRACXBITS_DW_E): Likewise.
22370         (_FP_HIGHBIT_DW_E): Likewise.
22371         (FP_FMA_E): Likewise.
22372         (_FP_FRAC_HIGH_DW_E): Likewise.
22373         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22374         (_FP_WFRACBITS_DW_Q): Likewise.
22375         (_FP_WFRACXBITS_DW_Q): Likewise.
22376         (_FP_HIGHBIT_DW_Q): Likewise.
22377         (FP_FMA_Q): Likewise.
22378         (_FP_FRAC_HIGH_DW_Q): Likewise.
22379         * soft-fp/fmasf4.c: New file.
22380         * soft-fp/fmadf4.c: Likewise.
22381         * soft-fp/fmatf4.c: Likewise.
22382
22383 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22384
22385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22386         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22387         Silvermont.
22388         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22389         macro.
22390         (index_Slow_SSE4_2): Likewise.
22391         (index_Prefer_PMINUB_for_stringop): Likewise.
22392         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22393         bit_Slow_SSE4_2 is set.
22394         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22395         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22396
22397 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22398
22399         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22400         rtld_global._dl_hwcap2.
22401         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22402         POWER8.
22403         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22404         POWER8 feature descriptions defined in _dl_hwcap2.
22405         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22406         string handling for POWER8 feature bits.
22407         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22408         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22409         _dl_powerpc_cap_flags.
22410         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22411         * sysdeps/powerpc/rtld-global-offsets.sym
22412         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22413         _dl_hwcap2 in the rtld_global_ro structure.
22414
22415 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22416
22417         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22418         hardware capabilities in support of AT_HWCAP2.
22419         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22420         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22421         GLRO(dl_hwcap2).
22422         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22423         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22424         explicitly the unknown a_type display mechanism is used.
22425         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22426         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22427         struct member.
22428         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22429         to macro prototype for AT_HWCAP2 support.
22430         * sysdeps/i386/dl-procinfo.h: Likewise.
22431         * sysdeps/s390/dl-procinfo.h: Likewise.
22432         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22433         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22434         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22435         return -1 for unknown a_type display fallback.
22436         * sysdeps/sparc/dl-procinfo.h: Likewise.
22437         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22438         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22439
22440 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22441
22442         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22443         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22444
22445 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22446
22447         [BZ #12492]
22448         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22449         mprotect making __stack_prot writable.
22450
22451 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22452             Joseph Myers  <joseph@codesourcery.com>
22453
22454         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22455         as being properly aligned.
22456
22457 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22458
22459         * dlfcn/modstatic5.c: New file.
22460         * dlfcn/tststatic5.c: New file.
22461         * dlfcn/Makefile (tests): Add tststatic5.
22462         (tests-static): Likewise.
22463         (modules-names): Add modstatic5.
22464         (tststatic5-ENV): New variable.
22465         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22466
22467         [BZ #15022]
22468         * elf/dl-support.c (_dl_main_map): New variable.
22469         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22470         (_dl_nns, _dl_load_adds): Set to 1.
22471         (_dl_initial_searchlist): Refer to _dl_main_map.
22472         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22473         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22474         call to _dl_get_origin.
22475         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22476         around call_map.
22477         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22478         * dlfcn/modstatic3.c: New file.
22479         * dlfcn/tststatic3.c: New file.
22480         * dlfcn/tststatic4.c: New file.
22481         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22482         (tests-static): Likewise.
22483         (modules-names): Add modstatic3.
22484         (tststatic3-ENV, tststatic4-ENV): New variables.
22485         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22486         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22487
22488 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22489
22490         * configure.in (CC): Require GCC version 4.4 or later.
22491         * configure: Regenerated.
22492         * manual/install.texi (Tools for Compilation): Update GCC version
22493         requirement.
22494         * INSTALL: Regenerated.
22495
22496 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22497
22498         [BZ #15674]
22499         * string/test-memcmp.c (check2): New.
22500         (main): Call check2.
22501
22502         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22503
22504 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22505
22506         [BZ #15022]
22507         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22508         over to...
22509         (dl_open_worker) [!SHARED]: ... here.
22510
22511 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22512
22513         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22514
22515 2013-06-25  Richard Henderson  <rth@redhat.com>
22516
22517         * locale/programs/locarchive.c: Include <libc-internal.h>
22518
22519 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22520
22521         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22522         trailing whitespace removed.
22523
22524 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22525
22526         [BZ #10283]
22527         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22528         * locale/programs/locarchive.c: Include libc-mmap.h.
22529         (prepare_address_space): Take two new outputs (the mmap base and len).
22530         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22531         values.
22532         (create_archive): Declare new mmap base and len values for
22533         prepare_address_space, and store the result in ah.
22534         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22535         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22536         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22537         Declare new mmap base and len values for
22538         prepare_address_space, and store the result in new_ah.
22539         (open_archive): Declare new mmap base and len values for
22540         prepare_address_space, and store the result in ah.
22541         (close_archive): If ah->mmap_base is not NULL, use that and
22542         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22543         * sysdeps/generic/libc-mmap.h: New file.
22544
22545 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22546
22547         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22548         (ALIGN_UP): Likewise.
22549         (PTR_ALIGN_DOWN): Likewise.
22550         (PTR_ALIGN_UP): Likewise.
22551
22552 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22553
22554         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22555         entry mapped to PPC_PLATFORM_POWER8.
22556         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22557         POWER8.
22558         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22559         (_dl_string_platform): Add case for exporting platform position for
22560         POWER8.
22561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22562         search path to sysdeps/powerpc/powerpc32/power8 directory.
22563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22564         search path to sysdeps/powerpc/powerpc64/power8 directory.
22565         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22566         power7 directories.
22567         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22568         power7 directories.
22569
22570 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22571
22572         * INSTALL: Regenerate.
22573
22574         * nscd/connections.c (nscd_init): Fix comment.
22575
22576 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22577
22578         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22579
22580         [BZ #15667]
22581         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22582         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22583
22584 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22585
22586         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22587         DL_DST_REQ_STATIC.
22588         (DL_DST_REQ_STATIC): Remove macro.
22589
22590 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22591
22592         [BZ #7006]
22593         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22594         with a shift of 0 bits.
22595
22596 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22597
22598         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22599         $(tststatic-ENV).
22600
22601 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22602
22603         [BZ #15655]
22604         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22605
22606 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22607
22608         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22609         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22610         accepts -fno-tree-loop-distribute-patterns.
22611         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22612         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22613         recursive call.
22614         * string/memset.c (memset): Likewise.
22615         * string/test-memmove.c (simple_memmove): Disable loop transformation
22616         to library calls.
22617         * string/test-memset.c (simple_memset): Likewise.
22618         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22619         * benchtests/bench-memset.c (simple_memset): Likewise.
22620         * configure: Regenerated.
22621
22622 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22623
22624         * math/test-misc.c (main): Ignore fesetround failure when failures
22625         of subsequent rounding tests would be ignored.
22626
22627         [BZ #15654]
22628         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22629         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22630         * math/fegetenv.c (__fegetenv): Return 0.
22631         * math/fegetexcept.c (fegetexcept): Return 0.
22632         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22633         FE_TONEAREST.
22634         * math/feholdexcpt.c (feholdexcept): Return 0.
22635         * math/fesetenv.c (__fesetenv): Return 0.
22636         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22637         argument FE_TONEAREST.
22638         * math/feupdateenv.c (__feupdateenv): Return 0.
22639         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22640
22641 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22642
22643         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22644         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22645         ($(objpfx)rtld-%.os rules): Use them.
22646
22647 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22648
22649         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22650         fields.
22651
22652 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22653
22654         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22655         length of target pattern, then descending length of dependency pattern.
22656         * configure.in (AWK): Require gawk 3.1.2 or newer.
22657         * manual/install.texi (Tools for Compilation): Say that we do.
22658         * configure: Regenerated.
22659
22660         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22661         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22662         * scripts/sysd-rules.awk: ... this new script.
22663         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22664         than a glob-style pattern.
22665
22666 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22667
22668         * math/test-misc.c (main): Do not treat incorrectly rounded
22669         conversions as failure unless ROUNDING_TESTS passes.
22670
22671 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22672
22673         [BZ #15631]
22674         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22675         restore exception state around main square root computation, then
22676         check for inexactness explicitly.
22677
22678         * math/libm-test.inc (fma_test_data): Add another test.
22679
22680 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22681
22682         * manual/threads.texi (Non-POSIX Extensions): New document
22683         node.  Document pthread_getattr_default_np and
22684         pthread_setattr_default_np.
22685
22686         * Versions.def (libpthread): Add GLIBC_2.18.
22687         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22689         Likewise.
22690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22691         Likewise.
22692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22693         Likewise.
22694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22695         Likewise.
22696         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22697         Likewise.
22698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22699         Likewise.
22700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22701         Likewise.
22702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22703         Likewise.
22704         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22705         Likewise.
22706
22707 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22708
22709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22710         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22711
22712 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22713             H.J. Lu  <hjl.tools@gmail.com>
22714
22715         [BZ #15627]
22716         * sysdeps/x86_64/rtld-memset.c: Remove file.
22717         * sysdeps/x86_64/rtld-memset.S: New file.
22718
22719 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22720
22721         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22722         (test_in_one_mode): Take arguments for whether the rounding mode
22723         is supported for each floating-point type.
22724         (do_test): Pass new arguments to test_in_one_mode using
22725         ROUNDING_TESTS.
22726
22727 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22728
22729         * posix/tst-waitid.c (do_test): Distinguish different instances of
22730         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22731         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22732         before entering the kernel for waitpid.
22733
22734 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22735
22736         * NEWS: Fix note on clock function precision.  Text by Roland
22737         McGrath.
22738
22739 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22740
22741         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22742         it into place only when and if the sanity check passes.
22743
22744 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22745
22746         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22747         output for whether conversion result is exact.  Take argument
22748         indicating whether type is IBM long double.
22749         (round_for_all): Change need_exact field to ibm_ld.
22750         * stdlib/tst-strtod-round.c (struct exactness): New type.
22751         (struct test): Change bool ld_ok field to struct exactness exact.
22752         (TEST): Update all definitions for change to field.
22753         (tests): Regenerate array contents.
22754         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22755         field value.  Check for IBM long double here.
22756         (do_test): Update calls to test_in_one_mode.
22757
22758 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22759
22760         [BZ #12515]
22761         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22762         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22763
22764 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22765
22766         [BZ #15605]
22767         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22768         generated by the compiler on loop optimizations.
22769         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22770         general definitions.
22771
22772 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22773
22774         * math/bug-nextafter.c: Include <math-tests.h>.
22775         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22776         the relevant type.
22777         * math/bug-nexttoward.c: Include <math-tests.h>.
22778         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22779         the relevant type.
22780         * math/test-misc.c: Include <math-tests.h>.
22781         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22782         the relevant type.
22783
22784 2013-06-12  Andreas Jaeger  <aj@suse.de>
22785
22786         * po/ia.po: Update Interlingua translation from translation
22787         project.
22788
22789 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22790
22791         * include/fenv.h: Include stdbool.h.
22792         (struct rm_ctx): New structure.
22793         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22794         Define macro.
22795         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22796         (SET_RESTORE_ROUNDF): Likewise.
22797         (SET_RESTORE_ROUNDL): Likewise.
22798         (SET_RESTORE_ROUND_NOEX): Likewise.
22799         (SET_RESTORE_ROUND_NOEXF): Likewise.
22800         (SET_RESTORE_ROUND_NOEXL): Likewise.
22801         (SET_RESTORE_ROUND_53BIT): Likewise.
22802         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22803         (libc_feresetround_noexf_ctx): Likewise.
22804         (libc_feresetround_noexl_ctx): Likewise.
22805         (libc_feholdsetround_53bit_ctx): Likewise.
22806         (libc_feresetround_53bit_ctx): Likewise.
22807         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22808         (libc_feholdexcept_setround_sse_ctx): New function.
22809         (libc_fesetenv_sse_ctx): Likewise.
22810         (libc_feupdateenv_sse_ctx): Likewise.
22811         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22812         (libc_feholdexcept_setround_387_ctx): Likewise.
22813         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22814         (libc_feholdsetround_387_prec_ctx): Likewise.
22815         (libc_feholdsetround_387_ctx): Likewise.
22816         (libc_feholdsetround_387_53bit_ctx): Likewise.
22817         (libc_feholdsetround_sse_ctx): Likewise.
22818         (libc_feresetround_sse_ctx): Likewise.
22819         (libc_feresetround_387_ctx): Likewise.
22820         (libc_feupdateenv_387_ctx): Likewise.
22821         (libc_feholdexcept_setroundf_ctx): Define macro.
22822         (libc_fesetenvf_ctx): Likewise.
22823         (libc_feupdateenvf_ctx): Likewise.
22824         (libc_feholdsetroundf_ctx): Likewise.
22825         (libc_feresetroundf_ctx): Likewise.
22826         (libc_feholdexcept_setround_ctx): Likewise.
22827         (libc_fesetenv_ctx): Likewise.
22828         (libc_feupdateenv_ctx): Likewise.
22829         (libc_feholdsetround_ctx): Likewise.
22830         (libc_feresetround_ctx): Likewise.
22831         (libc_feholdexcept_setroundl_ctx): Likewise.
22832         (libc_feupdateenvl_ctx): Likewise.
22833         (libc_feholdsetroundl_ctx): Likewise.
22834         (libc_feresetroundl_ctx): Likewise.
22835         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22836         (libc_feresetround_53bit_ctx): Likewise.
22837
22838 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22839
22840         * locale/iso-639.def: Convert to UTF-8.
22841
22842 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
22843
22844         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22845         (EXCEPTION_TESTS_double): Likewise.
22846         (EXCEPTION_TESTS_long_double): Likewise.
22847         (EXCEPTION_TESTS): Likewise.
22848         * math/libm-test.inc (test_exceptions): Only test exceptions if
22849         EXCEPTION_TESTS (FLOAT).
22850
22851 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22852
22853         * benchtests/Makefile (string-bench): Add strcpy_chk and
22854         stpcpy_chk.
22855         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22856         * benchtests/bench-stpcpy_chk.c: New file.
22857         * benchtests/bench-strcpy_chk-ifunc.c: New file.
22858         * benchtests/bench-strcpy_chk.c: New file.
22859         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22860         code.
22861         (do_test): Likewise.
22862
22863 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22864
22865         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22866         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22867         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22868         with tabs where appropriate.
22869         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22870         dl-procinfo.h.
22871         [PPC_PLATFORM_PPC440]: Likewise.
22872         [PPC_PLATFORM_PPC464]: Likewise.
22873         [PPC_PLATFORM_PPC476]: Likewise.
22874         (_dl_string_platform): Add support for detecting ppc405, ppc440,
22875         ppc464, and ppc476 platform strings merging from ports/
22876         dl-procinfo.h.
22877
22878 2013-06-11  Andreas Schwab  <schwab@suse.de>
22879
22880         [BZ #14991]
22881         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22882         (from_ucs4_idx): Regenerate.
22883         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22884         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22885         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22886         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22887         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22888         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22889         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22890         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22891         from FROM_LOOP and TO_LOOP specific macros.
22892         (BODY): Handle combining characters.
22893         * iconvdata/BIG5HKSCS.irreversible: Update.
22894         * iconvdata/BIG5HKSCS.precomposed: New file.
22895         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22896         characters.
22897         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22898
22899 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22900
22901         * include/sys/time.h: Fix indentation and add copyright header.
22902
22903         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22904         (do_test): Likewise.
22905         * string/test-memchr.c (do_one_test): Likewise.
22906         (do_test): Likewise.
22907         * string/test-memcmp.c (do_one_test): Likewise.
22908         (do_test): Likewise.
22909         * string/test-memcpy.c (do_one_test): Likewise.
22910         (do_test): Likewise.
22911         * string/test-memmem.c (do_one_test): Likewise.
22912         (do_test): Likewise.
22913         (do_random_tests): Likewise.
22914         * string/test-memmove.c (do_one_test): Likewise.
22915         (do_test): Likewise.
22916         * string/test-memset.c (do_one_test): Likewise.
22917         (do_test): Likewise.
22918         * string/test-rawmemchr.c (do_one_test): Likewise.
22919         (do_test): Likewise.
22920         * string/test-strcasecmp.c (do_one_test): Likewise.
22921         (do_test): Likewise.
22922         * string/test-strcasestr.c (do_one_test): Likewise.
22923         (do_test): Likewise.
22924         * string/test-strcat.c (do_one_test): Likewise.
22925         (do_test): Likewise.
22926         * string/test-strchr.c (do_one_test): Likewise.
22927         (do_test): Likewise.
22928         * string/test-strcmp.c (do_one_test): Likewise.
22929         (do_test): Likewise.
22930         * string/test-strcpy.c (do_one_test): Likewise.
22931         (do_test): Likewise.
22932         * string/test-string.h: Likewise.
22933         (test_init): Likewise.
22934         * string/test-strlen.c (do_one_test): Likewise.
22935         (do_test): Likewise.
22936         * string/test-strncasecmp.c (do_one_test): Likewise.
22937         (do_test): Likewise.
22938         * string/test-strncat.c (do_one_test): Likewise.
22939         (do_test): Likewise.
22940         * string/test-strncmp.c (do_one_test): Likewise.
22941         (do_test_limit): Likewise.
22942         (do_test): Likewise.
22943         * string/test-strncpy.c (do_one_test): Likewise.
22944         (do_test): Likewise.
22945         * string/test-strnlen.c (do_one_test): Likewise.
22946         (do_test): Likewise.
22947         * string/test-strpbrk.c (do_one_test): Likewise.
22948         (do_test): Likewise.
22949         * string/test-strrchr.c (do_one_test): Likewise.
22950         (do_test): Likewise.
22951         * string/test-strspn.c (do_one_test): Likewise.
22952         (do_test): Likewise.
22953         * string/test-strstr.c (do_one_test): Likewise.
22954         (do_test): Likewise.
22955
22956         * benchtests/Makefile (string-bench): Add string benchmarks.
22957         * benchtests/bench-bcopy-ifunc.c: New file.
22958         * benchtests/bench-bcopy.c: New file.
22959         * benchtests/bench-bzero-ifunc.c: New file.
22960         * benchtests/bench-bzero.c: New file.
22961         * benchtests/bench-memccpy-ifunc.c: New file.
22962         * benchtests/bench-memccpy.c: New file.
22963         * benchtests/bench-memchr-ifunc.c: New file.
22964         * benchtests/bench-memchr.c: New file.
22965         * benchtests/bench-memcmp-ifunc.c: New file.
22966         * benchtests/bench-memcmp.c: New file.
22967         * benchtests/bench-memmem-ifunc.c: New file.
22968         * benchtests/bench-memmem.c: New file.
22969         * benchtests/bench-memmove-ifunc.c: New file.
22970         * benchtests/bench-memmove.c: New file.
22971         * benchtests/bench-mempcpy-ifunc.c: New file.
22972         * benchtests/bench-mempcpy.c: New file.
22973         * benchtests/bench-memset-ifunc.c: New file.
22974         * benchtests/bench-memset.c: New file.
22975         * benchtests/bench-rawmemchr-ifunc.c: New file.
22976         * benchtests/bench-rawmemchr.c: New file.
22977         * benchtests/bench-stpcpy-ifunc.c: New file.
22978         * benchtests/bench-stpcpy.c: New file.
22979         * benchtests/bench-stpncpy-ifunc.c: New file.
22980         * benchtests/bench-stpncpy.c: New file.
22981         * benchtests/bench-strcasecmp-ifunc.c: New file.
22982         * benchtests/bench-strcasecmp.c: New file.
22983         * benchtests/bench-strcasestr-ifunc.c: New file.
22984         * benchtests/bench-strcasestr.c: New file.
22985         * benchtests/bench-strcat-ifunc.c: New file.
22986         * benchtests/bench-strcat.c: New file.
22987         * benchtests/bench-strchr-ifunc.c: New file.
22988         * benchtests/bench-strchr.c: New file.
22989         * benchtests/bench-strchrnul-ifunc.c: New file.
22990         * benchtests/bench-strchrnul.c: New file.
22991         * benchtests/bench-strcmp-ifunc.c: New file.
22992         * benchtests/bench-strcmp.c: New file.
22993         * benchtests/bench-strcpy-ifunc.c: New file.
22994         * benchtests/bench-strcpy.c: New file.
22995         * benchtests/bench-strcspn-ifunc.c: New file.
22996         * benchtests/bench-strcspn.c: New file.
22997         * benchtests/bench-strlen-ifunc.c: New file.
22998         * benchtests/bench-strlen.c: New file.
22999         * benchtests/bench-strncasecmp-ifunc.c: New file.
23000         * benchtests/bench-strncasecmp.c: New file.
23001         * benchtests/bench-strncat-ifunc.c: New file.
23002         * benchtests/bench-strncat.c: New file.
23003         * benchtests/bench-strncmp-ifunc.c: New file.
23004         * benchtests/bench-strncmp.c: New file.
23005         * benchtests/bench-strncpy-ifunc.c: New file.
23006         * benchtests/bench-strncpy.c: New file.
23007         * benchtests/bench-strnlen-ifunc.c: New file.
23008         * benchtests/bench-strnlen.c: New file.
23009         * benchtests/bench-strpbrk-ifunc.c: New file.
23010         * benchtests/bench-strpbrk.c: New file.
23011         * benchtests/bench-strrchr-ifunc.c: New file.
23012         * benchtests/bench-strrchr.c: New file.
23013         * benchtests/bench-strspn-ifunc.c: New file.
23014         * benchtests/bench-strspn.c: New file.
23015         * benchtests/bench-strstr-ifunc.c: New file.
23016         * benchtests/bench-strstr.c: New file.
23017
23018         * benchtests/Makefile: Disable parallel execution of targets.
23019         (string-bench): Add memcpy.
23020         (benchset): New variable to store a list of benchmark sets.
23021         (bench-func): Renamed from bench.
23022         (bench-set): New target.
23023         (bench): Depend on bench-func and bench-set.
23024         * benchtests/README: Add section on benchmark sets.
23025         * benchtests/bench-memcpy-ifunc.c: New file.
23026         * benchtests/bench-memcpy.c: New file.
23027         * benchtests/bench-string.h: New file.
23028
23029 2013-06-11  Andreas Schwab  <schwab@suse.de>
23030
23031         [BZ #15577]
23032         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23033         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23034         values in the triple.
23035         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23036         terminator in the group key.
23037
23038 2013-06-11  Andreas Jaeger  <aj@suse.de>
23039
23040         * po/zh_TW.po: Update Chinese (traditional) translation from
23041         translation project.
23042
23043 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23044
23045         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23046         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23047         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23048         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23049         (clock_getcpuclockid): Likewise.
23050         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23051         Add weak_alias and libc_hidden_def.
23052         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23053         * rt/clock_gettime.c (clock_gettime): Rename to
23054         __clock_gettime.  Add weak_alias and libc_hidden_def.
23055         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23056         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23057         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23058         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23059         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23060         Likewise.
23061         * rt/clock_settime.c (clock_settime): Rename to
23062         __clock_settime.  Add weak_alias and libc_hidden_def.
23063         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23064
23065 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23066
23067         * mach/err_boot.sub: Remove trailing whitespace.
23068         * mach/err_ipc.sub: Likewise.
23069         * mach/err_mach.sub: Likewise.
23070
23071         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23072         (ROUNDING_TESTS_double): Likewise.
23073         (ROUNDING_TESTS_long_double): Likewise.
23074         (ROUNDING_TESTS): Likewise.
23075         * math/libm-test.inc: Include <math-tests.h>.
23076         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23077         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23078         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23079         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23080
23081 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23082
23083         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23084         of assigning.
23085
23086 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23087
23088         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23089         otherwise empty TRANS lines.
23090         * sysdeps/gnu/errlist.c: Regenerated.
23091
23092         * catgets/gencat.c (error_print): Use (void) in function
23093         definition.
23094         * crypt/crypt_util.c (__init_des): Likewise.
23095         * crypt/speeds.c (Stop): Likewise.
23096         (main): Likewise.
23097         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23098         * inet/ruserpass.c (token): Likewise.
23099         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23100         * intl/localealias.c (extend_alias_table): Likewise.
23101         * intl/plural-exp.c (init_germanic_plural): Likewise.
23102         * libio/fcloseall.c (__fcloseall): Likewise.
23103         * libio/genops.c (_IO_flush_all): Likewise.
23104         (_IO_flush_all_linebuffered): Likewise.
23105         (_IO_cleanup): Likewise.
23106         (_IO_iter_begin): Likewise.
23107         (_IO_iter_end): Likewise.
23108         (_IO_list_lock): Likewise.
23109         (_IO_list_unlock): Likewise.
23110         (_IO_list_resetlock): Likewise.
23111         * libio/getchar.c (getchar): Likewise.
23112         * libio/getchar_u.c (getchar_unlocked): Likewise.
23113         * libio/getwchar.c (getwchar): Likewise.
23114         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23115         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23116         * login/getpt.c (__getpt): Likewise.
23117         * login/tst-utmp.c (main): Likewise.
23118         * malloc/hooks.c (__malloc_check_init): Likewise.
23119         * malloc/malloc.c (__malloc_stats): Likewise.
23120         * malloc/mtrace.c (tr_break): Likewise.
23121         (mtrace): Likewise.
23122         (muntrace): Likewise.
23123         * misc/fstab.c (endfsent): Likewise.
23124         * misc/getclktck.c (__getclktck): Likewise.
23125         * misc/getdtsz.c (__getdtablesize): Likewise.
23126         * misc/gethostid.c (gethostid): Likewise.
23127         * misc/getpagesize.c (__getpagesize): Likewise.
23128         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23129         (__get_nprocs): Likewise.
23130         (__get_phys_pages): Likewise.
23131         (__get_avphys_pages): Likewise.
23132         * misc/getttyent.c (getttyent): Likewise.
23133         (setttyent): Likewise.
23134         (endttyent): Likewise.
23135         * misc/getusershell.c (getusershell): Likewise.
23136         (endusershell): Likewise.
23137         (setusershell): Likewise.
23138         (initshells): Likewise.
23139         * misc/hsearch.c (__hdestroy): Likewise.
23140         * misc/sync.c (sync): Likewise.
23141         * misc/syslog.c (closelog_internal): Likewise.
23142         (closelog): Likewise.
23143         * misc/ttyslot.c (ttyslot): Likewise.
23144         * misc/vhangup.c (vhangup): Likewise.
23145         * posix/fork.c (__fork): Likewise.
23146         * posix/getegid.c (__getegid): Likewise.
23147         * posix/geteuid.c (__geteuid): Likewise.
23148         * posix/getgid.c (__getgid): Likewise.
23149         * posix/getpid.c (__getpid): Likewise.
23150         * posix/getppid.c (__getppid): Likewise.
23151         * posix/getuid.c (__getuid): Likewise.
23152         * posix/pause.c (pause): Likewise.
23153         * posix/setpgrp.c (setpgrp): Likewise.
23154         * posix/setsid.c (__setsid): Likewise.
23155         * posix/test-vfork.c (noop): Likewise.
23156         * resolv/gethnamaddr.c (_endhtent): Likewise.
23157         (_gethtent): Likewise.
23158         (ht_endhostent): Likewise.
23159         (gethostent): Likewise.
23160         (dns_service): Likewise.
23161         * stdlib/drand48.c (drand48): Likewise.
23162         * stdlib/lrand48.c (lrand48): Likewise.
23163         * stdlib/mrand48.c (mrand48): Likewise.
23164         * stdlib/rand.c (rand): Likewise.
23165         * stdlib/random.c (__random): Likewise.
23166         * stdlib/setenv.c (clearenv): Likewise.
23167         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23168         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23169         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23170         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23171         (__get_nprocs): Likewise.
23172         (__get_phys_pages): Likewise.
23173         (__get_avphys_pages): Likewise.
23174         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23175         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23176         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23177         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23178         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23179         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23180         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23181         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23182         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23183         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23184         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23185         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23186         * sysdeps/posix/clock.c (clock): Likewise.
23187         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23188         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23189         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23190         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23191         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23192         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23193         (__get_nprocs_conf): Likewise.
23194         (__get_phys_pages): Likewise.
23195         (__get_avphys_pages): Likewise.
23196         * time/clock.c (clock): Likewise.
23197         * time/tzset.c (__tzname_max): Likewise.
23198
23199 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23200
23201         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23202         (__bswap_32): Do not use "register".
23203         * crypt/crypt.c (_ufc_doit_r): Likewise.
23204         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23205         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23206         * gmon/gmon.c (__monstartup): Likewise.
23207         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23208         * hurd/hurdmalloc.c (more_memory): Likewise.
23209         (malloc): Likewise.
23210         (free): Likewise.
23211         (realloc): Likewise.
23212         (malloc_fork_prepare): Likewise.
23213         (malloc_fork_parent): Likewise.
23214         (malloc_fork_child): Likewise.
23215         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23216         (_svcauth_des): Likewise.
23217         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23218         * inet/inet_net.c (inet_network): Likewise.
23219         * inet/inet_netof.c (inet_netof): Likewise.
23220         * inet/rcmd.c (__validuser2_sa): Likewise.
23221         * io/fts.c (fts_open): Likewise.
23222         (fts_load): Likewise.
23223         (fts_close): Likewise.
23224         (fts_read): Likewise.
23225         (fts_children): Likewise.
23226         (fts_build): Likewise.
23227         (fts_stat): Likewise.
23228         (fts_sort): Likewise.
23229         (fts_alloc): Likewise.
23230         (fts_lfree): Likewise.
23231         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23232         (_IO_file_xsgetn): Likewise.
23233         (_IO_file_xsgetn_mmap): Likewise.
23234         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23235         (_IO_cookie_write): Likewise.
23236         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23237         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23238         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23239         * malloc/obstack.c (_obstack_begin): Likewise.
23240         (_obstack_begin_1): Likewise.
23241         (_obstack_newchunk): Likewise.
23242         (_obstack_allocated_p): Likewise.
23243         (obstack_free): Likewise.
23244         (_obstack_memory_used): Likewise.
23245         * misc/getttyent.c (getttynam): Likewise.
23246         (getttyent): Likewise.
23247         (skip): Likewise.
23248         (value): Likewise.
23249         * misc/getusershell.c (initshells): Likewise.
23250         * misc/syslog.c (__vsyslog_chk): Likewise.
23251         * misc/ttyslot.c (ttyslot): Likewise.
23252         * nis/nis_hash.c (__nis_hash): Likewise.
23253         * posix/fnmatch_loop.c (FCT): Likewise.
23254         * posix/getconf.c (print_all): Likewise.
23255         (main): Likewise.
23256         * posix/getopt.c (exchange): Likewise.
23257         * posix/glob.c (globfree): Likewise.
23258         (prefix_array): Likewise.
23259         (__glob_pattern_type): Likewise.
23260         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23261         (NS_GET32): Likewise.
23262         (NS_PUT16): Likewise.
23263         (NS_PUT32): Likewise.
23264         * resolv/gethnamaddr.c (getanswer): Likewise.
23265         (gethostbyname2): Likewise.
23266         (gethostbyaddr): Likewise.
23267         (_gethtent): Likewise.
23268         (_gethtbyname2): Likewise.
23269         (_gethtbyaddr): Likewise.
23270         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23271         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23272         * resolv/res_init.c (__res_vinit): Likewise.
23273         (net_mask): Likewise.
23274         * resolv/res_mkquery.c (outchar): Likewise.
23275         (PRINT): Likewise.
23276         * stdio-common/printf_fp.c (outchar): Likewise.
23277         (PRINT): Likewise.
23278         * stdio-common/printf_fphex.c (outchar): Likewise.
23279         (PRINT): Likewise.
23280         * stdio-common/printf_size.c (outchar): Likewise.
23281         (PRINT): Likewise.
23282         * stdio-common/test_rdwr.c (main): Likewise.
23283         * stdio-common/tfformat.c (matches): Likewise.
23284         * stdio-common/vfprintf.c (outchar): Likewise.
23285         (printf_unknown): Likewise.
23286         (buffered_vfprintf): Likewise.
23287         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23288         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23289         (ReadFile): Likewise.
23290         * stdlib/qsort.c (SWAP): Likewise.
23291         (_quicksort): Likewise.
23292         * stdlib/setenv.c (__add_to_environ): Likewise.
23293         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23294         * stdlib/strtol_l.c (__strtol_l): Likewise.
23295         * stdlib/tst-strtod.c (main): Likewise.
23296         * stdlib/tst-strtol.c (main): Likewise.
23297         * stdlib/tst-strtoll.c (main): Likewise.
23298         * string/bits/string2.h (__strcmp_cc): Likewise.
23299         (__strcmp_cg): Likewise.
23300         (__strcspn_c1): Likewise.
23301         (__strcspn_c2): Likewise.
23302         (__strcspn_c3): Likewise.
23303         (__strspn_c1): Likewise.
23304         (__strspn_c2): Likewise.
23305         (__strspn_c3): Likewise.
23306         (__strsep_1c): Likewise.
23307         (__strsep_2c): Likewise.
23308         (__strsep_3c): Likewise.
23309         * string/memccpy.c (__memccpy): Likewise.
23310         * string/stpcpy.c (__stpcpy): Likewise.
23311         * string/strcmp.c (strcmp): Likewise.
23312         * string/strrchr.c (strrchr): Likewise.
23313         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23314         Likewise.
23315         * sysdeps/mach/hurd/getcwd.c
23316         (_hurd_canonicalize_directory_name_internal): Likewise.
23317         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23318         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23319         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23320         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23321         Likewise, in both definitions.
23322         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23323         definitions.
23324         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23325         64] (__bswap_64): Likewise.
23326         * time/test_time.c (main): Likewise.
23327         * time/tzfile.c (__tzfile_read): Likewise.
23328         (__tzfile_compute): Likewise.
23329         * time/tzset.c (__tzset_parse_tz): Likewise.
23330         (tzset_internal): Likewise.
23331         (compute_change): Likewise.
23332         * wcsmbs/wcscat.c (__wcscat): Likewise.
23333         * wcsmbs/wcschr.c (wcschr): Likewise.
23334         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23335         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23336         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23337         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23338         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23339         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23340         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23341         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23342         * wcsmbs/wmemset.c (wmemset): Likewise.
23343
23344 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23345
23346         * scripts/config.guess: Update to version 2013-05-16.
23347         * scripts/config.sub: Update to version 2013-04-24.
23348         * scripts/install-sh: Update to version 2011-11-20.07.
23349         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23350         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23351
23352 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23353
23354         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23355         * elf/sln.c: Likewise.
23356         * hurd/hurd/ioctl.h: Likewise.
23357         * hurd/hurdmalloc.c: Likewise.
23358         * hurd/xattr.c: Likewise.
23359         * include/shlib-compat.h: Likewise.
23360         * inet/ruserpass.c: Likewise.
23361         * libio/iofgets_u.c: Likewise.
23362         * libio/iofgetws_u.c: Likewise.
23363         * locale/programs/ld-identification.c: Likewise.
23364         * locale/programs/ld-time.c: Likewise.
23365         * mach/msg-destroy.c: Likewise.
23366         * nss/nss_files/files-netgrp.c: Likewise.
23367         * resolv/res_data.c: Likewise.
23368         * soft-fp/op-1.h: Likewise.
23369         * soft-fp/op-2.h: Likewise.
23370         * soft-fp/op-4.h: Likewise.
23371         * soft-fp/op-common.h: Likewise.
23372         * stdio-common/printf_fphex.c: Likewise.
23373         * stdlib/strtod_l.c: Likewise.
23374         * sunrpc/rpc/clnt.h: Likewise.
23375         * sysdeps/generic/framestate.c: Likewise.
23376         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23377         * sysdeps/i386/bsd-setjmp.S: Likewise.
23378         * sysdeps/i386/__longjmp.S: Likewise.
23379         * sysdeps/i386/setjmp.S: Likewise.
23380         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23381         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23382         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23383         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23384         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23385         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23386         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23387         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23388         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23389         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23390         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23391         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23392         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23393         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23394         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23395         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23396         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23397         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23398         * sysdeps/ieee754/support.c: Likewise.
23399         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23400         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23401         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23402         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23403         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23404         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23405         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23406         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23407         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23408         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23409         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23410         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23411         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23412         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23413         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23414         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23415         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23417
23418 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23419
23420         * posix/transbug.c: Remove executable mode.
23421
23422 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23423
23424         * crypt/speeds.c: Remove trailing whitespace.
23425         * dlfcn/default.c: Likewise.
23426         * elf/ifuncdep2.c: Likewise.
23427         * elf/ifuncmain1.c: Likewise.
23428         * elf/ifuncmain1vis.c: Likewise.
23429         * elf/testobj.h: Likewise.
23430         * elf/tst-stackguard1.c: Likewise.
23431         * gmon/sys/gmon.h: Likewise.
23432         * hurd/hurdmsg.c: Likewise.
23433         * hurd/new-fd.c: Likewise.
23434         * hurd/ports-get.c: Likewise.
23435         * iconvdata/ibm1008_420.c: Likewise.
23436         * inet/tst-getni1.c: Likewise.
23437         * inet/tst-getni2.c: Likewise.
23438         * libio/ioungetc.c: Likewise.
23439         * libio/wfiledoalloc.c: Likewise.
23440         * manual/libm-err-tab.pl: Likewise.
23441         * math/w_dremf.c: Likewise.
23442         * misc/ftruncate.c: Likewise.
23443         * posix/bug-glob2.c: Likewise.
23444         * posix/tst-pcre.c: Likewise.
23445         * posix/wait4.c: Likewise.
23446         * resolv/README: Likewise.
23447         * resolv/res_debug.h: Likewise.
23448         * resolv/tst-inet_ntop.c: Likewise.
23449         * setjmp/bug269-setjmp.c: Likewise.
23450         * soft-fp/extended.h: Likewise.
23451         * soft-fp/op-1.h: Likewise.
23452         * soft-fp/op-2.h: Likewise.
23453         * soft-fp/op-4.h: Likewise.
23454         * soft-fp/op-8.h: Likewise.
23455         * soft-fp/testit.c: Likewise.
23456         * stdio-common/bug16.c: Likewise.
23457         * stdlib/random.c: Likewise.
23458         * sunrpc/rpcsvc/rquota.x: Likewise.
23459         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23460         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23461         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23462         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23463         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23464         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23465         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23466         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23467         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23468         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23469         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23470         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23471         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23472         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23473         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23474         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23475         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23476         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23477         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23478         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23479         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23480         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23481         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23482         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23483         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23484         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23486         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23487         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23488         * sysdeps/ieee754/s_lib_version.c: Likewise.
23489         * sysdeps/mach/hurd/check_fds.c: Likewise.
23490         * sysdeps/mach/hurd/getsockname.c: Likewise.
23491         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23492         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23493         * sysdeps/powerpc/bits/link.h: Likewise.
23494         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23495         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23496         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23497         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23498         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23499         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23500         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23501         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23502         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23503         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23504         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23505         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23506         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23507         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23508         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23509         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23510         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23511         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23512         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23513         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23514         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23515         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23516         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23517         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23518         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23519         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23520         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23521         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23522         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23523         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23524         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23525         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23526         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23527         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23528         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23529         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23530         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23531         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23532         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23533         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23534         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23535         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23536         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23537         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23538         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23539         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23540         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23541         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23542         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23543         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23544         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23545         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23546         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23547         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23548         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23549         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23550         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23551         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23552         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23553         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23554         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23555         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23556         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23557         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23558         * sysdeps/powerpc/sysdep.h: Likewise.
23559         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23560         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23561         * sysdeps/sh/dl-trampoline.S: Likewise.
23562         * sysdeps/sh/memset.S: Likewise.
23563         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23564         * sysdeps/sh/strlen.S: Likewise.
23565         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23566         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23567         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23568         * sysdeps/sparc/sparc32/rem.S: Likewise.
23569         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23570         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23571         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23572         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23573         * sysdeps/sparc/sparc32/urem.S: Likewise.
23574         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23575         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23576         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23577         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23578         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23579         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23580         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23581         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23582         * sysdeps/unix/bsd/times.c: Likewise.
23583         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23584         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23588         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23589         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23590         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23591         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23592         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23593         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23594         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23595         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23596         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23597         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23598         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23599         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23600         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23601         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23602         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23603         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23604         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23605         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23606         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23607         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23608         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23609         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23610         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23611         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23612         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23613         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23614         * sysdeps/x86_64/strcspn.S: Likewise.
23615
23616 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23617
23618         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23619         generated file.  Regenerate properly from gen-translit.pl.
23620         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23621         locale/C-translit.h.
23622
23623 2013-06-05  Andreas Schwab  <schwab@suse.de>
23624
23625         [BZ #15100]
23626         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23627         week as 6 instead of -1.
23628         * time/tst-strptime.c (day_tests): Add test case.
23629
23630 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23631
23632         * sysdeps/generic/math_private.h
23633         (libc_feholdexcept_setround_53bit): Replace with
23634         libc_feholdsetround_53bit.
23635         (libc_feupdateenv_53bit): Replace with
23636         libc_feresetround_53bit.
23637         (SET_RESTORE_ROUND_53BIT): Adjust.
23638
23639 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23640
23641         * string/test-strchrnul.c: Add copyright header.
23642
23643         * posix/tst-getaddrinfo4.c: Increase test timeout.
23644
23645 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23646
23647         [BZ #15536]
23648         * math/libm-test.inc (MAX_EXP): Remove
23649         (MIN_EXP): Define.
23650         (ulp): Use MIN_EXP - MANT_DIG.
23651         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23652
23653 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23654
23655         * po/be.po: Revert last change.
23656         * po/zh_CN.po: Likewise.
23657         * po/header.pot: Likewise.
23658
23659 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23660
23661         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23662         link-libc-deps to empty as target-specific variable.
23663         * Makerules (link-libc-args): New variable.
23664         (libc-for-link): Likewise.
23665         (link-libc-deps): Likewise.
23666         (lib%.so): Depend on $(link-libc-deps).  Link with
23667         $(link-libc-args).
23668         (build-module): Link with $(link-libc-args).
23669         (build-module-asneeded): Likewise.
23670         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23671         list of objects.
23672         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23673         target-specific variable.
23674         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23675         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23676         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23677         libc.
23678         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23679         libc and ld.so.
23680         ($(objpfx)libpcprofile.so): Likewise.
23681         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23682         libc_nonshared.a.
23683         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23684         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23685         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23686         $(link-libc-deps).
23687         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23688         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23689         * login/Makefile ($(objpfx)libutil.so): Likewise.
23690         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23691         * math/Makefile ($(objpfx)libm.so): Likewise.
23692         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23693         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23694         variable instead of depending directly on libc.
23695         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23696         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23697         $(link-libc-deps).
23698         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23699         libc.
23700         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23701         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23702         ($(objpfx)libanl.so): Likewise.
23703         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23704         ld.so.
23705         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23706         $(link-libc-deps).
23707         * sysdeps/i386/fpu/Makefile: Remove file.
23708         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23709         ($(objpfx)libm.so): Remove dependency on ld.so.
23710
23711 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23712
23713         [BZ # 15553]
23714         * nis/yp_xdr.c (XDRMAXNAME): Define.
23715         (XDRMAXRECORD): Define.
23716         (xdr_domainname): Use XDRMAXNAME.
23717         (xdr_mapname): Likewise.
23718         (xdr_peername): Likewise.
23719         (xdr_keydat): Use XDRMAXRECORD.
23720         (xdr_valdat): Likewise.
23721
23722 2013-05-30  Jeff Law  <law@redhat.com>
23723
23724         [BZ #14256]
23725         * manual/errno.texi (ESTALE): Update to account for more than
23726         just NFS file systems.
23727         * sysdeps/gnu/errlist.c: Regenerated.
23728
23729 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23730
23731         [BZ #15465]
23732         * elf/Makefile (tests): Add tst-null-argv.
23733         (modules-names):  Add tst-null-argv-lib.
23734         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23735         (tst-null-argv-ENV): Set environment for tst-null-argv.
23736         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23737         (RTLD_PROGNAME): New macro.
23738         * elf/tst-null-argv.c: New test case.
23739         * elf/tst-null-argv-lib.c: Library for test case.
23740         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23741         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23742         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23743         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23744         * elf/dl-init.c (call_init): Likewise.
23745         (_dl_init): Likewise.
23746         * elf/dl-load.c (print_search_path): Likewise.
23747         (_dl_map_object): Likewise.
23748         * elf/dl-lookup.c (do_lookup_x): Likewise.
23749         (add_dependency): Likewise.
23750         (_dl_lookup_symbol_x): Likewise.
23751         (_dl_debug_bindings): Likewise.
23752         * elf/dl-open.c (_dl_show_scope): Likewise.
23753         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23754         * elf/dl-version.c (match_symbol): Likewise.
23755         (_dl_check_map_versions): Likewise.
23756         * elf/rtld.c (dl_main): Likewise.
23757         (print_unresolved): Use RTLD_PROGNAME.
23758         (print_missing_version): Likewise.
23759         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23760         (elf_machine_rela): Likewise.
23761         * sysdeps/powerpc/powerpc32/dl-machine.c
23762         (__process_machine_rela): Likewise.
23763         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23764         Likewise.
23765         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23766         Likewise.
23767         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23768         Likewise.
23769         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23770         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23771         Likewise.
23772         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23773         Likewise.
23774         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23775
23776 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23777
23778         * po/be.po: Add descriptive title.
23779         * po/zh_CN.po: Likewise.
23780         * po/header.pot: Likewise.
23781
23782 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23783
23784         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23785         error message.
23786         (enlarge_archive): Likewise.
23787
23788 2013-05-28  Ben North  <ben@redfrontdoor.org>
23789
23790         * manual/arith.texi (frexp): It is the magnitude of the return
23791         value which lies in [0.5, 1), not the return value itself.
23792
23793 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23794
23795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23796
23797 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
23798
23799         * stdio-common/bug26.c (main): Correct fscanf template.
23800
23801         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23802         declare _dl_skip_args.
23803
23804         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23805         Don't declare.
23806
23807         * manual/platform.texi: Add missing @end deftypefun.
23808
23809 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23810
23811         [BZ #15529]
23812         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23813         bit of mantissa of 2^16382.
23814         * math/libm-test.inc (hypot_test_data): Add more tests.
23815
23816         * math/libm-test.inc: Add drem and pow10 to list of tested
23817         functions.
23818         (pow10_test): New function.
23819         (drem_test): Likewise.
23820         (drem_test_tonearest): Likewise.
23821         (drem_test_towardzero): Likewise.
23822         (drem_test_downward): Likewise.
23823         (drem_test_upward): Likewise.
23824         (main): Call the new functions.
23825
23826         * math/libm-test.inc (finite_test_data): Remove.
23827         (finite_test): Run tests from isfinite_test_data.
23828         (gamma_test_data): Remove.
23829         (gamma_test): Run tests from lgamma_test_data.
23830         * sysdeps/i386/fpu/libm-test-ulps: Update.
23831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23832
23833 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23834
23835         * manual/platform.texi: Add PowerPC PPR function set documentation.
23836         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23837         implementation.
23838
23839 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
23840
23841         * math/libm-test.inc (MAX_EXP): Define.
23842         (ULPDIFF): Define.
23843         (ulp): New function.
23844         (check_float_internal): Use ULPDIFF.
23845         (cpow_test): Disable failing test.
23846         (check_ulp): Test ulp() implemetnation.
23847         (main): Call check_ulp before starting tests.
23848
23849 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23850
23851         * math/gen-libm-test.pl (generate_testfile): Do not handle
23852         START_DATA and END_DATA.
23853         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23854         END_DATA.
23855         (acos_tonearest_test_data): Likewise.
23856         (acos_towardzero_test_data): Likewise.
23857         (acos_downward_test_data): Likewise.
23858         (acos_upward_test_data): Likewise.
23859         (acosh_test_data): Likewise.
23860         (asin_test_data): Likewise.
23861         (asin_tonearest_test_data): Likewise.
23862         (asin_towardzero_test_data): Likewise.
23863         (asin_downward_test_data): Likewise.
23864         (asin_upward_test_data): Likewise.
23865         (asinh_test_data): Likewise.
23866         (atan_test_data): Likewise.
23867         (atanh_test_data): Likewise.
23868         (atan2_test_data): Likewise.
23869         (cabs_test_data): Likewise.
23870         (cacos_test_data): Likewise.
23871         (cacosh_test_data): Likewise.
23872         (carg_test_data): Likewise.
23873         (casin_test_data): Likewise.
23874         (casinh_test_data): Likewise.
23875         (catan_test_data): Likewise.
23876         (catanh_test_data): Likewise.
23877         (cbrt_test_data): Likewise.
23878         (ccos_test_data): Likewise.
23879         (ccosh_test_data): Likewise.
23880         (ceil_test_data): Likewise.
23881         (cexp_test_data): Likewise.
23882         (cimag_test_data): Likewise.
23883         (clog_test_data): Likewise.
23884         (clog10_test_data): Likewise.
23885         (conj_test_data): Likewise.
23886         (copysign_test_data): Likewise.
23887         (cos_test_data): Likewise.
23888         (cos_tonearest_test_data): Likewise.
23889         (cos_towardzero_test_data): Likewise.
23890         (cos_downward_test_data): Likewise.
23891         (cos_upward_test_data): Likewise.
23892         (cosh_test_data): Likewise.
23893         (cosh_tonearest_test_data): Likewise.
23894         (cosh_towardzero_test_data): Likewise.
23895         (cosh_downward_test_data): Likewise.
23896         (cosh_upward_test_data): Likewise.
23897         (cpow_test_data): Likewise.
23898         (cproj_test_data): Likewise.
23899         (creal_test_data): Likewise.
23900         (csin_test_data): Likewise.
23901         (csinh_test_data): Likewise.
23902         (csqrt_test_data): Likewise.
23903         (ctan_test_data): Likewise.
23904         (ctan_tonearest_test_data): Likewise.
23905         (ctan_towardzero_test_data): Likewise.
23906         (ctan_downward_test_data): Likewise.
23907         (ctan_upward_test_data): Likewise.
23908         (ctanh_test_data): Likewise.
23909         (ctanh_tonearest_test_data): Likewise.
23910         (ctanh_towardzero_test_data): Likewise.
23911         (ctanh_downward_test_data): Likewise.
23912         (ctanh_upward_test_data): Likewise.
23913         (erf_test_data): Likewise.
23914         (erfc_test_data): Likewise.
23915         (exp_test_data): Likewise.
23916         (exp_tonearest_test_data): Likewise.
23917         (exp_towardzero_test_data): Likewise.
23918         (exp_downward_test_data): Likewise.
23919         (exp_upward_test_data): Likewise.
23920         (exp10_test_data): Likewise.
23921         (exp2_test_data): Likewise.
23922         (expm1_test_data): Likewise.
23923         (fabs_test_data): Likewise.
23924         (fdim_test_data): Likewise.
23925         (finite_test_data): Likewise.
23926         (floor_test_data): Likewise.
23927         (fma_test_data): Likewise.
23928         (fma_towardzero_test_data): Likewise.
23929         (fma_downward_test_data): Likewise.
23930         (fma_upward_test_data): Likewise.
23931         (fmax_test_data): Likewise.
23932         (fmin_test_data): Likewise.
23933         (fmod_test_data): Likewise.
23934         (fpclassify_test_data): Likewise.
23935         (frexp_test_data): Likewise.
23936         (gamma_test_data): Likewise.
23937         (hypot_test_data): Likewise.
23938         (ilogb_test_data): Likewise.
23939         (isfinite_test_data): Likewise.
23940         (isgreater_test_data): Likewise.
23941         (isgreaterequal_test_data): Likewise.
23942         (isinf_test_data): Likewise.
23943         (isless_test_data): Likewise.
23944         (islessequal_test_data): Likewise.
23945         (islessgreater_test_data): Likewise.
23946         (isnan_test_data): Likewise.
23947         (isnormal_test_data): Likewise.
23948         (issignaling_test_data): Likewise.
23949         (isunordered_test_data): Likewise.
23950         (j0_test_data): Likewise.
23951         (j1_test_data): Likewise.
23952         (jn_test_data): Likewise.
23953         (ldexp_test_data): Likewise.
23954         (lgamma_test_data): Likewise.
23955         (lrint_test_data): Likewise.
23956         (lrint_tonearest_test_data): Likewise.
23957         (lrint_towardzero_test_data): Likewise.
23958         (lrint_downward_test_data): Likewise.
23959         (lrint_upward_test_data): Likewise.
23960         (llrint_test_data): Likewise.
23961         (llrint_tonearest_test_data): Likewise.
23962         (llrint_towardzero_test_data): Likewise.
23963         (llrint_downward_test_data): Likewise.
23964         (llrint_upward_test_data): Likewise.
23965         (log_test_data): Likewise.
23966         (log10_test_data): Likewise.
23967         (log1p_test_data): Likewise.
23968         (log2_test_data): Likewise.
23969         (logb_test_data): Likewise.
23970         (logb_downward_test_data): Likewise.
23971         (lround_test_data): Likewise.
23972         (llround_test_data): Likewise.
23973         (modf_test_data): Likewise.
23974         (nearbyint_test_data): Likewise.
23975         (nextafter_test_data): Likewise.
23976         (nexttoward_test_data): Likewise.
23977         (pow_test_data): Likewise.
23978         (pow_tonearest_test_data): Likewise.
23979         (pow_towardzero_test_data): Likewise.
23980         (pow_downward_test_data): Likewise.
23981         (pow_upward_test_data): Likewise.
23982         (remainder_test_data): Likewise.
23983         (remainder_tonearest_test_data): Likewise.
23984         (remainder_towardzero_test_data): Likewise.
23985         (remainder_downward_test_data): Likewise.
23986         (remainder_upward_test_data): Likewise.
23987         (remquo_test_data): Likewise.
23988         (rint_test_data): Likewise.
23989         (rint_tonearest_test_data): Likewise.
23990         (rint_towardzero_test_data): Likewise.
23991         (rint_downward_test_data): Likewise.
23992         (rint_upward_test_data): Likewise.
23993         (round_test_data): Likewise.
23994         (scalb_test_data): Likewise.
23995         (scalbn_test_data): Likewise.
23996         (scalbln_test_data): Likewise.
23997         (signbit_test_data): Likewise.
23998         (sin_test_data): Likewise.
23999         (sin_tonearest_test_data): Likewise.
24000         (sin_towardzero_test_data): Likewise.
24001         (sin_downward_test_data): Likewise.
24002         (sin_upward_test_data): Likewise.
24003         (sincos_test_data): Likewise.
24004         (sinh_test_data): Likewise.
24005         (sinh_tonearest_test_data): Likewise.
24006         (sinh_towardzero_test_data): Likewise.
24007         (sinh_downward_test_data): Likewise.
24008         (sinh_upward_test_data): Likewise.
24009         (sqrt_test_data): Likewise.
24010         (tan_test_data): Likewise.
24011         (tan_tonearest_test_data): Likewise.
24012         (tan_towardzero_test_data): Likewise.
24013         (tan_downward_test_data): Likewise.
24014         (tan_upward_test_data): Likewise.
24015         (tanh_test_data): Likewise.
24016         (tgamma_test_data): Likewise.
24017         (trunc_test_data): Likewise.
24018         (y0_test_data): Likewise.
24019         (y1_test_data): Likewise.
24020         (yn_test_data): Likewise.
24021         (significand_test_data): Likewise.
24022
24023         * math/gen-libm-test.pl (@functions): Remove variable.
24024         (generate_testfile): Don't handle START and END lines.
24025         * math/libm-test.inc (START): New macro.
24026         (END): Likewise.
24027         (END_COMPLEX): Likewise.
24028         (acos_test): Use END macro without arguments.
24029         (acos_test_tonearest): Likewise.
24030         (acos_test_towardzero): Likewise.
24031         (acos_test_downward): Likewise.
24032         (acos_test_upward): Likewise.
24033         (acosh_test): Likewise.
24034         (asin_test): Likewise.
24035         (asin_test_tonearest): Likewise.
24036         (asin_test_towardzero): Likewise.
24037         (asin_test_downward): Likewise.
24038         (asin_test_upward): Likewise.
24039         (asinh_test): Likewise.
24040         (atan_test): Likewise.
24041         (atanh_test): Likewise.
24042         (atan2_test): Likewise.
24043         (cabs_test): Likewise.
24044         (cacos_test): Use END_COMPLEX macro without arguments.
24045         (cacosh_test): Likewise.
24046         (carg_test): Use END macro without arguments.
24047         (casin_test): Use END_COMPLEX macro without arguments.
24048         (casinh_test): Likewise.
24049         (catan_test): Likewise.
24050         (catanh_test): Likewise.
24051         (cbrt_test): Use END macro without arguments.
24052         (ccos_test): Use END_COMPLEX macro without arguments.
24053         (ccosh_test): Likewise.
24054         (ceil_test): Use END macro without arguments.
24055         (cexp_test): Use END_COMPLEX macro without arguments.
24056         (cimag_test): Use END macro without arguments.
24057         (clog_test): Use END_COMPLEX macro without arguments.
24058         (clog10_test): Likewise.
24059         (conj_test): Likewise.
24060         (copysign_test): Use END macro without arguments.
24061         (cos_test): Likewise.
24062         (cos_test_tonearest): Likewise.
24063         (cos_test_towardzero): Likewise.
24064         (cos_test_downward): Likewise.
24065         (cos_test_upward): Likewise.
24066         (cosh_test): Likewise.
24067         (cosh_test_tonearest): Likewise.
24068         (cosh_test_towardzero): Likewise.
24069         (cosh_test_downward): Likewise.
24070         (cosh_test_upward): Likewise.
24071         (cpow_test): Use END_COMPLEX macro without arguments.
24072         (cproj_test): Likewise.
24073         (creal_test): Use END macro without arguments.
24074         (csin_test): Use END_COMPLEX macro without arguments.
24075         (csinh_test): Likewise.
24076         (csqrt_test): Likewise.
24077         (ctan_test): Likewise.
24078         (ctan_test_tonearest): Likewise.
24079         (ctan_test_towardzero): Likewise.
24080         (ctan_test_downward): Likewise.
24081         (ctan_test_upward): Likewise.
24082         (ctanh_test): Likewise.
24083         (ctanh_test_tonearest): Likewise.
24084         (ctanh_test_towardzero): Likewise.
24085         (ctanh_test_downward): Likewise.
24086         (ctanh_test_upward): Likewise.
24087         (erf_test): Use END macro without arguments.
24088         (erfc_test): Likewise.
24089         (exp_test): Likewise.
24090         (exp_test_tonearest): Likewise.
24091         (exp_test_towardzero): Likewise.
24092         (exp_test_downward): Likewise.
24093         (exp_test_upward): Likewise.
24094         (exp10_test): Likewise.
24095         (exp2_test): Likewise.
24096         (expm1_test): Likewise.
24097         (fabs_test): Likewise.
24098         (fdim_test): Likewise.
24099         (finite_test): Likewise.
24100         (floor_test): Likewise.
24101         (fma_test): Likewise.
24102         (fma_test_towardzero): Likewise.
24103         (fma_test_downward): Likewise.
24104         (fma_test_upward): Likewise.
24105         (fmax_test): Likewise.
24106         (fmin_test): Likewise.
24107         (fmod_test): Likewise.
24108         (fpclassify_test): Likewise.
24109         (frexp_test): Likewise.
24110         (gamma_test): Likewise.
24111         (hypot_test): Likewise.
24112         (ilogb_test): Likewise.
24113         (isfinite_test): Likewise.
24114         (isgreater_test): Likewise.
24115         (isgreaterequal_test): Likewise.
24116         (isinf_test): Likewise.
24117         (isless_test): Likewise.
24118         (islessequal_test): Likewise.
24119         (islessgreater_test): Likewise.
24120         (isnan_test): Likewise.
24121         (isnormal_test): Likewise.
24122         (issignaling_test): Likewise.
24123         (isunordered_test): Likewise.
24124         (j0_test): Likewise.
24125         (j1_test): Likewise.
24126         (jn_test): Likewise.
24127         (ldexp_test): Likewise.
24128         (lgamma_test): Likewise.
24129         (lrint_test): Likewise.
24130         (lrint_test_tonearest): Likewise.
24131         (lrint_test_towardzero): Likewise.
24132         (lrint_test_downward): Likewise.
24133         (lrint_test_upward): Likewise.
24134         (llrint_test): Likewise.
24135         (llrint_test_tonearest): Likewise.
24136         (llrint_test_towardzero): Likewise.
24137         (llrint_test_downward): Likewise.
24138         (llrint_test_upward): Likewise.
24139         (log_test): Likewise.
24140         (log10_test): Likewise.
24141         (log1p_test): Likewise.
24142         (log2_test): Likewise.
24143         (logb_test): Likewise.
24144         (logb_test_downward): Likewise.
24145         (lround_test): Likewise.
24146         (llround_test): Likewise.
24147         (modf_test): Likewise.
24148         (nearbyint_test): Likewise.
24149         (nextafter_test): Likewise.
24150         (nexttoward_test): Likewise.
24151         (pow_test): Likewise.
24152         (pow_test_tonearest): Likewise.
24153         (pow_test_towardzero): Likewise.
24154         (pow_test_downward): Likewise.
24155         (pow_test_upward): Likewise.
24156         (remainder_test): Likewise.
24157         (remainder_test_tonearest): Likewise.
24158         (remainder_test_towardzero): Likewise.
24159         (remainder_test_downward): Likewise.
24160         (remainder_test_upward): Likewise.
24161         (remquo_test): Likewise.
24162         (rint_test): Likewise.
24163         (rint_test_tonearest): Likewise.
24164         (rint_test_towardzero): Likewise.
24165         (rint_test_downward): Likewise.
24166         (rint_test_upward): Likewise.
24167         (round_test): Likewise.
24168         (scalb_test): Likewise.
24169         (scalbn_test): Likewise.
24170         (scalbln_test): Likewise.
24171         (signbit_test): Likewise.
24172         (sin_test): Likewise.
24173         (sin_test_tonearest): Likewise.
24174         (sin_test_towardzero): Likewise.
24175         (sin_test_downward): Likewise.
24176         (sin_test_upward): Likewise.
24177         (sincos_test): Likewise.
24178         (sinh_test): Likewise.
24179         (sinh_test_tonearest): Likewise.
24180         (sinh_test_towardzero): Likewise.
24181         (sinh_test_downward): Likewise.
24182         (sinh_test_upward): Likewise.
24183         (sqrt_test): Likewise.
24184         (tan_test): Likewise.
24185         (tan_test_tonearest): Likewise.
24186         (tan_test_towardzero): Likewise.
24187         (tan_test_downward): Likewise.
24188         (tan_test_upward): Likewise.
24189         (tanh_test): Likewise.
24190         (tgamma_test): Likewise.
24191         (trunc_test): Likewise.
24192         (y0_test): Likewise.
24193         (y1_test): Likewise.
24194         (yn_test): Likewise.
24195         (significand_test): Likewise.
24196
24197 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24198
24199         [BZ #15381]
24200         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24201
24202 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24203
24204         [BZ #14894]
24205         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24206         __ppc_mdoio and __ppc_mdoom.
24207         * manual/platform.texi: Document new functions __ppc_yield,
24208         __ppc_mdoio and __ppc_mdoom.
24209
24210 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24211
24212         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24213         (main): Mention "tls" pseudo-hwcap is legacy.
24214         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24215
24216 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24217
24218         * math/gen-libm-test.pl (parse_args): Output only string of
24219         arguments as text for test name, not full call or descriptions of
24220         tests for extra outputs.
24221         (generate_testfile): Do not pass function name to parse_args.
24222         Generate this_func variable from START.
24223         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24224         field to arg_str.
24225         (struct test_ff_f_data): Likewise.
24226         (test_ff_f_data_nexttoward): Likewise.
24227         (struct test_fi_f_data): Likewise.
24228         (struct test_fl_f_data): Likewise.
24229         (struct test_if_f_data): Likewise.
24230         (struct test_fff_f_data): Likewise.
24231         (struct test_c_f_data): Likewise.
24232         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24233         (struct test_fF_f1_data): Likewise.
24234         (struct test_ffI_f1_data): Likewise.
24235         (struct test_c_c_data): Rename test_name field to arg_str.
24236         (struct test_cc_c_data): Likewise.
24237         (struct test_f_i_data): Likewise.
24238         (struct test_ff_i_data): Likewise.
24239         (struct test_f_l_data): Likewise.
24240         (struct test_f_L_data): Likewise.
24241         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24242         and extra2_name.
24243         (COMMON_TEST_SETUP): New macro.
24244         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24245         (COMMON_TEST_CLEANUP): Likewise.
24246         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24247         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24248         macros.
24249         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24250         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24251         macros.
24252         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24253         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24254         cleanup macros.
24255         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24256         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24257         macros.
24258         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24259         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24260         macros.
24261         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24262         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24263         cleanup macros.
24264         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24265         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24266         cleanup macros.
24267         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24268         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24269         cleanup macros.
24270         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24271         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24272         macros.
24273         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24274         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24275         macros.
24276         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24277         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24278         macros.
24279         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24280         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24281         cleanup macros.
24282         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24283         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24284         cleanup macros.
24285         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24286         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24287         macros.
24288         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24289         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24290         cleanup macros.
24291         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24292         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24293         macros.
24294         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24295         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24296         macros.
24297         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24298         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24299         cleanup macros.
24300         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24301
24302 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24303
24304         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24305         to _sifields.sigfault.
24306         (si_addr_lsb): Define new macro.
24307         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24308         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24309         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24310
24311 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24312
24313         [BZ #15441]
24314         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24315         returns -1.
24316         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24317         null return -1.
24318         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24319         loading the domain.
24320
24321 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24322
24323         * math/gen-libm-test.pl (parse_args): Do not include expected
24324         result in test name.
24325         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24326         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24327         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24328         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24329         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24331
24332 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24333
24334         * benchtests/Makefile: Sort function entries.
24335
24336         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24337         tanh, asinh, acosh, atanh.
24338         * benchtests/acos-inputs: New file.
24339         * benchtests/acosh-inputs: New file.
24340         * benchtests/asin-inputs: New file.
24341         * benchtests/asinh-inputs: New file.
24342         * benchtests/atanh-inputs: New file.
24343         * benchtests/cosh-inputs: New file.
24344         * benchtests/log-inputs: New file.
24345         * benchtests/sinh-inputs: New file.
24346         * benchtests/tanh-inputs: New file.
24347
24348 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24349
24350         [BZ #15339]
24351         * posix/tst-getaddrinfo4.c: New test.
24352         * posix/Makefile (tests): Add it.
24353
24354 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24355
24356         [BZ #15339]
24357         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24358         when no services were used.
24359         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24360         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24361
24362 2013-05-21  Andreas Schwab  <schwab@suse.de>
24363
24364         [BZ #15014]
24365         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24366         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24367         successful.
24368         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24369         redundant variable declarations and reallocation of buffer when
24370         parsing as IPv6 address.  Always set NSS status when called from
24371         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24372         buffer too small.  Correct computation of needed size.
24373         * nss/Makefile (tests): Add test-digits-dots.
24374         * nss/test-digits-dots.c: New test.
24375
24376 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24377
24378         * benchtests/Makefile: Remove instructions for adding
24379         benchmark tests.
24380         * benchtests/README: New file to explain how to execute and
24381         enhance the benchmark tests.
24382
24383 2013-05-21  Andreas Schwab  <schwab@suse.de>
24384
24385         [BZ #15493]
24386         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24387         * setjmp/tst-sigsetjmp.c: New test.
24388
24389 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24390
24391         * sysdeps/x86_64/memset.S (memset): New implementation.
24392         (__bzero): Likewise.
24393         (__memset_tail): New function.
24394
24395 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24396
24397         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24398         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24399         __memcpy_sse2_unaligned ifunc selection.
24400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24401         Add memcpy-sse2-unaligned.S.
24402         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24403         Add: __memcpy_sse2_unaligned.
24404
24405 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24406
24407         [BZ #15490]
24408         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24409         math_force_eval before restoring floating-point envrionment.
24410         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24411         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24412         Likewise.
24413         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24414         <math_private.h>.
24415         (__nearbyintl): Use math_force_eval before restoring
24416         floating-point environment.
24417         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24418
24419         * math/gen-libm-test.pl (special_functions): Remove.
24420         (parse_args): Don't handle TEST_extra.  Handle functions with no
24421         return value.
24422         * math/libm-test.inc (struct test_sincos_data): Replace with
24423         struct test_fFF_11_data.
24424         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24425         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24426         (sincos_test_data): Change element type to struct
24427         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24428         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24429         RUN_TEST_LOOP_sincos.
24430         * math/README.libm-test: Don't mention special handling of
24431         individual functions.
24432         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24433         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24434         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24435         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24436         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24438
24439         * math/gen-libm-test.pl (get_variable): Remove function.
24440         (parse_args): Don't show pointer parameters to call in test
24441         names.  Use "extra output N" in test names for extra outputs
24442         rather than naming variables.
24443
24444 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24445
24446         [BZ #15488]
24447         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24448         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24449         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24450         double tests.
24451         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24452         disable.
24453         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24454         check_long_double.
24455
24456         * math/gen-libm-test.pl (@tests): Remove variable.
24457         ($count): Likewise.
24458         (new_test): Remove function.
24459         (show_exceptions): New function.
24460         (special_functions): Use show_exceptions instead of new_test.
24461         (parse_args): Likewise.
24462         (generate_testfile): Pass only function name in generated call to
24463         print_max_error or print_complex_max_error.
24464         (get_ulps): Do not handle complex tests specially.
24465         (output_test): Rename to ...
24466         (get_all_ulps_for_test): ... this.  Return a string rather than
24467         printing to a file.  Require ulps to be present.
24468         (output_ulps): Generate arrays rather than #defines.
24469         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24470         (struct ulp_data): New type.
24471         (BUILD_COMPLEX_ULP): Remove macro.
24472         (compare_ulp_data): New function.
24473         (find_ulps): Likewise.
24474         (find_test_ulps): Likewise.
24475         (find_function_ulps): Likewise.
24476         (find_complex_function_ulps): Likewise.
24477         (print_max_error): Determine allowed ulps using
24478         find_function_ulps.
24479         (print_complex_max_error): Determine allowed ulps using
24480         find_complex_function_ulps.
24481         (check_float_internal): Determine max ulps using find_test_ulps.
24482         (check_float): Do not take max_ulp parameter.  Update call to
24483         check_float_internal.
24484         (check_complex): Likewise.
24485         (check_int): Do not take max_ulp parameter.
24486         (check_long): Likewise.
24487         (check_bool): Likewise.
24488         (check_longlong): Likewise.
24489         (struct test_f_f_data): Remove max_ulp field.
24490         (struct test_ff_f_data): Likewise.
24491         (struct test_ff_f_data_nexttoward): Likewise.
24492         (struct test_fi_f_data): Likewise.
24493         (struct test_fl_f_data): Likewise.
24494         (struct test_if_f_data): Likewise.
24495         (struct test_fff_f_data): Likewise.
24496         (struct test_c_f_data): Likewise.
24497         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24498         (struct test_fF_f1_data): Likewise.
24499         (struct test_ffI_f1_data): Likewise.
24500         (struct test_c_c_data): Remove max_ulp field.
24501         (struct test_cc_c_data): Likewise.
24502         (struct test_f_i_data): Likewise.
24503         (struct test_ff_i_data): Likewise.
24504         (struct test_f_l_data): Likewise.
24505         (struct test_f_L_data): Likewise.
24506         (struct test_sincos_data): Likewise.
24507         (RUN_TEST_f_f): Do not handle ulps.
24508         (RUN_TEST_LOOP_f_f): Likewise.
24509         (RUN_TEST_2_f): Likewise.
24510         (RUN_TEST_LOOP_2_f): Likewise.
24511         (RUN_TEST_fff_f): Likewise.
24512         (RUN_TEST_LOOP_fff_f): Likewise.
24513         (RUN_TEST_c_f): Likewise.
24514         (RUN_TEST_LOOP_c_f): Likewise.
24515         (RUN_TEST_f_f1): Likewise.
24516         (RUN_TEST_LOOP_f_f1): Likewise.
24517         (RUN_TEST_fF_f1): Likewise.
24518         (RUN_TEST_LOOP_fF_f1): Likewise.
24519         (RUN_TEST_fI_f1): Likewise.
24520         (RUN_TEST_LOOP_fI_f1): Likewise.
24521         (RUN_TEST_ffI_f1): Likewise.
24522         (RUN_TEST_LOOP_ffI_f1): Likewise.
24523         (RUN_TEST_c_c): Likewise.
24524         (RUN_TEST_LOOP_c_c): Likewise.
24525         (RUN_TEST_cc_c): Likewise.
24526         (RUN_TEST_LOOP_cc_c): Likewise.
24527         (RUN_TEST_f_i): Likewise.
24528         (RUN_TEST_LOOP_f_i): Likewise.
24529         (RUN_TEST_f_i_tg): Likewise.
24530         (RUN_TEST_LOOP_f_i_tg): Likewise.
24531         (RUN_TEST_ff_i_tg): Likewise.
24532         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24533         (RUN_TEST_f_b): Likewise.
24534         (RUN_TEST_LOOP_f_b): Likewise.
24535         (RUN_TEST_f_b_tg): Likewise.
24536         (RUN_TEST_LOOP_f_b_tg): Likewise.
24537         (RUN_TEST_f_l): Likewise.
24538         (RUN_TEST_LOOP_f_l): Likewise.
24539         (RUN_TEST_f_L): Likewise.
24540         (RUN_TEST_LOOP_f_L): Likewise.
24541         (RUN_TEST_sincos): Likewise.
24542         (RUN_TEST_LOOP_sincos): Likewise.
24543
24544 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24545
24546         [BZ #15480]
24547         [BZ #15485]
24548         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24549         main case of finite arguments, set rounding mode to FE_TONEAREST
24550         and discard exceptions.
24551         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24552         exceptions.
24553         (remainder_tonearest_test_data): New variable.
24554         (remainder_test_tonearest): New function.
24555         (remainder_towardzero_test_data): New variable.
24556         (remainder_test_towardzero): New function.
24557         (remainder_downward_test_data): New variable.
24558         (remainder_test_downward): New function.
24559         (remainder_upward_test_data): New variable.
24560         (remainder_test_upward): New function.
24561         (main): Call the new test functions.
24562
24563         * math/libm-test.inc (struct test_f_f1_data): Remove field
24564         extra_init.
24565         (struct test_fF_f1_data): Likewise.
24566         (struct test_ffI_f1_data): Likewise.
24567         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24568         based on value of EXTRA_EXPECTED.
24569         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24570         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24571         EXTRA_VAR based on value of EXTRA_EXPECTED.
24572         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24573         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24574         EXTRA_VAR based on value of EXTRA_EXPECTED.
24575         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24576         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24577         EXTRA_VAR based on value of EXTRA_EXPECTED.
24578         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24579         * math/gen-libm-test.pl (parse_args): Don't output initializers
24580         for extra output values.
24581
24582         * math/libm-test.inc (check_int): Expect result to be exactly
24583         equal to expected value and do not handle ulps.
24584         (check_long): Likewise.
24585         (check_longlong): Likewise.
24586
24587         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24588         exceptions.
24589         (cimag_test_data): Likewise.
24590         (conj_test_data): Likewise.
24591         (copysign_test_data): Likewise.
24592         (cproj_test_data): Likewise.
24593         (creal_test_data): Likewise.
24594         (fabs_test_data): Likewise.
24595         (fdim_test_data): Likewise.
24596         (finite_test_data): Likewise.
24597         (floor_test_data): Likewise.
24598         (fmax_test_data): Likewise.
24599         (fmin_test_data): Likewise.
24600         (fmod_test_data): Likewise.
24601         (fpclassify_test_data): Likewise.
24602         (frexp_test_data): Likewise.
24603         (ilogb_test_data): Likewise.
24604         (isfinite_test_data): Likewise.
24605         (isgreater_test_data): Likewise.
24606         (isgreaterequal_test_data): Likewise.
24607         (isinf_test_data): Likewise.
24608         (isless_test_data): Likewise.
24609         (islessequal_test_data): Likewise.
24610         (islessgreater_test_data): Likewise.
24611         (isnan_test_data): Likewise.
24612         (isnormal_test_data): Likewise.
24613         (issignaling_test_data): Likewise.
24614         (isunordered_test_data): Likewise.
24615         (ldexp_test_data): Likewise.
24616         (lrint_test_data): Likewise.
24617         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24618         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24619         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24620         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24621         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24622         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24623         test input.
24624         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24625         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24626         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24627         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24628         that test input.
24629         (lrint_downward_test_data): Test for "inexact" exceptions.
24630         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24631         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24632         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24633         test input.
24634         (lrint_upward_test_data): Test for "inexact" exceptions.
24635         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24636         test input.
24637         (llrint_test_data): Test for "inexact" exceptions.
24638         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24639         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24640         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24641         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24642         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24643         (llrint_downward_test_data): Test for "inexact" exceptions.
24644         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24645         (llrint_upward_test_data): Test for "inexact" exceptions.
24646         (logb_test_data): Likewise.
24647         (logb_downward_test_data): Likewise.
24648         (nextafter_test_data): Likewise.
24649         (nexttoward_test_data): Likewise.
24650         (remainder_test_data): Likewise.
24651         (remquo_test_data): Likewise.
24652         (scalbn_test_data): Likewise.
24653         (scalbln_test_data): Likewise.
24654         (signbit_test_data): Likewise.
24655         (sqrt_test_data): Likewise.
24656         (significand_test_data): Likewise.
24657
24658 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24659
24660         [BZ #15424]
24661         * benchtests/bench-modf.c (struct args): Mark arg0 as
24662         volatile.
24663         * scripts/bench.pl: Mark members of struct args as volatile.
24664
24665 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24666
24667         [BZ # 15497]
24668         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24669         negative infinity on POWER6 or lower.
24670         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24671
24672 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24673
24674         [BZ #15442]
24675         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24676         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24677         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24678         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24679         (_FP_SETQNAN): New macro.
24680         (_FP_SETQNAN_SEMIRAW): Likewise.
24681         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24682         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24683         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24684         (FP_EXTEND): Use _FP_FRAC_SNANP.
24685         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24686         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24687         into account.
24688         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24689         New macro.
24690         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24691         Likewise.
24692
24693 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24694
24695         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24696         with DIVIDE_BY_ZERO_EXCEPTION.
24697         (gamma_test_data): Likewise.
24698         (lgamma_test_data): Likewise.
24699         (log_test_data): Likewise.
24700         (log10_test_data): Likewise.
24701         (log2_test_data): Likewise.
24702         (tgamma_test_data): Likewise.
24703
24704         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24705         (acos_test_tonearest): Likewise.
24706         (acos_test_towardzero): Likewise.
24707         (acos_test_downward): Likewise.
24708         (acos_test_upward): Likewise.
24709         (acosh_test): Likewise.
24710         (asin_test): Likewise.
24711         (asin_test_tonearest): Likewise.
24712         (asin_test_towardzero): Likewise.
24713         (asin_test_downward): Likewise.
24714         (asin_test_upward): Likewise.
24715         (asinh_test): Likewise.
24716         (atan_test): Likewise.
24717         (atanh_test): Likewise.
24718         (atan2_test): Likewise.
24719         (cabs_test): Likewise.
24720         (cacos_test): Likewise.
24721         (cacosh_test): Likewise.
24722         (casin_test): Likewise.
24723         (casinh_test): Likewise.
24724         (catan_test): Likewise.
24725         (catanh_test): Likewise.
24726         (cbrt_test): Likewise.
24727         (ccos_test): Likewise.
24728         (ccosh_test): Likewise.
24729         (cexp_test): Likewise.
24730         (clog_test): Likewise.
24731         (clog10_test): Likewise.
24732         (cos_test): Likewise.
24733         (cos_test_tonearest): Likewise.
24734         (cos_test_towardzero): Likewise.
24735         (cos_test_downward): Likewise.
24736         (cos_test_upward): Likewise.
24737         (cosh_test): Likewise.
24738         (cosh_test_tonearest): Likewise.
24739         (cosh_test_towardzero): Likewise.
24740         (cosh_test_downward): Likewise.
24741         (cosh_test_upward): Likewise.
24742         (cpow_test): Likewise.
24743         (csin_test): Likewise.
24744         (csinh_test): Likewise.
24745         (csqrt_test): Likewise.
24746         (ctan_test): Likewise.
24747         (ctan_test_tonearest): Likewise.
24748         (ctan_test_towardzero): Likewise.
24749         (ctan_test_downward): Likewise.
24750         (ctan_test_upward): Likewise.
24751         (ctanh_test): Likewise.
24752         (ctanh_test_tonearest): Likewise.
24753         (ctanh_test_towardzero): Likewise.
24754         (ctanh_test_downward): Likewise.
24755         (ctanh_test_upward): Likewise.
24756         (erf_test): Likewise.
24757         (erfc_test): Likewise.
24758         (exp_test): Likewise.
24759         (exp_test_tonearest): Likewise.
24760         (exp_test_towardzero): Likewise.
24761         (exp_test_downward): Likewise.
24762         (exp_test_upward): Likewise.
24763         (exp10_test): Likewise.
24764         (exp2_test): Likewise.
24765         (expm1_test): Likewise.
24766         (fmod_test): Likewise.
24767         (gamma_test): Likewise.
24768         (hypot_test): Likewise.
24769         (j0_test): Likewise.
24770         (j1_test): Likewise.
24771         (jn_test): Likewise.
24772         (lgamma_test): Likewise.
24773         (log_test): Likewise.
24774         (log10_test): Likewise.
24775         (log1p_test): Likewise.
24776         (log2_test): Likewise.
24777         (logb_test_downward): Likewise.
24778         (pow_test): Likewise.
24779         (pow_test_tonearest): Likewise.
24780         (pow_test_towardzero): Likewise.
24781         (pow_test_downward): Likewise.
24782         (pow_test_upward): Likewise.
24783         (remainder_test): Likewise.
24784         (remquo_test): Likewise.
24785         (sin_test): Likewise.
24786         (sin_test_tonearest): Likewise.
24787         (sin_test_towardzero): Likewise.
24788         (sin_test_downward): Likewise.
24789         (sin_test_upward): Likewise.
24790         (sincos_test): Likewise.
24791         (sinh_test): Likewise.
24792         (sinh_test_tonearest): Likewise.
24793         (sinh_test_towardzero): Likewise.
24794         (sinh_test_downward): Likewise.
24795         (sinh_test_upward): Likewise.
24796         (sqrt_test): Likewise.
24797         (tan_test): Likewise.
24798         (tan_test_tonearest): Likewise.
24799         (tan_test_towardzero): Likewise.
24800         (tan_test_downward): Likewise.
24801         (tan_test_upward): Likewise.
24802         (tanh_test): Likewise.
24803         (tgamma_test): Likewise.
24804         (y0_test): Likewise.
24805         (y1_test): Likewise.
24806         (yn_test): Likewise.
24807
24808         * math/gen-libm-test.pl (adjust_arg): Remove function.
24809         (special_function): Remove argument $in_func.  Only handle
24810         generating output for tables of tests, not inside functions.
24811         (parse_args): Likewise.
24812         (generate_testfile): Remove variable $in_func.  Update call to
24813         parse_args.
24814         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24815         (MINUS_ZERO_INIT): Rename macro to minus_zero.
24816         (PLUS_INFTY_INIT): Rename macro to plus_infty.
24817         (MINUS_INFTY_INIT): Rename macro to minus_infty.
24818         (QNAN_VALUE_INIT): Rename macro to qnan_value.
24819         (MAX_VALUE_INIT): Rename macro to max_value.
24820         (MIN_VALUE_INIT): Rename macro to min_value.
24821         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24822         (plus_zero): Remove variable.
24823         (minus_zero): Likewise.
24824         (plus_infty): Likewise.
24825         (minus_infty): Likewise.
24826         (qnan_value): Likewise.
24827         (max_value): Likewise.
24828         (min_value): Likewise.
24829         (min_subnorm_value): Likewise.
24830
24831 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24832
24833         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24834         uint64_t or uint32_t usage.
24835         * crypt/sha256-block.c: Likewise.
24836         * crypt/sha256-crypt.c: Likewise.
24837         * crypt/sha256.c: Likewise.
24838         * crypt/sha512-block.c: Likewise.
24839         * crypt/sha512-crypt.c: Likewise.
24840         * crypt/sha512.c: Likewise.
24841         * debug/backtrace-tst.c: Likewise.
24842         * debug/pcprofiledump.c: Likewise.
24843         * elf/cache.c: Likewise.
24844         * elf/dl-cache.c: Likewise.
24845         * elf/dl-misc.c: Likewise.
24846         * elf/dl-profile.c: Likewise.
24847         * elf/dl-support.c: Likewise.
24848         * elf/ldconfig.c: Likewise.
24849         * elf/sprof.c: Likewise.
24850         * iconv/dummy-repertoire.c: Likewise.
24851         * iconv/iconv_charmap.c: Likewise.
24852         * iconv/skeleton.c: Likewise.
24853         * iconvdata/8bit-generic.c: Likewise.
24854         * iconvdata/cp737.h: Likewise.
24855         * iconvdata/cp775.h: Likewise.
24856         * iconvdata/ibm1008.h: Likewise.
24857         * iconvdata/ibm1025.h: Likewise.
24858         * iconvdata/ibm1046.h: Likewise.
24859         * iconvdata/ibm1097.h: Likewise.
24860         * iconvdata/ibm1112.h: Likewise.
24861         * iconvdata/ibm1122.h: Likewise.
24862         * iconvdata/ibm1123.h: Likewise.
24863         * iconvdata/ibm1124.h: Likewise.
24864         * iconvdata/ibm1129.h: Likewise.
24865         * iconvdata/ibm1130.h: Likewise.
24866         * iconvdata/ibm1132.h: Likewise.
24867         * iconvdata/ibm1133.h: Likewise.
24868         * iconvdata/ibm1137.h: Likewise.
24869         * iconvdata/ibm1140.h: Likewise.
24870         * iconvdata/ibm1141.h: Likewise.
24871         * iconvdata/ibm1142.h: Likewise.
24872         * iconvdata/ibm1143.h: Likewise.
24873         * iconvdata/ibm1144.h: Likewise.
24874         * iconvdata/ibm1145.h: Likewise.
24875         * iconvdata/ibm1146.h: Likewise.
24876         * iconvdata/ibm1147.h: Likewise.
24877         * iconvdata/ibm1148.h: Likewise.
24878         * iconvdata/ibm1149.h: Likewise.
24879         * iconvdata/ibm1153.h: Likewise.
24880         * iconvdata/ibm1154.h: Likewise.
24881         * iconvdata/ibm1155.h: Likewise.
24882         * iconvdata/ibm1156.h: Likewise.
24883         * iconvdata/ibm1157.h: Likewise.
24884         * iconvdata/ibm1158.h: Likewise.
24885         * iconvdata/ibm1160.h: Likewise.
24886         * iconvdata/ibm1161.h: Likewise.
24887         * iconvdata/ibm1162.h: Likewise.
24888         * iconvdata/ibm1163.h: Likewise.
24889         * iconvdata/ibm1164.h: Likewise.
24890         * iconvdata/ibm1166.h: Likewise.
24891         * iconvdata/ibm1167.h: Likewise.
24892         * iconvdata/ibm12712.h: Likewise.
24893         * iconvdata/ibm1390.h: Likewise.
24894         * iconvdata/ibm1399.h: Likewise.
24895         * iconvdata/ibm16804.h: Likewise.
24896         * iconvdata/ibm4517.h: Likewise.
24897         * iconvdata/ibm4899.h: Likewise.
24898         * iconvdata/ibm4909.h: Likewise.
24899         * iconvdata/ibm4971.h: Likewise.
24900         * iconvdata/ibm5347.h: Likewise.
24901         * iconvdata/ibm803.h: Likewise.
24902         * iconvdata/ibm856.h: Likewise.
24903         * iconvdata/ibm901.h: Likewise.
24904         * iconvdata/ibm902.h: Likewise.
24905         * iconvdata/ibm9030.h: Likewise.
24906         * iconvdata/ibm9066.h: Likewise.
24907         * iconvdata/ibm921.h: Likewise.
24908         * iconvdata/ibm922.h: Likewise.
24909         * iconvdata/ibm9448.h: Likewise.
24910         * iconvdata/isiri-3342.h: Likewise.
24911         * iconvdata/jis0201.h: Likewise.
24912         * include/link.h: Likewise.
24913         * include/netdb.h: Likewise.
24914         * inet/check_native.c: Likewise.
24915         * inet/check_pf.c: Likewise.
24916         * inet/getipv4sourcefilter.c: Likewise.
24917         * inet/getnameinfo.c: Likewise.
24918         * inet/getsourcefilter.c: Likewise.
24919         * inet/htonl.c: Likewise.
24920         * inet/setipv4sourcefilter.c: Likewise.
24921         * inet/setsourcefilter.c: Likewise.
24922         * inet/test-inet6_opt.c: Likewise.
24923         * inet/tst-network.c: Likewise.
24924         * locale/C-collate.c: Likewise.
24925         * locale/C-ctype.c: Likewise.
24926         * locale/C-time.c: Likewise.
24927         * locale/C-translit.h: Likewise.
24928         * locale/loadarchive.c: Likewise.
24929         * locale/programs/3level.h: Likewise.
24930         * locale/programs/charmap.c: Likewise.
24931         * locale/programs/charmap.h: Likewise.
24932         * locale/programs/ld-address.c: Likewise.
24933         * locale/programs/ld-collate.c: Likewise.
24934         * locale/programs/ld-ctype.c: Likewise.
24935         * locale/programs/ld-identification.c: Likewise.
24936         * locale/programs/ld-measurement.c: Likewise.
24937         * locale/programs/ld-messages.c: Likewise.
24938         * locale/programs/ld-monetary.c: Likewise.
24939         * locale/programs/ld-name.c: Likewise.
24940         * locale/programs/ld-numeric.c: Likewise.
24941         * locale/programs/ld-paper.c: Likewise.
24942         * locale/programs/ld-telephone.c: Likewise.
24943         * locale/programs/ld-time.c: Likewise.
24944         * locale/programs/linereader.c: Likewise.
24945         * locale/programs/locale.c: Likewise.
24946         * locale/programs/locarchive.c: Likewise.
24947         * locale/programs/locfile.h: Likewise.
24948         * locale/programs/repertoire.c: Likewise.
24949         * locale/programs/simple-hash.c: Likewise.
24950         * locale/programs/simple-hash.h: Likewise.
24951         * malloc/memusage.c: Likewise.
24952         * malloc/memusagestat.c: Likewise.
24953         * nis/nis_defaults.c: Likewise.
24954         * nis/nis_hash.c: Likewise.
24955         * nis/nis_print.c: Likewise.
24956         * nis/nis_xdr.c: Likewise.
24957         * nscd/connections.c: Likewise.
24958         * nscd/hstcache.c: Likewise.
24959         * nscd/nscd_gethst_r.c: Likewise.
24960         * nscd/nscd_getserv_r.c: Likewise.
24961         * nscd/nscd_helper.c: Likewise.
24962         * nscd/servicescache.c: Likewise.
24963         * nss/makedb.c: Likewise.
24964         * nss/nss_db/db-XXX.c: Likewise.
24965         * nss/nss_db/db-initgroups.c: Likewise.
24966         * nss/nss_db/db-netgrp.c: Likewise.
24967         * nss/nss_files/files-network.c: Likewise.
24968         * nss/nss_files/files-parse.c: Likewise.
24969         * posix/bug-regex5.c: Likewise.
24970         * posix/fnmatch_loop.c: Likewise.
24971         * posix/regcomp.c: Likewise.
24972         * posix/regexec.c: Likewise.
24973         * posix/tst-rfc3484-2.c: Likewise.
24974         * posix/tst-rfc3484-3.c: Likewise.
24975         * posix/tst-rfc3484.c: Likewise.
24976         * resolv/nss_dns/dns-canon.c: Likewise.
24977         * resolv/nss_dns/dns-network.c: Likewise.
24978         * resolv/res_init.c: Likewise.
24979         * resolv/res_mkquery.c: Likewise.
24980         * resolv/tst-aton.c: Likewise.
24981         * stdlib/cxa_atexit.c: Likewise.
24982         * stdlib/cxa_finalize.c: Likewise.
24983         * stdlib/gen-fpioconst.c: Likewise.
24984         * stdlib/strtol_l.c: Likewise.
24985         * string/tst-endian.c: Likewise.
24986         * sunrpc/auth_des.c: Likewise.
24987         * sunrpc/clnt_udp.c: Likewise.
24988         * sunrpc/rtime.c: Likewise.
24989         * sunrpc/svcauth_des.c: Likewise.
24990         * sunrpc/xdr.c: Likewise.
24991         * sunrpc/xdr_intXX_t.c: Likewise.
24992         * sunrpc/xdr_rec.c: Likewise.
24993         * sysdeps/generic/ldconfig.h: Likewise.
24994         * sysdeps/generic/ldsodefs.h: Likewise.
24995         * sysdeps/generic/memusage.h: Likewise.
24996         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24997         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24998         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24999         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25000         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25001         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25002         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25003         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25004         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25005         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25006         * sysdeps/posix/getaddrinfo.c: Likewise.
25007         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25008         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25009         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25010         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25011         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25012         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25013         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25014         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25015         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25016         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25017         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25018         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25019         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25020         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25021         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25022         * sysdeps/x86_64/dl-tls.h: Likewise.
25023         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25024         * time/alt_digit.c: Likewise.
25025         * time/era.c: Likewise.
25026         * wcsmbs/tst-c16c32-1.c: Likewise.
25027
25028 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25029
25030         * math/libm-test.inc (struct test_sincos_data): New type.
25031         (RUN_TEST_LOOP_sincos): New macro.
25032         (sincos_test_data): New variable.
25033         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25034
25035 2013-05-16  Richard Henderson  <rth@redhat.com>
25036
25037         * math/atest-exp2.c (LIMB64): New macro.
25038         (CONSTSZ): New macro.
25039         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25040         (hexdig): Move ...
25041         (print_mpn_fp): ... to function scope.
25042         (read_mpn_hex): Remove.
25043         (get_log2): Remove.
25044         (exp2_mpn): Use mp_log2.
25045         (main): Use mp_exp1.
25046
25047 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25048
25049         * math/libm-test.inc: Remove comment about not testing "inexact"
25050         exceptions.
25051         (INEXACT_EXCEPTION): New macro.
25052         (NO_INEXACT_EXCEPTION): Likewise.
25053         (INVALID_EXCEPTION_OK): Update value.
25054         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25055         (OVERFLOW_EXCEPTION_OK): Likewise.
25056         (UNDERFLOW_EXCEPTION_OK): Likewise.
25057         (IGNORE_ZERO_INF_SIGN): Likewise.
25058         (ERRNO_UNCHANGED): Likewise.
25059         (ERRNO_EDOM): Likewise.
25060         (ERRNO_ERANGE): Likewise.
25061         (test_exceptions): Handle testing "inexact" exceptions.
25062         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25063         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25064         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25065         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25066         INEXACT_EXCEPTION.
25067         (rint_towardzero_test_data): Likewise.
25068         (rint_downward_test_data): Likewise.
25069         (rint_upward_test_data): Likewise.
25070
25071         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25072         with OVERFLOW_EXCEPTION.
25073         (exp10_test_data): Likewise.
25074         (exp2_test_data): Likewise.
25075         (expm1_test_data): Likewise.
25076         (lgamma_test_data): Likewise.
25077         (pow_test_data): Likewise.
25078         (tgamma_test_data): Likewise.
25079         (yn_test_data): Remove duplicate test of overflow.
25080
25081         * math/libm-test.inc (struct test_cc_c_data): New type.
25082         (RUN_TEST_LOOP_cc_c): New macro.
25083         (cpow_test_data): New variable.
25084         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25085
25086         * math/libm-test.inc (struct test_f_L_data): New type.
25087         (RUN_TEST_LOOP_f_L): New macro.
25088         (llrint_test_data): New variable.
25089         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25090         (llrint_tonearest_test_data): New variable.
25091         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25092         (llrint_towardzero_test_data): New variable.
25093         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25094         (llrint_downward_test_data): New variable.
25095         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25096         (llrint_upward_test_data): New variable.
25097         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25098         (llround_test_data): New variable.
25099         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25100
25101 2013-05-13  Peter Collingbourne  <pcc@google.com>
25102
25103         * math/atest-exp2.c (get_log2): Remove const attribute.
25104
25105 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25106
25107         * math/libm-test.inc (struct test_f_l_data): New type.
25108         (RUN_TEST_LOOP_f_l): New macro.
25109         (lrint_test_data): New variable.
25110         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25111         (lrint_tonearest_test_data): New variable.
25112         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25113         (lrint_towardzero_test_data): New variable.
25114         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25115         (lrint_downward_test_data): New variable.
25116         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25117         (lrint_upward_test_data): New variable.
25118         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25119         (lround_test_data): New variable.
25120         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25121
25122 2013-05-15  Peter Collingbourne  <pcc@google.com>
25123
25124         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25125         (EXTRACT_WORDS64) Use where appropriate.
25126         (INSERT_WORDS64) Likewise.
25127
25128         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25129         constraints with x constraints.
25130         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25131
25132         * malloc/obstack.c (_obstack_compat): Add initializer.
25133
25134 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25135
25136         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25137         si_trapno and add si_addr_lsb to _sifields.sigfault.
25138         (si_trapno): Remove macro.
25139         (si_addr_lsb): Define new macro.
25140         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25141
25142 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25143
25144         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25145         instead of TEST_f_l.
25146         (llrint_test_tonearest): Likewise.
25147         (llrint_test_towardzero): Likewise.
25148         (llrint_test_downward): Likewise.
25149         (llrint_test_upward): Likewise.
25150         (llround_test): Likewise.
25151
25152         * math/libm-test.inc (struct test_f_i_data): Add comment.
25153         (RUN_TEST_LOOP_f_b): New macro.
25154         (RUN_TEST_LOOP_f_b_tg): Likewise.
25155         (finite_test_data): New variable.
25156         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25157         (isfinite_test_data): New variable.
25158         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25159         (isinf_test_data): New variable.
25160         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25161         (isnan_test_data): New variable.
25162         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25163         (isnormal_test_data): New variable.
25164         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25165         (issignaling_test_data): New variable.
25166         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25167         (signbit_test_data): New variable.
25168         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25169
25170         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25171         with INVALID_EXCEPTION.
25172         (acosh_test_data): Likewise.
25173         (asin_test_data): Likewise.
25174         (atanh_test_data): Likewise.
25175         (fmod_test_data): Likewise.
25176         (log_test_data): Likewise.
25177         (log10_test_data): Likewise.
25178         (log2_test_data): Likewise.
25179         (pow_test_data): Likewise.
25180         (sqrt_test_data): Likewise.
25181         (y0_test_data): Likewise.
25182         (y1_test_data): Likewise.
25183         (yn_test_data): Likewise.
25184
25185         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25186         function contents.
25187
25188         * math/libm-test.inc (struct test_ff_i_data): New type.
25189         (RUN_TEST_LOOP_ff_i_tg): New macro.
25190         (isgreater_test_data): New variable.
25191         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25192         (isgreaterequal_test_data): New variable.
25193         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25194         (isless_test_data): New variable.
25195         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25196         (islessequal_test_data): New variable.
25197         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25198         (islessgreater_test_data): New variable.
25199         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25200         (isunordered_test_data): New variable.
25201         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25202
25203 2013-05-14  David S. Miller  <davem@davemloft.net>
25204
25205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25206
25207 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25208
25209         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25210
25211         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25212         extra_test to int.
25213         (struct test_f_i_data): Change type of max_ulp to int.
25214
25215         * math/libm-test.inc (test_ffI_f1_data): New type.
25216         (RUN_TEST_LOOP_ffI_f1): New macro.
25217         (remquo_test_data): New variable.
25218         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25219
25220         * setjmp/tst-setjmp-fp.c: New file.
25221         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25222         (link-libm): New variable.
25223         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25224
25225         * math/libm-test.inc (struct test_f_i_data): New type.
25226         (RUN_TEST_LOOP_f_i): New macro.
25227         (RUN_TEST_LOOP_f_i_tg): Likewise.
25228         (fpclassify_test_data): New variable.
25229         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25230         (ilogb_test_data): New variable.
25231         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25232
25233         * math/libm-test.inc (scalbln_test): Correct function name in END
25234         call.
25235
25236         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25237         (RUN_TEST_LOOP_fI_f1): New macro.
25238         (frexp_test_data): New variable.
25239         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25240
25241         * math/libm-test.inc (struct test_fF_f1_data): New type.
25242         (RUN_TEST_LOOP_fF_f1): New macro.
25243         (modf_test_data): New variable.
25244         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25245
25246         * math/libm-test.inc (struct test_f_f1_data): New type.
25247         (RUN_TEST_LOOP_f_f1): New macro.
25248         (gamma_test_data): New variable.
25249         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25250         (lgamma_test_data): New variable.
25251         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25252
25253 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25254
25255         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25256         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25257         (main): Comment "tls" pseudo-hwcap.
25258
25259 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25260
25261         * math/libm-test.inc (struct test_fl_f_data): New type.
25262         (RUN_TEST_LOOP_fl_f): New variable.
25263         (scalbln_test_data): New variable.
25264         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25265
25266         * math/libm-test.inc (struct test_fi_f_data): New type.
25267         (RUN_TEST_LOOP_fi_f): New macro.
25268         (ldexp_test_data): New variable.
25269         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25270         (scalbn_test_data): New variable.
25271         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25272
25273         * math/libm-test.inc (struct test_c_f_data): New type.
25274         (RUN_TEST_LOOP_c_f): New macro.
25275         (cabs_test_data): New variable.
25276         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25277         (carg_test_data): New variable.
25278         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25279         (cimag_test_data): New variable.
25280         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25281         (creal_test_data): New variable.
25282         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25283
25284         * math/libm-test.inc (struct test_if_f_data): New type.
25285         (RUN_TEST_LOOP_if_f): New macro.
25286         (jn_test_data): New variable.
25287         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25288         (yn_test_data): New variable.
25289         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25290
25291         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25292
25293 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25294
25295         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25296         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25297
25298 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25299
25300         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25301         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25302         (bench-deps): Add bench-timing.h.
25303         * benchtests-bench-skeleton.c: Include bench-timing.h.
25304         (main): Use TIMING_* macros instead of clock_gettime.
25305         * benchtests/bench-timing.h: New file.
25306
25307         [BZ #14582]
25308         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25309         Renamed from _LIB_VERSION.
25310         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25311
25312 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25313
25314         * math/libm-test.inc (struct test_fff_f_data): New type.
25315         (RUN_TEST_LOOP_fff_f): New macro.
25316         (fma_test_data): New variable.
25317         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25318         (fma_towardzero_test_data): New variable.
25319         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25320         (fma_downward_test_data): New variable.
25321         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25322         (fma_upward_test_data): New variable.
25323         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25324
25325         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25326         (struct test_c_c_data): New type.
25327         (RUN_TEST_LOOP_c_c): New macro.
25328         (cacos_test_data): New variable.
25329         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25330         (cacosh_test_data): New variable.
25331         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25332         (casin_test_data): New variable.
25333         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25334         (casinh_test_data): New variable.
25335         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25336         (catan_test_data): New variable.
25337         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25338         (catanh_test_data): New variable.
25339         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25340         (ccos_test_data): New variable.
25341         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25342         (ccosh_test_data): New variable.
25343         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25344         (cexp_test_data): New variable.
25345         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25346         (clog_test_data): New variable.
25347         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25348         (clog10_test_data): New variable.
25349         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25350         (conj_test_data): New variable.
25351         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25352         (cproj_test_data): New variable.
25353         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25354         (csin_test_data): New variable.
25355         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25356         (csinh_test_data): New variable.
25357         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25358         (csqrt_test_data): New variable.
25359         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25360         (ctan_test_data): New variable.
25361         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25362         (ctan_tonearest_test_data): New variable.
25363         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25364         (ctan_towardzero_test_data): New variable.
25365         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25366         (ctan_downward_test_data): New variable.
25367         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25368         (ctan_upward_test_data): New variable.
25369         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25370         (ctanh_test_data): New variable.
25371         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25372         (ctanh_tonearest_test_data): New variable.
25373         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25374         (ctanh_towardzero_test_data): New variable.
25375         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25376         (ctanh_downward_test_data): New variable.
25377         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25378         (ctanh_upward_test_data): New variable.
25379         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25380         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25381         of BUILD_COMPLEX.
25382
25383         * math/libm-test.inc (struct test_ff_f_data): New type.
25384         (struct test_ff_f_data_nexttoward): Likewise.
25385         (RUN_TEST_LOOP_2_f): New macro.
25386         (RUN_TEST_LOOP_ff_f): Likewise.
25387         (atan2_test_data): New variable.
25388         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25389         (copysign_test_data): New variable.
25390         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25391         (fdim_test_data): New variable.
25392         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25393         (fmax_test_data): New variable.
25394         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25395         (fmin_test_data): New variable.
25396         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25397         (fmod_test_data): New variable.
25398         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25399         (hypot_test_data): New variable.
25400         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25401         (nextafter_test_data): New variable.
25402         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25403         (nexttoward_test_data): New variable.
25404         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25405         (pow_test_data): New variable.
25406         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25407         (pow_tonearest_test_data): New variable.
25408         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25409         (pow_towardzero_test_data): New variable.
25410         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25411         (pow_downward_test_data): New variable.
25412         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25413         (pow_upward_test_data): New variable.
25414         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25415         (remainder_test_data): New variable.
25416         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25417         (scalb_test_data): New variable.
25418         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25419         * sysdeps/i386/fpu/libm-test-ulps: Update.
25420
25421 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25422
25423         * math/libm-test.inc (fma_test): Use max_value instead of local
25424         variable fltmax.
25425         (nextafter_test): Likewise.
25426
25427         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25428         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25429         (acos_downward_test_data): New variable.
25430         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25431         (acos_upward_test_data): New variable.
25432         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25433         (acosh_test_data): New variable.
25434         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25435         (asin_test_data): New variable.
25436         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25437         (asin_tonearest_test_data): New variable.
25438         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25439         (asin_towardzero_test_data): New variable.
25440         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25441         (asin_downward_test_data): New variable.
25442         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25443         (asin_upward_test_data): New variable.
25444         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25445         (asinh_test_data): New variable.
25446         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25447         (atan_test_data): New variable.
25448         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25449         (atanh_test_data): New variable.
25450         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25451         (cbrt_test_data): New variable.
25452         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25453         (ceil_test_data): New variable.
25454         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25455         (cos_test_data): New variable.
25456         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25457         (cos_tonearest_test_data): New variable.
25458         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25459         (cos_towardzero_test_data): New variable.
25460         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25461         (cos_downward_test_data): New variable.
25462         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25463         (cos_upward_test_data): New variable.
25464         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25465         (cosh_test_data): New variable.
25466         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25467         (cosh_tonearest_test_data): New variable.
25468         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25469         (cosh_towardzero_test_data): New variable.
25470         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25471         (cosh_downward_test_data): New variable.
25472         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25473         (cosh_upward_test_data): New variable.
25474         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25475         (erf_test_data): New variable.
25476         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25477         (erfc_test_data): New variable.
25478         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25479         (exp_test_data): New variable.
25480         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25481         (exp_tonearest_test_data): New variable.
25482         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25483         (exp_towardzero_test_data): New variable.
25484         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25485         (exp_downward_test_data): New variable.
25486         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25487         (exp_upward_test_data): New variable.
25488         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25489         (exp10_test_data): New variable.
25490         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25491         (exp2_test_data): New variable.
25492         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25493         (expm1_test_data): New variable.
25494         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25495         (fabs_test_data): New variable.
25496         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25497         (floor_test_data): New variable.
25498         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25499         (j0_test_data): New variable.
25500         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25501         (j1_test_data): New variable.
25502         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25503         (log_test_data): New variable.
25504         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25505         (log10_test_data): New variable.
25506         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25507         (log1p_test_data): New variable.
25508         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25509         (log2_test_data): New variable.
25510         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25511         (logb_test_data): New variable.
25512         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25513         (logb_downward_test_data): New variable.
25514         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25515         (nearbyint_test_data): New variable.
25516         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25517         (rint_test_data): New variable.
25518         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25519         (rint_tonearest_test_data): New variable.
25520         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25521         (rint_towardzero_test_data): New variable.
25522         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25523         (rint_downward_test_data): New variable.
25524         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25525         (rint_upward_test_data): New variable.
25526         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25527         (round_test_data): New variable.
25528         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25529         (sin_test_data): New variable.
25530         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25531         (sin_tonearest_test_data): New variable.
25532         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25533         (sin_towardzero_test_data): New variable.
25534         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25535         (sin_downward_test_data): New variable.
25536         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25537         (sin_upward_test_data): New variable.
25538         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25539         (sinh_test_data): New variable.
25540         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25541         (sinh_tonearest_test_data): New variable.
25542         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25543         (sinh_towardzero_test_data): New variable.
25544         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25545         (sinh_downward_test_data): New variable.
25546         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25547         (sinh_upward_test_data): New variable.
25548         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25549         (sqrt_test_data): New variable.
25550         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25551         (tan_test_data): New variable.
25552         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25553         (tan_tonearest_test_data): New variable.
25554         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25555         (tan_towardzero_test_data): New variable.
25556         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25557         (tan_downward_test_data): New variable.
25558         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25559         (tan_upward_test_data): New variable.
25560         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25561         (tanh_test_data): New variable.
25562         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25563         (tgamma_test_data): New variable.
25564         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25565         (trunc_test_data): New variable.
25566         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25567         (y0_test_data): New variable.
25568         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25569         (y1_test_data): New variable.
25570         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25571         (significand_test_data): New variable.
25572         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25573
25574 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25575
25576         [BZ #12387]
25577         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25578
25579 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25580
25581         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25582
25583 2013-05-10  Andreas Jaeger  <aj@suse.de>
25584
25585         [BZ #15448]
25586         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25587         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25588
25589 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25590
25591         * math/gen-libm-test.pl (adjust_arg): New function.
25592         (special_functions): Handle generating output in both functions
25593         and arrays.
25594         (parse_args): Likewise.
25595         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25596         $in_func argument to parse_args.
25597         * math/libm-test.inc (struct test_f_f_data): New type.
25598         (IF_ROUND_INIT_): New macro.
25599         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25600         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25601         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25602         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25603         (ROUND_RESTORE_): Likewise.
25604         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25605         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25606         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25607         (ROUND_RESTORE_FE_UPWARD): Likewise.
25608         (RUN_TEST_LOOP_f_f): New macro.
25609         (acos_test_data): New variable.
25610         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25611         (acos_tonearest_test_data): New variable.
25612         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25613
25614 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25615
25616         * benchtests/bench-skeleton.c (startup): Fix coding style.
25617
25618 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25619
25620         [BZ #6809]
25621         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25622         negative infinity argument.
25623         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25624         negative infinity argument.
25625         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25626         negative infinity argument.
25627         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25628         domain errors.
25629
25630 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25631
25632         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25633         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25634         * iconv/iconv_prog.c (main): Likewise.
25635         * locale/programs/charmap-dir.c (charmap_readdir)
25636         (fopen_uncompressed): Likewise.
25637         * locale/programs/locfile.c (siblings_uncached)
25638         (write_locale_data): Use lstat64 instead of lstat.
25639         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25640         stat.
25641
25642 2013-05-10  Andreas Jaeger  <aj@suse.de>
25643
25644         [BZ #15395]
25645         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25646         localization.
25647         Include <locale.h>.
25648
25649 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25650
25651         * elf/dl-close.c (_dl_close_worker): Add comments.
25652
25653 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25654
25655         [BZ #15359]
25656         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25657         high part of pi/2.
25658         (__ieee754_rem_pio2l): Update comments.
25659
25660         [BZ #15429]
25661         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25662         high part of pi/2.
25663         (__ieee754_rem_pio2l): Update comments.
25664
25665         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25666         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25667
25668         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25669         M_PI_4l.
25670
25671         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25672         (M_PI_34_LOG10El): Likewise.
25673         (M_PI2_LOG10El): Likewise.
25674         (M_PI4_LOG10El): Likewise.
25675         (M_PI_LOG10El): Likewise.
25676
25677 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25678
25679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25680
25681 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25682
25683         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25684         (MINUS_ZERO_INIT): Likewise.
25685         (PLUS_INFTY_INIT): Likewise.
25686         (MINUS_INFTY_INIT): Likewise.
25687         (QNAN_VALUE_INIT): Likewise.
25688         (MAX_VALUE_INIT): Likewise.
25689         (MIN_VALUE_INIT): Likewise.
25690         (MIN_SUBNORM_VALUE_INIT): Likewise.
25691         (plus_zero): Initialize with PLUS_ZERO_INIT.
25692         (minus_zero): Initialize with MINUS_ZERO_INIT.
25693         (plus_infty): Initialize with PLUS_INFTY_INIT.
25694         (minus_infty): Initialize with MINUS_INFTY_INIT.
25695         (qnan_value): Initialize with QNAN_VALUE_INIT.
25696         (max_value): Initialize with MAX_VALUE_INIT.
25697         (min_value): Initialize with MIN_VALUE_INIT.
25698         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25699
25700         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25701         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25702         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25703         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25704
25705         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25706         (RUN_TEST_2_f): Likewise.
25707         (RUN_TEST_ff_f): Likewise.
25708         (RUN_TEST_fi_f): Likewise.
25709         (RUN_TEST_fl_f): Likewise.
25710         (RUN_TEST_fff_f): Likewise.
25711         (RUN_TEST_c_f): Likewise.
25712         (RUN_TEST_f_f1): Likewise.
25713         (RUN_TEST_fF_f1): Likewise.
25714         (RUN_TEST_fI_f1): Likewise.
25715         (RUN_TEST_ffI_f1): Likewise.
25716         (RUN_TEST_c_c): Likewise.
25717         (RUN_TEST_cc_c): Likewise.
25718         (RUN_TEST_f_i): Likewise.
25719         (RUN_TEST_f_i_tg): Likewise.
25720         (RUN_TEST_ff_i_tg): Likewise.
25721         (RUN_TEST_f_b): Likewise.
25722         (RUN_TEST_f_b_tg): Likewise.
25723         (RUN_TEST_f_l): Likewise.
25724         (RUN_TEST_f_L): Likewise.
25725         (RUN_TEST_sincos): Likewise.
25726         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25727         whether to show exceptions.  Do not include ");\n" in return
25728         value.
25729         (special_functions): Output call to RUN_TEST_sincos instead of
25730         check_float calls.  Update calls to new_test.
25731         (parse_args): Output call to single RUN_TEST_* macro instead of
25732         check_* calls and other assignments.  Update calls to new_test.
25733
25734         [BZ #2546]
25735         [BZ #2560]
25736         [BZ #5159]
25737         [BZ #15426]
25738         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25739         input to result for tgamma overflow.
25740         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25741         (gamma_coeff): New variable.
25742         (NCOEFF): New macro.
25743         (gamma_positive): New function.
25744         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25745         underflow here.  Use gamma_positive instead of exp (lgamma) for
25746         other arguments.
25747         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25748         (gamma_coeff): New variable.
25749         (NCOEFF): New macro.
25750         (gammaf_positive): New function.
25751         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25752         underflow here.  Use gamma_positive instead of exp (lgamma) for
25753         other arguments.
25754         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25755         (gamma_coeff): New variable.
25756         (NCOEFF): New macro.
25757         (gammal_positive): New function.
25758         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25759         underflow here.  Use gamma_positive instead of exp (lgamma) for
25760         other arguments.
25761         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25762         (gamma_coeff): New variable.
25763         (NCOEFF): New macro.
25764         (gammal_positive): New function.
25765         (__ieee754_gammal_r): Handle positive infinity, overflow and
25766         underflow here.  Handle NaN the same as positive infinity.  Remove
25767         check x < 0xffffffff for negative integers.  Use gamma_positive
25768         instead of exp (lgamma) for other arguments.
25769         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25770         (gamma_coeff): New variable.
25771         (NCOEFF): New macro.
25772         (gammal_positive): New function.
25773         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25774         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25775         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25776         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25777         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25778         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25779         * sysdeps/generic/math_private.h (__gamma_productf): New
25780         prototype.
25781         (__gamma_product): Likewise.
25782         (__gamma_productl): Likewise.
25783         * math/Makefile (libm-calls): Add gamma_product.
25784         * math/libm-test.inc (tgamma_test): Add more tests.
25785         * sysdeps/i386/fpu/libm-test-ulps: Update.
25786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25787
25788 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
25789
25790         * benchtests/bench-skeleton.c (main): Preheat CPU.
25791
25792 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
25793
25794         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25795
25796 2013-05-07  Roland McGrath  <roland@hack.frob.com>
25797
25798         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25799         and _dl_skip_args_internal.
25800
25801 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
25802
25803         * manual/message.texi (Message Translation): Talk about users.
25804         Message to key mapping impacts design.
25805
25806 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25807
25808         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25809
25810         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25811
25812         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25813         * sysdeps/wordsize-64/glob64.c: ... here.
25814
25815         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25816         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25817         New macros.
25818
25819         * debug/getlogin_r_chk.c: Moved to ...
25820         * login/getlogin_r_chk.c: ... here.
25821         * debug/Makefile (routines): Move getlogin_r_chk to ...
25822         * login/Makefile (routines): ... here.
25823         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25824         * login/Versions (libc: GLIBC_2.4): ... here.
25825
25826         * io/poll.c (__poll): Renamed from poll.
25827         Add libc_hidden_def.
25828         (poll): Define as weak alias.
25829
25830         * debug/ptsname_r_chk.c: Moved to ...
25831         * login/ptsname_r_chk.c: ... here.
25832         * debug/Makefile (routines): Move ptsname_r_chk to ...
25833         * login/Makefile (routines): ... here.
25834         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25835         * login/Versions (libc: GLIBC_2.4): ... here.
25836
25837         * posix/getlogin.c: Moved to ...
25838         * login/getlogin.c: ... here.
25839         * posix/getlogin_r.c: Moved to ...
25840         * login/getlogin_r.c: ... here.
25841         * posix/getlogin_r.c: Moved to ...
25842         * login/getlogin_r.c: ... here.
25843         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25844         * login/Makefile (routines): ... here.
25845         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25846         * login/Versions (libc: GLIBC_2.0): ... here.
25847
25848         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25849         (setrlimit): Define as weak alias.
25850
25851         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25852         Call __ names for open, ftruncate, and close.
25853         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25854         (truncate): Define as weak alias.
25855
25856 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
25857
25858         * math/gen-libm-test.pl (parse_args): Initialize x before each
25859         test of frexp, modf and remquo.
25860
25861         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25862         test signgam value.
25863
25864 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25865
25866         [BZ #15418]
25867         [BZ #15419]
25868         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25869         internal tests.
25870         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25871
25872 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25873
25874         * elf/dl-writev.h: New file.
25875         * elf/dl-misc.c: Include it.
25876         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25877         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25878
25879 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
25880
25881         * math/libm-test.inc (noXFails): Remove variable.
25882         (noXPasses): Likewise.
25883         (BUILD_COMPLEX_INT): Remove macro.
25884         (print_screen): Remove xfail argument.
25885         (print_screen_max_error): Likewise.
25886         (update_stats): Likewise.
25887         (print_max_error): Likewise.  Update calls to other affected
25888         functions.
25889         (print_complex_max_error): Likewise.
25890         (test_single_exception): Update calls to print_screen.
25891         (test_single_errno): Likewise.
25892         (check_float_internal): Remove xfail argument.  Update calls to
25893         other affected functions.
25894         (check_float): Likewise.
25895         (check_complex): Likewise.
25896         (check_int): Likewise.
25897         (check_long): Likewise.
25898         (check_bool): Likewise.
25899         (check_longlong): Likewise.
25900         (main): Don't print noXFails and noXPasses.
25901         * math/gen-libm-test.pl (top level): Don't mention expected
25902         failure handling in comment.
25903         (new_test): Don't handle expected failures.
25904         (parse_args): Don't mention expected failure handling in comment.
25905         (generate_testfile): Don't handle expected failures.
25906         (parse_ulps): Likewise.
25907         (print_ulps_file): Likewise.
25908         (get_failure): Remove function.
25909         (output_test): Don't handle expected failures.
25910         * make/README.libm-test: Don't mention expected failure handling.
25911
25912         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
25913         (minus_zero): Likewise.
25914         (plus_infty): Likewise.
25915         (minus_infty): Likewise.
25916         (qnan_value): Likewise.
25917         (max_value): Likewise.
25918         (min_value): Likewise.
25919         (min_subnorm_value): Likewise.
25920         (initialize): Do not initialize those variables dynamically.
25921
25922 2013-05-03  Roland McGrath  <roland@hack.frob.com>
25923
25924         * io/open.c (__open_2): Moved to ...
25925         * io/open_2.c: ... this new file.
25926         * io/open64.c (__open64_2): Moved to ...
25927         * io/open64_2.c: ... this new file.
25928         * io/openat.c (__openat_2): Moved to ...
25929         * io/openat_2.c: ... this new file.
25930         * io/openat64.c (__openat64_2): Moved to ...
25931         * io/openat64_2.c: ... this new file.
25932         * io/Makefile (routines): Add them.
25933         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25934         * sysdeps/unix/sysv/linux/open_2.c: File removed.
25935         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25936         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25937         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25938         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25939         (__openat64): Add hidden_ver.
25940         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25941         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25942
25943         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25944         Separately conditionalize setting of GLRO(dl_sysinfo) so
25945         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25946         as well, but the actual setting is only under [NEED_DL_SYSINFO].
25947
25948 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25949
25950         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25951         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25952         definition.
25953         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25954         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25955         (_libc_vdso_platform_setup): Add __vdso_time initialization.
25956         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25957         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25958
25959 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
25960
25961         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25962         test signgam value.
25963
25964         * math/libm-test.inc (hypot_test): Do not use
25965         IGNORE_ZERO_INF_SIGN.
25966
25967 2013-05-03  Andreas Jaeger  <aj@suse.de>
25968
25969         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25970         Linux 3.9.
25971         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25972         (PF_MAX): Adjust for VSOCK change.
25973
25974 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25975
25976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25977
25978 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
25979
25980         [BZ #15264]
25981         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25982         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25983         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25984
25985 2013-05-02  David S. Miller  <davem@davemloft.net>
25986
25987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25988
25989 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
25990
25991         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25992
25993 2013-05-01  Roland McGrath  <roland@hack.frob.com>
25994
25995         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25996
25997 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25998
25999         [BZ #14952]
26000         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26001         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26002         Use __attribute__ ((__gnu_inline__)).
26003         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26004         Don't use __attribute__ ((__gnu_inline__)).
26005
26006 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26007
26008         [BZ #15423]
26009         * math/s_catan.c (__catan): Handle small real or imaginary part of
26010         input specially to avoid spurious underflow.
26011         * math/s_catanf.c (__catanf): Likewise.
26012         * math/s_catanh.c (__catanh): Likewise.
26013         * math/s_catanhf.c (__catanhf): Likewise.
26014         * math/s_catanhl.c (__catanhl): Likewise.
26015         * math/s_catanl.c (__catanl): Likewise.
26016         * math/libm-test.inc (catan_test): Add more tests.
26017         (catanh_test): Likewise.
26018         * sysdeps/i386/fpu/libm-test-ulps: Update.
26019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26020
26021 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26022
26023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26024
26025 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26026
26027         [BZ #15416]
26028         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26029         accurately for denominator in atan2.
26030         * math/s_catanf.c (__catanf): Likewise.
26031         * math/s_catanh.c (__catanh): Likewise.
26032         * math/s_catanhf.c (__catanhf): Likewise.
26033         * math/s_catanhl.c (__catanhl): Likewise.
26034         * math/s_catanl.c (__catanl): Likewise.
26035         * math/libm-test.inc (catan_test): Add more tests.
26036         (catanh_test): Likewise.
26037         * sysdeps/i386/fpu/libm-test-ulps: Update.
26038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26039
26040 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26041
26042         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26043
26044         * benchtests/Makefile (bench): Remove slow benchmarks.
26045         * benchtests/atan-inputs: Add slow benchmark inputs.
26046         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26047         (BENCH_FUNC): Accept variant offset.
26048         (VARIANT): Define.
26049         * benchtests/bench-skeleton.c (main): Run benchmark for each
26050         variant.
26051         * benchtests/cos-inputs: Add slow benchmark inputs.
26052         * benchtests/exp-inputs: Likewise.
26053         * benchtests/pow-inputs: Likewise.
26054         * benchtests/sin-inputs: Likewise.
26055         * benchtests/slowatan-inputs: Remove.
26056         * benchtests/slowatan.c: Remove.
26057         * benchtests/slowcos-inputs: Remove.
26058         * benchtests/slowcos.c: Remove.
26059         * benchtests/slowexp-inputs: Remove.
26060         * benchtests/slowexp.c: Remove.
26061         * benchtests/slowpow-inputs: Remove.
26062         * benchtests/slowpow.c: Remove.
26063         * benchtests/slowsin-inputs: Remove.
26064         * benchtests/slowsin.c: Remove.
26065         * benchtests/slowtan-inputs: Remove.
26066         * benchtests/slowtan.c: Remove.
26067         * benchtests/tan-inputs: Add slow benchmark inputs.
26068         * scripts/bench.pl: Parse comments and directives.
26069
26070         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26071         in CPPFLAGS.
26072         ($(objpfx)bench-%.c): Remove *-ITER.
26073         * benchtests/bench-modf.c: Remove definition of ITER.
26074         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26075         (main): Loop for DURATION seconds instead of fixed number of
26076         iterations.
26077         * scripts/bench.pl: Don't expect iterations in parameters.
26078
26079 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26080
26081         * io/fchdir.c (__fchdir): Renamed from fchdir.
26082         (fchdir): Define as weak alias.
26083
26084 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26085
26086         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26087         (ERRNO_EDOM): Likewise.
26088         (ERRNO_ERANGE): Likewise.
26089         (noErrnoTests): New variable.
26090         (init_max_error): Set errno to 0.
26091         (test_single_errno): New function.
26092         (test_errno): Likewise.
26093         (check_float_internal): Call test_errno.  Set errno to 0.
26094         (check_complex): Refer to errno tests in comment.
26095         (check_int): Call test_errno.  Set errno to 0.
26096         (check_long): Likewise.
26097         (check_bool): Likewise.
26098         (check_longlong): Likewise.
26099         (cos_test): Use ERRNO_* flags for errno tests instead of
26100         check_int.
26101         (expm1_test): Likewise.
26102         (fmod_test): Likewise.
26103         (ilogb_test): Likewise.
26104         (lgamma_test): Likewise.
26105         (pow_test): Likewise.
26106         (remainder_test): Likewise.
26107         (sin_test): Likewise.
26108         (tan_test): Likewise.
26109         (yn_test): Likewise.
26110         (initialize): Set errno to 0.
26111         (main): Print number of errno tests.
26112         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26113
26114 2013-04-29  Andreas Jaeger  <aj@suse.de>
26115
26116         [BZ #15084]
26117         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26118         and RES_USEVC.
26119
26120         [BZ #15085]
26121         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26122         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26123         unimplemented.
26124
26125         [BZ #15380]
26126         * stdlib/random.c (__initstate): Return NULL if
26127         __initstate fails.
26128
26129         [BZ #15086]
26130         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26131         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26132         RES_SNGLKUPREOP.
26133
26134 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26135
26136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26137
26138 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26139
26140         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26141         of individual tests.
26142         (casin_test): Likewise.
26143         (casinh_test): Likewise.
26144
26145 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26146
26147         [BZ #15409]
26148         * math/s_catan.c (__catan): Handle arguments with large real or
26149         imaginary part separately without squaring.
26150         * math/s_catanf.c (__catanf): Likewise.
26151         * math/s_catanh.c (__catanh): Likewise.
26152         * math/s_catanhf.c (__catanhf): Likewise.
26153         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26154         and redefine.
26155         (__catanhl): Handle arguments with large real or imaginary part
26156         separately without squaring.
26157         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26158         and redefine.
26159         (__catanl): Handle arguments with large real or imaginary part
26160         separately without squaring.
26161         * math/libm-test.inc (catan_test): Add more tests.
26162         (catanh_test): Likewise.
26163         * sysdeps/i386/fpu/libm-test-ulps: Update.
26164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26165
26166 2013-04-27  Andreas Jaeger  <aj@suse.de>
26167
26168         [BZ #15007]
26169         * stdlib/stdlib.h: Update guards for qecvt.
26170         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26171         <stdlib.h>.
26172
26173 2013-04-27  Allan McRae  <allan@archlinux.org>
26174
26175         * sysdeps/i386/fpu/libm-test-ulps: Update.
26176
26177 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26178
26179         [BZ #15406]
26180         * math/s_catan.c: Include <float.h>.
26181         (__catan): Ensure underflow exception occurs for underflowed
26182         result.
26183         * math/s_catanf.c: Include <float.h>.
26184         (__catanf): Ensure underflow exception occurs for underflowed
26185         result.
26186         * math/s_catanh.c: Include <float.h>.
26187         (__catanh): Ensure underflow exception occurs for underflowed
26188         result.
26189         * math/s_catanhf.c: Include <float.h>.
26190         (__catanhf): Ensure underflow exception occurs for underflowed
26191         result.
26192         * math/s_catanhl.c: Include <float.h>.
26193         (__catanhl): Ensure underflow exception occurs for underflowed
26194         result.
26195         * math/s_catanl.c: Include <float.h>.
26196         (__catanl): Ensure underflow exception occurs for underflowed
26197         result.
26198         * math/libm-test.inc (catan_test): Add more tests.
26199         (catanh_test): Likewise.
26200
26201         [BZ #15405]
26202         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26203         underflowed result.
26204         * math/s_ccoshf.c (__ccoshf): Likewise.
26205         * math/s_ccoshl.c (__ccoshl): Likewise.
26206         * math/s_csin.c (__csin): Likewise.
26207         * math/s_csinf.c (__csinf): Likewise.
26208         * math/s_csinh.c (__csinh): Likewise.
26209         * math/s_csinhf.c (__csinhf): Likewise.
26210         * math/s_csinhl.c (__csinhl): Likewise.
26211         * math/s_csinl.c (__csinl): Likewise.
26212         * math/libm-test.inc (ccos_test): Add more tests.
26213         (ccosh_test): Likewise.
26214         (csin_test): Likewise.
26215         (csinh_test): Likewise.
26216
26217 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26218
26219         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26220         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26221         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26222         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26223         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26224         powerpc/power5+/fpu folders.
26225         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26226
26227
26228 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26229
26230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26231
26232 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26233
26234         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26235         additions to variable.
26236         [$(config-machine) = x86_64] (modules-names): Likewise.
26237         ($(objpfx)tst-audit3): Remove dependency.
26238         ($(objpfx)tst-audit3.out): Likewise.
26239         ($(objpfx)tst-audit4): Likewise.
26240         ($(objpfx)tst-audit4.out): Likewise.
26241         ($(objpfx)tst-audit5): Likewise.
26242         ($(objpfx)tst-audit5.out): Likewise.
26243         ($(objpfx)tst-audit6): Likewise.
26244         ($(objpfx)tst-audit6.out): Likewise.
26245         ($(objpfx)tst-audit7): Likewise.
26246         ($(objpfx)tst-audit7.out): Likewise.
26247         (tst-audit3-ENV): Remove variable.
26248         (tst-audit4-ENV): Likewise.
26249         (tst-audit5-ENV): Likewise.
26250         (tst-audit6-ENV): Likewise.
26251         (tst-audit7-ENV): Likewise.
26252         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26253         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26254         addition to variable.
26255         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26256         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26257         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26258         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26259         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26260         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26261         tst-audit3, tst-audit4 and tst-audit5.
26262         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26263         tst-audit6 and tst-audit7.
26264         [$(subdir) = elf] (modules-names): Add audit modules for those
26265         tests.
26266         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26267         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26268         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26269         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26270         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26271         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26272         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26273         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26274         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26275         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26276         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26277         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26278         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26279         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26280         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26281         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26282         Likewise.
26283         [$(subdir) = elf && $(config-cflags-avx) = yes]
26284         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26285         [$(subdir) = elf && $(config-cflags-avx) = yes]
26286         (CFLAGS-tst-auditmod4a.c): Likewise.
26287         [$(subdir) = elf && $(config-cflags-avx) = yes]
26288         (CFLAGS-tst-auditmod4b.c): Likewise.
26289         [$(subdir) = elf && $(config-cflags-avx) = yes]
26290         (CFLAGS-tst-auditmod6b.c): Likewise.
26291         [$(subdir) = elf && $(config-cflags-avx) = yes]
26292         (CFLAGS-tst-auditmod6c.c): Likewise.
26293         [$(subdir) = elf && $(config-cflags-avx) = yes]
26294         (CFLAGS-tst-auditmod7b.c): Likewise.
26295         * elf/tst-audit3.c: Move to ...
26296         * sysdeps/x86_64/tst-audit3.c: ... here.
26297         * elf/tst-audit4.c: Move to ...
26298         * sysdeps/x86_64/tst-audit4.c: ... here.
26299         * elf/tst-audit5.c: Move to ...
26300         * sysdeps/x86_64/tst-audit5.c: ... here.
26301         * elf/tst-audit6.c: Move to ...
26302         * sysdeps/x86_64/tst-audit6.c: ... here.
26303         * elf/tst-audit7.c: Move to ...
26304         * sysdeps/x86_64/tst-audit7.c: ... here.
26305         * elf/tst-auditmod3a.c: Move to ...
26306         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26307         * elf/tst-auditmod3b.c: Move to ...
26308         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26309         * elf/tst-auditmod4a.c: Move to ...
26310         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26311         * elf/tst-auditmod4b.c: Move to ...
26312         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26313         * elf/tst-auditmod5a.c: Move to ...
26314         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26315         * elf/tst-auditmod5b.c: Move to ...
26316         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26317         * elf/tst-auditmod6a.c: Move to ...
26318         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26319         * elf/tst-auditmod6b.c: Move to ...
26320         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26321         * elf/tst-auditmod6c.c: Move to ...
26322         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26323         * elf/tst-auditmod7a.c: Move to ...
26324         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26325         * elf/tst-auditmod7b.c: Move to ...
26326         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26327
26328 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26329
26330         [BZ #15366]
26331         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26332         define unconditionally.
26333         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26334         define unconditionally.
26335         (INT8_C, INT16_C, etc.): Likewise.
26336
26337 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26338
26339         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26340         __ehdr_start with hidden visibility.
26341
26342         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26343
26344 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26345
26346         * math/libm-test.inc (cos_test): Use accurate hex constants.
26347         (sincost_test): Likewise.
26348
26349 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26350
26351         * math/libm-test.inc (catan_test): Add more tests.
26352         (catanh_test): Likewise.
26353
26354         * math/s_catanf.c (__catanf): Use suffixed floating-point
26355         constants.
26356         * math/s_catanhf.c (__catanhf): Likewise.
26357         * math/s_catanhl.c (__catanhl): Likewise.
26358         * math/s_catanl.c (__catanl): Likewise.
26359
26360         [BZ #15394]
26361         * math/s_catan.c (__catan): Calculate imaginary part of result
26362         with log1p not log unless computing log of number close to 0.
26363         * math/s_catanf.c (__catanf): Likewise.
26364         * math/s_catanl.c (__catanl): Likewise.
26365         * math/s_catanh.c (__catanh): Calculate real part of result with
26366         log1p not log unless computing log of number close to 0.
26367         * math/s_catanhf.c (__catanhf): Likewise.
26368         * math/s_catanhl.c (__catanhl): Likewise.
26369         * math/libm-test.inc (catan_test): Add more tests.
26370         (catanh_test): Likewise.
26371         * sysdeps/i386/fpu/libm-test-ulps: Update.
26372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26373
26374 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26375
26376         * benchtests/Makefile: Mention files in which fast and slow
26377         paths of math functions are implemented.
26378
26379 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26380
26381         * sysdeps/posix/timespec_get.c: New file.
26382
26383 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26384
26385         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26386         POWER.
26387         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26388         for POWER.
26389         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26390         powerpc/power5/fpu folders.
26391         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26392         * benchtests/Makefile: Add modf testcase.
26393         * benchtests/bench-modf.c: New file: Benchmark test for mo
26394
26395 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26396
26397         [BZ #14888]
26398         * time/Makefile (tests): Add tst-strptime-whitespace.
26399         * time/strptime_l.c (get_number): Use ISSPACE.
26400         (__strptime_internal): Likewise.
26401         * time/tst-strptime-whitespace.c: New test case.
26402
26403 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26404
26405         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26406         member.
26407         (_nss_files_init): Set it here.
26408
26409 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26410
26411         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26412         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26413         unsigned.
26414
26415 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26416
26417         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26418
26419 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26420
26421         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26422         size just once.
26423
26424 2013-04-21  David S. Miller  <davem@davemloft.net>
26425
26426         * po/ru.po: Update Russion translation from translation project.
26427
26428 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26429
26430         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26431         and setfsgid.
26432
26433 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26434
26435         * configure.in: Remove i386 configure warning. Remove i386 case.
26436         * configure: Regenerate.
26437         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26438         Add example to error message.
26439         * sysdeps/i386/configure: Regenerate.
26440
26441 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26442
26443         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26444         slowtan.
26445         * benchtests/cos-inputs: New file.
26446         * benchtests/slowcos-inputs: New file.
26447         * benchtests/slowcos.c: New file.
26448         * benchtests/slowtan-inputs: New file.
26449         * benchtests/slowtan.c: New file.
26450         * benchtests/tan-inputs: New file.
26451
26452 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26453
26454         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26455         considered kosher.
26456
26457 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26458
26459         * benchtests/Makefile: Include cppflags-iterator.mk to add
26460         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26461
26462         * Makefile.in (bench-clean): New target.
26463         * benchtests/Makefile (bench-clean): Likewise.
26464
26465 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26466
26467         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26468
26469 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26470
26471         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26472
26473 2013-04-15  Andreas Schwab  <schwab@suse.de>
26474
26475         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26476         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26477         * nscd/pwdcache.c (cache_addpw): Likewise.
26478         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26479         more than recsize.
26480
26481 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26482
26483         * benchtests/Makefile (bench): Write all output to
26484         bench-out.tmp together.
26485
26486 2013-04-15  Andreas Schwab  <schwab@suse.de>
26487
26488         * nscd/nscd.c (main): Don't fork again after closing files.
26489
26490 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26491
26492         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26493
26494         * benchtests/Rules (bench-deps): Collect dependencies into a
26495         single variable.  Add Makefile to dependencies.
26496         ($(objpfx)bench-%.c): Depend on bench-deps.
26497
26498 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26499             Xavier Roche  <roche+kml2@exalead.com>
26500
26501         [BZ #15361]
26502         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26503         just that it's a file descriptor.
26504         * manual/llio.texi (Synchronizing AIO Operations): Update description
26505         for EBADF error from aio_fsync.
26506
26507 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26508
26509         * Rules (bench): Move target definition...
26510         * benchtests/Makefile: ... here.
26511
26512 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26513
26514         * math/libm-test.inc (cos_test): Fix PI/2 test.
26515         (sincos_test): Likewise.
26516         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26517         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26518
26519 2013-04-11  Andreas Schwab  <schwab@suse.de>
26520
26521         [BZ #13988]
26522         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26523         accept exponent character only when digits were seen.
26524         * stdio-common/Makefile (tests): Add bug26.
26525         * stdio-common/bug26.c: New file.
26526
26527         [BZ #14293]
26528         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26529         non-freeable.
26530
26531 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26532
26533         * Makeconfig (rtld-prefix): Define built linker prefix.
26534         * Rules (run-bench): Use it.
26535         * math/Makefile (run-regen-ulps): Likewise.
26536
26537         * Rules (bench): Remove eval.
26538
26539 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26540             Roland McGrath  <roland@hack.frob.com>
26541             Ondrej Bilka  <neleai@seznam.cz>
26542
26543         [BZ #15346]
26544         * time/getdate.c: Include ctype.h and alloca.h.
26545         (__getdate_r): Trim leading and trailing spaces of input.
26546         * time/tst-getdate.c (tests): Add tests with leading and
26547         trailing spaces.
26548
26549 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26550
26551         [BZ #14280]
26552         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26553         when computing value.
26554
26555 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26556
26557         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26558         Use testrun.sh to run libm tests.
26559
26560         [BZ #15309]
26561         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26562
26563 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26564
26565         [BZ #15264]
26566         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26567
26568 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26569
26570         * Makefile.in (regen-ulps): New target.
26571         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26572         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26573         [ifneq (no,$(PERL)] (regen-ulps): New target.
26574         [ifeq (no,$(PERL)] (regen-ulps): New target.
26575         * math/libm-test.inc (ulps_file_name): Define.
26576         (output_dir): New variable.
26577         (options): Add "output-dir" option.
26578         (parse_opt): Handle 'o' case.
26579         (main): If output_dir is non-NULL use it as a prefix
26580         otherwise use "".
26581         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26582
26583 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26584
26585         [BZ #10060, #10062]
26586         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26587         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26588         fail configure if __sync_val_compare_and_swap is not inlined.
26589         * sysdeps/i386/configure: Regenerate.
26590         * configure.in: Build for i686 when configured for i386.
26591         * configure: Regenerate.
26592         * README: Remove i386 reference.
26593
26594 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26595
26596         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26597         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26598
26599 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26600
26601         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26602         (lmsnanval): New variables.
26603         (F): Add conversion tests.
26604         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26605         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26606
26607         * stdio-common/tstdiomisc.c (F): Properly collect individual
26608         tests' results.
26609
26610         [BZ #14686, #15336]
26611         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26612         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26613         Instead, use input NaN values or generate a qNaN by arithmetic
26614         operation.  Also fix bugs to comply with the standard.
26615         * math/libm-test.inc (remainder_test): Add more tests.
26616
26617         [BZ #15335, #15342]
26618         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26619         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26620         input NaN values or generate a qNaN by arithmetic operation.
26621
26622         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26623         unreachable code.
26624
26625         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26626         definitions.
26627
26628 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26629
26630         [BZ #14478]
26631         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26632         underflowed result.
26633         * math/s_cexpf.c (__cexpf): Likewise.
26634         * math/s_cexpl.c (__cexpl): Likewise.
26635         * math/libm-test.inc (cexp_test): Add more tests.
26636
26637 2013-04-03  Andreas Schwab  <schwab@suse.de>
26638
26639         [BZ #15330]
26640         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26641         order arrays from heap if bigger than alloca cutoff.
26642
26643 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26644
26645         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26646         (SNAN_TESTS_double): Refer to GCC PR56831.
26647         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26648         GCC PR56828.
26649
26650 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26651
26652         * Rules (bench): Move bench.out after the run is complete.
26653
26654         * Rules (bench): Echo currently running benchmark.
26655
26656         * benchtests/Makefile (bench): Add atan and slowatan.
26657         * benchtests/atan-inputs: New file.
26658         * benchtests/slowatan-inputs: New file.
26659         * benchtests/slowatan.c: New file.
26660
26661         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26662         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26663         its value.
26664
26665         [BZ #15305]
26666         * sysdeps/unix/sysv/linux/kernel-features.h
26667         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26668         __ASSUME_XFS_RESTRICTED_CHOWN.
26669         * sysdeps/unix/sysv/linux/pathconf.c
26670         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26671         Save and restore errno.
26672
26673 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26674
26675         [BZ #15327]
26676         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26677         arguments using __kernel_casinh.
26678         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26679         arguments using __kernel_casinhf.
26680         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26681         arguments using __kernel_casinhl.
26682         * math/libm-test.inc (cacosh_test): Add more tests.
26683         * sysdeps/i386/fpu/libm-test-ulps: Update.
26684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26685
26686 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26687
26688         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26689         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26690
26691         * bench/Makefile (bench): Add sin and slowsin.
26692         * benchtests/sin-inputs: New file.
26693         * benchtests/slowsin-inputs: New file.
26694         * benchtests/slowsin.c: New file.
26695
26696         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26697         (bench): Add slowexp and slowpow.
26698         (exp-ITER): Increase iterations.
26699         (pow-ITER): Likewise.
26700         * benchtests/exp-inputs: Change input.
26701         * benchtests/pow-inputs: Likewise.
26702         * benchtests/slowexp-inputs: New file.
26703         * benchtests/slowexp.c: New file.
26704         * benchtests/slowpow-inputs: New file.
26705         * benchtests/slowpow.c: New file.
26706
26707 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26708
26709         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26710         instructions.
26711         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26712         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26713         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26714         * benchtests/Makefile: Add rint benchtest.
26715         * benchtests/rint-inputs: Input for rint benchtest.
26716
26717 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26718
26719         * Versions.def (libm): Add GLIBC_2.18.
26720         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26721         hidden libm prototypes.
26722         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26723         * math/Makefile (libm-calls): Add s_issignaling.
26724         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26725         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26726         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26727         declaration.
26728         * math/math.h [__USE_GNU] (issignaling): New macro.
26729         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26730         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26731         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26732         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26733         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26734         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26735         * manual/arith.texi (issignaling): New section.
26736         * manual/libm-err-tab.pl (@all_functions): Update comment.
26737         * math/gen-libm-test.pl (parse_args): Apply special handling for
26738         issignaling.
26739         * math/libm-test.inc (print_float, issignaling_test): New
26740         functions.
26741         (check_float_internal): Add issignaling checks.
26742         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26743         default definition.
26744         * sysdeps/powerpc/math-tests.h: New file.
26745         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26746         tests.
26747         * math/test-snan.c (TEST_FUNC): Likewise.
26748
26749 2013-03-30  David S. Miller  <davem@davemloft.net>
26750
26751         * po/de.po: Update from translation team.
26752
26753 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26754
26755         [BZ #10357]
26756         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26757         imaginary part less than 1.0 and real part less than 0.5
26758         specially.
26759         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26760         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26761         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26762         (cacos_test): Add more tests.
26763         (casin_test): Likewise.
26764         (casinh_test): Likewise.
26765         * sysdeps/i386/fpu/libm-test-ulps: Update.
26766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26767
26768 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26769
26770         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26771         ONE with its value.
26772
26773         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26774         (__pow_mp): Replace ONE and MONE with their values.
26775         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26776         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26777         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26778         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26779         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26780         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26781
26782         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26783
26784         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26785         (__pow_mp): Replace ZERO and MZERO with their values.
26786         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26787         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26788         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26789         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26790         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26791         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26792         (__sqr): Likewise.
26793
26794         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26795
26796         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26797
26798 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26799
26800         * include/stdlib.h [!SHARED] (__call_tls_dtors):
26801         Declare with __attribute__ ((weak)).
26802         * stdlib/exit.c (__libc_atexit) [!SHARED]:
26803         Call __call_tls_dtors only if it's not NULL.
26804
26805 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26806
26807         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26808         didn't do it already, then set _dl_phdr and _dl_phnum based on the
26809         magic __ehdr_start linker symbol if it's defined.
26810         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26811         them up here if it was already done.
26812
26813         * elf/dl-support.c (_dl_phdr): Make pointer to const.
26814         (_dl_aux_init): Use const in cast when setting it.
26815         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26816         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26817         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26818
26819         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26820         Declare them here.
26821         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26822         * csu/libc-tls.c: Nor here.
26823         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26824
26825         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26826         (__libc_message): Never call vsyslog.
26827
26828 2013-03-28  Alan Modra  <amodra@gmail.com>
26829
26830         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26831         Define as empty.
26832         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26833         Likewise.
26834
26835 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26836
26837         [BZ #15214]
26838         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26839         underflow.
26840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26841
26842 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26843
26844         [BZ #15304]
26845         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26846         Don't add gid passed as argument.
26847
26848         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26849
26850 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
26851
26852         [BZ #15307]
26853         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26854         imaginary part between 1.0 and 1.5 and real part less than 0.5
26855         specially.
26856         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26857         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26858         * math/libm-test.inc (cacos_test): Add more tests.
26859         (casin_test): Likewise.
26860         (casinh_test): Likewise.
26861         * sysdeps/i386/fpu/libm-test-ulps: Update.
26862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26863
26864 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26865
26866         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26867         constants.
26868         (norm): Likewise.
26869         (denorm): Likewise.
26870         (__dbl_mp): Likewise.
26871         (add_magnitudes): Likewise.
26872         (sub_magnitudes): Likewise.
26873         (__add): Likewise.
26874         (__sub): Likewise.
26875         (__mul): Likewise.
26876         (__sqr): Likewise.
26877         (__inv): Likewise.
26878         (__dvd): Likewise.
26879
26880         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26881         commented code.
26882         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26883         (__dubcos): Likewise.
26884         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26885         (__ieee754_acos): Likewise.
26886         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26887         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26888         (__exp1): Likewise.
26889         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26890         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26891         (log1): Likewise.
26892         (my_log2): Likewise.
26893         (checkint): Likewise.
26894         * sysdeps/ieee754/dbl-64/e_remainder.c
26895         (__ieee754_remainder): Likewise.
26896         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26898         (bsloww): Likewise.
26899         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26900
26901         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26902         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26903         MANTISSA_STORE_T to store computations on mantissa.  Use
26904         macros for rounding and division.
26905         (denorm): Likewise.
26906         (__dbl_mp): Likewise.
26907         (add_magnitudes): Likewise.
26908         (sub_magnitudes): Likewise.
26909         (__mul): Likewise.
26910         (__sqr): Likewise.
26911         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26912         powers of two in terms of TWOPOW macro.
26913         (mp_no): Make type of mantissa as MANTISSA_T.
26914         [!RADIXI]: Define RADIXI.
26915         [!TWO52]: Define TWO52.
26916         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26917
26918 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26919
26920         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26921         llroundl symbol when building for PPC32.
26922
26923 2013-03-24  Mark H Weaver  <mhw@netris.org>
26924
26925         * manual/arith.texi (Normalization Functions): Fix prototypes for
26926         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26927
26928 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26929
26930         [BZ #13889]
26931         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26932         high value to check if expl overflow.
26933         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26934         to check for underflow and overflow.
26935         * math/libm-test.inc: Add exp test.
26936
26937 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
26938
26939         [BZ #11120]
26940         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26941         with NOT_IN_libc.
26942
26943 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26944
26945         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26946         symbol.
26947
26948 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26949
26950         * math/gen-libm-test.pl (parse_args, special_functions): Properly
26951         wrap blocks consisting of several statements.
26952
26953         * sysdeps/generic/math-tests.h: New file.
26954         * sysdeps/i386/fpu/math-tests.h: Likewise.
26955         * math/test-snan.c: Include it.
26956         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26957
26958 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26959
26960         [BZ #15285]
26961         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26962         (__ieee754_j0l): Do not improve calculations using cos of twice
26963         input for inputs above LDBL_MAX / 2.0L.
26964         (__ieee754_y0l): Likewise.
26965         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26966         (__ieee754_j1l): Do not improve calculations using cos of twice
26967         input for inputs above LDBL_MAX / 2.0L.
26968         (__ieee754_y1l): Likewise.
26969         * math/libm-test.inc (j0_test): Add another test.
26970         (j1_test): Likewise.
26971         (y0_test): Likewise.
26972         (y1_test): Likewise.
26973         * sysdeps/i386/fpu/libm-test-ulps: Update.
26974
26975 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26976
26977         * Rules ($(objpfx)bench-%.c): Include code from a C source
26978         file.
26979
26980 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26981
26982         [BZ #15287]
26983         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26984         imaginary part 1.0 and real part less than 0.5 specially.
26985         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26986         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26987         * math/libm-test.inc (cacos_test): Add more tests.
26988         (casin_test): Likewise.
26989         (casinh_test): Likewise.
26990         * sysdeps/i386/fpu/libm-test-ulps: Update.
26991         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26992
26993 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26994
26995         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26996         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26997
26998 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
26999
27000         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27001         * config.make.in (config-cflags-sse4): Remove variable.
27002         (config-cflags-avx): Likewise.
27003         (config-cflags-sse2avx): Likewise.
27004         (config-cflags-novzeroupper): Likewise.
27005         (config-asflags-i686): Likewise.
27006         (have-mfma4): Likewise.
27007         (have-as-vis3): Likewise.
27008         (MIG): Likewise.
27009         * configure.in (MIG): Do not AC_SUBST.
27010         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27011         (libc_cv_cc_sse4): Do not AC_SUBST.
27012         (libc_cv_cc_avx): Likewise.
27013         (libc_cv_cc_sse2avx): Likewise.
27014         (libc_cv_cc_novzeroupper): Likewise.
27015         (libc_cv_cc_fma4): Likewise.
27016         (libc_cv_as_i686): Likewise.
27017         (libc_cv_sparc_as_vis3): Likewise.
27018         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27019         LIBC_CONFIG_VAR.
27020         (config-asflags-i686): Likewise.
27021         (config-cflags-avx): Likewise.
27022         (config-cflags-sse2avx): Likewise.
27023         (have-mfma4): Likewise.
27024         (config-cflags-novzeroupper): Likewise.
27025         * sysdeps/mach/configure.in (MIG): Likewise.
27026         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27027         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27028         LIBC_CONFIG_VAR.
27029         (config-cflags-avx): Likewise.
27030         (config-cflags-sse2avx): Likewise.
27031         (have-mfma4): Likewise.
27032         (config-cflags-novzeroupper): Likewise.
27033         * configure: Regenerated.
27034         * sysdeps/i386/configure: Likewise.
27035         * sysdeps/mach/configure: Likewise.
27036         * sysdeps/sparc/configure: Likewise.
27037         * sysdeps/x86_64/configure: Likewise.
27038
27039 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27040
27041         [BZ #14812]
27042         * locale/programs/localedef.c (options): Put N_ translation marker
27043         on argument names, not just descriptions.
27044
27045 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27046
27047         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27048
27049 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27050
27051         [BZ #14176]
27052         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27053
27054 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27055
27056         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27057         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27058         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27059         [!BEFORE_ABORT] (before_abort): New function.
27060         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27061         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27062         (writev_for_fatal): New function.
27063         (WRITEV_FOR_FATAL): New macro; call that.
27064         (backtrace_and_maps): New function.
27065         (BEFORE_ABORT): New macro; call that.
27066         (struct str_list): Type removed.
27067         (__libc_message, __libc_fatal): Functions removed.
27068         Include <sysdeps/posix/libc_fatal.c> instead.
27069
27070 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27071
27072         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27073         constants.
27074         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27075         double constants.
27076
27077 2013-03-19  Andreas Schwab  <schwab@suse.de>
27078
27079         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27080         * sysdeps/gnu/configure: Regenerate.
27081
27082         * configure.in: Substitute libc_cv_rtlddir.
27083         * configure: Regenerate.
27084         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27085         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27086         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27087         * elf/Makefile (install-others, CFLAGS-interp.c)
27088         (ldso_install, common-ldd-rewrite): Likewise.
27089         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27090         $(inst_slibdir)/$(rtld-installed-name).
27091         * scripts/rellns-sh: Add -p option.
27092         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27093         for source.
27094
27095 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27096
27097         * manual/nptl.texi: Renamed to ...
27098         * manual/threads.texi: ... this.
27099         * manual/Makefile (chapters): Update.
27100
27101 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27102
27103         [BZ #14812]
27104         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27105         on argument names, not just descriptions.
27106         * malloc/memusagestat.c (options): Likewise.
27107         * nss/getent.c (options): Likewise.
27108
27109 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27110
27111         [BZ #14812]
27112         * iconv/iconv_prog.c (options): Put N_ translation marker
27113         on argument names, not just descriptions.
27114         * iconv/iconvconfig.c (options): Likewise.
27115
27116 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27117
27118         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27119         implementation which is faster on all x86_64 architectures.
27120         Tested on AMD, Intel Nehalem, SNB, IVB.
27121         * sysdeps/x86_64/strnlen.S: Likewise.
27122
27123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27124         Remove all multiarch strlen and strnlen versions.
27125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27126         Remove strlen and strnlen related parts.
27127
27128         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27129         Inline strlen part.
27130         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27131
27132         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27133         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27134         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27135         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27136         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27137         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27138
27139 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27140
27141         * manual/memory.texi (Malloc Tunable Parameters):
27142         Sort parameters alphabetically. Add comments for missing entries.
27143
27144 2013-03-17  David S. Miller  <davem@davemloft.net>
27145
27146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27147
27148 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27149
27150         [BZ #15283]
27151         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27152         for arguments at most half maximum finite value.
27153         * math/libm-test.inc (j0_test): Add more tests.
27154         (j1_test): Likewise.
27155         (y0_test): Likewise.
27156         (y1_test): Likewise.
27157         * sysdeps/i386/fpu/libm-test-ulps: Update.
27158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27159
27160         [BZ #14155]
27161         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27162         1 / x and functions P and Q for arguments above 0x1p256L.
27163         (__ieee754_y0l): Likewise.
27164         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27165         (__ieee754_y1l): Likewise.
27166         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27167         (j1_test): Likewise.
27168         (y0_test): Likewise.
27169         (y1_test): Likewise.
27170
27171 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27172
27173         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27174         variable.
27175
27176 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27177
27178         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27179         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27180         zero since it's initialized to EXEC_PAGESIZE.
27181
27182         * sysdeps/unix/sysv/linux/ldsodefs.h
27183         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27184         * sysdeps/generic/ldsodefs.h: ... here.
27185
27186 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27187
27188         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27189
27190         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27191         math/test-snan.c.
27192         * math/test-snan.c: Renamed from
27193         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27194         * math/Makefile (tests): Add test-snan.
27195         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27196         test-powerpc-snan.
27197
27198         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27199         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27200         functions.
27201         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27202         __builtin_nan family of functions.
27203         * math/libm-test.inc (initialize): Initialize qnan_value with
27204         __builtin_nan family of functions.
27205         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27206         Remove variables.
27207         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27208         Remove functions.
27209         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27210         storage class.  Initialize qNaN_var and sNaN_var with
27211         __builtin_nan and __builtin_nans families of functions,
27212         respectively.
27213
27214         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27215         (sqrt_test): Remove duplicate test with qNaN input.
27216         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27217         (round_test, signbit_test, significand_test): Note missing +/-Inf
27218         as well as qNaN tests.
27219
27220         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27221         qNaN_var.  Fix a few strings, too.
27222         * math/libm-test.inc (nan_value): Rename to qnan_value.
27223         * math/gen-libm-test.pl (%beautify): Adjust to that.
27224         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27225         * math/test-misc.c (main): Likewise.
27226         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27227         to __qnan_bytes, and __qnan_union, respectively.
27228         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27229         Likewise.
27230         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27231         and lqnanval, respectively.
27232         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27233         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27234         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27235         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27236
27237         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27238         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27239         doubles.
27240
27241         * math/test-misc.c (main): Fix copy'n'pastos.
27242         * misc/tst-efgcvt.c (special): Likewise.
27243
27244         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27245         Remove declarations.
27246
27247 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27248
27249         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27250         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27251         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27252         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27253
27254 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27255
27256         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27257         macro to return vdso values correctly in IFUNC implementations.
27258         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27259         Optimization by using IFUNC.
27260
27261 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27262             Richard Henderson  <rth@redhat.com>
27263             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27264
27265         * Makefile.in (bench): New target.
27266         * NEWS: Mention the benchmark framework.
27267         * Rules (bench): Likewise.
27268         (binaries-bench): Generate binaries for functions to
27269         benchmark.
27270         * benchtests/Makefile: New makefile for benchmark tests.
27271         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27272         programs.
27273         * benchtests/exp-inputs: New input file for EXP function.
27274         * benchtests/pow-inputs: New input file for POW function.
27275         * scripts/bench.pl: New script to generate source files for
27276         benchmark programs.
27277
27278 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27279
27280         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27281         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27282         computations on mantissa.  Use macros for rounding and
27283         division.
27284         (denorm): Likewise.
27285         (__dbl_mp): Likewise.
27286         (add_magnitudes): Likewise.
27287         (sub_magnitudes): Likewise.
27288         (__mul): Likewise.
27289         (__sqr): Likewise.
27290         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27291         powers of two in terms of TWOPOW macro.
27292         (mp_no): Make type of mantissa as MANTISSA_T.
27293         [!RADIXI]: Define RADIXI.
27294         [!TWO52]: Define TWO52.
27295         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27296
27297         * manual/nptl.texi (cindex): Modify threads to pthreads.
27298
27299 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27300
27301         * sysdeps/x86_64/preconfigure: Regenerated.
27302
27303 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27304
27305         [BZ #14155]
27306         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27307         0x1p28 and above.
27308         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27309         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27310         0x1p28 and above.
27311         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27312         * math/libm-test.inc (j0_test): Do not allow one spurious
27313         underflow exception.
27314         (y1_test): Likewise.
27315
27316 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27317
27318         * manual/Makefile (chapters): Add nptl.
27319         * manual/debug.texi (Debugging Support): Add link to Threads
27320         chapter.
27321         * manual/nptl.texi: New file.
27322
27323         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27324
27325 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27326
27327         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27328         for non-NULL pointer before the memory validity test. Pointed
27329         out by Holger Brunck <holger.brunck@keymile.com>.
27330
27331 2013-03-13  Andreas Schwab  <schwab@suse.de>
27332
27333         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27334         instead of .os.
27335
27336 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27337
27338         * timezone/zic.c: Update from tzcode 2013b.
27339
27340 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27341
27342         * manual/install.texi (Configuring and compiling):
27343         Mention i686 and i586.
27344         * INSTALL: Regenerate.
27345
27346 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27347
27348         * sysdeps/init_array/elf-init.c: New file.
27349         * csu/elf-init.c
27350         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27351         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27352
27353         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27354         __gmon_start__ as global, but as static with a .preinit_array pointer.
27355         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27356         * sysdeps/init_array/crti.S: New file, empty except for comments.
27357         * sysdeps/init_array/crtn.S: Likewise.
27358
27359 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27360
27361         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27362         definining bcopy.
27363         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27364         Remove Prefer_SSE_for_memop.
27365         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27366         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27367         HAS_PREFER_SSE_FOR_MEMOP.
27368         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27369         memset-x86-64.
27370         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27371         Remove bzero, memset ifunc support.
27372         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27373         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27374         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27375         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27376
27377 2013-03-11  Andreas Schwab  <schwab@suse.de>
27378
27379         [BZ #15234]
27380         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27381         by SHLIB_COMPAT.
27382         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27383         (GLIBC_2.16): Remove pthread_atfork.
27384
27385 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27386
27387         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27388         (ptestcases.h): Likewise.
27389
27390 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27391
27392         * Makeconfig ($(common-objpfx)config.status): Depend on
27393         sysdeps/*/preconfigure{,.in} too.
27394
27395 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27396
27397         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27398         (__free_hook): Use void * instead of __malloc_ptr_t.
27399         (__malloc_hook): Likewise.
27400         (__realloc_hook): Likewise.
27401         (__memalign_hook): Likewise.
27402         (__after_morecore_hook): Likewise.
27403         * malloc/arena.c (save_malloc_hook): Likewise.
27404         (save_free_hook): Likewise.
27405         * malloc/hooks.c (malloc_hook_ini): Likewise.
27406         (realloc_hook_ini): Likewise.
27407         (memalign_hook_ini): Likewise.
27408         * malloc/malloc.c (malloc_hook_ini): Likewise.
27409         (realloc_hook_ini): Likewise.
27410         (memalign_hook_ini): Likewise.
27411         (__free_hook): Likewise.
27412         (__malloc_hook): Likewise.
27413         (__realloc_hook): Likewise.
27414         (__memalign_hook): Likewise.
27415         (__libc_malloc): Likewise.
27416         (__libc_free): Likewise.
27417         (__libc_realloc): Likewise.
27418         (__libc_memalign): Likewise.
27419         (__libc_valloc): Likewise.
27420         (__libc_pvalloc): Likewise.
27421         (__libc_calloc): Likewise.
27422         (__posix_memalign): Likewise.
27423         * malloc/morecore.c (__sbrk): Likewise.
27424         (__default_morecore): Likewise.
27425
27426         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27427
27428         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27429         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27430         __malloc_ptrdiff_t.
27431
27432         * malloc/malloc.h (__malloc_size_t): Remove macro.
27433         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27434         __malloc_size_t.
27435         (old_memalign_hook): Likewise.
27436         (old_realloc_hook): Likewise.
27437         (struct hdr): Likewise.
27438         (flood): Likewise.
27439         (mallochook): Likewise.
27440         (memalignhook): Likewise.
27441         (reallochook): Likewise.
27442         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27443         (tr_old_realloc_hook): Likewise.
27444         (tr_old_memalign_hook): Likewise.
27445         (tr_mallochook): Likewise.
27446         (tr_reallochook): Likewise.
27447         (tr_memalignhook): Likewise.
27448
27449 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27450
27451         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27452         default_ldbl_pack and using as default implementation.
27453         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27454         implementation.
27455         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27456         redundant definition.
27457         (ldbl_insert_mantissa): Likewise.
27458         (ldbl_canonicalize): Likewise.
27459         (ldbl_nearbyint): Likewise.
27460         (ldbl_pack): Rename to ldbl_pack_ppc.
27461         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27462         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27463         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27464
27465 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27466
27467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27468         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27469         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27470         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27471         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27472         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27473         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27474         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27475
27476 2013-03-07  Andreas Jaeger  <aj@suse.de>
27477
27478         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27479         bits/mman-linux.h.
27480
27481 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27482
27483         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27484         Include mpa.h and declare __MPEXP.
27485         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27486         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27487         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27488         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27489         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27490         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27491         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27492
27493         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27494         (__slowpow): Use long double EXPL and LOGL functions to
27495         compute POW.
27496         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27497         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27498         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27499         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27500         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27501         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27502
27503         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27504         intermediate variable to calculate exponent.
27505         (__sqr): Likewise.
27506         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27507         Likewise.
27508         (__sqr): Likewise.
27509
27510         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27511         [!NO__SQR]: Define __sqr.
27512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27513         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27514         sysdeps/ieee754/dbl-64/mpa.c.
27515         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27516
27517         [BZ #12723]
27518         * posix/Makefile (tests): Add tst-pathconf.
27519         * posix/tst-pathconf.c: New test case.
27520         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27521         _PC_PIPE_BUF.
27522         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27523
27524 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27525
27526         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27527
27528 2013-03-06  Andreas Jaeger  <aj@suse.de>
27529
27530         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27531         definition via __MAP_ANONYMOUS.
27532
27533         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27534         it's not part of Linux headers.
27535
27536         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27537         (MAP_HUGE_MASK): Define.
27538
27539         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27540         Define.
27541         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27542         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27543         Define.
27544         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27545         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27546         Define.
27547         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27548         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27549         Define.
27550         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27551
27552         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27553         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27554         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27555         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27556         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27557         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27558
27559         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27560         Handle f2fs.
27561
27562         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27563         Handle f2fs and efivarfs.
27564
27565         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27566         f2fs.
27567
27568         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27569         (EFIVARFS_MAGIC): Add.
27570         (F2FS_LINK_MAX): Add.
27571
27572 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27573
27574         * stdio-common/vfprintf.c: Replace __builtin_expect with
27575         __glibc_unlikely.
27576
27577 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27578
27579         [BZ #13550]
27580         * sysdeps/generic/bp-sym.h: Remove file.
27581         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27582         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27583         <bp-sym.h> and <bp-asm.h>.
27584         (__longjmp): Don't use BP_SYM.
27585         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27586         and <bp-asm.h>.
27587         (memcpy): Don't use BP_SYM.
27588         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27589         <bp-sym.h> and <bp-asm.h>.
27590         (memcpy): Don't use BP_SYM.
27591         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27592         <bp-asm.h>.
27593         (memcpy): Don't use BP_SYM.
27594         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27595         <bp-asm.h>.
27596         (memset): Don't use BP_SYM.
27597         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27598         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27599         (__bzero): Don't use BP_SYM.
27600         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27601         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27602         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27603         <bp-sym.h> and <bp-asm.h>.
27604         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27605         pointers.
27606         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27607         <bp-sym.h> and <bp-asm.h>.
27608         (memcpy): Don't use BP_SYM.
27609         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27610         <bp-sym.h> and <bp-asm.h>.
27611         (memset): Don't use BP_SYM.
27612         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27613         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27614         (__bzero): Don't use BP_SYM.
27615         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27616         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27617         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27618         <bp-sym.h> and <bp-asm.h>.
27619         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27620         pointers.
27621         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27622         <bp-sym.h> and <bp-asm.h>.
27623         (memcpy): Don't use BP_SYM.
27624         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27625         <bp-sym.h> and <bp-asm.h>.
27626         (memset): Don't use BP_SYM.
27627         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27628         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27629         (__bzero): Don't use BP_SYM.
27630         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27631         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27632         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27633         <bp-sym.h> and <bp-asm.h>.
27634         (__memchr): Don't use BP_SYM.
27635         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27636         <bp-sym.h> and <bp-asm.h>.
27637         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27638         pointers.
27639         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27640         <bp-sym.h> and <bp-asm.h>.
27641         (memcpy): Don't use BP_SYM.
27642         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27643         <bp-sym.h> and <bp-asm.h>.
27644         (__mempcpy): Don't use BP_SYM.
27645         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27646         <bp-sym.h> and <bp-asm.h>.
27647         (__memrchr): Don't use BP_SYM.
27648         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27649         <bp-sym.h> and <bp-asm.h>.
27650         (memset): Don't use BP_SYM.
27651         (__bzero): Likewise.
27652         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27653         <bp-sym.h> and <bp-asm.h>.
27654         (__rawmemchr): Don't use BP_SYM.
27655         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27656         <bp-sym.h> and <bp-asm.h>.
27657         (__STRCMP): Don't use BP_SYM.
27658         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27659         <bp-sym.h> and <bp-asm.h>.
27660         (strchr): Don't use BP_SYM.
27661         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27662         <bp-sym.h> and <bp-asm.h>.
27663         (__strchrnul): Don't use BP_SYM.
27664         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27665         <bp-sym.h> and <bp-asm.h>.
27666         (strlen): Don't use BP_SYM.
27667         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27668         <bp-sym.h> and <bp-asm.h>.
27669         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27670         pointers.
27671         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27672         <bp-sym.h> and <bp-asm.h>.
27673         (__strnlen): Don't use BP_SYM.
27674         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27675         <bp-sym.h> and <bp-asm.h>.
27676         (__GI__setjmp): Don't use BP_SYM.
27677         (_setjmp): Likewise.
27678         (__sigsetjmp): Likewise.
27679         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27680         (L(start_addresses)): Don't use BP_SYM.
27681         (_start): Likewise.
27682         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27683         <bp-asm.h>.
27684         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27685         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27686         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27687         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27688         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27689         <bp-asm.h>.
27690         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27691         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27692         about bounded pointers.
27693         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27694         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27695         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27696         <bp-asm.h>.
27697         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27698         about bounded pointers.  Remove GKM FIXME comments.
27699         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27700         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27701         <bp-asm.h>.
27702         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27703         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27704         Remove GKM FIXME comments.
27705         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27706         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27707         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27708         <bp-asm.h>.
27709         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27710         about bounded pointers.  Remove GKM FIXME comment.
27711         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27712         and <bp-asm.h>.
27713         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27714         pointers.
27715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27716         <bp-sym.h> and <bp-asm.h>.
27717         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27719         <bp-sym.h> and <bp-asm.h>.
27720         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27721         comment.
27722
27723 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27724
27725         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27726         call free(NULL).
27727
27728 2013-03-05  David S. Miller  <davem@davemloft.net>
27729
27730         * po/es.po: Update from translation team.
27731
27732 2013-03-05  Andreas Jaeger  <aj@suse.de>
27733
27734         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27735         <bits/mman-linux.h>.
27736         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27737         is fine.
27738         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27739         <bits/mman-linux.h> to end of file.
27740         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27741         is fine.
27742         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27743         <bits/mman-linux.h> to end of file.
27744         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27745         is fine.
27746         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27747         <bits/mman-linux.h> to end of file.
27748
27749         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27750         (MCL_CURRENT, MCL_FUTURE): Define here.
27751
27752 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27753
27754         [BZ #15232]
27755         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27756         attribute_hidden.
27757         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27758
27759 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27760
27761         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27762         fourth parameter needed for rt_sigprocmask syscall.
27763         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27764         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27765         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27766         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27767         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27768         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27769
27770 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27771
27772         [BZ #13550]
27773         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27774         comment about bounded pointers.
27775         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27776         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27777
27778 2013-03-04  Andreas Jaeger  <aj@suse.de>
27779
27780         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27781         common definitions.
27782
27783         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27784         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27785         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27786         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27787         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27788         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27789
27790 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27791
27792         [BZ #15055]
27793         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27794         __ieee754_sqrl instead of __sqrl.
27795
27796 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
27797
27798         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27799         * sysdeps/powerpc/fpu_control.h: ... here.
27800         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27801         * sysdeps/powerpc/bits/fenvinline.h: ... here.
27802         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27803         * sysdeps/powerpc/bits/mathinline.h: ... here.
27804
27805 2013-03-01  Roland McGrath  <roland@hack.frob.com>
27806
27807         * elf/dl-hwcaps.c (_dl_important_hwcaps):
27808         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27809         to just [NEED_DL_SYSINFO_DSO].
27810         * elf/dl-support.c: Likewise.
27811         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27812         * elf/rtld.c (dl_main): Likewise.
27813         * elf/setup-vdso.h (setup_vdso): Likewise.
27814         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27815         * sysdeps/unix/sysv/linux/dl-sysdep.c
27816         (_dl_discover_osversion): Likewise.
27817
27818 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
27819
27820         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27821         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27822
27823 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27824
27825         * NEWS: Mention libm performance improvements and non-x86 PI
27826         futex support.
27827
27828         * csu/libc-start.c (__pthread_initialize_minimal): Change
27829         function arguments.
27830         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27831
27832 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
27833
27834         [BZ #13550]
27835         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27836         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27837         <bp-sym.h> and <bp-asm.h>.
27838         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27839         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27840         and <bp-asm.h>.
27841         (memcpy): Don't use BP_SYM.
27842         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27843         <bp-asm.h>.
27844         (__mpn_add_n): Don't use BP_SYM.
27845         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27846         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27847         and <bp-asm.h>.
27848         (__mpn_addmul_1): Don't use BP_SYM.
27849         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27850         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27851         <bp-sym.h>.
27852         (_setjmp): Don't use BP_SYM.
27853         (__novmx_setjmp): Likewise.
27854         (__GI__setjmp): Likewise.
27855         (__vmx_setjmp): Likewise.
27856         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27857         <bp-sym.h>.
27858         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27859         (__bzero): Don't use BP_SYM.
27860         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27861         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27862         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27863         <bp-sym.h> and <bp-asm.h>.
27864         (memcpy): Don't use BP_SYM.
27865         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27866         <bp-sym.h> and <bp-asm.h>.
27867         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27868         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27869         <bp-sym.h> and <bp-asm.h>.
27870         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27871         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27872         <bp-asm.h>.
27873         (__mpn_lshift): Don't use BP_SYM.
27874         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27875         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27876         <bp-asm.h>.
27877         (memset): Don't use BP_SYM.
27878         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27879         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27880         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27881         <bp-asm.h>.
27882         (__mpn_mul_1): Don't use BP_SYM.
27883         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27884         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27885         <bp-sym.h> and <bp-asm.h>.
27886         (memcmp): Don't use BP_SYM.
27887         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27888         <bp-sym.h> and <bp-asm.h>.
27889         (memcpy): Don't use BP_SYM.
27890         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27891         <bp-sym.h> and <bp-asm.h>.
27892         (memset): Don't use BP_SYM.
27893         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27894         <bp-sym.h> and <bp-asm.h>.
27895         (strncmp): Don't use BP_SYM.
27896         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27897         <bp-sym.h> and <bp-asm.h>.
27898         (memcpy): Don't use BP_SYM.
27899         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27900         <bp-sym.h> and <bp-asm.h>.
27901         (memset): Don't use BP_SYM.
27902         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27903         <bp-sym.h> and <bp-asm.h>.
27904         (__memchr): Don't use BP_SYM.
27905         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27906         <bp-sym.h> and <bp-asm.h>.
27907         (memcmp): Don't use BP_SYM.
27908         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27909         <bp-sym.h> and <bp-asm.h>.
27910         (memcpy): Don't use BP_SYM.
27911         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27912         <bp-sym.h> and <bp-asm.h>.
27913         (__mempcpy): Don't use BP_SYM.
27914         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27915         <bp-sym.h> and <bp-asm.h>.
27916         (__memrchr): Don't use BP_SYM.
27917         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27918         <bp-sym.h> and <bp-asm.h>.
27919         (memset): Don't use BP_SYM.
27920         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27921         <bp-sym.h> and <bp-asm.h>.
27922         (__rawmemchr): Don't use BP_SYM.
27923         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27924         <bp-sym.h> and <bp-asm.h>.
27925         (__STRCMP): Don't use BP_SYM.
27926         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27927         <bp-sym.h> and <bp-asm.h>.
27928         (strchr): Don't use BP_SYM.
27929         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27930         <bp-sym.h> and <bp-asm.h>.
27931         (__strchrnul): Don't use BP_SYM.
27932         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27933         <bp-sym.h> and <bp-asm.h>.
27934         (strlen): Don't use BP_SYM.
27935         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27936         <bp-sym.h> and <bp-asm.h>.
27937         (strncmp): Don't use BP_SYM.
27938         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27939         <bp-sym.h> and <bp-asm.h>.
27940         (__strnlen): Don't use BP_SYM.
27941         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27942         <bp-asm.h>.
27943         (__mpn_rshift): Don't use BP_SYM.
27944         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27945         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27946         <bp-sym.h> and <bp-asm.h>.
27947         (__sigsetjmp): Don't use BP_SYM.
27948         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27949         (L(start_addresses)): Don't use BP_SYM.
27950         (_start): Likewise.
27951         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27952         <bp-asm.h>.
27953         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27954         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27955         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27956         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27957         <bp-asm.h>.
27958         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27959         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27960         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27961         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27962         <bp-asm.h>.
27963         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27964         comments.
27965         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27966         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27967         <bp-asm.h>.
27968         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
27969         FIXME comments.
27970         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27971         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27972         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27973         <bp-asm.h>.
27974         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27975         comment.
27976         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27977         and <bp-asm.h>.
27978         (strncmp): Don't use BP_SYM,
27979         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27980         <bp-asm.h>.
27981         (__mpn_sub_n): Don't use BP_SYM.
27982         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27983         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27984         and <bp-asm.h>.
27985         (__mpn_submul_1): Don't use BP_SYM.
27986         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27988         <bp-sym.h> and <bp-asm.h>.
27989         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27991         <bp-sym.h> and <bp-asm.h>.
27992         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27993         comment.
27994
27995 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27996
27997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27998         Use ZK to minimize writes to Z.
27999         (sub_magnitudes): Simplify code a bit.
28000         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28001         Use ZK to minimize writes to Z.
28002         (sub_magnitudes): Simplify code a bit.
28003
28004 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28005
28006         * csu/gmon-start.c: Add special exception to license text.
28007
28008 2013-02-27  Richard Henderson  <rth@redhat.com>
28009
28010         * scripts/config.guess: Update from config.git.
28011         * scripts/config.sub: Likewise.
28012
28013 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28014
28015         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28016
28017         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28018
28019         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28020
28021         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28022
28023         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28024
28025 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28026
28027         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28028         [$(build-shared = yes].
28029
28030 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28031
28032         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28033         (__mul): Reduce iterations for calculating mantissa.
28034
28035         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28036         MPTWO.
28037         (__mpranred): Likewise.
28038
28039         [BZ #15160]
28040         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28041         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28042
28043 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28044
28045         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28046         Define __attribute__.
28047
28048 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28049
28050         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28051         unused.
28052         * posix/regex_internal.h (__attribute): Remove.
28053         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28054         (re_string_context_at): Likewise.
28055         (bitset_not): Use __attribute__ and mark function as possibly
28056         unused.
28057         (bitset_merge): Likewise.
28058         (bitset_mask): Likewise.
28059         (re_string_char_size_at): Likewise.
28060         (re_string_wchar_at): Likewise.
28061         (re_string_elem_size_at): Likewise.
28062
28063 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28064
28065         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28066         code.
28067         (cc32): Likewise.
28068
28069         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28070         (__acr): Likewise.
28071         (__cpy): Likewise.
28072         (norm): Likewise.
28073         (denorm): Likewise.
28074         (__dbl_mp): Likewise.
28075         (add_magnitudes): Likewise.
28076         (sub_magnitudes): Likewise.
28077         (__mul): Likewise.
28078         (__inv): Likewise.
28079
28080         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28081         style.
28082
28083         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28084         style.
28085
28086         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28087         code.
28088
28089         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28090         up changes with default code.
28091         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28092         Likewise.
28093
28094 2013-02-24  Allan McRae  <allan@archlinux.org>
28095
28096         * manual/socket.texi (The Internet Namespace): Order menu items
28097         to match that in the file.
28098
28099         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28100         node listing of the info page menu.
28101
28102 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28103
28104         [BZ #13550]
28105         * sysdeps/i386/bp-asm.h: Remove file.
28106         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28107         (PARMS): Do not use macros from bp-asm.h.
28108         (S1): Likewise.
28109         (S2): Likewise.
28110         (SIZE): Likewise.
28111         (__mpn_add_n): Do not use BP_SYM
28112         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28113         "bp-asm.h".
28114         (PARMS): Do not use macros from bp-asm.h.
28115         (S1): Likewise.
28116         (SIZE): Likewise.
28117         (__mpn_addmul_1): Do not use BP_SYM
28118         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28119         "bp-asm.h".
28120         (PARMS): Do not use macros from bp-asm.h.
28121         (SIGMSK): Likewise.
28122         (_setjmp): Likewise.  Do not use BP_SYM.
28123         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28124         "bp-asm.h".
28125         (PARMS): Do not use macros from bp-asm.h.
28126         (SIGMSK): Likewise.
28127         (setjmp): Likewise.  Do not use BP_SYM.
28128         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28129         "bp-asm.h".
28130         (PARMS): Do not use macros from bp-asm.h.
28131         (__frexp): Do not use BP_SYM.
28132         (frexp): Likewise.
28133         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28134         "bp-asm.h".
28135         (PARMS): Do not use macros from bp-asm.h.
28136         (__frexpf): Do not use BP_SYM.
28137         (frexpf): Likewise.
28138         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28139         "bp-asm.h".
28140         (PARMS): Do not use macros from bp-asm.h.
28141         (__frexpl): Do not use BP_SYM.
28142         (frexpl): Likewise.
28143         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28144         "bp-asm.h".
28145         (PARMS): Do not use macros from bp-asm.h.
28146         (__remquo): Do not use BP_SYM.
28147         (remquo): Likewise.
28148         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28149         "bp-asm.h".
28150         (PARMS): Do not use macros from bp-asm.h.
28151         (__remquof): Do not use BP_SYM.
28152         (remquof): Likewise.
28153         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28154         "bp-asm.h".
28155         (PARMS): Do not use macros from bp-asm.h.
28156         (__remquol): Do not use BP_SYM.
28157         (remquol): Likewise.
28158         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28159         "bp-asm.h".
28160         (PARMS): Do not use macros from bp-asm.h.
28161         (DEST): Likewise.
28162         (SRC): Likewise.
28163         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28164         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28165         "bp-asm.h".
28166         (PARMS): Do not use macros from bp-asm.h.
28167         (strlen): Do not use BP_SYM.
28168         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28169         "bp-asm.h".
28170         (PARMS): Do not use macros from bp-asm.h.
28171         (S1): Likewise.
28172         (S2): Likewise.
28173         (SIZE): Likewise.
28174         (__mpn_add_n): Do not use BP_SYM.
28175         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28176         "bp-asm.h".
28177         (PARMS): Do not use macros from bp-asm.h.
28178         (S1): Likewise.
28179         (SIZE): Likewise.
28180         (__mpn_addmul_1): Do not use BP_SYM.
28181         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28182         weak_alias.
28183         (bzero): Likewise.
28184         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28185         "bp-asm.h".
28186         (PARMS): Do not use macros from bp-asm.h.
28187         (S): Likewise.
28188         (SIZE): Likewise.
28189         (__mpn_lshift): Do not use BP_SYM.
28190         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28191         "bp-asm.h".
28192         (PARMS): Do not use macros from bp-asm.h.
28193         (DEST): Likewise.
28194         (SRC): Likewise.
28195         (LEN): Likewise.
28196         (memcpy): Likewise.  Do not use BP_SYM.
28197         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28198         libc_hidden_def and weak_alias.
28199         (mempcpy): Do not use BP_SYM in weak_alias.
28200         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28201         "bp-asm.h".
28202         (PARMS): Do not use macros from bp-asm.h.
28203         (DEST): Likewise.
28204         (LEN): Likewise.
28205         [!BZERO_P] (CHR): Likewise.
28206         (memset): Likewise.  Do not use BP_SYM.
28207         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28208         "bp-asm.h".
28209         (PARMS): Do not use macros from bp-asm.h.
28210         (S1): Likewise.
28211         (SIZE): Likewise.
28212         (__mpn_mul_1): Do not use BP_SYM.
28213         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28214         "bp-asm.h".
28215         (PARMS): Do not use macros from bp-asm.h.
28216         (S): Likewise.
28217         (SIZE): Likewise.
28218         (__mpn_rshift): Do not use BP_SYM.
28219         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28220         "bp-asm.h".
28221         (PARMS): Do not use macros from bp-asm.h.
28222         (STR): Likewise.
28223         (CHR): Likewise.
28224         (strchr): Likewise.  Do not use BP_SYM.
28225         (index): Do not use BP_SYM in weak_alias.
28226         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28232         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28233         "bp-asm.h".
28234         (PARMS): Do not use macros from bp-asm.h.
28235         (strlen): Do not use BP_SYM.
28236         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28237         "bp-asm.h".
28238         (PARMS): Do not use macros from bp-asm.h.
28239         (S1): Likewise.
28240         (S2): Likewise.
28241         (SIZE): Likewise.
28242         (__mpn_sub_n): Do not use BP_SYM.
28243         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28244         "bp-asm.h".
28245         (PARMS): Do not use macros from bp-asm.h.
28246         (S1): Likewise.
28247         (SIZE): Likewise.
28248         (__mpn_submul_1): Do not use BP_SYM.
28249         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28250         "bp-asm.h".
28251         (PARMS): Do not use macros from bp-asm.h.
28252         (S1): Likewise.
28253         (S2): Likewise.
28254         (SIZE): Likewise.
28255         (__mpn_add_n): Do not use BP_SYM.
28256         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28257         weak_alias.
28258         (bzero): Likewise.
28259         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28260         "bp-asm.h".
28261         (PARMS): Do not use macros from bp-asm.h.
28262         (BLK2): Likewise.
28263         (LEN): Likewise.
28264         (memcmp): Do not use BP_SYM.
28265         (bcmp): Do not use BP_SYM in weak_alias.
28266         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28267         "bp-asm.h".
28268         (PARMS): Do not use macros from bp-asm.h.
28269         (DEST): Likewise.
28270         (SRC): Likewise.
28271         (LEN): Likewise.
28272         (memcpy): Likewise.  Do not use BP_SYM.
28273         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28274         "bp-asm.h".
28275         (PARMS): Do not use macros from bp-asm.h.
28276         (DEST): Likewise.
28277         (SRC): Likewise.
28278         (LEN): Likewise.
28279         (memmove): Likewise.  Do not use BP_SYM.
28280         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28281         "bp-asm.h".
28282         (PARMS): Do not use macros from bp-asm.h.
28283         (DEST): Likewise.
28284         (SRC): Likewise.
28285         (LEN): Likewise.
28286         (__mempcpy): Likewise.  Do not use BP_SYM.
28287         (mempcpy): Do not use BP_SYM in weak_alias.
28288         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28289         "bp-asm.h".
28290         (PARMS): Do not use macros from bp-asm.h.
28291         (DEST): Likewise.
28292         (LEN): Likewise.
28293         [!BZERO_P] (CHR): Likewise.
28294         (memset): Likewise.  Do not use BP_SYM.
28295         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28296         "bp-asm.h".
28297         (PARMS): Do not use macros from bp-asm.h.
28298         (STR2): Likewise.
28299         (strcmp): Do not use BP_SYM.
28300         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28301         "bp-asm.h".
28302         (PARMS): Do not use macros from bp-asm.h.
28303         (STR): Likewise.
28304         (DELIM): Likewise.
28305         [USE_AS_STRTOK_R] (SAVE): Likewise.
28306         (FUNCTION): Likewise.  Do not use BP_SYM.
28307         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28308         aliases.
28309         (strtok_r): Likewise.
28310         (__GI___strtok_r): Likewise.
28311         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28312         (PARMS): Do not use macros from bp-asm.h.
28313         (S): Likewise.
28314         (SIZE): Likewise.
28315         (__mpn_lshift): Do not use BP_SYM.
28316         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28317         (PARMS): Do not use macros from bp-asm.h.
28318         (STR): Likewise.
28319         (CHR): Likewise.
28320         (__memchr): Do not use BP_SYM.
28321         (memchr): Do not use BP_SYM in weak_alias.
28322         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28323         (PARMS): Do not use macros from bp-asm.h.
28324         (BLK2): Likewise.
28325         (LEN): Likewise.
28326         (memcmp): Do not use BP_SYM.
28327         (bcmp): Do not use BP_SYM in weak_alias.
28328         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28329         (PARMS): Do not use macros from bp-asm.h.
28330         (S1): Likewise.
28331         (SIZE): Likewise.
28332         (__mpn_mul_1): Do not use BP_SYM.
28333         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28334         "bp-asm.h".
28335         (PARMS): Do not use macros from bp-asm.h.
28336         (STR): Likewise.
28337         (CHR): Likewise.
28338         (__rawmemchr): Do not use BP_SYM.
28339         (rawmemchr): Do not use BP_SYM in weak_alias.
28340         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28341         (PARMS): Do not use macros from bp-asm.h.
28342         (S): Likewise.
28343         (SIZE): Likewise.
28344         (__mpn_rshift): Do not use BP_SYM.
28345         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28346         (PARMS): Do not use macros from bp-asm.h.
28347         (SIGMSK): Likewise.
28348         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28349         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28350         (_start): Do not use BP_SYM.
28351         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28352         (PARMS): Do not use macros from bp-asm.h.
28353         (DEST): Likewise.
28354         (SRC): Likewise.
28355         (__stpcpy): Likewise.  Do not use BP_SYM.
28356         (stpcpy): Do not use BP_SYM in weak_alias.
28357         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28358         "bp-asm.h".
28359         (PARMS): Do not use macros from bp-asm.h.
28360         (DEST): Likewise.
28361         (SRC): Likewise.
28362         (LEN): Likewise.
28363         (__stpncpy): Likewise.  Do not use BP_SYM.
28364         (stpncpy): Do not use BP_SYM in weak_alias.
28365         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28366         (PARMS): Do not use macros from bp-asm.h.
28367         (STR): Likewise.
28368         (CHR): Likewise.
28369         (strchr): Likewise.  Do not use BP_SYM.
28370         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28371         "bp-asm.h".
28372         (PARMS): Do not use macros from bp-asm.h.
28373         (STR): Likewise.
28374         (CHR): Likewise.
28375         (__strchrnul): Likewise.  Do not use BP_SYM.
28376         (strchrnul): Do not use BP_SYM in weak_alias.
28377         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28378         "bp-asm.h".
28379         (PARMS): Do not use macros from bp-asm.h.
28380         (STOP): Likewise.
28381         (strcspn): Do not use BP_SYM.
28382         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28383         "bp-asm.h".
28384         (PARMS): Do not use macros from bp-asm.h.
28385         (STR): Likewise.
28386         (STOP): Likewise.
28387         (strpbrk): Likewise.  Do not use BP_SYM.
28388         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28389         "bp-asm.h".
28390         (PARMS): Do not use macros from bp-asm.h.
28391         (STR): Likewise.
28392         (CHR): Likewise.
28393         (strrchr): Likewise.  Do not use BP_SYM.
28394         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28395         (PARMS): Do not use macros from bp-asm.h.
28396         (SKIP): Likewise.
28397         (strspn): Do not use BP_SYM.
28398         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28399         (PARMS): Do not use macros from bp-asm.h.
28400         (STR): Likewise.
28401         (DELIM): Likewise.
28402         (SAVE): Likewise.
28403         (FUNCTION): Likewise.  Do not use BP_SYM.
28404         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28405         aliases.
28406         (strtok_r): Likewise.
28407         (__GI___strtok_r): Likewise.
28408         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28409         (PARMS): Do not use macros from bp-asm.h.
28410         (S1): Likewise.
28411         (S2): Likewise.
28412         (SIZE): Likewise.
28413         (__mpn_sub_n): Do not use BP_SYM.
28414         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28415         "bp-asm.h".
28416         (PARMS): Do not use macros from bp-asm.h.
28417         (S1): Likewise.
28418         (SIZE): Likewise.
28419         (__mpn_submul_1): Do not use BP_SYM.
28420         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28421         <bp-sym.h>.
28422         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28423         and <bp-asm.h>.
28424         (PARMS): Do not use macros from bp-asm.h.
28425         (FLAGS): Likewise.
28426         (PTID): Likewise.
28427         (TLS): Likewise.
28428         (CTID): Likewise.
28429         (__clone): Do not use BP_SYM.
28430         (clone): Do not use BP_SYM in weak_alias.
28431         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28432         and <bp-asm.h>.
28433         (PARMS): Do not use macros from bp-asm.h.
28434         (LEN): Likewise.
28435         (__mmap64): Do not use BP_SYM.
28436         (mmap64): Do not use BP_SYM in weak_alias.
28437         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28438         <bp-sym.h> and <bp-asm.h>.
28439         (PARMS): Do not use macros from bp-asm.h.
28440         (__posix_fadvise64_l64): Do not use BP_SYM.
28441         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28442         (PARMS): Do not use macros from bp-asm.h.
28443         (NSOPS): Likewise.
28444         (semtimedop): Do not use BP_SYM.
28445         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28446         and <bp-asm.h>.
28447
28448 2013-02-21  Allan McRae  <allan@archlinux.org>
28449
28450         * manual/message.texi (Charset conversion in gettext):
28451         Move @end statement to beginning of line.
28452
28453 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28454
28455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28456         static.
28457         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28458         Likewise.
28459
28460         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28461         (denorm): Likewise.
28462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28463         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28464
28465 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28466
28467         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28468         tail-call to the resolved function if pltexit isn't needed.
28469
28470 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28471
28472         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28473         or Y being zero as being unlikely.
28474         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28475         Likewise.
28476
28477 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28478
28479         * manual/nss.texi (System Databases and Name Service Switch):
28480         Remove frobnicate @pxref.
28481
28482 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28483
28484         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28485         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28486
28487 2013-02-20  Petr Machata  <pmachata@redhat.com>
28488
28489         * elf/elf.h (R_ARM_TARGET1): New macro.
28490         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28491         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28492         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28493         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28494         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28495         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28496         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28497         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28498         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28499         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28500         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28501         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28502         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28503         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28504         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28505         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28506         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28507         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28508         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28509         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28510         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28511         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28512         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28513         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28514         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28515         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28516         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28517         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28518         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28519         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28520         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28521         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28522         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28523         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28524         (R_ARM_THM_GOT_BREL12): Likewise.
28525         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28526         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28527         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28528         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28529         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28530         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28531         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28532         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28533         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28534
28535 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28536
28537         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28538         __attribute_used__ to __attribute__ ((unused)).
28539
28540 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28541
28542         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28543         powerpc mpa.c.
28544         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28545         comment formatting.
28546         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28547
28548 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28549
28550         [BZ #13550]
28551         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28552         Remove macro.
28553         (ENTER): Remove both macro definitions.
28554         (LEAVE): Likewise.
28555         (CHECK_BOUNDS_LOW): Likewise.
28556         (CHECK_BOUNDS_HIGH): Likewise.
28557         (CHECK_BOUNDS_BOTH): Likewise.
28558         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28559         (RETURN_BOUNDED_POINTER): Likewise.
28560         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28561         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28562         (POP_ERRNO_LOCATION_RETURN): Likewise.
28563         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28564         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28565         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28566         macros.
28567         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28568         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28569         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28570         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28571         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28572         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28573         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28574         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28575         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28576         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28577         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28578         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28579         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28580         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28581         removed macros.
28582         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28583         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28584         macros.
28585         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28586         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28587         * sysdeps/i386/i586/memset.S (memset): Likewise.
28588         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28589         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28590         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28591         macros.
28592         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28593         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28594         Change uses of L(2) to L(out).
28595         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28596         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28597         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28598         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28599         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28600         removed macros.
28601         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28602         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28603         macros.
28604         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28605         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28606         (RETURN): Do not use macro LEAVE.
28607         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28608         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28609         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28610         * sysdeps/i386/i686/memset.S (memset): Likewise.
28611         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28612         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28613         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28614         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28615         Likewise.
28616         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28617         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28618         L(1_2) and L(1_3) into L(1).
28619         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28620         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28621         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28622         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28623         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28624         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28625         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28626         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28627         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28628         macros.
28629         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28630         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28631         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28632         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28633         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28634         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28635         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28636         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28637         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28638         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28639         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28640         * sysdeps/i386/strspn.S (strspn): Likewise.
28641         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28642         conditional code.
28643         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28644         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28645         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28646         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28647         L(1_3) into L(1_1).
28648         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28649         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28650         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28651         macros.
28652         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28653
28654 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28655
28656         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28657         macro.
28658
28659 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28660
28661         * math/atest-exp.c (exp_mpn): Remove ROUND.
28662         * math/atest-exp2.c (exp_mpn): Likewise.
28663         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28664
28665         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28666         * stdlib/tst-tls-atexit-lib.c: Likewise.
28667         * stdlib/tst-tls-atexit.c: Likewise.
28668
28669 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28670
28671         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28672         and __attribute_alloc_size__.
28673
28674 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28675
28676         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28677         __attribute_alloc_size__.
28678         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28679         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28680
28681 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28682
28683         * include/programs/xmalloc.h: New file.
28684         * catgets/gencat.c: Include it.
28685         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28686         * elf/pldd.c: Likewise.
28687         * iconv/iconv_charmap.c: Likewise.
28688         * iconv/iconvconfig.c: Likewise.
28689         * iconv/strtab.c: Likewise.
28690         * locale/programs/locale.c: Likewise.
28691         * locale/programs/localedef.h: Likewise.
28692         * locale/programs/simple-hash.c: Likewise.
28693         * nscd/nscd.h: Likewise.
28694         * nss/makedb.c: Likewise.
28695         * sysdeps/generic/ldconfig.h: Likewise.
28696
28697 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28698
28699         * Versions.def: Add GLIBC_2.18.
28700         * include/link.h (struct link_map): New member l_tls_dtor_count.
28701         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28702         (__call_tls_dtors): Likewise.
28703         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28704         __cxa_thread_atexit_impl.
28705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28706         Likewise.
28707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28708         Likewise.
28709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28710         Likewise.
28711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28712         Likewise.
28713         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28714         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28715         Likewise.
28716         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28717         Likewise.
28718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28720         Likewise.
28721         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28722         (tests): Add test case tst-tls-atexit.
28723         (modules-names): Add shared library for tst-tls-atexit.
28724         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28725         (GLIBC_PRIVATE): Add __call_tls_dtors.
28726         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28727         for libstdc++.
28728         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28729         * stdlib/tst-tls-atexit.c: New test case.
28730         * stdlib/tst-tls-atexit-lib.c: New test case.
28731
28732         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28733
28734         * elf/Versions (ld): Add _dl_find_dso_for_object.
28735         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28736         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28737         (dl_open_worker): Use _dl_find_dso_for_object.
28738         * elf/dl-sym.c (do_sym): Likewise.
28739         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28740
28741 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28742
28743         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28744         Syntactic changes only.
28745         (_dl_runtime_profile): Do a tail-call to the resolved function.
28746
28747 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28748
28749         [BZ #13550]
28750         * sysdeps/x86_64/bp-asm.h: Remove file.
28751         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28752         <bp-sym.h> and <bp-asm.h>.
28753         (__clone): Do not use BP_SYM.
28754         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28755         <bp-sym.h> and <bp-asm.h>.
28756         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28757         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28758         "bp-asm.h".
28759         (_setjmp): Do not use BP_SYM.
28760         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28761         "bp-asm.h".
28762         (setjmp): Do not use BP_SYM.
28763         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28764         libc_hidden_def.
28765         (mempcpy): Do not use BP_SYM in weak_alias.
28766         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28767         "bp-asm.h".
28768         (strchr): Do not use BP_SYM.
28769         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28770         "bp-asm.h".
28771         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28772         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28773         (_start): Do not use BP_SYM.
28774         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28775         "bp-asm.h".
28776         (strcat): Do not use BP_SYM.
28777         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28778         "bp-asm.h".
28779         (STRCMP): Do not use BP_SYM.
28780         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28781         "bp-asm.h".
28782         (STRCPY): Do not use BP_SYM.
28783         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28784         "bp-asm.h".
28785         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28786         "bp-asm.h".
28787         (FUNCTION): Do not use BP_SYM.
28788         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28789         weak_alias.
28790         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28791
28792 2013-02-17  Andreas Jaeger  <aj@suse.de>
28793
28794         * time/Versions: Sort entries.
28795         * string/Versions: Likewise.
28796         * resolv/Versions: Likewise.
28797         * posix/Versions: Likewise.
28798         * iconv/Versions: Likewise.
28799         * elf/Versions: Likewise.
28800         * wcsmbs/Versions: Likewise.
28801
28802 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28803
28804         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28805         loop termination condition.
28806
28807         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28808         variable to calculate EZ.
28809         (__sqr): Likewise.
28810
28811         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28812         the lower precision input.
28813
28814 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
28815
28816         [BZ #13550]
28817         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28818         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28819         (run-via-rtld-prefix): Do not handle %-bp tests.
28820         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28821         (all-object-suffixes): Remove .ob.
28822         (bppfx): Remove variable.
28823         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28824         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28825         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28826         [$(build-bounded) = yes] (libtype.ob): Likewise.
28827         * Makerules (elide-routines.ob): Remove variable.
28828         (do-tests-clean): Do not handle *-bp.out.
28829         (common-mostlyclean): Do not handle *-bp and *-bp.out.
28830         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28831         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28832         (tests): Do not include $(tests-bp.out).
28833         (xtests): Do not include $(xtests-bp.out).
28834         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28835         [$(build-bounded) = yes] ($(addprefix
28836         $(objpfx),$(binaries-bounded))): Remove rule.
28837         ($(objpfx)%-bp.out): Remove rule.
28838         * config.make.in (build-bounded): Remove variable.
28839         * crypt/Makefile [$(build-bounded) = yes]
28840         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28841         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28842         append to variable.
28843         [$(build-bounded) = yes] (install-lib): Likewise.
28844         [$(build-bounded) = yes] (generated): Likewise.
28845         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28846         Remove rule.
28847         * intl/Makefile [$(build-bounded) = yes]
28848         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28849         * math/Makefile [$(build-bounded) = yes]
28850         ($(tests:%=$(objpfx)%-bp): Likewise.
28851         * misc/Makefile [$(build-bounded) = yes]
28852         ($(objpfx)tst-tsearch-bp): Likewise.
28853         * nptl/Makeconfig (bounded-thread-library): Remove variable.
28854         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28855         Remove dependency.
28856         * string/Makefile (o-objects.ob): Remove variable.
28857         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28858         (CFLAGS-.ob): Remove variable.
28859         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28860         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28861         both definitions of variable.
28862         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28863         (ASFLAGS-.ob): Remove variable.
28864
28865 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
28866
28867         [BZ #13550]
28868         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28869         Remove __BOUNDED_POINTERS__ from condition.
28870         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28871         * string/bits/string2.h [!__NO_STRING_INLINES &&
28872         !__BOUNDED_POINTERS__]: Likewise.
28873         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28874         Likewise.
28875         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28876         Remove conditional code.
28877         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28878         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28879         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28880         condition.
28881
28882         [BZ #13550]
28883         * csu/libc-start.c: Do not include <bp-sym.h>.
28884         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28885         * elf/dl-open.c: Do not include <bp-sym.h>.
28886         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28887         * math/fegetenv.c: Do not include <bp-sym.h>.
28888         (fegetenv): Do not use BP_SYM in versioned symbols.
28889         * nptl/sysdeps/pthread/bits/libc-lockP.h
28890         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28891         <bp-sym.h>.
28892         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28893         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28894         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28895         (__pthread_mutex_destroy): Likewise.
28896         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28897         (__pthread_mutex_lock): Likewise.
28898         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28899         (__pthread_mutex_trylock): Likewise.
28900         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28901         (__pthread_mutex_unlock): Likewise.
28902         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28903         (__pthread_mutexattr_init): Likewise.
28904         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28905         (__pthread_mutexattr_destroy): Likewise.
28906         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28907         (__pthread_mutexattr_settype): Likewise.
28908         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28909         (__pthread_rwlock_init): Likewise.
28910         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28911         (__pthread_rwlock_destroy): Likewise.
28912         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28913         (__pthread_rwlock_rdlock): Likewise.
28914         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28915         (__pthread_rwlock_tryrdlock): Likewise.
28916         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28917         (__pthread_rwlock_wrlock): Likewise.
28918         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28919         (__pthread_rwlock_trywrlock): Likewise.
28920         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28921         (__pthread_rwlock_unlock): Likewise.
28922         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28923         (__pthread_key_create): Likewise.
28924         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28925         (__pthread_setspecific): Likewise.
28926         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28927         (__pthread_getspecific): Likewise.
28928         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28929         Likewise.
28930         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28931         (_pthread_cleanup_push_defer): Likewise.
28932         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28933         (_pthread_cleanup_pop_restore): Likewise.
28934         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28935         (pthread_setcancelstate): Likewise.
28936         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28937         <bp-sym.h>.
28938         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28939         (memchr): Do not use BP_SYM in weak_alias.
28940         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28941         (fegetenv): Do not use BP_SYM in versioned symbols.
28942         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28943         (fesetenv): Do not use BP_SYM in versioned symbols.
28944         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28945         (feupdateenv): Do not use BP_SYM in versioned symbols.
28946         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28947         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28948         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28949         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28950         (open64): Do not use BP_SYM in weak_alias.
28951         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28952         (fegetenv): Do not use BP_SYM in versioned symbols.
28953         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28954         (fesetenv): Do not use BP_SYM in versioned symbols.
28955         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28956         (feupdateenv): Do not use BP_SYM in versioned symbols.
28957         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28958         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28959         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28960         (feraiseexcept): Do not use BP_SYM in versioned symbols.
28961         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28962         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28963         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28964         <bp-sym.h>.
28965         (__libc_start_main): Do not use BP_SYM.
28966
28967 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28968
28969         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28970         redundant return line.
28971         (norm): Likewise.
28972         (denorm): Likewise.
28973         (dbl_mp): Likewise.
28974         (sub_magnitudes): Likewise.
28975         (__add): Likewise.
28976         (__sub): Likewise.
28977         (__mul): Likewise.
28978         (__inv): Likewise.
28979         (__dvd): Likewise.
28980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28981         (norm): Likewise.
28982         (denorm): Likewise.
28983         (dbl_mp): Likewise.
28984         (sub_magnitudes): Likewise.
28985         (__add): Likewise.
28986         (__sub): Likewise.
28987         (__mul): Likewise.
28988         (__inv): Likewise.
28989         (__dvd): Likewise.
28990
28991         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28992         instead of __mul.
28993         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28994         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28995         (cc32): Likewise.
28996
28997         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28998         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28999         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29000         of __mul for squares.
29001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29002         function
29003         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29004         Likewise.
29005         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29006         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29007
29008 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29009
29010         [BZ #13550]
29011         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29012         code.
29013         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29014         prototype or function definition.  Rename ubp_* variables and
29015         parameters.  Remove argv definitions conditional on
29016         [__BOUNDED_POINTERS__].
29017         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29018         * elf/dl-runtime.c (_dl_fixup): Likewise.
29019         * include/set-hooks.h (RUN_HOOK): Likewise.
29020         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29021         definition.
29022         * string/strcpy.c (strcpy): Do not use __unbounded.
29023         * sysdeps/generic/frame.h (struct layout): Likewise.
29024         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29025         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29026         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29027         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29028         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29029         (__backtrace): Likewise.
29030         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29031         use __ptrvalue.
29032         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29033         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29034         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29035         Likewise.
29036         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29037         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29038         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29039         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29040         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29041         Do not use __unbounded.
29042         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29043         Rename __unboundedrlimits parameter to rlimits in prototype.
29044         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29045         Do not use __unbounded.
29046         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29047         not use __ptrvalue.
29048         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29049         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29050         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29051         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29052         __ptrvalue or __unbounded.
29053         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29054         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29055         use __unbounded.
29056         (__new_msgctl): Do not use __ptrvalue.
29057         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29058         __unbounded.
29059         (__libc_msgrcv): Do not use __ptrvalue.
29060         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29061         startup_info): Do not use __unbounded.
29062         (__libc_start_main): Likewise.  Rename ubp_* variables and
29063         parameters.  Remove argv definitions conditional on
29064         [__BOUNDED_POINTERS__].
29065         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29066         __ptrvalue.
29067         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29068         use __unbounded.
29069         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29070         or __ptrvalue.
29071         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29072         use __unbounded.
29073         (__new_shmctl): Do not use __ptrvalue.
29074         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29075         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29076         Likewise.
29077         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29078         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29079         (__libc_sigaction): Likewise.
29080         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29081         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29082         Likewise.
29083         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29084
29085 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29086
29087         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29088
29089         * string/mempcpy.c: Implement by calling memcpy.
29090
29091 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29092
29093         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29094
29095         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29096         evaluation.
29097
29098         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29099         values in the mantissa.
29100
29101         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29102         minimize writes to Z.
29103         (sub_magnitudes): Simplify code a bit.
29104
29105 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29106
29107         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29108         from the message.  The linker prefixes all warnings with that already.
29109
29110 2013-02-12  Andreas Schwab  <schwab@suse.de>
29111
29112         [BZ #15078]
29113         * posix/regexec.c (extend_buffers): Add parameter min_len.
29114         (check_matching): Pass minimum needed length.
29115         (clean_state_log_if_needed): Likewise.
29116         (get_subexp): Likewise.
29117         * posix/Makefile (tests): Add bug-regex34.
29118         (bug-regex34-ENV): Define.
29119         * posix/bug-regex34.c: New file.
29120
29121         [BZ #11561]
29122         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29123         elements compare against the byte sequence of it, not its name.
29124         * posix/Makefile (tests): Add bug-regex35.
29125         (bug-regex35-ENV): Define.
29126         * posix/bug-regex35.c: New file.
29127
29128 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29129
29130         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29131         comment.
29132         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29133         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29134         (CHECK_EOL): Add undef.
29135
29136 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29137
29138         * bits/stdlib-bsearch.h: New file.
29139         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29140         * stdlib/stdlib.h: Likewise.
29141
29142 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29143
29144         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29145         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29146         declaration.
29147         * manual/search.texi (Array Search Function): Add missing const in
29148         lfind prototype.
29149         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29150         declaration to use rlim_t.
29151         (Basic Scheduling Functions): Remove erroneous const from
29152         sched_getparam prototype.  Remove erroneous * from
29153         sched_get_priority_max and sched_get_priority_min prototypes.
29154         (Resource Usage): Fix summary @comment on vtimes to refer to
29155         sys/vtimes.h rather than vtimes.h.
29156         Add missing *s in vtimes prototype.
29157         (Limits on Resources): Fix ulimit prototype to return long int.
29158         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29159         prototypes to use long int rather than double.
29160         (BSD Random): Fix initstate and setstate to use char *, not void *.
29161         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29162         prototype to make second argument 'struct aiocb64 *const[]'.
29163         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29164         (Status of AIO Operations): Remove erroneous const in aio_return and
29165         aio_return64 prototypes.
29166         (Synchronizing I/O): Fix sync prototype to return void.
29167         * manual/startup.texi (Suboptions): Remove an erroneous const in
29168         getsubopt prototype.
29169         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29170         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29171         use size_t rather than int.
29172         (Scanning All Users): Likewise for getpwent_r.
29173         (Setting Groups): Add missing const to setgroups prototype.
29174         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29175         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29176         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29177         'const void *' rather than 'const char *'.
29178         (Host Address Functions): Likewise for inet_ntop.
29179         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29180         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29181         ssize_t for return value.
29182         (Sending Data): Likewise for send, sendto, sendmsg.
29183         (Socket Option Functions): Add a missing const in setsockopt prototype.
29184         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29185         use wchar_t for the argument.
29186         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29187         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29188         take no arguments.
29189         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29190         double/float/long double for second argument.
29191         Fix return types of significand, significandf, significandl.
29192         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29193         argument in fchmod prototype.
29194         (File Owner): Use uid_t and gid_t in fchown prototype.
29195         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29196         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29197         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29198         use 'const struct dirent **' as argument types to CMP function pointer
29199         argument.
29200         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29201         (File Times): Fix summary magic @comment for struct utimbuf and utime
29202         to refer to utime.h, not time.h.
29203         * manual/string.texi (Argz Functions): Add missing const in
29204         argz_extract and argz_next prototypes.
29205         (Finding Tokens in a String): Likewise for basename.
29206         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29207         (Copying and Concatenation): Fix typo in wmemmove prototype.
29208         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29209         (Signal Stack): Remove erroneous const in sigstack prototype.
29210         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29211         prototype.
29212         (Simple Calendar Time): Likewise for stime.
29213         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29214         prototype.
29215         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29216         say sys/sysctl.h instead.
29217         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29218         and vsyslog prototypes.
29219
29220 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29221
29222         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29223         Remove.
29224
29225 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29226
29227         * misc/sys/mman.h: Fix typo in mremap comment.
29228
29229 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29230
29231         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29232         the '\0' terminator.
29233
29234 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29235
29236         [BZ #13550]
29237         * debug/segfault.c: Don't include <bp-checks.h>.
29238         * sysdeps/generic/bp-checks.h: Remove file.
29239         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29240         (__GETDENTS): Don't use CHECK_N.
29241         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29242         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29243         (__getgroups): Don't use CHECK_N.
29244         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29245         (setgroups): Don't use CHECK_N.
29246         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29247         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29248         (__libc_msgrcv): Don't use CHECK_N.
29249         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29250         (__libc_msgsnd): Don't use CHECK_N.
29251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29252         <bp-checks.h>.
29253         (__libc_pread): Don't use CHECK_N.
29254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29255         include <bp-checks.h>.
29256         (__libc_pread64): Don't use CHECK_N.
29257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29258         include <bp-checks.h>.
29259         (__libc_pwrite): Don't use CHECK_N.
29260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29261         include <bp-checks.h>.
29262         (__libc_pwrite64): Don't use CHECK_N.
29263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29264         <bp-checks.h>.
29265         (__libc_pread): Don't use CHECK_N.
29266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29267         include <bp-checks.h>.
29268         (__libc_pread64): Don't use CHECK_N.
29269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29270         include <bp-checks.h>.
29271         (__libc_pwrite): Don't use CHECK_N.
29272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29273         include <bp-checks.h>.
29274         (__libc_pwrite64): Don't use CHECK_N.
29275         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29276         (do_pread): Don't use CHECK_N.
29277         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29278         (do_pread64): Don't use CHECK_N.
29279         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29280         (do_pwrite): Don't use CHECK_N.
29281         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29282         (do_pwrite64): Don't use CHECK_N.
29283         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29284         (__libc_readv): Don't use CHECK_N.
29285         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29286         (semop): Don't use CHECK_N.
29287         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29288         <bp-checks.h>.
29289         (semtimedop): Don't use CHECK_N.
29290         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29291         (__libc_pread): Don't use CHECK_N.
29292         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29293         <bp-checks.h>.
29294         (__libc_pread64): Don't use CHECK_N.
29295         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29296         <bp-checks.h>.
29297         (__libc_pwrite): Don't use CHECK_N.
29298         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29299         <bp-checks.h>.
29300         (__libc_pwrite64): Don't use CHECK_N.
29301         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29302         <bp-checks.h>.
29303         (__libc_msgrcv): Don't use CHECK_N.
29304         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29305         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29306         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29307         (__libc_writev): Don't use CHECK_N.
29308
29309 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29310
29311         * string/strcpy.c: Removed unused variable.
29312
29313         * Makeconfig (+sysdep-includes): Define with := rather than =.
29314         Use an existing include/ subdir of each sysdeps dir before it.
29315
29316 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29317
29318         * nscd/connection.c (register_traced_file): Comment function.
29319         [HAVE_INOTIFY] (union __inev): Define.
29320         [HAVE_INOTIFY] (inotify_check_files): New function.
29321         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29322         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29323         clear_db_cache.
29324         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29325
29326 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29327
29328         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29329         loaded if not already and that a failure is permanent.
29330
29331 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29332
29333         [BZ #15006]
29334         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29335         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29336
29337 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29338
29339         [BZ #13550]
29340         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29341         (CHECK_1_NULL_OK): Likewise.
29342         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29343         (__fxstat): Do not use CHECK_1.
29344         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29345         <bp-checks.h>.
29346         (___fxstat64): Do not use CHECK_1.
29347         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29348         <bp-checks.h>.
29349         (__fxstatat): Do not use CHECK_1.
29350         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29351         <bp-checks.h>.
29352         (__fxstatat64): Do not use CHECK_1.
29353         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29354         <bp-checks.h>.
29355         (__fxstat): Do not use CHECK_1.
29356         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29357         <bp-checks.h>.
29358         (__fxstatat): Do not use CHECK_1.
29359         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29360         <bp-checks.h>.
29361         (__getresgid): Do not use CHECK_1.
29362         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29363         <bp-checks.h>.
29364         (__getresuid): Do not use CHECK_1.
29365         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29366         <bp-checks.h>.
29367         (__lxstat): Do not use CHECK_1.
29368         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29369         <bp-checks.h>.
29370         (__old_msgctl): Do not use CHECK_1.
29371         (__new_msgctl): Likewise.
29372         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29373         <bp-checks.h>.
29374         (__new_setrlimit): Do not use CHECK_1.
29375         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29376         <bp-checks.h>.
29377         (__old_shmctl): Do not use CHECK_1.
29378         (__new_shmctl): Likewise.
29379         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29380         <bp-checks.h>.
29381         (__xstat): Do not use CHECK_1.
29382         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29383         (__lxstat): Do not use CHECK_1.
29384         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29385         <bp-checks.h>.
29386         (___lxstat64): Do not use CHECK_1.
29387         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29388         (__old_msgctl): Do not use CHECK_1.
29389         (__new_msgctl): Likewise.
29390         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29391         <bp-checks.h>.
29392         (__gettimeofday): Do not use CHECK_1.
29393         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29394         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29395         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29396         <bp-checks.h>.
29397         (__gettimeofday): Do not use CHECK_1.
29398         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29399         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29400         (__new_shmctl): Do not use CHECK_1.
29401         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29402         <bp-checks.h>.
29403         (do_sigtimedwait): Do not use CHECK_1.
29404         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29405         <bp-checks.h>.
29406         (do_sigwaitinfo): Do not use CHECK_1.
29407         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29408         <bp-checks.h>.
29409         (msgctl): Do not use CHECK_1.
29410         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29411         <bp-checks.h>.
29412         (shmctl): Do not use CHECK_1.
29413         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29414         (ustat): Do not use CHECK_1.
29415         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29416         <bp-checks.h>.
29417         (__fxstat): Do not use CHECK_1.
29418         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29419         <bp-checks.h>.
29420         (__fxstatat): Do not use CHECK_1.
29421         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29422         <bp-checks.h>.
29423         (__lxstat): Do not use CHECK_1.
29424         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29425         <bp-checks.h>.
29426         (__xstat): Do not use CHECK_1.
29427         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29428         (__xstat): Do not use CHECK_1.
29429         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29430         (___xstat64): Do not use CHECK_1.
29431
29432         [BZ #13550]
29433         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29434         definitions.
29435         (CHECK_BOUNDS_HIGH): Likewise.
29436         * string/strcpy.c: Do not include <bp-checks.h>.
29437         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29438
29439 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29440
29441         * nscd/nscd-client.h (__nscd_drop_map_ref):
29442         Add __attribute__ ((unused)).
29443         * nis/nss-nisplus.h (niserr2nss): Likewise.
29444
29445         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29446         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29447
29448         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29449         Remove inline keyword.
29450         * include/rounding-mode.h (round_away): Likewise.
29451         * libio/wfileops.c (adjust_wide_data): Likewise.
29452         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29453         (__m128i_strloadu_tolower): Likewise.
29454         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29455         (__m128i_strloadu_tolower): Likewise.
29456         * time/mktime.c (ydhms_diff): Likewise.
29457         * locale/elem-hash.h (elem_hash): Likewise.
29458         * locale/setlocale.c (setdata): Likewise.
29459         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29460         (re_string_wchar_at): Likewise.
29461         (bitset_not, bitset_merge, bitset_mask): Likewise.
29462         [!(__GNUC__ > 3)] (inline): Remove macro.
29463         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29464         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29465         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29466         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29467         * string/memcmp.c (memcmp_bytes): Likewise.
29468         * locale/programs/locarchive.c (compute_hashval): Likewise.
29469         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29470         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29471         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29472         * nss/getent.c (print_rpc, print_protocols): Likewise.
29473         (print_passwd, print_group, print_aliases): Likewise.
29474         * nis/nss-nisplus.h (niserr2nss): Likewise.
29475         * nscd/connections.c (restart_p): Likewise.
29476         Change return type to bool.
29477
29478 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29479
29480         * Makeconfig (all-Depend-files): Add existing
29481         $(sorted-subdirs:=/Depend) files.
29482         (all-subdirs): Remove nss.
29483         * sysdeps/unix/inet/Subdirs: Add it here instead.
29484         * hesiod/Depend: New file.
29485
29486         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29487         instead of calling alloca.
29488
29489         * io/lseek.c (__lseek): Rename to __libc_lseek.
29490         Define __lseek as an alias.
29491
29492         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29493
29494 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29495
29496         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29497         else clause and remove check for non-standard endianness.
29498
29499 2013-02-04  David S. Miller  <davem@davemloft.net>
29500
29501         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29502
29503 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29504
29505         [BZ #13550]
29506         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29507         (__ubp_memchr): Remove prototype.
29508         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29509         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29510         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29511         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29512         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29513         Remove alias.
29514         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29515         (__ubp_memchr): Likewise.
29516         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29517         (__ubp_memchr): Likewise.
29518         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29519         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29520         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29521         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29522         CHECK_STRING.
29523         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29524         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29525         (__getcwd): Do not use CHECK_STRING.
29526         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29527         <bp-checks.h>.
29528         (__real_chown): Do not use CHECK_STRING.
29529         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29530         <bp-checks.h>.
29531         (fchownat): Do not use CHECK_STRING.
29532         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29533         CHECK_STRING.
29534         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29535         <bp-checks.h>.
29536         (__lchown): Do not use CHECK_STRING.
29537         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29538         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29539         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29540         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29542         include <bp-checks.h>.
29543         (truncate64): Do not use CHECK_STRING.
29544         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29545         <bp-checks.h>.
29546         (__real_chown): Do not use CHECK_STRING.
29547         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29548         <bp-checks.h>.
29549         (__lchown): Do not use CHECK_STRING.
29550         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29551         <bp-checks.h>.
29552         (__chown): Do not use CHECK_STRING.
29553         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29554         <bp-checks.h>.
29555         (truncate64): Do not use CHECK_STRING.
29556         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29557         Likewise.
29558         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29559         (__xmknod): Do not use CHECK_STRING.
29560         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29561         <bp-checks.h>.
29562         (__xmknodat): Do not use CHECK_STRING.
29563         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29564         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29565
29566 2013-02-04  Andreas Schwab  <schwab@suse.de>
29567
29568         [BZ #14142]
29569         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29570         * include/netdb.h: Likewise for h_errno.
29571         * elf/tst-stackguard1.c: Include <tls.h>.
29572
29573 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29574
29575         * elf/link.h (struct link_map): Extend the l_addr comment.
29576         * include/link.h (struct link_map): Likewise.
29577
29578 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29579
29580         [BZ #13550]
29581         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29582         (BOUNDED_1): Remove macro.
29583         * debug/backtrace.c: Don't include <bp-checks.h>.
29584         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29585         (__backtrace): Likewise.
29586         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29587         <bp-checks.h>.
29588         (__backtrace): Don't use BOUNDED_1.
29589         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29590         <bp-checks.h>.
29591         (__backtrace): Don't use BOUNDED_1.
29592         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29593         (__backtrace): Don't use BOUNDED_1.
29594         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29595         (shmat): Don't use BOUNDED_N.
29596
29597 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29598
29599         [BZ #13550]
29600         * sysdeps/generic/bp-start.h: Remove file.
29601         * csu/libc-start.c: Don't include <bp-start.h>.
29602         (LIBC_START_MAIN): Set up __environ directly instead of using
29603         INIT_ARGV_and_ENVIRON.
29604         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29605         <bp-start.h>.
29606
29607         [BZ #13550]
29608         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29609         definitions.
29610         (CHECK_FCNTL): Likewise.
29611         (CHECK_N_PAGES): Likewise.
29612
29613         [BZ #13550]
29614         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29615         definitions.
29616         (CHECK_SIGSET_NULL_OK): Likewise.
29617         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29618         <bp-checks.h>.
29619         (sigpending): Don't use CHECK_SIGSET.
29620         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29621         <bp-checks.h>.
29622         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29623         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29624         <bp-checks.h>.
29625         (do_sigsuspend): Don't use CHECK_SIGSET.
29626         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29627         use CHECK_SIGSET.
29628         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29629         (do_sigwait): Don't use CHECK_SIGSET.
29630         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29631         use CHECK_SIGSET.
29632         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29633         include <bp-checks.h>.
29634         (sigpending): Don't use CHECK_SIGSET.
29635         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29636         include <bp-checks.h>.
29637         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29638         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29639         <bp-checks.h>.
29640         (sigpending): Don't use CHECK_SIGSET.
29641         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29642         <bp-checks.h>.
29643         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29644
29645         [BZ #13550]
29646         * sysdeps/generic/bp-semctl.h: Remove file.
29647         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29648         <bp-checks.h> and <bp-semctl.h>.
29649         (__old_semctl): Don't use CHECK_SEMCTL.
29650         (__new_semctl): Likewise.
29651         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29652         and <bp-semctl.h>.
29653         (__old_semctl): Don't use CHECK_SEMCTL.
29654         (__new_semctl): Likewise.
29655         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29656         <bp-checks.h> and <bp-semctl.h>.
29657         (__old_semctl): Don't use CHECK_SEMCTL.
29658         (__new_semctl): Likewise.
29659         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29660         <bp-checks.h> and <bp-semctl.h>.
29661         (semctl): Don't use CHECK_SEMCTL.
29662
29663         [BZ #13550]
29664         * Makerules (elide-bp-thunks): Remove variable.
29665         (elide-routines.oS): Don't use $(elide-bp-thunks).
29666         (elide-routines.os): Likewise.
29667         (elide-routines.o): Likewise.
29668         (elide-routines.op): Likewise.
29669         (elide-routines.og): Likewise.
29670         (objects): Don't use $(bp-thunks).
29671         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29672         include.
29673         (common-generated): Do not add s-proto-bp.d.
29674         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29675         (int): Likewise.
29676         (typ): Likewise.
29677         Do not generate makefile rules for bounded-pointer thunks.
29678         * sysdeps/generic/bp-thunks.h: Remove file.
29679         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29680         * sysdeps/unix/s-proto-bp.S: Likewise.
29681
29682         [BZ #15062]
29683         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29684         parts of result separately when argument is not close to line from
29685         -i to i and one part of argument is small.
29686         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29687         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29688         * math/libm-test.inc (cacos_test): Add more tests.
29689         (casin_test): Likewise.
29690         (casinh_test): Likewise.
29691         * sysdeps/i386/fpu/libm-test-ulps: Update.
29692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29693
29694 2013-01-31  David S. Miller  <davem@davemloft.net>
29695
29696         * po/de.po: Update from translation team.
29697
29698 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29699
29700         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29701
29702 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29703
29704         * configure.in (_AC_PROG_CC_C89): New definition.
29705         * configure: Regenerate.
29706
29707         * configure.in (AC_PROG_CPP): New definition.
29708         * configure: Regenerate.
29709
29710 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29711
29712         * debug/tst-backtrace.h: New file.
29713         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29714         (ret): Remove variable.
29715         (x): Likewise.
29716         (FAIL): Remove macro.
29717         (NO_INLINE): Likewise.
29718         (fn1): Use match function instead of strstr.
29719         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29720         (ret): Remove variable.
29721         (x): Likewise.
29722         (FAIL): Remove macro.
29723         (NO_INLINE): Likewise.
29724         (fn): Use match function instead of strstr.
29725         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29726         (ret): Remove variable.
29727         (x): Likewise.
29728         (FAIL): Remove macro.
29729         (NO_INLINE): Likewise.
29730         (handle_signal): Use match function instead of strstr.
29731         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29732         (ret): Remove variable.
29733         (x): Likewise.
29734         (FAIL): Remove macro.
29735         (NO_INLINE): Likewise.
29736         (handle_signal): Use match function instead of strstr.
29737
29738 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29739
29740         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29741
29742 2013-01-23  David S. Miller  <davem@davemloft.net>
29743
29744         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29745         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29746         argument of CAS if possible.
29747         * sysdeps/sparc/sparc64/bits/atomic.h
29748         (__arch_compare_and_exchange_val_32_acq): Likewise.
29749         (__arch_compare_and_exchange_val_64_acq): Likewise.
29750
29751 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29752
29753         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29754         * sysdeps/posix/ulimit.c: ... this.
29755         Include <limits.h>.
29756         * sysdeps/unix/bsd/ulimit.c: Remove file.
29757
29758 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29759
29760         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29761         (LDFLAGS-tst-array5): Likewise.
29762
29763 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29764
29765         [BZ #15036]
29766         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29767         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29768         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29769         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29770
29771 2013-01-21  David S. Miller  <davem@davemloft.net>
29772
29773         * sysdeps/sparc/backtrace.c: New file.
29774         * sysdeps/sparc/sparc32/backtrace.h: New file.
29775         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29776         * sysdeps/sparc/sparc64/backtrace.h: New file.
29777         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29778         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29779         -funwind-tables.
29780
29781 2013-01-21  Andreas Schwab  <schwab@suse.de>
29782
29783         [BZ #15020]
29784         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29785         closed its stdout.
29786
29787 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
29788
29789         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29790         "mpa2.h".
29791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29792
29793 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
29794             Mark Mitchell  <mark@codesourcery.com>
29795             Tom de Vries  <tom@codesourcery.com>
29796             Paul Pluzhnikov  <ppluzhnikov@google.com>
29797
29798         * debug/tst-backtrace2.c: New file.
29799         * debug/tst-backtrace3.c: Likewise.
29800         * debug/tst-backtrace4.c: Likewise.
29801         * debug/tst-backtrace5.c: Likewise.
29802         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29803         (CFLAGS-tst-backtrace3.c): Likewise.
29804         (CFLAGS-tst-backtrace4.c): Likewise.
29805         (CFLAGS-tst-backtrace5.c): Likewise.
29806         (LDFLAGS-tst-backtrace2): Likewise.
29807         (LDFLAGS-tst-backtrace3): Likewise.
29808         (LDFLAGS-tst-backtrace4): Likewise.
29809         (LDFLAGS-tst-backtrace5): Likewise.
29810         (tests): Add new tests tst-backtrace2, tst-backtrace3,
29811         tst-backtrace4 and tst-backtrace5.
29812
29813 2013-01-18  Anton Blanchard  <anton@samba.org>
29814             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29815
29816         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29817         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29818         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29819         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29821         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29822         "+r" and remove output regs list as redundant.  Add explicit inline
29823         asm to specify register of return val to work around compiler codegen
29824         bug.  Remove (int) cast on return value.  Add return type parameter to
29825         use in macro so that this macro does not truncate return value for
29826         64-bit values.
29827         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29828         pass to INTERNAL_VSYSCALL_NCS.
29829         (INLINE_VSYSCALL): Add 'long int' as return type to
29830         INTERNAL_VSYSCALL_NCS macro invocation.
29831         (INTERNAL_VSYSCALL): Add 'long int' as return type to
29832         INTERNAL_VSYSCALL_NCS macro invocation.
29833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29834
29835 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29836
29837         [BZ #14496]
29838         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29839         Fix application of SIMD FP exception mask.
29840
29841         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29842         mp_no from a power of two.
29843         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29844         __mpexp_twomm1.  Use __pow_mp.
29845
29846         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29847         multiplication.
29848
29849 2013-01-17  David S. Miller  <davem@davemloft.net>
29850
29851         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29852
29853 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29854
29855         [BZ #15023]
29856         * include/complex.h: Condition contents on [!_COMPLEX_H].
29857         (__kernel_casinhf): New prototype.
29858         (__kernel_casinh): Likewise.
29859         (__kernel_casinhl): Likewise.
29860         * math/Makefile (libm_calls): Add k_casinh.
29861         * math/k_casinh.c: New file.
29862         * math/k_casinhf.c: Likewise.
29863         * math/k_casinhl.c: Likewise.
29864         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29865         finite nonzero arguments.
29866         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29867         finite nonzero arguments.
29868         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29869         finite nonzero arguments.
29870         * math/s_casinh.c: Do not include <float.h>.
29871         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29872         * math/s_casinhf.c: Do not include <float.h>.
29873         (__casinhf): Move code for finite nonzero arguments to
29874         k_casinhf.c.
29875         * math/s_casinhl.c: Do not include <float.h>.
29876         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29877         redefine.
29878         (__casinhl): Move code for finite nonzero arguments to
29879         k_casinhl.c.
29880         * math/libm-test.inc (cacos_test): Add more tests.
29881         * sysdeps/i386/fpu/libm-test-ulps: Update.
29882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29883
29884 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
29885
29886         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29887         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29888         [!HAVE_MREMAP]: Remove [defined linux] case.
29889         * malloc/arena.c: Do not include <malloc-sysdep.h>.
29890
29891 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29892
29893         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29894
29895 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
29896
29897         * elf/elf.h (R_386_SIZE32): New relocation.
29898         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29899         R_386_SIZE32.
29900         (elf_machine_rela): Likewise.
29901         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29902         R_X86_64_SIZE64 and R_X86_64_SIZE32.
29903
29904 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29905
29906         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29907         (FP_FAST_FMA): Do not define.
29908         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29909         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29910         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29911         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29912         !_SOFT_FLOAT]: Likewise.
29913         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29914         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29915         value.
29916         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29917         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29918         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29919         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29920         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29921         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29922         file.
29923
29924 2013-01-16  Andreas Schwab  <schwab@suse.de>
29925
29926         [BZ #14327]
29927         * include/stdlib.h (__mktemp): Add declaration.
29928         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29929         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29930
29931 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29932
29933         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29934         definitions.
29935         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29936         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29937         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29938         definitions here.
29939         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29940         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29941         definitions.
29942         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29943         and ONE.
29944         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29945         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29946         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29947         definitions.
29948         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29949         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29950         definitions.
29951         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29952
29953         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29954
29955 2013-01-15  David S. Miller  <davem@davemloft.net>
29956
29957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29958         trunc{,f} to libm-sysdep_routes.
29959         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29961         file.
29962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29964         file.
29965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29966         file.
29967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29968         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29969         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29970         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29971         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29972         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29973         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29974         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29975
29976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29977         nearbyint{,f} to libm-sysdep_routes.
29978         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29980         New file.
29981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29982         file.
29983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29984         New file.
29985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29986         file.
29987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29989         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29990         file.
29991         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29992         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29993         file.
29994         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29995         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29996         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29997
29998         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29999         libc_feholdexcept and libc_fesetenv.
30000
30001 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30002
30003         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30004
30005 2013-01-14  David S. Miller  <davem@davemloft.net>
30006
30007         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30008         (SPARC_ASM_VIS2_IFUNC): Likewise.
30009         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30011         use of 'siam' instruction.
30012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30013         Likewise.
30014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30015         Likewise.
30016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30017         Likewise.
30018         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30019         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30020         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30021         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30023         file.
30024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30025         file.
30026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30027         file.
30028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30029         file.
30030         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30031         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30032         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30033         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30035         new VIS2 routines.
30036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30039         Likewise.
30040         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30041         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30042         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30043         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30045         routines to libm-sysdep_routines.
30046         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30047
30048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30049         fdim/fdimf to libm-sysdep_routines.
30050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30051         file.
30052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30054         file.
30055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30056         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30058         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30059         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30060         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30061         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30062
30063 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30064
30065         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30066         to optimize copies.
30067
30068         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30069         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30070         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30071
30072         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30073         local variable MPTWO.
30074         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30075         Likewise.
30076
30077 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30078
30079         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30080         GLOB_NOESCAPE.
30081
30082 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30083
30084         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30085
30086 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30087
30088         * manual/pattern.texi (glob_t): Document gl_flags.
30089         (glob64_t): Likewise.
30090
30091 2013-01-11  David S. Miller  <davem@davemloft.net>
30092
30093         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30094         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30095         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30096         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30097         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30098         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30099         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30100         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30101         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30102         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30103         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30104         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30105         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30106
30107         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30108         sparc V9 rather than using V8 code.
30109         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30110         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30111
30112         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30113         Move to...
30114         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30115         Here.
30116
30117 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30118
30119         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30120         not in the main loop.
30121         * configure: Regenerated.
30122
30123 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30124
30125         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30126         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30127         to just #else.
30128         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30129         [!__GLIBC_HAVE_LONG_LONG] case.
30130         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30131         condition to just #else.
30132         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30133         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30134         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30135         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30136         unconditional.
30137         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30138         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30139         #elif condition to just #else.
30140         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30141         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30142         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30143         #elif condition to just #else.
30144
30145 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30146
30147         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30148         (EF_MIPS_ARCH_64): Fix value.
30149         (EF_MIPS_ARCH_32R2): New.
30150         (EF_MIPS_ARCH_64R2): New.
30151
30152 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30153
30154         * Makeconfig (+link-pie-before-libc): New.
30155         (+link-pie-after-libc): Likewise.
30156         (+link-pie-tests): Likewise.
30157         (+link-pie): Rewritten.
30158         (link-before-libc): Remove $(config-LDFLAGS).
30159         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30160         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30161         (config-LDFLAGS): Renamed to ...
30162         (rtld-LDFLAGS): This.
30163         (rtld-tests-LDFLAGS): New macro.
30164         (link-libc-rpath-link): Likewise.
30165         (link-libc-tests-rpath-link): Likewise.
30166         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30167         (link-libc): Prepand $(link-libc-rpath-link).
30168         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30169         (test-program-prefix): New macro.
30170         (test-via-rtld-prefix): Likewise.
30171         (test-program-cmd): Likewise.
30172         (host-test-program-cmd): Likewise.
30173         * Makefile ($(common-objpfx)testrun.sh): Replace
30174         $(run-program-prefix) with $(test-program-prefix).
30175         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30176         $(rtld-LDFLAGS).
30177         ($(common-objpfx)shlib.lds): Likewise.
30178         (build-module-helper): Likewise.
30179         ($(common-objpfx)format.lds): Likewise.
30180         * Rules (binaries-pie-tests): New.
30181         (binaries-pie-notests): Likewise.
30182         (binaries-pie): Rewritten.
30183         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30184         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30185         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30186         (make-test-out): Replace $(host-built-program-cmd) with
30187         $(host-test-program-cmd).
30188         * config.make.in (build-hardcoded-path-in-tests): New variable.
30189         * configure.in (--enable-hardcoded-path-in-tests): New configure
30190         option.
30191         (hardcoded_path_in_tests): New AC_SUBST.
30192         * configure: Regenerated.
30193         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30194         $(built-program-cmd) with $(test-program-cmd).
30195         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30196         (test_program_cmd): This.
30197         * elf/Makefile ($(objpfx)order.out): Run test with
30198         $(test-program-prefix).
30199         ($(objpfx)order2.out): Likewise.
30200         ($(objpfx)tst-initorder.out): Likewise.
30201         ($(objpfx)tst-initorder2.out): Likewise.
30202         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30203         $(test-program-cmd).
30204         ($(objpfx)tst-array1-static.out): Likewise.
30205         ($(objpfx)tst-array2.out): Likewise.
30206         ($(objpfx)tst-array3.out): Likewise.
30207         ($(objpfx)tst-array4.out): Likewise.
30208         ($(objpfx)tst-array5.out): Likewise.
30209         ($(objpfx)tst-array5-static.out): Likewise.
30210         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30211         $(test-program-cmd).
30212         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30213         $(run-program-prefix) with $(test-program-prefix).
30214         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30215         (test_program_prefix): This.
30216         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30217         $(run-program-prefix) with $(test-program-prefix).
30218         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30219         (test_program_prefix): This.
30220         * iconvdata/tst-tables.sh: Likewise.
30221         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30222         $(run-program-prefix) with $(test-program-prefix).
30223         ($(objpfx)tst-translit.out): Likewise.
30224         ($(objpfx)tst-gettext2.out): Likewise.
30225         ($(objpfx)tst-gettext4.out): Likewise.
30226         ($(objpfx)tst-gettext6.out): Likewise.
30227         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30228         (test_program_prefix): This.
30229         * intl/tst-gettext2.sh: Likewise.
30230         * intl/tst-gettext4.sh  Likewise.
30231         * intl/tst-gettext6.sh: Likewise.
30232         * intl/tst-translit.sh: Likewise.
30233         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30234         with $(test-program-cmd).
30235         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30236         $(run-program-prefix) with $(test-program-prefix).
30237         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30238         (test_program_prefix): This.
30239         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30240         $(run-program-prefix) with $(test-program-prefix).
30241         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30242         (test_program_prefix): This.
30243         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30244         * posix/Makefile ($(objpfx)globtest.out): Replace
30245         $(run-via-rtld-prefix) and $(test-wrapper) with
30246         $(test-program-prefix) and $(test-via-rtld-prefix).
30247         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30248         $(test-program-prefix).
30249         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30250         $(host-test-program-cmd).
30251         (tst-spawn-ARGS): Likewise.
30252         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30253         $(test-program-prefix).
30254         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30255         (test_via_rtld_prefix): This.
30256         (test_wrapper): Renamed to ...
30257         (test_program_prefix): This.
30258         (run_program_prefix): Replaced by test_program_prefix.
30259         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30260         (test_program_prefix): This.
30261         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30262         with $(host-test-program-cmd).
30263         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30264         $(run-program-prefix) with $(test-program-prefix).
30265         ($(objpfx)tst-printf.out): Likewise.
30266         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30267         $(test-program-cmd).
30268         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30269         (test_program_prefix): This.
30270         * stdio-common/tst-unbputc.sh: Likewise.
30271         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30272         $(run-program-prefix) with $(test-program-prefix).
30273         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30274         (test_program_prefix): This.
30275         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30276         $(built-program-cmd) with $(test-program-cmd).
30277
30278 2013-01-11  Andreas Jaeger  <aj@suse.de>
30279
30280         [BZ #15003]
30281         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30282         value. Sync with Linux 3.7.
30283
30284 2013-01-10  David S. Miller  <davem@davemloft.net>
30285
30286         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30287         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30288         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30289
30290 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30291
30292         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30293         never set.
30294         * configure: Regenerated.
30295
30296 2013-01-10  David S. Miller  <davem@davemloft.net>
30297
30298         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30299         sparc V9 rather than using V8 code.
30300         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30301         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30302
30303 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30304
30305         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30306         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30307         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30308         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30309         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30310         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30311         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30312         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30313         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30314         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30315         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30316         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30317         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30318         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30319         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30320         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30321         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30322         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30323         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30324         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30325         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30326         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30327         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30328         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30329         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30330         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30331         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30332
30333 2013-01-10  David S. Miller  <davem@davemloft.net>
30334
30335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30336
30337 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30338
30339         * posix/Makefile (tests-static): New variable.
30340         (tests): Add $(tests-static).
30341         (tst-exec-static-ARGS): New variable.
30342         (tst-spawn-static-ARGS): Likewise.
30343         * posix/tst-exec-static.c: New file.
30344         * posix/tst-spawn-static.c: Likewise.
30345         * posix/tst-exec.c: Support run directly.
30346         * posix/tst-spawn.c: Likewise.
30347
30348 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30349
30350         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30351         long.
30352         * math/bits/mathcalls.h (llrint): Likewise.
30353         (llround): Likewise.
30354         * stdlib/stdlib.h (struct drand48_data): Likewise.
30355         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30356         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30357         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30358         Likewise.
30359         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30360         Likewise.
30361         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30362         (elf_greg_t): Likewise.
30363         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30364         (__jmp_buf): Likewise.
30365         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30366         definitions.
30367         (llrint): Likewise, for all definitions.
30368         (llrintl): Likewise.
30369
30370         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30371         Remove [__GNUC__] condition.
30372         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30373         condition to just [__USE_ISOC99].
30374         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30375
30376 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30377
30378         [BZ #14200]
30379         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30380         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30381         defined.
30382         (_POSIX_V6_ILP32_OFF32): Likewise.
30383         (_XBS5_ILP32_OFF32): Likewise.
30384         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30385         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30386
30387 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30388
30389         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30390
30391         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30392         doubles __mpexp_twomm1.  Adjust usage.
30393         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30394         Remove.
30395
30396 2013-01-10  Andreas Schwab  <schwab@suse.de>
30397
30398         [BZ #14964]
30399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30400         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30401
30402 2013-01-09  David S. Miller  <davem@davemloft.net>
30403
30404         [BZ #15003]
30405         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30406         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30407         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30408         (TCP_FASTOPEN): Define.
30409         (tcp_repair_opt): New structure.
30410         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30411         enum values.
30412         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30413         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30414         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30415         (tcp_cookie_transactions): New structure.
30416
30417 2013-01-09  Anton Blanchard  <anton@samba.org>
30418
30419         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30420         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30421         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30422         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30423
30424 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30425
30426         * include/features.h (__USE_ANSI): Remove.
30427
30428 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30429
30430         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30431
30432         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30433
30434 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30435
30436         * sysdeps/s390/fpu/libm-test-ulps: Update.
30437
30438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30439
30440         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30441         (__acr): Likewise.
30442         (__cpy): Likewise.
30443         (norm): Likewise.
30444         (denorm): Likewise.
30445         (__mp_dbl): Likewise.
30446         (__dbl_mp): Likewise.
30447         (add_magnitudes): Likewise.
30448         (sub_magnitudes): Likewise.
30449         (__add): Likewise.
30450         (__sub): Likewise.
30451         (__mul): Likewise.
30452         (__inv): Likewise.
30453         (__dvd): Likewise.
30454         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30455         (__acr): Likewise.
30456         (__cpy): Likewise.
30457         (norm): Likewise.
30458         (denorm): Likewise.
30459         (__mp_dbl): Likewise.
30460         (__dbl_mp): Likewise.
30461         (add_magnitudes): Likewise.
30462         (sub_magnitudes): Likewise.
30463         (__add): Likewise.
30464         (__sub): Likewise.
30465         (__mul): Likewise.
30466         (__inv): Likewise.
30467         (__dvd): Likewise.
30468         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30469         (__acr): Likewise.
30470         (__cpy): Likewise.
30471         (norm): Likewise.
30472         (denorm): Likewise.
30473         (__mp_dbl): Likewise.
30474         (__dbl_mp): Likewise.
30475         (add_magnitudes): Likewise.
30476         (sub_magnitudes): Likewise.
30477         (__add): Likewise.
30478         (__sub): Likewise.
30479         (__mul): Likewise.
30480         (__inv): Likewise.
30481         (__dvd): Likewise.
30482
30483 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30484
30485         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30486         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30487         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30488         2 && __USE_EXTERN_INLINES]: Likewise.
30489
30490 2013-01-08  Andreas Jaeger  <aj@suse.de>
30491
30492         [BZ# 14985]
30493         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30494         Remove.
30495         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30496         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30497
30498 2013-01-07  Anton Blanchard  <anton@samba.org>
30499
30500         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30501         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30502         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30503         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30504         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30505         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30506         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30507         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30508         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30509         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30510         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30511         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30512         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30513         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30514         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30515         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30516         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30517         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30518         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30519         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30520         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30521         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30522         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30523         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30524         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30525         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30526         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30527         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30528         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30529         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30530         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30531         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30532         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30533         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30534         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30535         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30536         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30537         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30538         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30539         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30540         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30541         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30542         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30543
30544 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30545
30546         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30547         (__MALLOC_PMT): Likewise.
30548         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30549         [__GNUC__], only on [_LIBC].
30550         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30551         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30552         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30553         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30554         forward declaration.
30555         (realloc_hook_ini): Likewise.
30556         (memalign_hook_ini): Likewise.
30557         (__libc_memalign): Do not use __MALLOC_PMT in variable
30558         declaration.
30559         (__libc_valloc): Likewise.
30560         (__libc_pvalloc): Likewise.
30561         (__libc_calloc): Likewise.
30562         (__posix_memalign): Likewise.
30563
30564         [BZ #14996]
30565         * math/s_casinh.c: Include <float.h>.
30566         (__casinh): Do not do computation with squaring and square root
30567         for large arguments.
30568         * math/s_casinhf.c: Include <float.h>.
30569         (__casinhf): Do not do computation with squaring and square root
30570         for large arguments.
30571         * math/s_casinhl.c: Include <float.h>.
30572         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30573         (__casinhl): Do not do computation with squaring and square root
30574         for large arguments.
30575         * math/libm-test.inc (casin_test): Add more tests.
30576         (casinh_test): Likewise.
30577         * sysdeps/i386/fpu/libm-test-ulps: Update.
30578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30579
30580 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30581
30582         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30583         (__x86_64_raw_data_cache_size): Likewise.
30584         (__x86_64_data_cache_size_half): Likewise.
30585         (__x86_64_raw_data_cache_size_half): Likewise.
30586         (__x86_64_shared_cache_size): Likewise.
30587         (__x86_64_raw_shared_cache_size): Likewise.
30588         (__x86_64_shared_cache_size_half): Likewise.
30589         (__x86_64_raw_shared_cache_size_half): Likewise.
30590         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30591         to ...
30592         (__x86_data_cache_size): This.
30593         (__x86_64_raw_data_cache_size): Renamed to ...
30594         (__x86_raw_data_cache_size): This.
30595         (__x86_64_data_cache_size_half): Renamed to ...
30596         (__x86_data_cache_size_half): This.
30597         (__x86_64_raw_data_cache_size_half): Renamed to ...
30598         (__x86_raw_data_cache_size_half): This.
30599         (__x86_64_shared_cache_size): Renamed to ...
30600         (__x86_shared_cache_size): This.
30601         (__x86_64_raw_shared_cache_size): Renamed to ...
30602         (__x86_raw_shared_cache_size): This.
30603         (__x86_64_shared_cache_size_half): Renamed to ...
30604         (__x86_shared_cache_size_half): This.
30605         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30606         (__x86_raw_shared_cache_size_half): This.
30607         * sysdeps/x86_64/memcpy.S: Updated.
30608         * sysdeps/x86_64/memset.S: Likewise.
30609         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30610         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30611         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30612
30613 2013-01-04  David S. Miller  <davem@davemloft.net>
30614
30615         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30616
30617 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30618
30619         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30620         1 to avoid redefinition warning.
30621         (__USE_GNU): Don't define.
30622         (init_signaling_nan): Protoize.
30623
30624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30625
30626 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30627
30628         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30629         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30630         (__cpymn): Likewise.
30631         (norm): Remove commented code.
30632         (denorm): Likewise.
30633         (__mp_dbl): Likewise.
30634         (__inv): Likewise.
30635         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30636         (__cpymn): Likewise.
30637         (norm): Remove commented code.
30638         (denorm): Likewise.
30639         (__mp_dbl): Likewise.
30640         (__inv): Likewise.
30641
30642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30643         mp_no value for 1.0 and 2.0.
30644         (norm): Use RADIXI instead of radixi.d.
30645         (denorm): Likewise.
30646         (__mul): Use 0.0 instead of zero.d.
30647         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30648         mp_no value for 1.0 and 2.0.
30649         (norm): Use RADIXI instead of radixi.d.
30650         (denorm): Likewise.
30651         (__mul): Use 0.0 instead of zero.d.
30652
30653 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30654
30655         [BZ #14994]
30656         * math/s_casinh.c (__casinh): Reduce finite argument to first
30657         quadrant then set signs of results at the end.
30658         * math/s_casinhf.c (__casinhf): Likewise.
30659         * math/s_casinhl.c (__casinhl): Likewise.
30660         * math/libm-test.inc (casin_test): Add more tests.
30661         (casinh_test): Likewise.
30662         * sysdeps/i386/fpu/libm-test-ulps: Update.
30663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30664
30665 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30666
30667         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30668
30669         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30670
30671         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30672         declarations.
30673         (denorm): Likewise.
30674         (__mp_dbl): Likewise.
30675         (__inv): Likewise.
30676
30677         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30678         and adjust the header comment.
30679
30680         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30681         variable name from declaration.
30682
30683 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30684
30685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30686         Initialize COMMON_CPUID_INDEX_7 element.
30687         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30688         (CPUID_RTM): Likewise.
30689         (HAS_RTM): Likewise.
30690         (COMMON_CPUID_INDEX_7): New enum.
30691
30692 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30693
30694         [BZ #14981]
30695         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30696         size is zero, record memory as freed.
30697
30698 2013-01-03  Andreas Jaeger  <aj@suse.de>
30699
30700         * po/ia.po: Add new Interlingua translation.
30701
30702 2012-01-03  Allan McRae  <allan@archlinux.org>
30703
30704         * locale/programs/localedef.c: Fix description of '--posix' flag.
30705
30706 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30707
30708         * NEWS: Update dates in second copyright notice.
30709         * README: Update copyright dates in example.
30710         * manual/libc.texinfo: Update copyright dates.
30711         * scripts/test-installation.pl: Update copyright date in --version
30712         output.
30713
30714         * hurd/ctty-input.c: Fix copyright notice formatting.
30715         * hurd/ctty-output.c: Likewise.
30716         * hurd/dtable.c: Likewise.
30717         * hurd/hurd-raise.c: Likewise.
30718         * hurd/hurdprio.c: Likewise.
30719         * hurd/msgportdemux.c: Likewise.
30720         * misc/sys/file.h: Likewise.
30721         * misc/sys/ioctl.h: Likewise.
30722         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30723         * sysdeps/mach/hurd/chdir.c: Likewise.
30724         * sysdeps/mach/hurd/fchdir.c: Likewise.
30725         * sysdeps/mach/hurd/rename.c: Likewise.
30726         * sysdeps/mach/hurd/rmdir.c: Likewise.
30727         * sysdeps/mach/hurd/seekdir.c: Likewise.
30728         * sysdeps/mach/hurd/setsid.c: Likewise.
30729         * sysdeps/posix/wait3.c: Likewise.
30730
30731         * All files with FSF copyright notices: Update copyright dates
30732         using scripts/update-copyrights.
30733         * intl/plural.c: Regenerated.
30734         * locale/programs/charmap-kw.h: Likewise.
30735         * locale/programs/locfile-kw.h: Likewise.
30736
30737 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30738
30739         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30740         four values.
30741
30742         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30743         calculation loop and add branch prediction.
30744
30745         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30746         check access beyond bounds of m1np.
30747
30748         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30749         MPTWO.
30750         (__inv): Remove local variable MPTWO to use the global
30751         constant.
30752         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30753         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30754         variable MPTWO.
30755         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30756         MP3HALFS static const.
30757
30758 2013-01-01  David S. Miller  <davem@davemloft.net>
30759
30760         * po/ca.po: Update from translation team.
30761
30762 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30763
30764         * scripts/update-copyrights: New file.
30765         * Makeconfig: Reformat copyright notice.
30766         * ctype/ctype.h: Likewise.
30767         * debug/swprintf_chk.c: Likewise.
30768         * elf/dl-cache.c: Likewise.
30769         * elf/dl-debug.c: Likewise.
30770         * elf/dl-object.c: Likewise.
30771         * grp/initgroups.c: Likewise.
30772         * hurd/Makefile: Likewise.
30773         * hurd/hurd/signal.h: Likewise.
30774         * hurd/hurdfault.c: Likewise.
30775         * hurd/hurdioctl.c: Likewise.
30776         * hurd/hurdlookup.c: Likewise.
30777         * hurd/intr-msg.c: Likewise.
30778         * iconv/gconv_open.c: Likewise.
30779         * libio/swprintf.c: Likewise.
30780         * locale/lc-ctype.c: Likewise.
30781         * locale/nl_langinfo.c: Likewise.
30782         * mach/Machrules: Likewise.
30783         * mach/Makefile: Likewise.
30784         * malloc/obstack.h: Likewise.
30785         * manual/Makefile: Likewise.
30786         * manual/tsort.awk: Likewise.
30787         * misc/bits/stab.def: Likewise.
30788         * nis/nis_print_group_entry.c: Likewise.
30789         * nis/nis_table.c: Likewise.
30790         * nis/nss_compat/compat-pwd.c: Likewise.
30791         * nis/nss_compat/compat-spwd.c: Likewise.
30792         * po/Makefile: Likewise.
30793         * posix/fnmatch.c: Likewise.
30794         * posix/regex.h: Likewise.
30795         * resolv/Makefile: Likewise.
30796         * resolv/nss_dns/dns-network.c: Likewise.
30797         * resolv/res_hconf.c: Likewise.
30798         * scripts/gen-sorted.awk: Likewise.
30799         * soft-fp/soft-fp.h: Likewise.
30800         * stdio-common/printf.h: Likewise.
30801         * stdlib/monetary.h: Likewise.
30802         * stdlib/random.c: Likewise.
30803         * stdlib/random_r.c: Likewise.
30804         * sysdeps/generic/Makefile: Likewise.
30805         * sysdeps/gnu/Makefile: Likewise.
30806         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30807         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30808         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30809         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30810         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30811         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30812         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30813         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30814         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30815         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30816         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30817         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30818         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30819         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30820         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30821         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30822         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30823         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30824         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30825         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30826         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30827         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30828         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30829         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30830         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30831         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30832         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30833         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30834         * sysdeps/mach/hurd/errnos.awk: Likewise.
30835         * sysdeps/mach/hurd/fork.c: Likewise.
30836         * sysdeps/mach/hurd/getcwd.c: Likewise.
30837         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30838         * sysdeps/mach/hurd/mmap.c: Likewise.
30839         * sysdeps/mach/hurd/utimes.c: Likewise.
30840         * sysdeps/mach/hurd/xmknod.c: Likewise.
30841         * sysdeps/posix/profil.c: Likewise.
30842         * sysdeps/posix/readdir_r.c: Likewise.
30843         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30844         * sysdeps/powerpc/bits/setjmp.h: Likewise.
30845         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30846         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30848         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30849         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30850         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30852         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30853         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30854         * sysdeps/pthread/lio_listio.c: Likewise.
30855         * sysdeps/sparc/dl-procinfo.h: Likewise.
30856         * sysdeps/unix/i386/sysdep.S: Likewise.
30857         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30858         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30859         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30860         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30862         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30863         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30864         * sysdeps/unix/sysv/linux/speed.c: Likewise.
30865         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30866         * sysdeps/wordsize-32/divdi3.c: Likewise.
30867         * time/sys/time.h: Likewise.
30868         * wcsmbs/Makefile: Likewise.
30869
30870 2013-01-01  David S. Miller  <davem@davemloft.net>
30871
30872         * po/fr.po: Update from translation team.
30873
30874         * catgets/gencat.c: Update copyright year.
30875         * csu/version.c: Likewise.
30876         * debug/catchsegv.sh: Likewise.
30877         * debug/pcprofiledump.c: Likewise.
30878         * debug/xtrace.sh: Likewise.
30879         * elf/ldconfig.c: Likewise.
30880         * elf/ldd.bash.in: Likewise.
30881         * elf/pldd.c: Likewise.
30882         * elf/sotruss.ksh: Likewise.
30883         * elf/sprof.c: Likewise.
30884         * iconv/iconv_prog.c: Likewise.
30885         * iconv/iconvconfig.c: Likewise.
30886         * locale/programs/locale.c: Likewise.
30887         * locale/programs/localedef.c: Likewise.
30888         * login/programs/pt_chown.c: Likewise.
30889         * malloc/memusage.sh: Likewise.
30890         * malloc/memusagestat.c: Likewise.
30891         * malloc/mtrace.pl: Likewise.
30892         * nscd/nscd.c: Likewise.
30893         * nss/getent.c: Likewise.
30894         * nss/makedb.c: Likewise.
30895         * posix/getconf.c: Likewise.
30896
30897 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30898
30899         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30900         numbers.
30901
30902 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
30903
30904         * math/bits/mathcalls.h (modf): Use __nonnull.
30905
30906 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30907
30908         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30909         (split): Use macro CN instead of the bare value.
30910         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30911         could be used.
30912         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30913         instead of the bare value.
30914         (power1): Likewise.
30915
30916 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30917
30918         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30919         __ATAN_TWOM.
30920         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30921
30922         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30923         their values.
30924         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30925         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30926         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30927         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30928
30929 2012-12-28  Andreas Jaeger  <aj@suse.de>
30930
30931         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
30932         values are from Linux 3.7.
30933
30934         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30935         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
30936
30937 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30938
30939         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30940         TRUE case.
30941
30942         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30943         (norm): Likewise.
30944         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30945         variables with preprocessor constants.
30946         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30947         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30948         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30949
30950 2012-12-27  Bruno Haible  <bruno@clisp.org>
30951
30952         [BZ #14317]
30953         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30954         only if needed.
30955
30956 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30957
30958         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30959         and use variable directly.
30960         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30961
30962         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30963         MPONE.
30964         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30965         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30966         variable MPONE.
30967         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30968         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30969         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30970         include directive.  Remove local variable MPONE.
30971         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30972         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30973         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30974
30975 2012-12-25  David S. Miller  <davem@davemloft.net>
30976
30977         * version.h (RELEASE): Set to "development".
30978         (VERSION): Set to "2.17.90".
30979         * NEWS: Add 2.18 section.
30980
30981 2012-12-21  David S. Miller  <davem@davemloft.net>
30982
30983         * po/hr.po: Update from translation team.
30984
30985 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30986
30987         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30988
30989 2012-12-19  Steve Ellcey  <sellcey@mips.com>
30990
30991         * NEWS:  Mention new memcpy for MIPS.
30992
30993 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30994
30995         * manual/contrib.texi (Contributors): Spelling correction.
30996
30997 2012-12-15  David S. Miller  <davem@davemloft.net>
30998
30999         * po/ru.po: Update from translation team.
31000
31001 2012-12-13  David S. Miller  <davem@davemloft.net>
31002
31003         * NEWS: Mention IFUNC testsuite enhancements.
31004
31005         * po/pl.po: Update from translation team.
31006         * po/bg.po: Likewise.
31007
31008         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31009         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31010
31011 2012-12-11  David S. Miller  <davem@davemloft.net>
31012
31013         * po/sv.po: Update from translation team.
31014
31015         * po/vi.po: Update from translation team.
31016
31017         * po/cs.po: Update from translation team.
31018
31019         * po/de.po: Update from translation team.
31020         * po/eo.po: Likewise.
31021         * po/nl.po: Likewise.
31022
31023 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31024
31025         [BZ #14246]
31026         * manual/argp.texi (Argp Helper Functions): Move node to follow
31027         Argp Parsing State.
31028
31029         [BZ #14872]
31030         * manual/conf.texi (Limits on File System Capacity): Mention if
31031         terminating null is included in the max size.
31032
31033 2012-12-10  Andreas Jaeger  <aj@suse.de>
31034
31035         * po/cs.po: Update from translation team.
31036
31037 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31038
31039         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31040         void pointer and cast to uintptr_t.
31041         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31042         path.
31043         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31044         * sysdeps/s390/s390-64/memset.S: Likewise.
31045
31046 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31047
31048         [BZ #14833]
31049         * menual/message.texi (Message Translation): Fix typos.
31050         (Helper programs for gettext): Likewise.
31051
31052 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31053
31054         [BZ #14898]
31055         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31056         Change to -1.
31057
31058 2012-12-07  David S. Miller  <davem@davemloft.net>
31059
31060         * po/libc.pot: Update.
31061
31062 2012-12-07  Richard Henderson  <rth@redhat.com>
31063
31064         [BZ #10114]
31065         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31066         normal/normal case to before the switch.
31067         (_FP_DIV): Likewise.
31068
31069 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31070             Mike Frysinger  <vapier@gentoo.org>
31071
31072         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31073         check for __NR_fadvise64_64.
31074
31075 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31076
31077         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31078         0, not just to plain "0" as a statement.
31079         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31080         with cw.
31081
31082 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31083
31084         * NEWS: Use sourceware.org in Bugzilla URL.
31085
31086 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31087
31088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31089         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31090
31091         * stdio-common/tst-put-error.c (do_test): Add newline to the
31092         padded test to ensure flush.
31093
31094 2012-12-05  Jeff Law  <law@redhat.com>
31095
31096         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31097
31098 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31099
31100         * README: Don't refer to ports add-on as distributed separately.
31101         Mention AArch64 in list of systems supported in the ports add-on.
31102
31103         * LICENSES: Add more non-FSF copyright and license notices.
31104
31105         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31106         ((unused)).
31107
31108         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31109
31110         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31111         10000 as width of padded output.
31112
31113 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31114
31115         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31116
31117         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31118         variable LX with __attribute__ ((unused)).
31119         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31120         Likewise.
31121         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31122         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31123         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31124         with __attribute__ ((unused)).
31125
31126 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31127
31128         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31129
31130 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31131
31132         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31133         (CFLAGS-nldbl-acos.c): New variable.
31134         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31135         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31136         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31137         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31138         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31139         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31140         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31141         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31142         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31143         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31144         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31145         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31146         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31147         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31148         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31149         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31150         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31151         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31152         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31153         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31154         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31155         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31156         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31157         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31158         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31159         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31160         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31161         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31162         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31163         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31164         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31165         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31166         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31167         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31168         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31169         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31170         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31171         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31172         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31173         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31174         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31175         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31176         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31177         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31178         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31179         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31180         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31181         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31182         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31183         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31184         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31185         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31186         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31187         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31188         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31189         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31190         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31191         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31192         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31193         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31194         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31195         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31196         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31197         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31198         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31199         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31200         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31201         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31202         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31203         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31204         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31205         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31206         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31207         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31208         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31209         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31210         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31211         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31212         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31213         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31214         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31215         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31216         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31217         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31218         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31219         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31220         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31221         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31222         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31223         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31224         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31225         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31226         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31227         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31228         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31229         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31230         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31231
31232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31233         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31234
31235         [BZ #14914]
31236         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31237         whole low double instead of just low 47 bits when splitting values
31238         into two parts.
31239
31240 2012-12-03  Allan McRae  <allan@archlinux.org>
31241
31242         * manual/stdio.texi (Predefined Printf Handlers): Remove
31243         @hsep and @vsep usage.
31244
31245 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31246
31247         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31248         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31249
31250 2012-12-03  Jeff Law  <law@redhat.com>
31251
31252         * time/sys/time.h (settimeofday): Do not mark TV argument
31253         as __nonnull.
31254
31255 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31256
31257         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31258         when currently writing and seek to current position when not.
31259         * libio/Makefile (tests): Remove bug-fclose1.
31260         * libio/bug-fclose1.c: Delete.
31261
31262 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31263
31264         * manual/arith.texi (feenableexcept): Fix typo.
31265         (fedisableexcept): Likewise.
31266
31267 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31268
31269         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31270         second, differently-typed declaration, rather than a cast.
31271
31272 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31273
31274         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31275         * include/rpc/svc.h: ... here.
31276
31277 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31278
31279         [BZ #13013]
31280         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31281         depending n and resplen2 to catch cases where answer
31282         equals answerp2.
31283
31284 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31285
31286         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31287         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31288
31289 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31290
31291         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31292
31293 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31294
31295         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31296
31297 2012-11-28  Jeff Law  <law@redhat.com>
31298
31299         [BZ #13761]
31300         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31301         dataset_temporary.  Track alloca usage into alloca_used.
31302         If dataset is large allocate and release it via malloc/free.
31303
31304 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31305
31306         [BZ #14197]
31307         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31308
31309 2012-11-28  David S. Miller  <davem@davemloft.net>
31310
31311         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31312
31313 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31314
31315         [BZ #14803]
31316         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31317         of pi/2 rounded to nearest to 64 bits.
31318         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31319         nearest to 64 bits.
31320         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31321         bits.
31322
31323 2012-11-28  Jeff Law <law@redhat.com>
31324             Martin Osvald <mosvald@redhat.com>
31325
31326         [BZ #14889]
31327         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31328         * sunrpc/svc.c: Include time.h.
31329         (__svc_accept_failed): New function.
31330         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31331         any reason other than EINTR, call __svc_accept_failed.
31332         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31333         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31334
31335 2012-11-28  Andreas Schwab  <schwab@suse.de>
31336
31337         * scripts/abilist.awk: Also handle indirect functions in .opd
31338         section.
31339
31340 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31341
31342         [BZ #13881]
31343         * sysdeps/x86/fpu/powl_helper.c: New file.
31344         * sysdeps/x86/fpu/Makefile: Likewise.
31345         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31346         (p3): New object.
31347         (__ieee754_powl): Use __powl_helper for finite arguments except
31348         integer exponents below 8.
31349         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31350         (p3): New object.
31351         (__ieee754_powl): Use __powl_helper for finite arguments except
31352         integer exponents below 8.
31353         * math/libm-test.inc (pow_test): Add more tests and enable some
31354         previously disabled tests.
31355         * sysdeps/i386/fpu/libm-test-ulps: Update.
31356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31357
31358 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31359             Carlos O'Donell  <carlos_odonell@mentor.com>
31360
31361         * nss/makedb.c (is_prime): Assert that input is odd and greater
31362         than 4.  Note that fact in a comment too.
31363         (next_prime): Add 4 to input.
31364
31365 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31366
31367         [BZ #11741]
31368         * libio/Makefile (tests): Add test case tst-fwrite-error.
31369         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31370         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31371         * libio/tst-fwrite-error.c: New test case.
31372
31373 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31374
31375         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31376         before casting to void *.
31377         * include/libc-internal.h (__pointer_type): New macro.
31378         (__integer_if_pointer_type_sub): Likewise.
31379         (__integer_if_pointer_type): Likewise.
31380         (cast_to_integer): Likewise.
31381         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31382         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31383         before casting to atomic64_t.
31384         (atomic_exchange_acq): Likewise.
31385         (__arch_exchange_and_add_body): Likewise.
31386         (__arch_add_body): Likewise.
31387         (atomic_add_negative): Likewise.
31388         (atomic_add_zero): Likewise.
31389
31390 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31391
31392         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31393         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31394         (add_fdes): Likewise.
31395         (linear_search_fdes): Likewise.
31396         (binary_search_unencoded_fdes): Likewise.
31397
31398 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31399
31400         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31401
31402 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31403
31404         * configure.in: Autodetect C++ header directories.
31405         * configure: Regenerated.
31406
31407 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31408
31409         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31410
31411 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31412
31413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31414
31415 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31416
31417         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31418         LDBL_MANT_DIG == 106]: Disable some tests.
31419         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31420         Likewise.
31421         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31422         Likewise.
31423
31424         [BZ #14871]
31425         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31426         input for small inputs.  Return +/- pi/2 for large inputs.
31427         * math/libm-test.inc (atan_test): Add more tests.
31428
31429         * sysdeps/generic/unwind-dw2-fde-glibc.c
31430         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31431         __attribute__ ((unused)).
31432
31433         [BZ #14645]
31434         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31435         x * y if x and y are nonzero and z is zero.
31436
31437         [BZ #14811]
31438         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31439         nonzero exponents with absolute value below 0x1p-117 to +/-
31440         0x1p-117.
31441
31442         [BZ #14869]
31443         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31444         up arguments below 2**-450, not just those below 2**-500.
31445         * math/libm-test.inc (hypot_test): Add another test.
31446
31447         [BZ #14868]
31448         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31449         Return a+b for ratio over 2**120, not 2**60.
31450         * math/libm-test.inc (hypot_test): Add another test.
31451
31452         * math/libm-test.inc (clog_test): Use
31453         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31454         (clog10_test): Likewise.
31455
31456         [BZ #6778]
31457         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31458
31459 2012-11-22  Andreas Schwab  <schwab@suse.de>
31460
31461         * sysdeps/i386/fpu/libm-test-ulps: Update.
31462
31463 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31464
31465         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31466         printf output with newline.
31467
31468 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31469
31470         [BZ #14865]
31471         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31472         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31473         -z nodlopen, -z initfirst and -z execstack support.
31474         * configure: Regenerated.
31475
31476         * elf/elf.h (DF_1_NODIRECT): New macro.
31477         (DF_1_IGNMULDEF): Likewise.
31478         (DF_1_NOKSYMS): Likewise.
31479         (DF_1_NOHDR): Likewise.
31480         (DF_1_EDITED): Likewise.
31481         (DF_1_NORELOC): Likewise.
31482         (DF_1_SYMINTPOSE): Likewise.
31483         (DF_1_GLOBAUDIT): Likewise.
31484         (DF_1_SINGLETON): Likewise.
31485         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31486         DT_1_SUPPORTED_MASK bits.
31487         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31488
31489 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31490
31491         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31492
31493 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31494
31495         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31496         macro.
31497
31498         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31499         (sendmmsg): Move declarations...
31500         * socket/sys/socket.h: ... here.
31501         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31502         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31503         include it from...
31504         * socket/recvmmsg.c: ... this new file.
31505         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31506         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31507         definition of __sendmmsg hidden.
31508         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31509         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31510         Move ENOSYS stub into and include it from...
31511         * socket/sendmmsg.c: ... this new file.
31512         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31513         (sysdep_routines): Move recvmmsg and sendmmsg...
31514         * socket/Makefile (routines): ... here.
31515         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31516         (GLIBC_PRIVATE): Add __sendmmsg.
31517         * include/sys/socket.h (__sendmmsg): Add declarations.
31518         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31519         sendmmsg.
31520
31521 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31522
31523         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31524         variable I1 with __attribute__ ((unused)).
31525         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31526
31527 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31528
31529         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31530         DUMMY variables with __attribute__ ((unused)).
31531
31532         * bits/byteswap.h: Include <bits/types.h>.
31533         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31534
31535 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31536
31537         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31538         string_t.  Do not manually set errno.
31539         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31540         length with __strnlen.  Make sure to both set errno and return it on
31541         failure.
31542
31543 2012-11-19  David S. Miller  <davem@davemloft.net>
31544
31545         With help from Joseph Myers.
31546         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31547         very large arguments properly.
31548         * math/libm-test.inc (atan_test): New tests.
31549         (atan2_test): New tests.
31550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31552
31553 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31554
31555         [BZ #14856]
31556         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31557         Define to 3.
31558
31559         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31560         [POSIX] (EADDRNOTAVAIL): Likewise.
31561         [POSIX] (EAFNOSUPPORT): Likewise.
31562         [POSIX] (EALREADY): Likewise.
31563         [POSIX] (ECONNABORTED): Likewise.
31564         [POSIX] (ECONNREFUSED): Likewise.
31565         [POSIX] (ECONNRESET): Likewise.
31566         [POSIX] (EDESTADDRREQ): Likewise.
31567         [POSIX] (EDQUOT): Likewise.
31568         [POSIX] (EHOSTUNREACH): Likewise.
31569         [POSIX] (EIDRM): Likewise.
31570         [POSIX] (EISCONN): Likewise.
31571         [POSIX] (ELOOP): Likewise.
31572         [POSIX] (EMULTIHOP): Likewise.
31573         [POSIX] (ENETDOWN): Likewise.
31574         [POSIX] (ENETUNREACH): Likewise.
31575         [POSIX] (ENOBUFS): Likewise.
31576         [POSIX] (ENODATA): Likewise.
31577         [POSIX] (ENOLINK): Likewise.
31578         [POSIX] (ENOMSG): Likewise.
31579         [POSIX] (ENOPROTOOPT): Likewise.
31580         [POSIX] (ENOSR): Likewise.
31581         [POSIX] (ENOSTR): Likewise.
31582         [POSIX] (ENOTCONN): Likewise.
31583         [POSIX] (ENOTSOCK): Likewise.
31584         [POSIX] (EOPNOTSUPP): Likewise.
31585         [POSIX] (EOVERFLOW): Likewise.
31586         [POSIX] (EPROTO): Likewise.
31587         [POSIX] (EPROTONOSUPPORT): Likewise.
31588         [POSIX] (EPROTOTYPE): Likewise.
31589         [POSIX] (ESTALE): Likewise.
31590         [POSIX] (ETIME): Likewise.
31591         [POSIX] (ETXTBSY): Likewise.
31592         [POSIX] (EWOULDBLOCK): Likewise.
31593         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31594         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31595         [POSIX] (SEEK_CUR): Likewise.
31596         [POSIX] (SEEK_END): Likewise.
31597         [POSIX || UNIX98] (mode_t): Do not require.
31598         [POSIX] (off_t): Likewise.
31599         [POSIX] (pid_t): Likewise.
31600         [POSIX] (sys/stat.h): Do not allow header.
31601         [POSIX] (unistd.h): Likewise.
31602         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31603         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31604         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31605         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31606         require.
31607         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31608         sigevent): Specify elements.
31609         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31610         entry.
31611         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31612         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31613
31614         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31615         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31616         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31617         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31618         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31619         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31620         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31621         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31622         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31623         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31624         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31625         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31626         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31627         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31628         Likewise.
31629         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31630         Likewise.
31631         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31632         Likewise.
31633         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31634         Likewise.
31635         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31636         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31637         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31638         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31639         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31640         Specify lower bound on value.
31641         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31642         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31643         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31644         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31645         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31646         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31647         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31648         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31649         value.
31650         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31651         as optional.
31652         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31653         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31654         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31655         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31656         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31657         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31658         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31659         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31660         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31661         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31662         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31663         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31664         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31665         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31666         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31667         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31668         entry.
31669         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31670         optional.
31671         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31672         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31673         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31674         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31675         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31676         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31677         Likewise.
31678         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31679         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31680         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31681         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31682         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31683         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31684         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31685         as optional.
31686         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31687         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31688         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31689         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31690         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31691         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31692         specify as optional.
31693         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31694         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31695         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31696         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31697         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31698         [XPG3] (NL_LANGMAX): Likewise.
31699         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31700         [POSIX || XPG3] (NL_NMAX): Likewise.
31701         [POSIX || XPG3] (NL_SETMAX): Likewise.
31702         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31703         [XPG3] (NZERO): Likewise.
31704         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31705         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31706         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31707         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31708         (REG_ERANGE): Expect.
31709         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31710         optional-constant.
31711         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31712         Use (void) in prototype.
31713         [POSIX] (*_t): Allow.
31714         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31715         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31716         (WRDE_BADVAL): Expect.
31717
31718         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31719         expect.
31720         [XPG3 || XPG4] (O_RSYNC): Likewise.
31721         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31722         Likewise.
31723         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31724         [XPG3 || XPG4] (sigqueue): Likewise.
31725         [XPG3 || XPG4] (sigtimedwait): Likewise.
31726         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31727         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31728         [XPG3 || XPG4] (vsnprintf): Likewise.
31729         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31730         Likewise.
31731         [XPG3 || XPG4] (blksize_t): Likewise.
31732         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31733         Likewise.
31734         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31735         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31736         [XPG3 || XPG4] (struct itimerspec): Likewise.
31737         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31738         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31739         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31740         [XPG3 || XPG4] (clockid_t): Likewise.
31741         [XPG3 || XPG4] (timer_t): Likewise.
31742         [XPG3 || XPG4] (clock_getres): Likewise.
31743         [XPG3 || XPG4] (clock_gettime): Likewise.
31744         [XPG3 || XPG4] (clock_settime): Likewise.
31745         [XPG3 || XPG4] (nanosleep): Likewise.
31746         [XPG3 || XPG4] (timer_create): Likewise.
31747         [XPG3 || XPG4] (timer_delete): Likewise.
31748         [XPG3 || XPG4] (timer_gettime): Likewise.
31749         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31750         [XPG3 || XPG4] (timer_settime): Likewise.
31751         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31752         [XPG3 || XPG4] (getlogin_r): Likewise.
31753         [XPG3 || XPG4] (pread): Likewise.
31754         [XPG3 || XPG4] (pthread_atfork): Likewise.
31755         [XPG3 || XPG4] (pwrite): Likewise.
31756
31757         [BZ #14835]
31758         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31759         <bits/siginfo.h>.
31760
31761 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31762
31763         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31764         finalizing MALLSTREAM.
31765
31766         * sysdeps/mach/hurd/syncfs.c: New file.
31767
31768 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31769
31770         [BZ #14719]
31771         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31772         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31773         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31774         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31775         (_nss_dns_gethostbyname4_r): Likewise.
31776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31777         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31778
31779 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31780
31781         [BZ #13763]
31782         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31783
31784 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31785
31786         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31787         * elf/cache.c (print_entry): Print ",AArch64" for
31788         FLAG_AARCH64_LIB64
31789
31790         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31791         * elf/cache.c (print_entry): Print ",hard-float" for
31792         FLAG_ARM_LIBHF.
31793
31794 2012-11-18  David S. Miller  <davem@davemloft.net>
31795
31796         With help from Joseph Myers.
31797         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31798         cutoff to 2**-13.
31799         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31800         cutoff to 2**-25.
31801         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31802         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31803         small.
31804         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31805         * math/libm-test.inc (y0_test): New tests.
31806         (y1_test): New tests.
31807         * sysdeps/i386/fpu/libm-test-ulps: Update.
31808         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31810
31811 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
31812
31813         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31814         64-bit targets.
31815         * configure: Regenerated.
31816
31817 2012-11-17  David S. Miller  <davem@davemloft.net>
31818
31819         [BZ #14811]
31820         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31821         nonzero exponents with absolute value below 0x1p-128 to +/-
31822         0x1p-128.
31823
31824 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
31825
31826         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31827
31828         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31829
31830         * posix/getconf-speclist.c: New file.
31831         * posix/posix-envs.def: Likewise.
31832         * posix/confstr.c (START_ENV_GROUP): New macro.
31833         (END_ENV_GROUP): Likewise.
31834         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31835         (KNOWN_PRESENT_ENV_STRING): Likewise.
31836         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31837         (UNKNOWN_ENVIRONMENT): Likewise.
31838         (confstr): Include posix-envs.def instead of handling
31839         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31840         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31841         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31842         (END_ENV_GROUP): Likewise.
31843         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31844         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31845         (UNKNOWN_ENVIRONMENT): Likewise.
31846         (__sysconf): Include posix-envs.def instead of handling associated
31847         cases directly here.
31848         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31849         preprocessing getconf-speclist.c rather than running getconf or
31850         generating empty file.
31851
31852 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
31853
31854         * scripts/check-local-headers.sh: Ignore 'mach' headers.
31855
31856 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
31857
31858         [BZ #14672]
31859         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31860
31861 2012-11-16  David S. Miller  <davem@davemloft.net>
31862
31863         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31864         smaller than LDBL_EPSILON/2.0L, just return xm1.
31865
31866 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
31867
31868         * elf/tst-array1.c (init): Set constructor priority to 1000.
31869         (fini): Set destructor priority to 1000.
31870         * elf/tst-array2dep.c: Likewise.
31871
31872 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31873
31874         [BZ #11741]
31875         * libio/fileops.c (_IO_new_file_write): Correctly return error.
31876         (_IO_new_file_xsputn): Also return EOF if none of the input
31877         data was written when overflow failed.
31878         * libio/iopadn.c (_IO_padn): Likewise.
31879         * libio/iowpadn.c (_IO_wpadn): Likewise.
31880         * stdio-common/tst-put-error.c: Add copyright notice.
31881         (do_test): Add case for printing padded string.
31882         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31883         _IO_padn returned error.
31884         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31885         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31886         return EOF.
31887
31888 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31889
31890         * libio/libioP.h: Add comment note that the references to C++
31891         bits are now obsolete.
31892
31893 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31894
31895         * math/libm-test.inc (check_complex): Use asprintf.
31896
31897 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
31898
31899         * debug/pcprofiledump.c (print_version): Update copyright year.
31900         * malloc/memusagestat.c (print_version): Likewise.
31901
31902 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
31903
31904         [BZ #14831]
31905         * elf/Makefile (tests): Add tst-audit8.
31906         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31907         ($(objpfx)tst-audit8.out): New target.
31908         (tst-audit8-ENV): New variable.
31909         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31910         audit if l_reloc_result is NULL.
31911         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31912         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31913         * elf/tst-audit8.c: New file.
31914
31915 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31916
31917         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31918         * misc/Makefile (CFLAGS-select.c): Define.
31919         * posix/Makefile (CFLAGS-pause.c): Define.
31920
31921 2012-11-13  David S. Miller  <davem@davemloft.net>
31922
31923         * crypt/Makefile: Move test targets after toplevel Rules
31924         inclusion.  Grab any necessary sysdep routines when linking.
31925         * crypt/md5.c (md5_process_block): Remove define, we will always
31926         name it __md5_process_block.
31927         (md5_finish_ctx): Update md5_process_block call.
31928         (md5_stream): Likewise.
31929         (md5_process_bytes): Likewise.
31930         (md5_process_block): Rename to __md5_process_block and move to ...
31931         * crypt/md5-block.c: ... here.
31932         * crypt/sha256.c (sha256_process_block): Move to ...
31933         * crypt/sha256-block.c: ... here.
31934         * crypt/sha512.c (sha512_process_block): Move to ...
31935         * crypt/sha512-block.c: ... here.
31936         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31937         path.
31938         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31939         * sysdeps/sparc/sparc64/multiarch/Makefile
31940         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31941         crypt subdir.
31942         (localedef-aux): Add md5 crypto assembler when in locale subdir.
31943         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31944         multiarch changes.
31945         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31946         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31947         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31948         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31949         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31950         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31951         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31952         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31953         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31954         file.
31955         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31956         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31957         file.
31958         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31959
31960 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
31961
31962         * timezone/tzselect.ksh: Update from tzcode git revision
31963         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31964         * timezone/zdump.c: Likewise.
31965         * timezone/zic.c: Likewise.
31966         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31967         in TZVERSION setting, not $(PKGVERSION).
31968         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
31969         REPORT_BUGS_TO settings.
31970
31971         [BZ #14838]
31972         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31973         macro.
31974
31975 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31976
31977         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31978         detection to immediately after _FP_ROUND().
31979         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31980         bits are 0.
31981
31982 2012-11-11  David S. Miller  <davem@davemloft.net>
31983
31984         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31985         inttypes.h
31986         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31987         __close rather than their public counterparts.
31988
31989 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
31990
31991         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31992         file.
31993         [UNIX98] (sem_timedwait): Do not expect.
31994         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31995         [XPG4 || UNIX98] (sockatmark): Do not expect.
31996         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31997         (clock_getcpuclockid): Do not expect.
31998         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31999         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32000         Do not expect.
32001         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32002         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32003         [UNIX98] (vwscanf): Likewise.
32004         [UNIX98] (vswscanf): Likewise.
32005
32006 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32007
32008         * timezone/version.h: Remove file.
32009         * timezone/README: Do not refer to version.h.
32010         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32011         $(objpfx)version.h.
32012         ($(objpfx)zdump.o): Likewise.
32013         ($(objpfx)version.h): New target.
32014
32015         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32016         2012i.
32017         * timezone/README: Don't mention modification to tzselect.ksh.
32018         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32019         work on unmodified tzselect.ksh.  Substitute version numbers in
32020         tzselect.ksh.
32021
32022         * Makefile (format-me): Remove.
32023         (INSTALL): Adjust indentation.  Use commands directly instead of
32024         using $(format-me).
32025
32026         * aclocal.m4 (ACX_PKGVERSION): New macro.
32027         (ACX_BUGURL): Likewise.
32028         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32029         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32030         (REPORT_BUGS_TO): Likewise.
32031         * configure: Regenerated.
32032         * config.h.in (PKGVERSION): New macro.
32033         (REPORT_BUGS_TO): Likewise.
32034         * config.make.in (PKGVERSION): New variable.
32035         (PKGVERSION_TEXI): Likewise.
32036         (REPORT_BUGS_TO): Likewise.
32037         (REPORT_BUGS_TEXI): Likewise.
32038         * Makefile (format-me): Use -I$(common-objpfx)manual.
32039         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32040         ($(common-objpfx)manual/%): New target.
32041         (manual/%): Remove target.
32042         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32043         (print_version): Use PKGVERSION.
32044         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32045         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32046         and REPORT_BUGS_TO.
32047         ($(objpfx)xtrace): Likewise.
32048         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32049         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32050         (print_version): Use PKGVERSION.
32051         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32052         (do_version): Use PKGVERSION.
32053         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32054         REPORT_BUGS_TO.
32055         (common-ldd-rewrite): Likewise.
32056         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32057         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32058         (print_version): Use PKGVERSION.
32059         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32060         * elf/pldd.c (argp_program_bug_address): Remove variable.
32061         (more_help): New function.
32062         (argp): Use more_help.
32063         (print_version): Use PKGVERSION.
32064         * elf/sln.c (main): Use PKGVERSION.
32065         (usage): Use REPORT_BUGS_TO.
32066         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32067         (top level): Use PKGVERSION.
32068         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32069         (print_version): Use PKGVERSION.
32070         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32071         (print_version): Use PKGVERSION.
32072         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32073         (print_version): Use PKGVERSION.
32074         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32075         (print_version): Use PKGVERSION.
32076         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32077         (print_version): Use PKGVERSION.
32078         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32079         (print_version): Use PKGVERSION.
32080         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32081         and BUGURL.
32082         ($(objpfx)memusage): Likewise.
32083         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32084         (do_version): Use PKGVERSION.
32085         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32086         (print_version): Use PKGVERSION.
32087         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32088         ($PKGVERSION): New variable.
32089         ($REPORT_BUGS_TO): Likewise.
32090         (usage): Use $REPORT_BUGS_TO.
32091         (top level): Use $PKGVERSION.
32092         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32093         ($(objpfx)pkgvers.texi): New rule.
32094         ($(objpfx)stamp-pkgvers): Likewise.
32095         * manual/install.texi: Include pkgvers.texi.
32096         (--with-pkgversion): Document new configure option.
32097         (--with-bugurl): Likewise.
32098         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32099         than necessarily for this particular distribution.  Use
32100         REPORT_BUGS_TO for where to report bugs.
32101         * INSTALL: Regenerated.
32102         * manual/libc.texinfo: Include pkgvers.texi.
32103         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32104         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32105         (print_version): Use PKGVERSION.
32106         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32107         (print_version): Use PKGVERSION.
32108         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32109         (print_version): Use PKGVERSION.
32110         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32111         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32112         macro.
32113         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32114         (print_version): Use PKGVERSION.
32115         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32116         (print_version): Use PKGVERSION.
32117         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32118         and PKGVERSION.
32119
32120         * timezone/checktab.awk: Update from tzcode 2012i.
32121         * timezone/ialloc.c: Likewise.
32122         * timezone/private.h: Likewise.
32123         * timezone/scheck.c: Likewise.
32124         * timezone/tzfile.h: Likewise.
32125         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32126         (TZVERSION): Hardcode tzcode version number.
32127         * timezone/zdump.c: Update from tzcode 2012i.
32128         * timezone/zic.c: Likewise.
32129         * timezone/version.h: New file.
32130         * timezone/README: Describe version.h.  Update upstream location.
32131
32132         [BZ #14824]
32133         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32134         (mktemp): Enable declaration.
32135         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32136         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32137         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32138         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32139         Likewise.
32140         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32141         Likewise.
32142         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32143         Likewise.
32144         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32145         Likewise.
32146         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32147         Likewise.
32148         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32149         Likewise.
32150
32151         [BZ #14821]
32152         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32153         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32154         for copies of such integer values.
32155         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32156         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32157
32158 2012-11-09  Andreas Jaeger  <aj@suse.de>
32159
32160         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32161         definitions and declarations that are provided by
32162         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32163
32164 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32165
32166         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32167         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32168         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32169         definition.
32170
32171 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32172
32173         * elf/elf.h: Update comment before AArch64 relocations.
32174
32175 2012-11-07  David S. Miller  <davem@davemloft.net>
32176
32177         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32178         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32179         (__start_context): Declare.
32180         (__makecontext_ret): Delete.
32181         (__makecontext): Hook up __start_context instead of
32182         __makecontext_ret.
32183         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32184         (sysdep_routines): Add __start_context when in stdlib.
32185
32186 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32187
32188         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32189         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32190         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32191         hardcoded "nm".
32192         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32193         (READELF): New variable.  Use it instead of hardcoded "readelf".
32194
32195 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32196
32197         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32198         * sysdeps/x86/Makefile: Here.
32199         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32200         * sysdeps/x86/tst-xmmymm.sh: This.
32201
32202 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32203
32204         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32205         expectations.
32206         [UNIX98] (pthread_barrier_t): Do not expect.
32207         [UNIX98] (pthread_barrierattr_t): Likewise.
32208         [UNIX98] (pthread_spinlock_t): Likewise.
32209         [UNIX98] (pthread_barrier_destroy): Likewise.
32210         [UNIX98] (pthread_barrier_init): Likewise.
32211         [UNIX98] (pthread_barrier_wait): Likewise.
32212         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32213         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32214         [UNIX98] (pthread_barrierattr_init): Likewise.
32215         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32216         [UNIX98] (pthread_getcpuclockid): Likewise.
32217         [UNIX98] (pthread_mutex_timedlock): Likewise.
32218         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32219         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32220         [UNIX98] (pthread_sigmask): Likewise.
32221         [UNIX98] (pthread_spin_destroy): Likewise.
32222         [UNIX98] (pthread_spin_init): Likewise.
32223         [UNIX98] (pthread_spin_lock): Likewise.
32224         [UNIX98] (pthread_spin_trylock): Likewise.
32225         [UNIX98] (pthread_spin_unlock): Likewise.
32226         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32227         Do not expect.
32228         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32229         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32230         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32231         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32232         [XPG3 || XPG4] (pthread_key_t): Likewise.
32233         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32234         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32235         [XPG3 || XPG4] (pthread_once_t): Likewise.
32236         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32237         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32238         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32239         [XPG3 || XPG4] (pthread_t): Likewise.
32240
32241         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32242         not expect.
32243         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32244
32245         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32246         Change function return type to int.
32247
32248         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32249         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32250         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32251         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32252         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32253         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32254         [!POSIX] (posix_madvise): Likewise.
32255         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32256         && !UNIX98].
32257         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32258         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32259         (mode_t): Likewise.
32260         (posix_mem_offset): Likewise.
32261         (posix_typed_mem_get_info): Likewise.
32262         (posix_typed_mem_open): Likewise.
32263
32264         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32265         Change condition to [XOPEN2K8].
32266
32267         * conform/conformtest.pl: Preprocess allow-header data with -x c
32268         instead of from stdin.
32269         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32270         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32271         [C99-based standards] (cerfc): Likewise.
32272         [C99-based standards] (cexp2): Likewise.
32273         [C99-based standards] (cexpm1): Likewise.
32274         [C99-based standards] (clog10): Likewise.
32275         [C99-based standards] (clog1p): Likewise.
32276         [C99-based standards] (clog2): Likewise.
32277         [C99-based standards] (clgamma): Likewise.
32278         [C99-based standards] (ctgamma): Likewise.
32279         [C99-based standards] (cerff): Likewise.
32280         [C99-based standards] (cerfcf): Likewise.
32281         [C99-based standards] (cexp2f): Likewise.
32282         [C99-based standards] (cexpm1f): Likewise.
32283         [C99-based standards] (clog10f): Likewise.
32284         [C99-based standards] (clog1pf): Likewise.
32285         [C99-based standards] (clog2f): Likewise.
32286         [C99-based standards] (clgammaf): Likewise.
32287         [C99-based standards] (ctgammaf): Likewise.
32288         [C99-based standards] (cerfl): Likewise.
32289         [C99-based standards] (cerfcl): Likewise.
32290         [C99-based standards] (cexp2l): Likewise.
32291         [C99-based standards] (cexpm1l): Likewise.
32292         [C99-based standards] (clog10l): Likewise.
32293         [C99-based standards] (clog1pl): Likewise.
32294         [C99-based standards] (clog2l): Likewise.
32295         [C99-based standards] (clgammal): Likewise.
32296         [C99-based standards] (ctgammal): Likewise.
32297         * conform/data/inttypes.h-data [C99-based standards]: Include
32298         stdint.h-data.  Remove all expectations for stdint.h contents.
32299         [C99-based standards] (PRI*): Do not allow.
32300         [C99-based standards] (SCN*): Likewise.
32301         [C99-based standards] (*_t): Likewise.
32302         [C99-based-standards] (PRId8): Expect macro.
32303         [C99-based-standards] (PRIi8): Likewise.
32304         [C99-based-standards] (PRIo8): Likewise.
32305         [C99-based-standards] (PRIu8): Likewise.
32306         [C99-based-standards] (PRIx8): Likewise.
32307         [C99-based-standards] (PRIX8): Likewise.
32308         [C99-based-standards] (SCNd8): Likewise.
32309         [C99-based-standards] (SCNi8): Likewise.
32310         [C99-based-standards] (SCNo8): Likewise.
32311         [C99-based-standards] (SCNu8): Likewise.
32312         [C99-based-standards] (SCNx8): Likewise.
32313         [C99-based-standards] (PRIdLEAST8): Likewise.
32314         [C99-based-standards] (PRIiLEAST8): Likewise.
32315         [C99-based-standards] (PRIoLEAST8): Likewise.
32316         [C99-based-standards] (PRIuLEAST8): Likewise.
32317         [C99-based-standards] (PRIxLEAST8): Likewise.
32318         [C99-based-standards] (PRIXLEAST8): Likewise.
32319         [C99-based-standards] (SCNdLEAST8): Likewise.
32320         [C99-based-standards] (SCNiLEAST8): Likewise.
32321         [C99-based-standards] (SCNoLEAST8): Likewise.
32322         [C99-based-standards] (SCNuLEAST8): Likewise.
32323         [C99-based-standards] (SCNxLEAST8): Likewise.
32324         [C99-based-standards] (PRIdFAST8): Likewise.
32325         [C99-based-standards] (PRIiFAST8): Likewise.
32326         [C99-based-standards] (PRIoFAST8): Likewise.
32327         [C99-based-standards] (PRIuFAST8): Likewise.
32328         [C99-based-standards] (PRIxFAST8): Likewise.
32329         [C99-based-standards] (PRIXFAST8): Likewise.
32330         [C99-based-standards] (SCNdFAST8): Likewise.
32331         [C99-based-standards] (SCNiFAST8): Likewise.
32332         [C99-based-standards] (SCNoFAST8): Likewise.
32333         [C99-based-standards] (SCNuFAST8): Likewise.
32334         [C99-based-standards] (SCNxFAST8): Likewise.
32335         [C99-based-standards] (PRId16): Likewise.
32336         [C99-based-standards] (PRIi16): Likewise.
32337         [C99-based-standards] (PRIo16): Likewise.
32338         [C99-based-standards] (PRIu16): Likewise.
32339         [C99-based-standards] (PRIx16): Likewise.
32340         [C99-based-standards] (PRIX16): Likewise.
32341         [C99-based-standards] (SCNd16): Likewise.
32342         [C99-based-standards] (SCNi16): Likewise.
32343         [C99-based-standards] (SCNo16): Likewise.
32344         [C99-based-standards] (SCNu16): Likewise.
32345         [C99-based-standards] (SCNx16): Likewise.
32346         [C99-based-standards] (PRIdLEAST16): Likewise.
32347         [C99-based-standards] (PRIiLEAST16): Likewise.
32348         [C99-based-standards] (PRIoLEAST16): Likewise.
32349         [C99-based-standards] (PRIuLEAST16): Likewise.
32350         [C99-based-standards] (PRIxLEAST16): Likewise.
32351         [C99-based-standards] (PRIXLEAST16): Likewise.
32352         [C99-based-standards] (SCNdLEAST16): Likewise.
32353         [C99-based-standards] (SCNiLEAST16): Likewise.
32354         [C99-based-standards] (SCNoLEAST16): Likewise.
32355         [C99-based-standards] (SCNuLEAST16): Likewise.
32356         [C99-based-standards] (SCNxLEAST16): Likewise.
32357         [C99-based-standards] (PRIdFAST16): Likewise.
32358         [C99-based-standards] (PRIiFAST16): Likewise.
32359         [C99-based-standards] (PRIoFAST16): Likewise.
32360         [C99-based-standards] (PRIuFAST16): Likewise.
32361         [C99-based-standards] (PRIxFAST16): Likewise.
32362         [C99-based-standards] (PRIXFAST16): Likewise.
32363         [C99-based-standards] (SCNdFAST16): Likewise.
32364         [C99-based-standards] (SCNiFAST16): Likewise.
32365         [C99-based-standards] (SCNoFAST16): Likewise.
32366         [C99-based-standards] (SCNuFAST16): Likewise.
32367         [C99-based-standards] (SCNxFAST16): Likewise.
32368         [C99-based-standards] (PRId32): Likewise.
32369         [C99-based-standards] (PRIi32): Likewise.
32370         [C99-based-standards] (PRIo32): Likewise.
32371         [C99-based-standards] (PRIu32): Likewise.
32372         [C99-based-standards] (PRIx32): Likewise.
32373         [C99-based-standards] (PRIX32): Likewise.
32374         [C99-based-standards] (SCNd32): Likewise.
32375         [C99-based-standards] (SCNi32): Likewise.
32376         [C99-based-standards] (SCNo32): Likewise.
32377         [C99-based-standards] (SCNu32): Likewise.
32378         [C99-based-standards] (SCNx32): Likewise.
32379         [C99-based-standards] (PRIdLEAST32): Likewise.
32380         [C99-based-standards] (PRIiLEAST32): Likewise.
32381         [C99-based-standards] (PRIoLEAST32): Likewise.
32382         [C99-based-standards] (PRIuLEAST32): Likewise.
32383         [C99-based-standards] (PRIxLEAST32): Likewise.
32384         [C99-based-standards] (PRIXLEAST32): Likewise.
32385         [C99-based-standards] (SCNdLEAST32): Likewise.
32386         [C99-based-standards] (SCNiLEAST32): Likewise.
32387         [C99-based-standards] (SCNoLEAST32): Likewise.
32388         [C99-based-standards] (SCNuLEAST32): Likewise.
32389         [C99-based-standards] (SCNxLEAST32): Likewise.
32390         [C99-based-standards] (PRIdFAST32): Likewise.
32391         [C99-based-standards] (PRIiFAST32): Likewise.
32392         [C99-based-standards] (PRIoFAST32): Likewise.
32393         [C99-based-standards] (PRIuFAST32): Likewise.
32394         [C99-based-standards] (PRIxFAST32): Likewise.
32395         [C99-based-standards] (PRIXFAST32): Likewise.
32396         [C99-based-standards] (SCNdFAST32): Likewise.
32397         [C99-based-standards] (SCNiFAST32): Likewise.
32398         [C99-based-standards] (SCNoFAST32): Likewise.
32399         [C99-based-standards] (SCNuFAST32): Likewise.
32400         [C99-based-standards] (SCNxFAST32): Likewise.
32401         [C99-based-standards] (PRId64): Likewise.
32402         [C99-based-standards] (PRIi64): Likewise.
32403         [C99-based-standards] (PRIo64): Likewise.
32404         [C99-based-standards] (PRIu64): Likewise.
32405         [C99-based-standards] (PRIx64): Likewise.
32406         [C99-based-standards] (PRIX64): Likewise.
32407         [C99-based-standards] (SCNd64): Likewise.
32408         [C99-based-standards] (SCNi64): Likewise.
32409         [C99-based-standards] (SCNo64): Likewise.
32410         [C99-based-standards] (SCNu64): Likewise.
32411         [C99-based-standards] (SCNx64): Likewise.
32412         [C99-based-standards] (PRIdLEAST64): Likewise.
32413         [C99-based-standards] (PRIiLEAST64): Likewise.
32414         [C99-based-standards] (PRIoLEAST64): Likewise.
32415         [C99-based-standards] (PRIuLEAST64): Likewise.
32416         [C99-based-standards] (PRIxLEAST64): Likewise.
32417         [C99-based-standards] (PRIXLEAST64): Likewise.
32418         [C99-based-standards] (SCNdLEAST64): Likewise.
32419         [C99-based-standards] (SCNiLEAST64): Likewise.
32420         [C99-based-standards] (SCNoLEAST64): Likewise.
32421         [C99-based-standards] (SCNuLEAST64): Likewise.
32422         [C99-based-standards] (SCNxLEAST64): Likewise.
32423         [C99-based-standards] (PRIdFAST64): Likewise.
32424         [C99-based-standards] (PRIiFAST64): Likewise.
32425         [C99-based-standards] (PRIoFAST64): Likewise.
32426         [C99-based-standards] (PRIuFAST64): Likewise.
32427         [C99-based-standards] (PRIxFAST64): Likewise.
32428         [C99-based-standards] (PRIXFAST64): Likewise.
32429         [C99-based-standards] (SCNdFAST64): Likewise.
32430         [C99-based-standards] (SCNiFAST64): Likewise.
32431         [C99-based-standards] (SCNoFAST64): Likewise.
32432         [C99-based-standards] (SCNuFAST64): Likewise.
32433         [C99-based-standards] (SCNxFAST64): Likewise.
32434         [C99-based-standards] (PRIdMAX): Likewise.
32435         [C99-based-standards] (PRIiMAX): Likewise.
32436         [C99-based-standards] (PRIoMAX): Likewise.
32437         [C99-based-standards] (PRIuMAX): Likewise.
32438         [C99-based-standards] (PRIxMAX): Likewise.
32439         [C99-based-standards] (PRIXMAX): Likewise.
32440         [C99-based-standards] (SCNdMAX): Likewise.
32441         [C99-based-standards] (SCNiMAX): Likewise.
32442         [C99-based-standards] (SCNoMAX): Likewise.
32443         [C99-based-standards] (SCNuMAX): Likewise.
32444         [C99-based-standards] (SCNxMAX): Likewise.
32445         [C99-based-standards] (PRIdPTR): Likewise.
32446         [C99-based-standards] (PRIiPTR): Likewise.
32447         [C99-based-standards] (PRIoPTR): Likewise.
32448         [C99-based-standards] (PRIuPTR): Likewise.
32449         [C99-based-standards] (PRIxPTR): Likewise.
32450         [C99-based-standards] (PRIXPTR): Likewise.
32451         [C99-based-standards] (SCNdPTR): Likewise.
32452         [C99-based-standards] (SCNiPTR): Likewise.
32453         [C99-based-standards] (SCNoPTR): Likewise.
32454         [C99-based-standards] (SCNuPTR): Likewise.
32455         [C99-based-standards] (SCNxPTR): Likewise.
32456         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32457         allow.
32458         * conform/data/stdint.h-data: Update comments to clarify
32459         requirements.
32460         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32461         type.
32462         [C99-based standards] (INT8_MAX): Likewise.
32463         [C99-based standards] (INT16_MIN): Likewise.
32464         [C99-based standards] (INT16_MAX): Likewise.
32465         [C99-based standards] (INT32_MIN): Likewise.
32466         [C99-based standards] (INT32_MAX): Likewise.
32467         [C99-based standards] (INT64_MIN): Likewise.
32468         [C99-based standards] (INT64_MAX): Likewise.
32469         [C99-based standards] (UINT8_MAX): Likewise.
32470         [C99-based standards] (UINT16_MAX): Likewise.
32471         [C99-based standards] (UINT32_MAX): Likewise.
32472         [C99-based standards] (UINT64_MAX): Likewise.
32473         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32474         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32475         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32476         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32477         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32478         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32479         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32480         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32481         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32482         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32483         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32484         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32485         [C99-based standards] (INT_FAST8_MIN): Likewise.
32486         [C99-based standards] (INT_FAST8_MAX): Likewise.
32487         [C99-based standards] (INT_FAST16_MIN): Likewise.
32488         [C99-based standards] (INT_FAST16_MAX): Likewise.
32489         [C99-based standards] (INT_FAST32_MIN): Likewise.
32490         [C99-based standards] (INT_FAST32_MAX): Likewise.
32491         [C99-based standards] (INT_FAST64_MIN): Likewise.
32492         [C99-based standards] (INT_FAST64_MAX): Likewise.
32493         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32494         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32495         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32496         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32497         [C99-based standards] (INTPTR_MIN): Likewise.
32498         [C99-based standards] (INTPTR_MAX): Likewise.
32499         [C99-based standards] (UINTPTR_MAX): Likewise.
32500         [C99-based standards] (INTMAX_MIN): Likewise.
32501         [C99-based standards] (INTMAX_MAX): Likewise.
32502         [C99-based standards] (UINTMAX_MAX): Likewise.
32503         [C99-based standards] (PTRDIFF_MIN): Likewise.
32504         [C99-based standards] (PTRDIFF_MAX): Likewise.
32505         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32506         [C99-based standards] (SIZE_MAX): Likewise.
32507         [C99-based standards] (WCHAR_MAX): Likewise.
32508         [C99-based standards] (WINT_MAX): Likewise.
32509         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32510         constraint on value.
32511         [C99-based standards] (WCHAR_MIN): Likewise.
32512         [C99-based standards] (WINT_MIN): Likewise.
32513         [C99-based standards] (*_t): Allow.
32514         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32515         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32516         Include math.h-data and complex.h-data.  Remove all expectations
32517         of math.h and complex.h contents.
32518         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32519         at end of line.
32520         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32521         (struct tm): Expect tag.
32522         [C99-based-standards] (wcstof): Expect function.
32523         [C99-based-standards] (wcstold): Likewise.
32524         [C99-based-standards] (wcstoll): Likewise.
32525         [C99-based-standards] (wcstoull): Likewise.
32526         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32527         macro-int-constant.  Specify type.
32528         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32529         constraint on value.
32530         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32531         Specify type.
32532         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32533         Specify value.
32534         [ISO C standards]: Do not allow headers.
32535         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32536         wcs[abcdefghijklmnopqrstuvwxyz]*.
32537         [ISO C standards] (*_t): Do not allow.
32538         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32539         Expect function.
32540         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32541         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32542         Specify type.
32543         [ISO C standards]: Do not allow headers.
32544         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32545         is[abcdefghijklmnopqrstuvwxyz]*.
32546         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32547         to[abcdefghijklmnopqrstuvwxyz]*.
32548         [ISO C standards] (*_t): Do not allow.
32549         * conform/data/stdalign.h-data: New file.
32550         * conform/data/stdbool.h-data: Likewise.
32551         * conform/data/stdnoreturn.h-data: Likewise.
32552
32553 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32554
32555         [BZ #14815]
32556         * manual/filesys.texi (Directory Entries): Typo fix.
32557         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32558
32559 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32560
32561         * elf/elf.h (EM_AARCH64): New macro.
32562         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32563         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32564         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32565         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32566         (R_AARCH64_TLSDESC): Likewise.
32567         (NT_ARM_TLS): Likewise.
32568         (NT_ARM_HW_BREAK): Likewise.
32569         (NT_ARM_HW_WATCH): Likewise.
32570
32571 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32572
32573         [BZ #14811]
32574         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32575         (__ieee754_powl): Saturate nonzero exponents with absolute value
32576         below 0x1p-79 to +/- 0x1p-79.
32577         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32578         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32579         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32580         nonzero exponents with absolute value below 0x1p-32 to +/-
32581         0x1p-32.
32582         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32583         (__ieee754_powl): Saturate nonzero exponents with absolute value
32584         below 0x1p-79 to +/- 0x1p-79.
32585         * math/libm-test.inc (pow_test): Add more tests.
32586
32587 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32588
32589         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32590         _dl_s390_cap_flags with kernel. Increase string length.
32591         (_dl_s390_platforms): Add z196 and zEC12.
32592
32593 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32594
32595         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32596         Change XOPEN21K to XOPEN2K.
32597
32598 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32599
32600         * string/memmove.c: Use memcpy when possible.
32601
32602 2012-11-06  Andreas Jaeger  <aj@suse.de>
32603
32604         * po/eo.po: Update from translation team.
32605
32606 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32607
32608         [BZ #14793]
32609         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32610         exponent and small x and y exponents, scale x or y up.  Increase
32611         by 2 the exponent used in scaling up.
32612         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32614         * math/libm-test.inc (fma_test): Add more tests.
32615         (fma_test_towardzero): Likewise.
32616         (fma_test_downward): Likewise.
32617         (fma_test_upward): Likewise.
32618
32619 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32620
32621         [BZ #14805]
32622         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32623         fenv_t *.
32624
32625         [BZ #14801]
32626         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32627         namespace for names of struct fields.
32628         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32629         fenv_t fields.
32630         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32631         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32632
32633 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32634
32635         [BZ #3665]
32636         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32637
32638 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32639
32640         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32641         PTR_DEMANGLE.
32642
32643         [BZ #5246]
32644         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32645         PTR_DEMANGLE.
32646
32647 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32648
32649         [BZ #14797]
32650         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32651         definitely overflow as x * y not x * y + z.
32652         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32653         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32654         * math/libm-test.inc (fma_test): Add more tests.
32655         (fma_test_towardzero): Likewise.
32656         (fma_test_downward): Likewise.
32657         (fma_test_upward): Likewise.
32658
32659 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32660
32661         [BZ #157]
32662
32663         * include/stub-tag.h: Remove file.
32664         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32665         '#include' of it.
32666         * manual/maint.texi (Porting): Don't reference it.
32667         * Makerules ($(objpfx)stubs): Likewise.
32668         * dirent/closedir.c: Don't include <stub-tag.h>.
32669         * dirent/dirfd.c: Likewise.
32670         * dirent/fdopendir.c: Likewise.
32671         * dirent/getdents.c: Likewise.
32672         * dirent/getdents64.c: Likewise.
32673         * dirent/opendir.c: Likewise.
32674         * dirent/readdir.c: Likewise.
32675         * dirent/readdir64.c: Likewise.
32676         * dirent/readdir64_r.c: Likewise.
32677         * dirent/readdir_r.c: Likewise.
32678         * dirent/rewinddir.c: Likewise.
32679         * dirent/seekdir.c: Likewise.
32680         * dirent/telldir.c: Likewise.
32681         * gmon/profil.c: Likewise.
32682         * grp/setgroups.c: Likewise.
32683         * inet/if_index.c: Likewise.
32684         * io/access.c: Likewise.
32685         * io/chdir.c: Likewise.
32686         * io/chmod.c: Likewise.
32687         * io/chown.c: Likewise.
32688         * io/close.c: Likewise.
32689         * io/dup.c: Likewise.
32690         * io/dup2.c: Likewise.
32691         * io/dup3.c: Likewise.
32692         * io/euidaccess.c: Likewise.
32693         * io/faccessat.c: Likewise.
32694         * io/fchdir.c: Likewise.
32695         * io/fchmod.c: Likewise.
32696         * io/fchmodat.c: Likewise.
32697         * io/fchown.c: Likewise.
32698         * io/fchownat.c: Likewise.
32699         * io/fcntl.c: Likewise.
32700         * io/flock.c: Likewise.
32701         * io/fstatfs.c: Likewise.
32702         * io/fstatfs64.c: Likewise.
32703         * io/fstatvfs.c: Likewise.
32704         * io/fstatvfs64.c: Likewise.
32705         * io/futimens.c: Likewise.
32706         * io/fxstat.c: Likewise.
32707         * io/fxstat64.c: Likewise.
32708         * io/fxstatat.c: Likewise.
32709         * io/fxstatat64.c: Likewise.
32710         * io/getcwd.c: Likewise.
32711         * io/isatty.c: Likewise.
32712         * io/lchmod.c: Likewise.
32713         * io/lchown.c: Likewise.
32714         * io/link.c: Likewise.
32715         * io/linkat.c: Likewise.
32716         * io/lseek.c: Likewise.
32717         * io/lseek64.c: Likewise.
32718         * io/lxstat64.c: Likewise.
32719         * io/mkdir.c: Likewise.
32720         * io/mkdirat.c: Likewise.
32721         * io/mkfifo.c: Likewise.
32722         * io/mkfifoat.c: Likewise.
32723         * io/open.c: Likewise.
32724         * io/open64.c: Likewise.
32725         * io/openat.c: Likewise.
32726         * io/openat64.c: Likewise.
32727         * io/pipe.c: Likewise.
32728         * io/pipe2.c: Likewise.
32729         * io/poll.c: Likewise.
32730         * io/posix_fadvise.c: Likewise.
32731         * io/posix_fadvise64.c: Likewise.
32732         * io/posix_fallocate.c: Likewise.
32733         * io/posix_fallocate64.c: Likewise.
32734         * io/read.c: Likewise.
32735         * io/readlink.c: Likewise.
32736         * io/readlinkat.c: Likewise.
32737         * io/rmdir.c: Likewise.
32738         * io/sendfile.c: Likewise.
32739         * io/sendfile64.c: Likewise.
32740         * io/statfs.c: Likewise.
32741         * io/statfs64.c: Likewise.
32742         * io/statvfs.c: Likewise.
32743         * io/statvfs64.c: Likewise.
32744         * io/symlink.c: Likewise.
32745         * io/symlinkat.c: Likewise.
32746         * io/ttyname.c: Likewise.
32747         * io/ttyname_r.c: Likewise.
32748         * io/umask.c: Likewise.
32749         * io/unlink.c: Likewise.
32750         * io/unlinkat.c: Likewise.
32751         * io/utime.c: Likewise.
32752         * io/utimensat.c: Likewise.
32753         * io/write.c: Likewise.
32754         * io/xmknod.c: Likewise.
32755         * io/xmknodat.c: Likewise.
32756         * io/xstat.c: Likewise.
32757         * io/xstat64.c: Likewise.
32758         * login/getpt.c: Likewise.
32759         * login/grantpt.c: Likewise.
32760         * login/unlockpt.c: Likewise.
32761         * math/e_acoshl.c: Likewise.
32762         * math/e_acosl.c: Likewise.
32763         * math/e_asinl.c: Likewise.
32764         * math/e_atan2l.c: Likewise.
32765         * math/e_atanhl.c: Likewise.
32766         * math/e_coshl.c: Likewise.
32767         * math/e_expl.c: Likewise.
32768         * math/e_fmodl.c: Likewise.
32769         * math/e_gammal_r.c: Likewise.
32770         * math/e_hypotl.c: Likewise.
32771         * math/e_j0l.c: Likewise.
32772         * math/e_j1l.c: Likewise.
32773         * math/e_jnl.c: Likewise.
32774         * math/e_lgammal_r.c: Likewise.
32775         * math/e_log10l.c: Likewise.
32776         * math/e_log2l.c: Likewise.
32777         * math/e_logl.c: Likewise.
32778         * math/e_powl.c: Likewise.
32779         * math/e_rem_pio2l.c: Likewise.
32780         * math/e_sinhl.c: Likewise.
32781         * math/e_sqrtl.c: Likewise.
32782         * math/fclrexcpt.c: Likewise.
32783         * math/fedisblxcpt.c: Likewise.
32784         * math/feenablxcpt.c: Likewise.
32785         * math/fegetenv.c: Likewise.
32786         * math/fegetexcept.c: Likewise.
32787         * math/fegetround.c: Likewise.
32788         * math/feholdexcpt.c: Likewise.
32789         * math/fesetenv.c: Likewise.
32790         * math/fesetround.c: Likewise.
32791         * math/feupdateenv.c: Likewise.
32792         * math/fgetexcptflg.c: Likewise.
32793         * math/fraiseexcpt.c: Likewise.
32794         * math/fsetexcptflg.c: Likewise.
32795         * math/ftestexcept.c: Likewise.
32796         * math/k_cosl.c: Likewise.
32797         * math/k_rem_pio2l.c: Likewise.
32798         * math/k_sinl.c: Likewise.
32799         * math/k_tanl.c: Likewise.
32800         * math/s_asinhl.c: Likewise.
32801         * math/s_atanl.c: Likewise.
32802         * math/s_cbrtl.c: Likewise.
32803         * math/s_erfl.c: Likewise.
32804         * math/s_expm1l.c: Likewise.
32805         * math/s_log1pl.c: Likewise.
32806         * math/s_tanhl.c: Likewise.
32807         * misc/acct.c: Likewise.
32808         * misc/brk.c: Likewise.
32809         * misc/chflags.c: Likewise.
32810         * misc/chroot.c: Likewise.
32811         * misc/fchflags.c: Likewise.
32812         * misc/fgetxattr.c: Likewise.
32813         * misc/flistxattr.c: Likewise.
32814         * misc/fremovexattr.c: Likewise.
32815         * misc/fsetxattr.c: Likewise.
32816         * misc/fsync.c: Likewise.
32817         * misc/ftruncate.c: Likewise.
32818         * misc/futimes.c: Likewise.
32819         * misc/futimesat.c: Likewise.
32820         * misc/getdomain.c: Likewise.
32821         * misc/getdtsz.c: Likewise.
32822         * misc/gethostid.c: Likewise.
32823         * misc/gethostname.c: Likewise.
32824         * misc/getloadavg.c: Likewise.
32825         * misc/getpagesize.c: Likewise.
32826         * misc/getsysstats.c: Likewise.
32827         * misc/getxattr.c: Likewise.
32828         * misc/gtty.c: Likewise.
32829         * misc/ioctl.c: Likewise.
32830         * misc/lgetxattr.c: Likewise.
32831         * misc/listxattr.c: Likewise.
32832         * misc/llistxattr.c: Likewise.
32833         * misc/lremovexattr.c: Likewise.
32834         * misc/lsetxattr.c: Likewise.
32835         * misc/lutimes.c: Likewise.
32836         * misc/madvise.c: Likewise.
32837         * misc/mincore.c: Likewise.
32838         * misc/mlock.c: Likewise.
32839         * misc/mlockall.c: Likewise.
32840         * misc/mmap.c: Likewise.
32841         * misc/mprotect.c: Likewise.
32842         * misc/msync.c: Likewise.
32843         * misc/munlock.c: Likewise.
32844         * misc/munlockall.c: Likewise.
32845         * misc/munmap.c: Likewise.
32846         * misc/preadv.c: Likewise.
32847         * misc/preadv64.c: Likewise.
32848         * misc/ptrace.c: Likewise.
32849         * misc/pwritev.c: Likewise.
32850         * misc/pwritev64.c: Likewise.
32851         * misc/readv.c: Likewise.
32852         * misc/reboot.c: Likewise.
32853         * misc/remap_file_pages.c: Likewise.
32854         * misc/removexattr.c: Likewise.
32855         * misc/revoke.c: Likewise.
32856         * misc/select.c: Likewise.
32857         * misc/setdomain.c: Likewise.
32858         * misc/setegid.c: Likewise.
32859         * misc/seteuid.c: Likewise.
32860         * misc/sethostid.c: Likewise.
32861         * misc/sethostname.c: Likewise.
32862         * misc/setregid.c: Likewise.
32863         * misc/setreuid.c: Likewise.
32864         * misc/setxattr.c: Likewise.
32865         * misc/sstk.c: Likewise.
32866         * misc/stty.c: Likewise.
32867         * misc/swapoff.c: Likewise.
32868         * misc/swapon.c: Likewise.
32869         * misc/sync.c: Likewise.
32870         * misc/syncfs.c: Likewise.
32871         * misc/syscall.c: Likewise.
32872         * misc/truncate.c: Likewise.
32873         * misc/ualarm.c: Likewise.
32874         * misc/usleep.c: Likewise.
32875         * misc/ustat.c: Likewise.
32876         * misc/utimes.c: Likewise.
32877         * misc/vhangup.c: Likewise.
32878         * misc/writev.c: Likewise.
32879         * posix/_exit.c: Likewise.
32880         * posix/alarm.c: Likewise.
32881         * posix/execve.c: Likewise.
32882         * posix/fexecve.c: Likewise.
32883         * posix/fork.c: Likewise.
32884         * posix/fpathconf.c: Likewise.
32885         * posix/getaddrinfo.c: Likewise.
32886         * posix/getegid.c: Likewise.
32887         * posix/geteuid.c: Likewise.
32888         * posix/getgid.c: Likewise.
32889         * posix/getgroups.c: Likewise.
32890         * posix/getlogin.c: Likewise.
32891         * posix/getlogin_r.c: Likewise.
32892         * posix/getpgid.c: Likewise.
32893         * posix/getpid.c: Likewise.
32894         * posix/getppid.c: Likewise.
32895         * posix/getresgid.c: Likewise.
32896         * posix/getresuid.c: Likewise.
32897         * posix/getsid.c: Likewise.
32898         * posix/getuid.c: Likewise.
32899         * posix/glob64.c: Likewise.
32900         * posix/nanosleep.c: Likewise.
32901         * posix/pathconf.c: Likewise.
32902         * posix/pause.c: Likewise.
32903         * posix/posix_madvise.c: Likewise.
32904         * posix/pread.c: Likewise.
32905         * posix/pread64.c: Likewise.
32906         * posix/pwrite.c: Likewise.
32907         * posix/pwrite64.c: Likewise.
32908         * posix/sched_getaffinity.c: Likewise.
32909         * posix/sched_getp.c: Likewise.
32910         * posix/sched_gets.c: Likewise.
32911         * posix/sched_primax.c: Likewise.
32912         * posix/sched_primin.c: Likewise.
32913         * posix/sched_rr_gi.c: Likewise.
32914         * posix/sched_setaffinity.c: Likewise.
32915         * posix/sched_setp.c: Likewise.
32916         * posix/sched_sets.c: Likewise.
32917         * posix/sched_yield.c: Likewise.
32918         * posix/setgid.c: Likewise.
32919         * posix/setlogin.c: Likewise.
32920         * posix/setpgid.c: Likewise.
32921         * posix/setresgid.c: Likewise.
32922         * posix/setresuid.c: Likewise.
32923         * posix/setsid.c: Likewise.
32924         * posix/setuid.c: Likewise.
32925         * posix/sleep.c: Likewise.
32926         * posix/spawni.c: Likewise.
32927         * posix/sysconf.c: Likewise.
32928         * posix/times.c: Likewise.
32929         * posix/wait.c: Likewise.
32930         * posix/wait3.c: Likewise.
32931         * posix/wait4.c: Likewise.
32932         * posix/waitpid.c: Likewise.
32933         * resolv/gai_sigqueue.c: Likewise.
32934         * resource/getpriority.c: Likewise.
32935         * resource/getrlimit.c: Likewise.
32936         * resource/getrusage.c: Likewise.
32937         * resource/nice.c: Likewise.
32938         * resource/setpriority.c: Likewise.
32939         * resource/setrlimit.c: Likewise.
32940         * resource/ulimit.c: Likewise.
32941         * rt/aio_cancel.c: Likewise.
32942         * rt/aio_fsync.c: Likewise.
32943         * rt/aio_read.c: Likewise.
32944         * rt/aio_sigqueue.c: Likewise.
32945         * rt/aio_suspend.c: Likewise.
32946         * rt/aio_write.c: Likewise.
32947         * rt/clock_getres.c: Likewise.
32948         * rt/clock_gettime.c: Likewise.
32949         * rt/clock_nanosleep.c: Likewise.
32950         * rt/clock_settime.c: Likewise.
32951         * rt/lio_listio.c: Likewise.
32952         * rt/mq_close.c: Likewise.
32953         * rt/mq_getattr.c: Likewise.
32954         * rt/mq_notify.c: Likewise.
32955         * rt/mq_open.c: Likewise.
32956         * rt/mq_receive.c: Likewise.
32957         * rt/mq_send.c: Likewise.
32958         * rt/mq_setattr.c: Likewise.
32959         * rt/mq_timedreceive.c: Likewise.
32960         * rt/mq_timedsend.c: Likewise.
32961         * rt/mq_unlink.c: Likewise.
32962         * rt/shm_open.c: Likewise.
32963         * rt/shm_unlink.c: Likewise.
32964         * rt/timer_create.c: Likewise.
32965         * rt/timer_delete.c: Likewise.
32966         * rt/timer_getoverr.c: Likewise.
32967         * rt/timer_gettime.c: Likewise.
32968         * rt/timer_settime.c: Likewise.
32969         * setjmp/__longjmp.c: Likewise.
32970         * setjmp/setjmp.c: Likewise.
32971         * signal/kill.c: Likewise.
32972         * signal/killpg.c: Likewise.
32973         * signal/raise.c: Likewise.
32974         * signal/sigaction.c: Likewise.
32975         * signal/sigaltstack.c: Likewise.
32976         * signal/sigblock.c: Likewise.
32977         * signal/sigignore.c: Likewise.
32978         * signal/sigintr.c: Likewise.
32979         * signal/signal.c: Likewise.
32980         * signal/sigpause.c: Likewise.
32981         * signal/sigpending.c: Likewise.
32982         * signal/sigqueue.c: Likewise.
32983         * signal/sigreturn.c: Likewise.
32984         * signal/sigset.c: Likewise.
32985         * signal/sigsetmask.c: Likewise.
32986         * signal/sigstack.c: Likewise.
32987         * signal/sigsuspend.c: Likewise.
32988         * signal/sigtimedwait.c: Likewise.
32989         * signal/sigvec.c: Likewise.
32990         * signal/sigwait.c: Likewise.
32991         * signal/sigwaitinfo.c: Likewise.
32992         * signal/sysv_signal.c: Likewise.
32993         * socket/accept.c: Likewise.
32994         * socket/accept4.c: Likewise.
32995         * socket/bind.c: Likewise.
32996         * socket/connect.c: Likewise.
32997         * socket/getpeername.c: Likewise.
32998         * socket/getsockname.c: Likewise.
32999         * socket/getsockopt.c: Likewise.
33000         * socket/isfdtype.c: Likewise.
33001         * socket/listen.c: Likewise.
33002         * socket/recv.c: Likewise.
33003         * socket/recvfrom.c: Likewise.
33004         * socket/recvmsg.c: Likewise.
33005         * socket/send.c: Likewise.
33006         * socket/sendmsg.c: Likewise.
33007         * socket/sendto.c: Likewise.
33008         * socket/setsockopt.c: Likewise.
33009         * socket/shutdown.c: Likewise.
33010         * socket/sockatmark.c: Likewise.
33011         * socket/socket.c: Likewise.
33012         * socket/socketpair.c: Likewise.
33013         * stdio-common/ctermid.c: Likewise.
33014         * stdio-common/cuserid.c: Likewise.
33015         * stdio-common/remove.c: Likewise.
33016         * stdio-common/rename.c: Likewise.
33017         * stdio-common/renameat.c: Likewise.
33018         * stdio-common/tempname.c: Likewise.
33019         * stdlib/getcontext.c: Likewise.
33020         * stdlib/makecontext.c: Likewise.
33021         * stdlib/setcontext.c: Likewise.
33022         * stdlib/swapcontext.c: Likewise.
33023         * stdlib/system.c: Likewise.
33024         * streams/fattach.c: Likewise.
33025         * streams/fdetach.c: Likewise.
33026         * streams/getmsg.c: Likewise.
33027         * streams/getpmsg.c: Likewise.
33028         * streams/putmsg.c: Likewise.
33029         * streams/putpmsg.c: Likewise.
33030         * sysdeps/unix/bsd/getpt.c: Likewise.
33031         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33032         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33033         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33035         Likewise.
33036         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33037         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33038         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33039         * sysvipc/msgctl.c: Likewise.
33040         * sysvipc/msgget.c: Likewise.
33041         * sysvipc/msgrcv.c: Likewise.
33042         * sysvipc/msgsnd.c: Likewise.
33043         * sysvipc/semctl.c: Likewise.
33044         * sysvipc/semget.c: Likewise.
33045         * sysvipc/semop.c: Likewise.
33046         * sysvipc/semtimedop.c: Likewise.
33047         * sysvipc/shmat.c: Likewise.
33048         * sysvipc/shmctl.c: Likewise.
33049         * sysvipc/shmdt.c: Likewise.
33050         * sysvipc/shmget.c: Likewise.
33051         * termios/tcdrain.c: Likewise.
33052         * termios/tcflow.c: Likewise.
33053         * termios/tcflush.c: Likewise.
33054         * termios/tcgetattr.c: Likewise.
33055         * termios/tcgetpgrp.c: Likewise.
33056         * termios/tcsendbrk.c: Likewise.
33057         * termios/tcsetattr.c: Likewise.
33058         * termios/tcsetpgrp.c: Likewise.
33059         * time/adjtime.c: Likewise.
33060         * time/clock.c: Likewise.
33061         * time/getitimer.c: Likewise.
33062         * time/gettimeofday.c: Likewise.
33063         * time/setitimer.c: Likewise.
33064         * time/settimeofday.c: Likewise.
33065         * time/stime.c: Likewise.
33066         * time/time.c: Likewise.
33067
33068 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33069
33070         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33071         /usr/old/bin.
33072
33073         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33074         instead of spaces.
33075         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33076
33077 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33078
33079         [BZ #14796]
33080         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33081         FE_TONEAREST before applying Dekker multiplication and Knuth
33082         addition.  Clear inexact exceptions and check for exact zero
33083         results afterwards.
33084         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33085         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33087         * math/libm-test.inc (fma_test): Add more tests.
33088         (fma_test_towardzero): Likewise.
33089         (fma_test_downward): Likewise.
33090         (fma_test_upward): Likewise.
33091         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33092         function.
33093         (libc_fesetround): New macro.
33094         (libc_fesetroundf): Likewise.
33095         (libc_fesetroundl): Likewise.
33096         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33097         function.
33098         (libc_fesetround_387): Likewise.
33099         (libc_fesetroundf): New macro.
33100         (libc_fesetround): Likewise.
33101         (libc_fesetroundl): Likewise.
33102         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33103         function.
33104         (libc_fesetroundf): New macro.
33105         (libc_fesetround): Likewise.
33106         (libc_fesetroundl): Likewise.
33107         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33108         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33109         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33110         libm_hidden_ver.
33111         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33112         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33113         libm_hidden_def.
33114         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33115         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33116         libm_hidden_ver.
33117         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33118         libm_hidden_def.
33119
33120         [BZ #3439]
33121         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33122         integer constant usable in #if and use that to give value to enum
33123         constant.
33124         (FE_DIVBYZERO): Likewise.
33125         (FE_UNDERFLOW): Likewise.
33126         (FE_OVERFLOW): Likewise.
33127         (FE_INVALID): Likewise.
33128         (FE_INVALID_SNAN): Likewise.
33129         (FE_INVALID_ISI): Likewise.
33130         (FE_INVALID_IDI): Likewise.
33131         (FE_INVALID_ZDZ): Likewise.
33132         (FE_INVALID_IMZ): Likewise.
33133         (FE_INVALID_COMPARE): Likewise.
33134         (FE_INVALID_SOFTWARE): Likewise.
33135         (FE_INVALID_SQRT): Likewise.
33136         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33137         (FE_TONEAREST): Likewise.
33138         (FE_TOWARDZERO): Likewise.
33139         (FE_UPWARD): Likewise.
33140         (FE_DOWNWARD): Likewise.
33141         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33142         (FE_DIVBYZERO): Likewise.
33143         (FE_OVERFLOW): Likewise.
33144         (FE_UNDERFLOW): Likewise.
33145         (FE_INEXACT): Likewise.
33146         (FE_TONEAREST): Likewise.
33147         (FE_DOWNWARD): Likewise.
33148         (FE_UPWARD): Likewise.
33149         (FE_TOWARDZERO): Likewise.
33150         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33151         (FE_UNDERFLOW): Likewise.
33152         (FE_OVERFLOW): Likewise.
33153         (FE_DIVBYZERO): Likewise.
33154         (FE_INVALID): Likewise.
33155         (FE_TONEAREST): Likewise.
33156         (FE_TOWARDZERO): Likewise.
33157         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33158         (FE_OVERFLOW): Likewise.
33159         (FE_UNDERFLOW): Likewise.
33160         (FE_DIVBYZERO): Likewise.
33161         (FE_INEXACT): Likewise.
33162         (FE_TONEAREST): Likewise.
33163         (FE_TOWARDZERO): Likewise.
33164         (FE_UPWARD): Likewise.
33165         (FE_DOWNWARD): Likewise.
33166         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33167         (FE_DIVBYZERO): Likewise.
33168         (FE_OVERFLOW): Likewise.
33169         (FE_UNDERFLOW): Likewise.
33170         (FE_INEXACT): Likewise.
33171         (FE_TONEAREST): Likewise.
33172         (FE_DOWNWARD): Likewise.
33173         (FE_UPWARD): Likewise.
33174         (FE_TOWARDZERO): Likewise.
33175
33176 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33177
33178         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33179
33180 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33181
33182         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33183         commands.  Quote $PWD.
33184         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33185         -x" by "export".
33186         (remove_newlines): Remove.
33187
33188 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33189
33190         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33191         * stdlib/stdlib.h (atof): Moved to ...
33192         * include/bits/stdlib-float.h: Here.  New file.
33193         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33194         * stdlib/bits/stdlib-float.h: New file.
33195         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33196         -mno-sse -mno-mmx.
33197         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33198         <xmmintrin.h>.
33199
33200 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33201
33202         * conform/conformtest.pl (@headers): Add fenv.h.
33203         * conform/data/fenv.h-data: New file.
33204         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33205         include of <math/fenv.h>.
33206
33207         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33208         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33209         && !UNIX98].  Enables tests for XOPEN2K8.
33210         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33211         POSIX2008]: Likewise.
33212
33213         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33214         (struct rusage): Do not expect type or its members.
33215
33216         [BZ #3439]
33217         * math/math.h (FP_NAN): Define macro to integer constant usable in
33218         #if and use that to give value to enum constant.
33219         (FP_INFINITE): Likewise.
33220         (FP_ZERO): Likewise.
33221         (FP_SUBNORMAL): Likewise.
33222         (FP_NORMAL): Likewise.
33223
33224 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33225
33226         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33227         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33228         arguments.
33229
33230 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33231
33232         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33233         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33234         autoconf-time if not.
33235         * configure.in: Remove AC_PREREQ.
33236
33237 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33238
33239         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33240         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33241         of the internal implementation.
33242
33243 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33244
33245         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33246         except include of <misc/sys/syslog.h>.
33247
33248 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33249
33250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33251         function returns with a NULL context exit with zero.
33252
33253 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33254
33255         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33256
33257 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33258
33259         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33260         (run_program_cmd): This.
33261         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33262         (tst_langinfo): New variable.  Use it.
33263
33264 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33265
33266         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33267         floating point opcodes.
33268
33269 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33270
33271         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33272         variable.
33273
33274         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33275
33276         * sysdeps/mach/hurd/powerpc: Remove directory.
33277         * sysdeps/mach/powerpc: Likewise.
33278
33279 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33280
33281         * scripts/check-local-headers.sh: Ignore c++ headers.
33282
33283 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33284
33285         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33286         __libc_cleanup_region_start argument.
33287
33288 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33289
33290         [BZ #14784]
33291         [BZ #14785]
33292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33293         x * y using scaling, not as x * y + z.
33294         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33295         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33296         * math/libm-test.inc (fma_test): Add more tests.
33297         (fma_test_towardzero): Likewise.
33298         (fma_test_downward): Likewise.
33299         (fma_test_upward): Likewise.
33300
33301 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33302
33303         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33304
33305 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33306
33307         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33308         New variable.
33309
33310 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33311
33312         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33313
33314 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33315
33316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33317         Fix sort order.
33318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33319         Likewise.
33320
33321 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33322
33323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33324         Fix the order of the list for glibc 2.17.
33325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33326         Likewise.
33327
33328 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33329
33330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33331
33332 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33333
33334         [BZ #14610]
33335         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33336         for low part of x being zero before using __atanl (y).
33337         * math/libm-test.inc (atan2_test): Add another test.
33338
33339         * manual/install.texi (Configuring and compiling): Document
33340         general use of test-wrapper and test-wrapper-env.
33341         * INSTALL: Regenerated.
33342
33343         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33344         (__fma): Do not extract and scale down low bits on after-rounding
33345         systems when result rounded to normal precision would have normal
33346         exponent.
33347         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33348         (__fmal): Do not extract and scale down low bits on after-rounding
33349         systems when result rounded to normal precision would have normal
33350         exponent.
33351         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33352         (__fmal): Do not extract and scale down low bits on after-rounding
33353         systems when result rounded to normal precision would have normal
33354         exponent.
33355         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33356         macro.
33357         (fma_test): Add more tests.
33358         (fma_test_towardzero): Likewise.
33359         (fma_test_downward): Likewise.
33360         (fma_test_upward): Likewise.
33361
33362 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33363
33364         * sysdeps/i386/tininess.h: Renamed to ...
33365         * sysdeps/x86/tininess.h: This.
33366         * sysdeps/x86_64/tininess.h: Removed.
33367
33368 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33369
33370         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33371         input.  Use $(build-program-cmd).
33372         ($(objpfx)tst-array1-static.out): Likewise.
33373         ($(objpfx)tst-array2.out): Likewise.
33374         ($(objpfx)tst-array3.out): Likewise.
33375         ($(objpfx)tst-array4.out): Likewise.
33376         ($(objpfx)tst-array5.out): Likewise.
33377         ($(objpfx)tst-array5-static.out): Likewise.
33378
33379 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33380
33381         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33382         if defined.
33383
33384         * nss/nsswitch.h (nss_interface_function): Provide new
33385         macro for use with NSS functions.
33386         * grp/initgroups.c: Use new macro.
33387         * nss/getXXbyYY.c: Likewise.
33388         * nss/getXXbyYY_r.c: Likewise.
33389         * nss/getXXent.c: Likewise.
33390         * nss/getXXent_r.c: Likewise.
33391         * sysdeps/posix/getaddrinfo.c: Likewise.
33392
33393 2012-10-30  Andreas Jaeger  <aj@suse.de>
33394
33395         * po/ru.po: Update Russion translation from translation project.
33396
33397 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33398
33399         [BZ #14152]
33400         [BZ #14783]
33401         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33402         result and shift together with sticky bit instead of replicating
33403         round-to-nearest rounding.
33404         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33405         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33406         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33407         missing underflow exceptions.
33408         (fma_test_towardzero): Add more tests.
33409         (fma_test_downward): Likewise.
33410         (fma_test_upward): Likewise.
33411
33412         [BZ #14047]
33413         * sysdeps/generic/tininess.h: New file.
33414         * sysdeps/i386/tininess.h: Likewise.
33415         * sysdeps/sh/tininess.h: Likewise.
33416         * sysdeps/x86_64/tininess.h: Likewise.
33417         * stdlib/tst-strtod-underflow.c: Likewise.
33418         * stdlib/tst-tininess.c: Likewise.
33419         * stdlib/strtod_l.c: Include <tininess.h>.
33420         (round_and_return): Do not set errno for exact underflow cases.
33421         Force an underflow exception when setting errno for underflow.
33422         Determine underflow based on rounding to normal precision if
33423         TININESS_AFTER_ROUNDING.
33424         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33425         ERANGE for exact underflow cases.
33426         * stdlib/Makefile (tests): Add tst-tininess and
33427         tst-strtod-underflow.
33428         ($(objpfx)tst-tininess): Use $(link-libm).
33429         ($(objpfx)tst-strtod-underflow): Likewise.
33430
33431 2012-10-30  Andreas Jaeger  <aj@suse.de>
33432
33433         [BZ#14767]
33434         * elf/Makefile (tests): Remove conditional for have-initfini-array
33435         since this is now always required and the variable does not exist
33436         anymore.
33437         (tests-static): Likewise.
33438         (modules-names): Likewise.
33439
33440         * po/eo.po: Add Esperanto translation from translation project.
33441
33442         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33443         merged with constructor/destructor.
33444         (init_array): Likewise.
33445         * elf/tst-array2dep.c (fini_array): Likewise.
33446         (init_array): Likewise.
33447
33448 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33449
33450         * manual/message.texi: Delete @cartouche tags.
33451
33452 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33453
33454         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33455         EOPNOTSUPP.
33456         * sysdeps/mach/hurd/fsync.c: Likewise.
33457
33458         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33459         [_POSIX_REALTIME_SIGNALS]: Change condition to
33460         [_POSIX_REALTIME_SIGNALS > 0].
33461
33462 2012-10-27  Andreas Jaeger  <aj@suse.de>
33463
33464         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33465         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33466         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33467         [__WORDSIZE != 64]: Likewise.
33468
33469 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33470
33471         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33472         *  iconvdata/tst-tables.sh: Likewise.
33473
33474 2012-10-25  David S. Miller  <davem@davemloft.net>
33475
33476         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33477         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33478         of strtoull.
33479
33480         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33481         ifunc-impl-list.c
33482         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33483         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33484         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33485         file.
33486
33487 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33488
33489         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33490         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33491         __getdirentries.
33492
33493 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33494             Jim Blandy  <jimb@codesourcery.com>
33495
33496         * scripts/cross-test-ssh.sh: New file.
33497         * manual/install.texi (Configuring and compiling): Document use of
33498         cross-test-ssh.sh.
33499         * INSTALL: Regenerated.
33500
33501 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33502
33503         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33504         EOPNOTSUPP.
33505
33506 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33507
33508         * Makeconfig (run-program-prefix): Fix comment.
33509
33510 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33511             Jim Blandy  <jimb@codesourcery.com>
33512
33513         * Makeconfig (test-wrapper): New variable,
33514         (test-wrapper-env): Likewise.
33515         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33516         (run-built-tests): Define to yes.
33517         (run-program-prefix): Use $(test-wrapper).
33518         (built-program-cmd): Likewise.
33519         * Rules (make-test-out): Use $(test-wrapper-env) and
33520         $(host-built-program-cmd).
33521         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33522         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33523         tst-pathopt.sh.
33524         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33525         $(test-wrapper-env) to tst-rtld-load-self.sh.
33526         ($(objpfx)order2.out): Use $(test-wrapper).
33527         ($(objpfx)tst-initorder.out): Likewise.
33528         ($(objpfx)tst-initorder2.out): Likewise.
33529         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33530         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33531         (test_wrapper_env): New variable.  Use it to run ld.so.
33532         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33533         Use it to run ld.so.
33534         (test_wrapper_env): Likewise.
33535         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33536         $(test-wrapper) to run-iconv-test.sh.
33537         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33538         (ICONV): Use $test_wrapper.
33539         * posix/Makefile ($(objpfx)globtest.out): Pass
33540         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33541         globtest.sh, not $(run-program-prefix).
33542         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33543         (test_wrapper): Likewise.
33544         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33545         set together with run_via_rtld_prefix.
33546         (run_program_prefix): Define in terms of test_wrapper and
33547         run_via_rtld_prefix.
33548
33549 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33550
33551         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33552         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33553         Targets removed.
33554
33555         [BZ #14743]
33556         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33557         Declare __clock_getres, __clock_gettime, __clock_settime,
33558         __clock_nanosleep, and __clock_getcpuclockid.
33559         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33560         Remove librt_hidden_def (clock_gettime).
33561         * sysdeps/unix/clock_gettime.c: Likewise.
33562         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33563         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33564         * rt/clock_getres.c: Define __clock_getres as an alias.
33565         * sysdeps/posix/clock_getres.c: Likewise.
33566         * rt/clock_settime.c: Define __clock_settime as an alias.
33567         * sysdeps/unix/clock_settime.c: Likewise.
33568         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33569         * sysdeps/unix/clock_nanosleep.c: Likewise.
33570         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33571         * rt/clock-compat.c: New file.
33572         * rt/Makefile (librt-routines): Add clock-compat and move
33573         $(clock-routines) to ...
33574         (routines): ... here, new variable.
33575         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33576         Don't add get_clockfreq here.
33577         * rt/Versions (libc: GLIBC_2.17): New version set.
33578         Add clock_* symbols here.
33579         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33580         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33581         (GLIBC_2.17): Add clock_* symbols.
33582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33584         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33586         Likewise.
33587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33588         Likewise.
33589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33590         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33593         * NEWS: Mention the move.
33594
33595         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33596         Use __open, __read, __close rather than their public counterparts.
33597         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33598         (__get_clockfreq_via_cpuinfo): Likewise.
33599         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33600         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33601
33602         * config.h.in (HAVE_IFUNC): New #undef.
33603         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33604         was successful.
33605         * configure: Regenerated.
33606
33607 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33608
33609         * configure.in: Move READELF check to start of file.
33610         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33611         libc_cv_asm_gnu_indirect_function in the process.
33612         * configure: Regenerated.
33613
33614 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33615
33616         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33617         send the output to /dev/null.
33618         (libc_cv_cc_with_libunwind): Likewise.
33619         (libc_cv_as_noexecstack): Likewise.
33620         * configure: Regenerate.
33621
33622 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33623
33624         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33625
33626         * posix/globtest.sh (TMPDIR): Do not set.
33627         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33628         (testout): Likewise.
33629
33630 2012-10-24  Andreas Jaeger  <aj@suse.de>
33631
33632         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33633         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33634         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33635         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33636         posix_fadvise64, posix_fallocate64.
33637
33638         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33639         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33640         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33641         Likewise.
33642         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33643         Likewise.
33644         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33645
33646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33647         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33648         <bits/fcntl-linux.h>.
33649         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33650
33651         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33652         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33653         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33654         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33655         [__WORDSIZE != 64]: Likewise.
33656
33657 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33658
33659         * Makeconfig (run-built-tests): New variable.
33660         * Rules [$(cross-compiling) = yes]: Change condition to
33661         [$(run-built-tests) = no].
33662         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33663         to [$(run-built-tests) = yes].
33664         * elf/Makefile [$(cross-compiling) = no]: Likewise
33665         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33666         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33667         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33668         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33669         * io/Makefile [$(cross-compiling) = no]: Likewise.
33670         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33671         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33672         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33673         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33674         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33675         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33676         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33677         * string/Makefile [$(cross-compiling) = no]: Likewise.
33678
33679         * posix/Makefile ($(objpfx)globtest.out): Pass
33680         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33681         $(rtld-installed-name).
33682         * posix/globtest.sh (elf_objpfx): Remove variable.
33683         (rtld_installed_name): Likewise.
33684         (library_path): Likewise.
33685         (run_program_prefix): New variable.  Use for running globtest
33686         binary.
33687
33688 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33689             Joseph Myers  <joseph@codesourcery.com>
33690
33691         * Makeconfig (host-built-program-cmd): New variable.
33692         * elf/Makefile (tst-stackguard1-ARGS): Use
33693         $(host-built-program-cmd).
33694         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33695         (tst-spawn-ARGS): Likewise.
33696         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33697
33698 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33699             Jim Blandy  <jimb@codesourcery.com>
33700
33701         * Makeconfig (run-via-rtld-prefix): New variable.
33702         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33703         (built-program-cmd): Likewise.
33704
33705 2012-10-22  Andreas Jaeger  <aj@suse.de>
33706
33707         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33708         __O_RSYNC if it exists, otherwise to O_SYNC.
33709
33710 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33711             Joseph Myers  <joseph@codesourcery.com>
33712
33713         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33714         /dev/null.
33715         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33716         from /dev/null
33717         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33718         /dev/null.
33719
33720 2012-10-22  Andreas Jaeger  <aj@suse.de>
33721
33722         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33723         Define always.
33724         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33725
33726         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33727         bits/fcntl-linux.h.
33728
33729         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33730         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33731
33732         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33733         to __O_LARGEFILE.
33734         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33735         to __O_LARGEFILE.
33736
33737 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33738             Joseph Myers  <joseph@codesourcery.com>
33739
33740         * config.make.in (NM): New variable.
33741
33742 2012-10-21  Andreas Jaeger  <aj@suse.de>
33743
33744         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33745         definitions and declarations that are provided by
33746         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33747
33748 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33749
33750         [BZ #14683]
33751         * elf/Makefile (tests-static): Add tst-leaks1-static.
33752         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33753         ($(objpfx)tst-leaks1-static): New rule.
33754         ($(objpfx)tst-leaks1-static-mem): Likewise.
33755         (tst-leaks1-static-ENV): New macro.
33756         * elf/dl-open.c (dl_open_worker): Check the main application
33757         only if SHARED is defined.
33758         * elf/tst-leaks1-static.c: New file.
33759
33760 2012-10-20  Andreas Jaeger  <aj@suse.de>
33761
33762         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33763         generic values for Linux.
33764         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33765         and declarations that are provided by <bits/fcntl-linux.h> and
33766         include <bits/fcntl-linux.h>.
33767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33768         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33769
33770 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33771
33772         * io/fcntl.h: Move include of <bits/types.h> to the top and
33773         include it unconditionally.
33774
33775 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33776
33777         * wcsmbs/Makefile (tests-ifunc): New variable.
33778         (tests): Add $(tests-ifunc).
33779         * wcsmbs/test-wcschr-ifunc.c: New file.
33780         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33781         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33782         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33783         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33784         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33785
33786         * string/Makefile (tests-ifunc): New variable.
33787         (tests): Add $(tests-ifunc).
33788         * string/test-memccpy.c (TEST_NAME): New macro.
33789         * string/test-memchr.c (TEST_NAME): Likewise.
33790         * string/test-memcmp.c (TEST_NAME): Likewise.
33791         * string/test-memcpy.c (TEST_NAME): Likewise.
33792         * string/test-memmem.c (TEST_NAME): Likewise.
33793         * string/test-memmove.c (TEST_NAME): Likewise.
33794         * string/test-memset.c (TEST_NAME): Likewise.
33795         * string/test-rawmemchr.c (TEST_NAME): Likewise.
33796         * string/test-stpcpy.c (TEST_NAME): Likewise.
33797         * string/test-stpncpy.c (TEST_NAME): Likewise.
33798         * string/test-strcasecmp.c (TEST_NAME): Likewise.
33799         * string/test-strcasestr.c (TEST_NAME): Likewise.
33800         * string/test-strcat.c (TEST_NAME): Likewise.
33801         * string/test-strchr.c (TEST_NAME): Likewise.
33802         * string/test-strcmp.c(TEST_NAME): Likewise.
33803         * string/test-strcpy.c (TEST_NAME): Likewise.
33804         * string/test-strcspn.c (TEST_NAME): Likewise.
33805         * string/test-strlen.c (TEST_NAME): Likewise.
33806         * string/test-strncasecmp.c (TEST_NAME): Likewise.
33807         * string/test-strncmp.c (TEST_NAME): Likewise.
33808         * string/test-strncpy.c (TEST_NAME): Likewise.
33809         * string/test-strnlen.c (TEST_NAME): Likewise.
33810         * string/test-strpbrk.c (TEST_NAME): Likewise.
33811         * string/test-strrchr.c (TEST_NAME): Likewise.
33812         * string/test-strspn.c (TEST_NAME): Likewise.
33813         * string/test-strstr.c (TEST_NAME): Likewise.
33814         * string/test-bcopy-ifunc.c: New file.
33815         * string/test-bzero-ifunc.c: Likewise.
33816         * string/test-memccpy-ifunc.c: Likewise.
33817         * string/test-memchr-ifunc.c: Likewise.
33818         * string/test-memcmp-ifunc.c: Likewise.
33819         * string/test-memcpy-ifunc.c: Likewise.
33820         * string/test-memmem-ifunc.c: Likewise.
33821         * string/test-memmove-ifunc.c: Likewise.
33822         * string/test-mempcpy-ifunc.c: Likewise.
33823         * string/test-memset-ifunc.c: Likewise.
33824         * string/test-rawmemchr-ifunc.c: Likewise.
33825         * string/test-stpcpy-ifunc.c: Likewise.
33826         * string/test-stpncpy-ifunc.c: Likewise.
33827         * string/test-strcasecmp-ifunc.c: Likewise.
33828         * string/test-strcasestr-ifunc.c: Likewise.
33829         * string/test-strcat-ifunc.c: Likewise.
33830         * string/test-strchr-ifunc.c: Likewise.
33831         * string/test-strchrnul-ifunc.c: Likewise.
33832         * string/test-strcmp-ifunc.c: Likewise.
33833         * string/test-strcpy-ifunc.c: Likewise.
33834         * string/test-strcspn-ifunc.c: Likewise.
33835         * string/test-strlen-ifunc.c: Likewise.
33836         * string/test-strncasecmp-ifunc.c: Likewise.
33837         * string/test-strncat-ifunc.c: Likewise.
33838         * string/test-strncmp-ifunc.c: Likewise.
33839         * string/test-strncpy-ifunc.c: Likewise.
33840         * string/test-strnlen-ifunc.c: Likewise.
33841         * string/test-strpbrk-ifunc.c: Likewise.
33842         * string/test-strrchr-ifunc.c: Likewise.
33843         * string/test-strspn-ifunc.c: Likewise.
33844         * string/test-strstr-ifunc.c: Likewise.
33845
33846         * debug/Makefile (tests-ifunc): New variable.
33847         (tests): Add $(tests-ifunc).
33848         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33849         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33850         * debug/test-stpcpy_chk-ifunc.c: New file.
33851         * debug/test-strcpy_chk-ifunc.c: Likewise.
33852
33853 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33854
33855         [BZ #13601]
33856         * elf/dl-load.c (open_verify): Retry read if the entire ELF
33857         header is not read in.
33858
33859 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
33860
33861         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
33862         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
33863         directly.  Pass built executable to script as
33864         $(built-program-cmd).
33865         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
33866         $testprogram without using LD_LIBRARY_PATH and $ldso.
33867
33868         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33869         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33870         $(rtld-installed-name).
33871         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33872         (rtld_installed_name): Likewise.
33873         (library_path): Likewise.
33874         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
33875         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33876         $(run-program-prefix) to tst-tables.sh.
33877         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
33878         it to run tst-table-from and tst-table-to.
33879         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33880         Pass it to tst-table.sh.
33881         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33882         $(run-program-prefix) to tst-gettext.sh.
33883         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33884         tst-translit.sh.
33885         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33886         tst-gettext2.sh.
33887         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
33888         to run tst-gettext.
33889         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
33890         to run tst-gettext2.
33891         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
33892         to run tst-translit.
33893         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33894         $(run-program-prefix) to tst-mtrace.sh.
33895         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
33896         to run tst-mtrace.
33897         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33898         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33899         $(rtld-installed-name).
33900         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33901         (rtld_installed_name): Likewise.
33902         (run_program_prefix): New variable.  Use it to run wordexp-test.
33903
33904         * Makeconfig (ARCH): Remove all definitions.
33905         (machine): Likewise.
33906         [ARCH]: Remove conditional code.
33907         [!objdir]: Give error.
33908         [!objdir] (objpfx): Remove.
33909         [!objdir] (common-objpfx): Likewise.
33910         [!objdir] (common-objdir): Likewise.
33911         * configure.in (config_makefile): Remove.  Hardcode Makefile in
33912         AC_CONFIG_FILES call.
33913         * configure: Regenerated.
33914
33915         [BZ #13888]
33916         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33917         or TMPDIR.
33918         (testout): Likewise.
33919
33920         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33921         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33922         $(rtld-installed-name).
33923         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33924         (rtld_installed_name): Likwise.
33925         (runit): Remove function.
33926         (run_getconf): New variable,  Use it for running getconf binary.
33927
33928 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
33929
33930         [BZ #14716]
33931         * string/test-memmem.c (check_result): New function.
33932         (do_one_test): Use it.
33933         (check1): New function.
33934         (test_main): Use it.
33935
33936 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
33937
33938         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33939
33940 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
33941
33942         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33943         (_G_LSEEK64): Likewise.
33944         (_G_MMAP64): Likewise.
33945         (_G_FSTAT64): Likewise.
33946         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33947         (_G_LSEEK64): Likewise.
33948         (_G_MMAP64): Likewise.
33949         (_G_FSTAT64): Likewise.
33950         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33951         unconditional.  Call __mmap64 directly.
33952         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33953         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
33954         __lseek64 directly.
33955         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33956         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
33957         __mmap64 directly.
33958         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33959         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33960         __lseek64 directly.
33961         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33962         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33963         __lseek64 directly.
33964         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33965         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
33966         __lseek64 directly.
33967         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33968         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
33969         __fxstat64 directly.
33970         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33971         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33972         unconditional.
33973         (freopen64) [!_G_OPEN64]: Remove conditional code.
33974         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33975         unconditional.
33976         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33977         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33978         unconditional.
33979         (ftello64) [!_G_LSEEK64]: Remove conditional code.
33980         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33981         unconditional.
33982         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33983         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33984         unconditional.
33985         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33986         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33987         unconditional.
33988         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33989         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33990         unconditional.
33991         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33992         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33993         unconditional.
33994         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33995
33996 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33997
33998         [BZ #12140]
33999         * manual/memory.texi (Malloc Tunable Parameters): Add note
34000         about free list pointers overwriting some perturb bytes.
34001         Wording suggested by Roland McGrath.
34002
34003 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34004
34005         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34006         (lgamma_test): Likewise.
34007         (tgamma_test): Likewise.
34008
34009 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34010
34011         [BZ #14700]
34012         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34013         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34014
34015 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34016
34017         * NEWS: Mention BZ #14716.
34018         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34019         when removing AVAILABLE1_USES_J macro.
34020
34021 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34022
34023         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34024         (__bswap_64): __uint64_t for unsigned 64-bit int.
34025
34026 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34027
34028         * include/string.h (memmem): Declare libc hidden alias.
34029         * string/memmem.c (memmem): Define libc hidden alias.
34030         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34031         __read, __close instead of open, read, close.
34032
34033 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34034
34035         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34036         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34037         global and hidden.
34038         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34039         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34040         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34041         Likewise.
34042         (__rawmemchr_sse2): Likewise.
34043         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34044         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34045         (__strchr_sse2): Likewise.
34046         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34047         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34048         (__strcasecmp_sse2): Likewise.
34049         (__strncasecmp_sse2): Likewise.
34050         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34051         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34052         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34053         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34054         (__strrchr_sse2): Likewise.
34055         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34056         ifunc-impl-list.c.
34057         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34058         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34059         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34060         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34061         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34062         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34063         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34064         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34065         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34066         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34067         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34068         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34069         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34070         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34071         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34072         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34073         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34074         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34075         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34076         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34077         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34078         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34079         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34080         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34081         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34082         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34083         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34084         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34085         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34086         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34087
34088         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34089         global and hidden.
34090         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34091         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34092         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34093         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34094         Likewise.
34095         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34096         Likewise.
34097         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34098         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34099         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34100         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34101         ifunc-impl-list.c.
34102         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34103         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34104         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34105         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34106         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34107         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34108         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34109         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34110         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34111         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34112         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34113         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34114         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34115         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34116         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34117         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34118         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34119         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34120         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34121         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34122         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34123         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34124         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34125         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34126         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34127         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34128         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34129         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34130         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34131         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34132         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34133         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34134         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34135         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34136         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34137         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34138         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34139         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34140         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34141         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34142         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34143
34144         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34145         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34146         * include/ifunc-impl-list.h: New file.
34147         * misc/ifunc-impl-list.c: Likewise.
34148         * misc/Makefile (routines): Add ifunc-impl-list.
34149         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34150         * string/test-string.h: Include <ifunc-impl-list.h>.
34151         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34152         TEST_NAME]: New variables.
34153         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34154         are defined.
34155         (test_init): Call __libc_ifunc_impl_list to initialize
34156         func_list if TEST_IFUNC and TEST_NAME are defined.
34157
34158         * string/Makefile (strop-tests): Add bcopy and bzero.
34159         * string/test-bcopy.c: New file.
34160         * string/test-bzero.c: Likewise.
34161         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34162         defined.
34163         * string/test-memset.c: Support bzero test if TEST_BZERO is
34164         defined.
34165         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34166         __libc_memmove.
34167         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34168         __libc_memset.
34169         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34170         of memset.
34171
34172 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34173
34174         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34175         * configure: Regenerated.
34176
34177         * Makeconfig (+link-static-before-libc): Don't include
34178         $(link-static-libc).
34179
34180         * libio/libio.h (_IO_pos_t): Remove.
34181
34182 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34183
34184         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34185         McGrath.
34186
34187 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34188
34189         * crypt/crypt-entry.c: Include fips-private.h.
34190         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34191         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34192         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34193         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34194
34195 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34196
34197         * crypt/crypt-private.h: Include stdbool.h.
34198         (_ufc_setup_salt_r): Return bool.
34199         * crypt/crypt-entry.c: Include errno.h.
34200         (__crypt_r): Return NULL with EINVAL for bad salt.
34201         * crypt/crypt_util.c (bad_for_salt): New.
34202         (_ufc_setup_salt_r): Check that salt is long enough and within
34203         the specified alphabet.
34204         * crypt/badsalttest.c: New file.
34205         * crypt/Makefile (tests): Add it.
34206         ($(objpfx)badsalttest): New.
34207
34208 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34209
34210         * NEWS: Add entry for BZ #14602.
34211
34212 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34213
34214         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34215         type-generic.
34216         * math/libm-test.inc: Update comment listing what functions and
34217         macros are tested.
34218         (isgreater_test): New function.
34219         (isgreaterequal_test): Likewise.
34220         (isless_test): Likewise.
34221         (islessequal_test): Likewise.
34222         (islessgreater_test): Likewise.
34223         (isunordered_test): Likewise.
34224         (main): Call the new functions.
34225
34226 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34227
34228         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34229         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34230         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34231         * sysdeps/i386/configure: Regenerated.
34232         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34233         * sysdeps/mach/configure: Regenerated.
34234         * sysdeps/mach/hurd/configure: Regenerated.
34235         * sysdeps/powerpc/configure: Regenerated.
34236         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34237         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34238         * sysdeps/s390/s390-32/configure: Regenerated.
34239         * sysdeps/s390/s390-64/configure: Regenerated.
34240         * sysdeps/sh/configure: Regenerated.
34241         * sysdeps/sparc/configure: Regenerated.
34242         * sysdeps/unix/sysv/linux/configure: Regenerated.
34243         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34244         * sysdeps/x86_64/configure: Regenerated.
34245
34246         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34247         defined.  Don't check if MAP is NULL.
34248
34249 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34250
34251         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34252         (_G_stat64): Likewise.
34253         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34254         (_G_stat64): Likewise.
34255         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34256         instead of struct _G_stat64.
34257         * libio/fileops.c (mmap_remap_check): Likewise.
34258         (decide_maybe_mmap): Likewise.
34259         (_IO_new_file_seekoff): Likewise.
34260         (_IO_file_stat): Likewise.
34261         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34262         _G_off64_t.
34263         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34264         instead of struct _G_stat64.
34265         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34266
34267 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34268
34269         [BZ #14602]
34270         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34271         Replace with ...
34272         (CHECK_EOL): New macro.
34273         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34274         CHECK_EOL.
34275         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34276         Replace with CHECK_EOL.
34277         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34278         Replace with CHECK_EOL.
34279
34280 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34281
34282         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34283         type-generic.
34284         * math/libm-test.inc: Update comment listing what functions and
34285         macros are tested.
34286         (finite_test): New function.
34287         (isinf_test): Likewise.
34288         (isnan_test): Likewise.
34289         (fpclassify_test): Test subnormal input.
34290         (isfinite_test): Likewise.
34291         (isnormal_test): Likewise.
34292         (main): Call the new functions.
34293
34294 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34295
34296         [BZ #14660]
34297         * Makerules (%.dynsym): Force C locale when running
34298         $(OBJDUMP) --dynamic-syms.
34299
34300 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34301
34302         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34303         <stdint.h>.
34304
34305 2012-10-06  David S. Miller  <davem@davemloft.net>
34306
34307         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34308         upper 32-bits of the length value in %o2 since we use branch-on-register
34309         tests which consider the entire 64-bit register.
34310
34311 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34312
34313         * string/test-strstr.c (check2): Add a test for page boundary.
34314
34315 2012-10-05  David S. Miller  <davem@davemloft.net>
34316
34317         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34318         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34319         file.
34320         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34321         sysdep_routines.
34322         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34323         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34324         and bzero when HWCAP_SPARC_CRYPTO is present.
34325
34326 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34327
34328         [BZ #14602]
34329         * string/test-strstr.c (check2): New function.
34330         (test_main): Call check2.
34331
34332         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34333         and bug-strchr1.
34334         * string/bug-strcasestr1.c (do_test): Moved to ...
34335         * string/test-strcasestr.c (check1): Here.  New function.
34336         (do_one_test): Break out result checking code into ...
34337         (check_result): This.  New function.
34338         (do_one_test): Call check_result.
34339         (test_main): Call check1.
34340         * string/bug-strchr1.c (do_test): Moved to ...
34341         * string/test-strchr.c (check1): Here.  New function.
34342         (do_one_test): Break out result checking code into ...
34343         (check_result): This.  New function.
34344         (do_one_test): Call check_result.
34345         (test_main): Call check1.
34346         * string/bug-strstr1.c (main): Moved to ...
34347         * string/test-strstr.c (check1): Here.  New function.
34348         (do_one_test): Break out result checking code into ...
34349         (check_result): This.  New function.
34350         (do_one_test): Call check_result.
34351         (test_main): Call check1.
34352         * string/bug-strcasestr1.c: Removed.
34353         * string/bug-strchr1.c: Likewise.
34354         * string/bug-strstr1.c: Likewise.
34355
34356         * elf/Makefile (dl-routines): Add hwcaps.
34357         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34358         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34359         (_dl_important_hwcaps): Moved to ...
34360         * elf/dl-hwcaps.c: Here.  New file.
34361         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34362
34363         [BZ #14557]
34364         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34365         if IS_IN_rtld isn't defined.
34366
34367         * elf/dl-support.c (_dl_sysinfo_map): New.
34368         Include "get-dynamic-info.h" and "setup-vdso.h".
34369         (_dl_non_dynamic_init): Call setup_vdso.
34370         * elf/dynamic-link.h: Don't include <assert.h>.
34371         (elf_get_dynamic_info): Moved to ...
34372         * elf/get-dynamic-info.h: Here.  New file.
34373         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34374         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34375         * elf/setup-vdso.h: Here.  New file.
34376         * elf/rtld.c: Include "setup-vdso.h".
34377         (dl_main): Call setup_vdso.
34378
34379 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34380
34381         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34382         creal in comment listing functions tested.  List finite, isinf,
34383         isnan, isless, islessequal, isgreater, isgreaterequal,
34384         islessgreater, isunordered, lgamma_r and pow10 as functions and
34385         macros not tested.  Mention which functions not tested are aliases
34386         for other functions.  Fix typo.  Note that signs of NaNs are not
34387         tested.
34388
34389         * scripts/config.guess: Update from config.git.
34390         * scripts/config.sub: Likewise.
34391
34392 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34393
34394         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34395         * misc/madvise.c (madvise): Renamed to __madvise.
34396         Make madvise a weak alias.
34397         * include/sys/mman.h: Declare __madvise.
34398         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34399         * sysdeps/unix/syscalls.list
34400         (madvise): Make __madvise the strong name, and madvise a weak alias.
34401         * sysdeps/unix/sysv/linux/syscalls.list
34402         (madvise, mmap): Remove redundant entries.
34403         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34404         * malloc/malloc.c (mtrim): Likewise.
34405         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34406
34407 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34408
34409         * sysdeps/mach/hurd/dl-cache.c: File removed.
34410         * config.h.in (USE_LDCONFIG): New #undef.
34411         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34412         * configure: Regenerated.
34413         * elf/Makefile (dl-routines): Add dl-cache only under
34414         [$(use-ldconfig) = yes].
34415         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34416         cache on [USE_LDCONFIG].
34417         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34418         [USE_LDCONFIG].
34419         * elf/rtld.c (dl_main): Likewise.
34420
34421 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34422
34423         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34424         _SC_LEVEL4_CACHE_LINESIZE.
34425
34426 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34427
34428         * sysdeps/unix/bsd/confstr.h: File removed.
34429
34430 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34431
34432         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34433         sys/sdt-config.h.
34434
34435 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34436
34437         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34438         Make 'mapoff' field ElfW(Off) rather than off_t.
34439
34440 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34441
34442         * nscd/Makefile: Remove nscd-cflags and all its users.
34443         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34444         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34445
34446         [BZ #10631]
34447         * malloc.c (malloc_printerr): Clarify error message.
34448
34449 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34450
34451         [BZ #14648]
34452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34453         Set bit_FMA_Usable if FMA is supported.
34454         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34455         macro.
34456         (bit_FMA4_Usable): Updated.
34457         (index_FMA_Usable): New macro.
34458         (CPUID_FMA): Likewise
34459         (HAS_FMA): Defined with bit_FMA_Usable.
34460
34461 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34462
34463         * bits/types.h (__swblk_t): Type removed.
34464         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34465         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34466         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34467         (__SWBLK_T_TYPE): Likewise.
34468         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34469         (__SWBLK_T_TYPE): Likewise.
34470         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34471         (__SWBLK_T_TYPE): Likewise.
34472         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34473         (__SWBLK_T_TYPE): Likewise.
34474
34475 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34476             Honza Horak <hhorak@redhat.com>
34477
34478         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34479         (xdr_mapname): Use YPMAXMAP as maxsize.
34480         (xdr_peername): Use YPMAXPEER as maxsize.
34481         (xdr_keydat): Use YPAXRECORD as maxsize.
34482         (xdr_valdat): Use YPMAXRECORD as maxsize.
34483
34484 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34485
34486         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34487
34488         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34489         * csu/init-first.c: ... here.
34490         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34491         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34492         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34493         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34494         * sysdeps/i386/init-first.c: File removed.
34495         * sysdeps/sh/init-first.c: File removed.
34496
34497 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34498
34499         [BZ #14645]
34500         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34501         if x * y might underflow to zero and z is zero.
34502         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34503         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34504         * math/libm-test.inc (min_subnorm_value): New variable.
34505         (fma_test): Add more tests.
34506         (fma_test_towardzero): Likewise.
34507         (fma_test_downward): Likewise
34508         (fma_test_upward): Likewise.
34509         (initialize): Set min_subnorm_value.
34510
34511 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34512
34513         [BZ #14638]
34514         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34515         0 + 0.
34516         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34517         mode for addition resulting in exact zero.
34518         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34519         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34520         exact 0 + 0.
34521         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34522         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34523         * math/libm-test.inc (fma_test): Add more tests.
34524         (fma_test_towardzero): New function.
34525         (fma_test_downward): Likewise.
34526         (fma_test_upward): Likewise.
34527         (main): Call the new functions.
34528
34529 2012-09-28  David S. Miller  <davem@davemloft.net>
34530
34531         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34532
34533 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34534
34535         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34536         instead of SIGALRM.
34537
34538         * sysdeps/gnu/_G_config.h: Moved to ...
34539         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34540         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34541         * sysdeps/generic/_G_config.h: ... here.
34542
34543         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34544
34545         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34546
34547         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34548         Conditionalize target on [libnss_test1.so-version].
34549
34550         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34551
34552         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34553         (elfobjdir): Move out of conditionals.
34554
34555         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34556         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34557         (__nss_lookup_function): Conditionalize label remove_from_tree on
34558         [!DO_STATIC_NSS || SHARED], matching its only use.
34559
34560 2012-09-28  David S. Miller  <davem@davemloft.net>
34561
34562         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34563         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34564         file.
34565         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34566         sysdep_routines.
34567         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34568         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34569         when HWCAP_SPARC_CRYPTO is present.
34570
34571 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34572
34573         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34574
34575 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34576
34577         [BZ #6530]
34578         * stdio-common/vfprintf.c (process_string_arg): Revert
34579         2000-07-22 change.
34580
34581 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34582
34583         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34584         for testcase.
34585         * stdio-common/tst-sprintf.c: Include <locale.h>
34586         (main): Test sprintf's handling of incomplete multibyte
34587         characters.
34588
34589 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34590
34591         * elf/dl-runtime.c (VERSYMIDX): Removed.
34592         * elf/dl-version.c (VERSYMIDX): Likewise.
34593         * elf/do-rel.h (VERSYMIDX): Likewise.
34594         (VALIDX): Likewise.
34595         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34596         * elf/rtld.c (VALIDX): Likewise.
34597         (ADDRIDX): Likewise.
34598         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34599         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34600         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34601         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34602         (VALIDX): Likewise.
34603         (ADDRIDX): Likewise.
34604
34605 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34606
34607         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34608
34609 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34610
34611         [BZ #11438]
34612         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34613         to global scope.
34614         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34615         addresses are in the same scope as 192.0.2/24.
34616         * posix/gai.conf: Document new scope table defaults.
34617
34618 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34619
34620         [BZ #5298]
34621         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34622         for ftell.  Compute offsets from write pointers instead.
34623         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34624
34625 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34626
34627         [BZ #14543]
34628         * libio/Makefile (tests): New test case tst-fseek.
34629         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34630         combination works in wide mode.
34631         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34632         state when the external buffer state changes.
34633
34634 2012-09-27  David S. Miller  <davem@davemloft.net>
34635
34636         [BZ #14376]
34637         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34638         pass reloc->r_addend in as the 'high' argument to
34639         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34640
34641         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34642
34643 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34644
34645         * rt/tst-aio2.c: Include <pthread.h>.
34646         * rt/tst-aio3.c: Likewise.
34647
34648 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34649
34650         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34651
34652 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34653
34654         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34655         contents on [SHARED].
34656
34657 2012-09-26  Marek Polacek  <polacek@redhat.com>
34658
34659         [BZ #14530]
34660         [BZ #13741]
34661         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34662         for C++ and GCC <4.3 as well as for non GCC compilers.
34663
34664 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34665
34666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34667
34668 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34669
34670         * Makefile.in (all, install): Declare with .PHONY.
34671         Reported by Michael Hope <michael.hope@linaro.org>.
34672
34673 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34674
34675         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34676         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34677         system header.
34678         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34679         Likewise.
34680         (sydep_routines): Add the new and the internal functions.
34681         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34682         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34684         (GLIBC_2.17): Add the new function.
34685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34686         (GLIBC_2.17): Likewise.
34687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34688         (GLIBC_2.17): Likewise.
34689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34690         (GLIBC_2.17): Likewise.
34691         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34692
34693 2012-09-25  Alan Modra  <amodra@gmail.com>
34694
34695         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34696         Add release barrier before setting once_control to say
34697         initialisation is done.  Add hints on lwarx.  Use macro in
34698         place of isync.
34699         (clear_once_control): Add release barrier.
34700
34701 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34702
34703         [BZ #13629]
34704         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34705         specially.
34706         * math/s_clog10.c (__clog10): Likewise.
34707         * math/s_clog10f.c (__clog10f): Likewise.
34708         * math/s_clog10l.c (__clog10l): Likewise.
34709         * math/s_clogf.c (__clogf): Likewise.
34710         * math/s_clogl.c (__clogl): Likewise.
34711         * math/Makefile (libm-calls): Add x2y2m1.
34712         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34713         (__x2y2m1): Likewise.
34714         (__x2y2m1l): Likewise.
34715         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34716         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34717         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34718         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34719         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34720         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34721         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34722         * sysdeps/i386/fpu/libm-test-ulps: Update.
34723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34724
34725         [BZ #14621]
34726         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34727         int as type of variable DEPTH.
34728         (glob): Use size_t instead of int as type of variables NEWCOUNT
34729         and OLD_PATHC.
34730
34731 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34732
34733         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34734         Add s_sincosf-sse2.
34735         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34736         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34737         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34738         macros for using routine as __sincosf_ia32.
34739         Use macro for function declaration and weak_alias.
34740         * sysdeps/i386/fpu/libm-test-ulps: Update.
34741
34742         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34744
34745         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34746         subnormal argument.
34747         * math/s_cexpf.c (__cexpf): Likewise.
34748         * math/s_csinf.c (__csinf): Likewise.
34749         * math/s_csinhf.c (__csinhf): Likewise.
34750         * math/s_ctanf.c (__ctanf): Likewise.
34751         * math/s_ctanhf.c (__ctanhf): Likewise.
34752         * math/s_ccosh.c (__ccoshf): Likewise.
34753         * math/s_cexp.c (__cexpl): Likewise.
34754         * math/s_csin.c (__csin): Likewise.
34755         * math/s_csinh.c (__csinh): Likewise.
34756         * math/s_ctan.c (__ctan): Likewise.
34757         * math/s_ctanh.c (ctanh): Likewise.
34758         * math/s_ccoshl.c (__ccoshl): Likewise.
34759         * math/s_cexpl.c (__cexpl): Likewise.
34760         * math/s_csinl.c (__csinl): Likewise.
34761         * math/s_csinhl.c (__csinhl): Likewise.
34762         * math/s_ctanl.c (__ctanl): Likewise.
34763         * math/s_ctanhl.c (__ctanhl): Likewise.
34764
34765 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34766
34767         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34768         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34769         (_IO_off_t): Define to __off_t, not _G_off_t.
34770         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34771         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34772         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34773         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34774         type of __dummy and __dummy2 fields.
34775         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34776         (_G_ssize_t): Likewise.
34777         (_G_off_t): Likewise.
34778         (_G_pid_t): Likewise.
34779         (_G_uid_t): Likewise.
34780         (_G_wchar_t): Likewise.
34781         (_G_wint_t): Likewise.
34782         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34783         (_G_ssize_t): Likewise.
34784         (_G_off_t): Likewise.
34785         (_G_pid_t): Likewise.
34786         (_G_uid_t): Likewise.
34787         (_G_wchar_t): Likewise.
34788         (_G_wint_t): Likewise.
34789         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34790         (_G_ssize_t): Likewise.
34791         (_G_off_t): Likewise.
34792         (_G_pid_t): Likewise.
34793         (_G_uid_t): Likewise.
34794         (_G_wchar_t): Likewise.
34795         (_G_wint_t): Likewise.
34796
34797 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34798
34799         * malloc/arena.c: Include malloc-sysdep.h.
34800         (shrink_heap): Use check_may_shrink_heap to decide if madvise
34801         is sufficient to shrink the heap or an unmap is needed.
34802         * sysdeps/generic/malloc-sysdep.h: New file.  Define
34803         new function check_may_shrink_heap.
34804         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
34805         new function check_may_shrink_heap.
34806
34807 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34808
34809         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34810         comments.
34811
34812 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
34813
34814         * catgets/test-gencat.sh: Add "set -e".
34815         * elf/tst-pathopt.sh: Likewise.
34816         * grp/tst_fgetgrent.sh: Likewise.
34817         * iconvdata/run-iconv-test.sh: Likewise.
34818         * intl/tst-gettext.sh: Likewise.
34819         * intl/tst-gettext2.sh: Likewise.
34820         * intl/tst-gettext4.sh: Likewise.
34821         * intl/tst-gettext6.sh: Likewise.
34822         * intl/tst-translit.sh: Likewise.
34823         * io/ftwtest-sh: Likewise.
34824         * libio/test-freopen.sh: Likewise.
34825         * malloc/tst-mtrace.sh: Likewise.
34826         * posix/globtest.sh: Likewise.
34827         * posix/tst-getconf.sh: Likewise.
34828         * posix/wordexp-tst.sh: Likewise.
34829         * stdio-common/tst-printf.sh: Likewise.
34830         * stdio-common/tst-unbputc.sh: Likewise.
34831         * stdlib/tst-fmtmsg.sh: Likewise.
34832         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34833         * catgets/Makefile: Do not specify -e option when running
34834         testsuite shell scripts.
34835         * elf/Makefile: Likewise.
34836         * grp/Makefile: Likewise.
34837         * iconvdata/Makefile: Likewise.
34838         * intl/Makefile: Likewise.
34839         * io/Makefile: Likewise.
34840         * libio/Makefile: Likewise.
34841         * malloc/Makefile: Likewise.
34842         * posix/Makefile: Likewise.
34843         * stdio-common/Makefile: Likewise.
34844         * stdlib/Makefile: Likewise.
34845         * sysdeps/x86_64/Makefile: Likewise.
34846
34847         * io/ftwtest-sh: Add copyright header.
34848         * posix/globtest.sh: Likewise.
34849         * posix/tst-getconf.sh: Likewise.
34850         * posix/wordexp-tst.sh: Likewise.
34851         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34852
34853 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
34854
34855         [BZ #13679]
34856         * Makeconfig (+link): Defined as $(+link-static) if
34857         $(build-shared) isn't yes.
34858         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34859         isn't yes.
34860         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34861
34862         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34863
34864         [BZ #14562]
34865         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34866         new chunk size with MALLOC_ALIGN_MASK.
34867
34868 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
34869
34870         [BZ #5044]
34871         * stdio-common/printf_fphex.c: Include <stdbool.h> and
34872         <rounding-mode.h>.
34873         (__printf_fphex): Determine rounding using get_rounding_mode and
34874         round_away.
34875         * stdio-common/tst-printf-round.c (struct hex_test): New
34876         structure.
34877         (hex_tests): New variable.
34878         (test_hex_in_one_mode): New function.
34879         (do_test): Also run tests for hex float output.
34880
34881 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
34882
34883         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34884         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34885         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34886         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34887         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34888         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34889         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34890         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34891
34892 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
34893
34894         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34895         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34896         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34897         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34898
34899 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
34900
34901         [BZ #14579]
34902         * elf/rtld.c (dl_main): Limit the check for self loading to normal
34903         mode only.
34904         * elf/tst-rtld-load-self.sh: New test.
34905         * elf/Makefile: Run it.
34906
34907 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
34908
34909         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34910         (tst-writev-ENV): Remove.
34911         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34912
34913 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
34914
34915         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34916
34917 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
34918
34919         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34920         unconditional.
34921         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34922         Likewise.
34923         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34924         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34925         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34926         Likewise.
34927
34928 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
34929
34930         [BZ #14587]
34931         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34932         * config.make.in (have-cpp-asm-debuginfo): Removed.
34933         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34934         * configure: Regenerated.
34935
34936 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
34937
34938         [BZ #5044]
34939         * stdio-common/printf_fp.c: Include <stdbool.h> and
34940         <rounding-mode.h>.
34941         (___printf_fp): Determine rounding using get_rounding_mode and
34942         round_away.
34943         * stdio-common/tst-printf-round.c: New file.
34944         * stdio-common/Makefile (tests): Add tst-printf-round.
34945         (link-libm): New variable.
34946         ($(objpfx)tst-printf-round): Depend in $(link-libm).
34947
34948 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
34949
34950         [BZ #14576]
34951         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34952         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34953         Likewise.
34954         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34955         Likewise.
34956
34957 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
34958
34959         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34960         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34961         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34962         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34963
34964 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
34965
34966         [BZ #14518]
34967         * include/rounding-mode.h: New file.
34968         * sysdeps/generic/get-rounding-mode.h: Likewise.
34969         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34970         * stdlib/strtod_l.c: Include <rounding-mode.h>.
34971         (MAX_VALUE): New macro.
34972         (MIN_VALUE): Likewise.
34973         (overflow_value): New function.
34974         (underflow_value): Likewise.
34975         (round_and_return): Use overflow_value and underflow_value to
34976         determine return values in overflow and underflow cases.  Use
34977         round_away to determine rounding depending on rounding mode.
34978         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34979         determine return values in overflow and underflow cases.
34980         * stdlib/tst-strtod-round.c: Include <fenv.h>.
34981         (struct test_results): New structure.
34982         (struct test): Use struct test_results to store expected results
34983         for all rounding modes.
34984         (TEST): Include expected results for all rounding modes.
34985         (test_in_one_mode): New function.
34986         (do_test): Use test_in_one_mode to compute and check results.
34987         Check results for all rounding modes.
34988         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34989         $(link-libm).
34990
34991 2012-12-09  Allan McRae  <allan@archlinux.org>
34992
34993         * sysdeps/i386/fpu/libm-test-ulps: Update
34994
34995 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
34996
34997         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34998         (_G_int32_t): Likewise.
34999         (_G_uint16_t): Likewise.
35000         (_G_uint32_t): Likewise.
35001         (_G_HAVE_BOOL): Likewise.
35002         (_G_HAVE_ATEXIT): Likewise.
35003         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35004         (_G_HAVE_IO_FILE_OPEN): Likewise.
35005         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35006         (_G_int32_t): Likewise.
35007         (_G_uint16_t): Likewise.
35008         (_G_uint32_t): Likewise.
35009         (_G_HAVE_BOOL): Likewise.
35010         (_G_HAVE_ATEXIT): Likewise.
35011         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35012         (_G_HAVE_IO_FILE_OPEN): Likewise.
35013         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35014         (_G_int32_t): Likewise.
35015         (_G_uint16_t): Likewise.
35016         (_G_uint32_t): Likewise.
35017         (_G_HAVE_BOOL): Likewise.
35018         (_G_HAVE_ATEXIT): Likewise.
35019         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35020         (_G_HAVE_IO_FILE_OPEN): Likewise.
35021
35022 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35023
35024         * csu/libc-tls.c: Update copyright years.
35025
35026 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35027
35028         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35029         [!_G_USING_THUNKS]: Remove conditional code.
35030         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35031         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35032
35033         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35034         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35035         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35036         (_G_VTABLE_LABEL_PREFIX): Likewise.
35037         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35038         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35039         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35040         (_G_VTABLE_LABEL_PREFIX): Likewise.
35041         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35042         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35043         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35044         (_G_VTABLE_LABEL_PREFIX): Likewise.
35045         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35046
35047 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35048
35049         * libio/Makefile: Include ../Makeconfig before tests.
35050         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35051         only if $(build-shared) is yes.
35052
35053         * iconv/gconv_db.c: Update copyright years.
35054
35055 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35056
35057         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35058         unwind info if defined PIC. Fix special cases description.
35059         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35060
35061         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35062         DP_HI_MASK entry.
35063         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35064
35065 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35066
35067         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35068
35069         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35070         is NULL.
35071
35072         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35073         (LDLIBS-tst-chk4): This.
35074         (LDFLAGS-tst-chk5): Renamed to ...
35075         (LDLIBS-tst-chk5): This.
35076         (LDFLAGS-tst-chk6): Renamed to ...
35077         (LDLIBS-tst-chk6): This.
35078         (LDFLAGS-tst-lfschk4): Renamed to ...
35079         (LDLIBS-tst-lfschk4): This.
35080         (LDFLAGS-tst-lfschk5): Renamed to ...
35081         (LDLIBS-tst-lfschk5): This.
35082         (LDFLAGS-tst-lfschk6): Renamed to ...
35083         (LDLIBS-tst-lfschk6): This.
35084
35085         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35086         on $(common-objpfx)soversions.mk.
35087
35088 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35089
35090         [BZ #10014]
35091         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35092         example host name.
35093
35094 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35095
35096         * malloc/arena.c (arena_get_retry): New function that gets
35097         another arena for the caller to try its request on.
35098         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35099         current arena cannot fulfill the request.
35100         (__libc_memalign): Likewise.
35101         (__libc_memalign): Likewise.
35102         (__libc_pvalloc): Likewise.
35103         (__libc_calloc): Likewise.
35104
35105 2012-09-05  John Tobey  <john.tobey@gmail.com>
35106
35107         [BZ #13542]
35108         * manual/arith.texi (Operations on Complex): Fix description
35109         of carg branch cut.
35110
35111 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35112
35113         [BZ #10014]
35114         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35115         host name.
35116
35117         [BZ #10038]
35118         * manual/memory.texi (Memory): Make order of menu items match
35119         order of sections.
35120
35121 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35122
35123         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35124         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35125         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35126
35127 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35128
35129         * csu/libc-tls.c (static_dtv): Renamed to ...
35130         (_dl_static_dtv): This.  Make it global.
35131         (_dl_initial_dtv): Removed.
35132         (__libc_setup_tls): Updated.
35133         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35134         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35135         DL_INITIAL_DTV.
35136
35137 2012-09-06  Petr Machata  <pmachata@redhat.com>
35138
35139         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35140         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35141         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35142         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35143
35144 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35145
35146         [BZ #14545]
35147         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35148         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35149         freeing dtv[-1].
35150
35151 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35152
35153         [BZ #14544]
35154         * Makeconfig (link-static-before-libc): Replace $(+prector)
35155         with $(+prectorT).
35156         (link-static-after-libc): Replace $(+postctor) with
35157         $(+postctorT).
35158         (link-bounded): Replace $(+prector)/$(+postctor) with
35159         $(+prectorT)/$(+postctorT).
35160         (+prectorT): New macro.
35161         (+postctorT): Likewise.
35162
35163 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35164
35165         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35166         (round_str): Handle values above the maximum for IBM long double
35167         as inexact.
35168         * stdlib/tst-strtod-round.c (tests): Regenerated.
35169
35170 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35171
35172         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35173         assembler flag.
35174         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35175         zarch_nohighgprs around the zarch optimized routines.
35176         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35177         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35178         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35179         for zarch.
35180
35181 2012-09-05  David S. Miller  <davem@davemloft.net>
35182
35183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35184
35185         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35186         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35187         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35188         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35189         entries.
35190
35191 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35192
35193         * malloc/arena.c: Fold copyright years.
35194         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35195
35196 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35197
35198         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35199
35200 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35201
35202         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35203
35204 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35205
35206         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35207         change internal state upon failure.
35208
35209 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35210
35211         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35212         * malloc/memusage.c (mmap): Likewise.
35213         (mmap64, mremap): Likewise.  Adjust name in comment.
35214
35215 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35216
35217         * libio/fileops.c: Fix typos in comments.
35218         * libio/oldfileops.c: Likewise.
35219         * libio/wfileops.c: Likewise.
35220
35221 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35222
35223         [BZ #1349]
35224         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35225         (tst-malloc-usable-ENV): Set environment for test case.
35226         * malloc/hooks.c (malloc_check_get_size): New function to get
35227         requested size.
35228         * malloc/malloc.c (musable): Use malloc_check_get_size.
35229         * malloc/tst-malloc-usable.c: New test case.
35230
35231 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35232
35233         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35234
35235 2012-09-05  Allan McRae  <allan@archlinux.org>
35236
35237         [BZ #13966]
35238         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35239         determine header location.
35240         * configure: Regenerated.
35241
35242 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35243
35244         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35245         float format.
35246         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35247         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35248         format.
35249         (test): Regenerate.
35250
35251 2012-09-04  David S. Miller  <davem@davemloft.net>
35252
35253         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35254         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35255         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35256
35257 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35258
35259         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35260         failures.
35261
35262         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35263
35264 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35265
35266         [BZ #9914]
35267         * libio/iogetdelim.c: Include <limits.h>.
35268         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35269         + len + 1 would overflow.
35270
35271 2012-09-03  Andreas Jaeger  <aj@suse.de>
35272
35273         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35274         * sysdeps/i386/fpu/libm-test-ulps: Update.
35275
35276 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35277
35278         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35279         Add s_sinf-sse2, s_conf-sse2.
35280
35281         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35282         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35283         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35284         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35285
35286         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35287         for using routine as __sinf_ia32.
35288         Use macro for function declaration and weak_alias.
35289         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35290         for using routine as __cosf_ia32.
35291         Use macro for function declaration and weak_alias.
35292
35293         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35294         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35295
35296         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35297         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35298         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35299
35300         * math/libm-test.inc (cos_test): Add more test cases.
35301         (sin_test): Likewise.
35302         (sincos_test): Likewise.
35303
35304 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35305
35306         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35307         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35308         hidden.
35309         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35310
35311 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35312
35313         [BZ #14538]
35314         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35315         first element of the GOT.
35316         (elf_machine_load_address): Return the difference between
35317         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35318
35319 2012-09-01  Allan McRae  <allan@archlinux.org>
35320
35321         [BZ #13412]
35322         * configure.in (AWK): Require gawk version 3.0 or later.
35323         * configure: Regenerated.
35324
35325 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35326
35327         * sysdeps/unix/sysv/linux/kernel-features.h
35328         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35329         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35330         [__NR_clock_getres]: Make code unconditional.
35331         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35332         (clock_getcpuclockid): Remove code left unreachable by removal of
35333         conditionals.
35334         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35335         code unconditional.
35336         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35337         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35338         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35339         Make code unconditional.
35340         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35341         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35342         * sysdeps/unix/sysv/linux/clock_settime.c
35343         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35344         conditional code.
35345         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35346         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35347
35348 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35349
35350         [BZ #14476]
35351         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35352         scripts/test-installation.pl.
35353
35354         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35355         and $ld_so_version if it is set.
35356
35357 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35358
35359         [BZ #14516]
35360         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35361         failure if reading from procfs failed.
35362         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35363
35364 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35365
35366         * sysdeps/unix/sysv/linux/kernel-features.h
35367         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35368         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35369         Remove conditional code.
35370         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35371         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35372         Remove conditional code.
35373         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35374         * sysdeps/unix/sysv/linux/i386/fxstat.c
35375         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35376         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35377         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35378         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35379         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35380         * sysdeps/unix/sysv/linux/i386/lxstat.c
35381         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35382         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35383         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35384         Remove conditional code.
35385         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35386         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35387         Remove conditional code.
35388         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35389         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35390         <kernel-features.h>.
35391         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35392         Remove.
35393         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35394         Remove conditional code.
35395         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35396         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35397         Remove conditional.
35398
35399 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35400
35401         [BZ #5400]
35402         * NEWS: Add fixed bug number.
35403
35404 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35405
35406         [BZ #14519]
35407         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35408         underflowing exponent in case of negative sign.
35409         * stdlib/tst-strtod-round-data: Add more tests.
35410         * stdlib/tst-strtod-round.c (tests): Regenerated.
35411
35412         [BZ #3479]
35413         * stdlib/strtod_l.c (NDIG): Remove.
35414         (HEXNDIG): Likewise.
35415         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35416         smallest representable value.
35417         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35418         lie within an exact representation of 1/2 ulp of the result.
35419         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35420         unconditionally.
35421         (TENS_P9_IDX): Define unconditionally.
35422         (TENS_P9_SIZE): Likewise.
35423         (TENS_P10_IDX): Likewise.
35424         (TENS_P10_SIZE): Likewise.
35425         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35426         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35427         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35428         entries for 10^2^13 and 10^2^14.
35429         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35430         (TENS_P13_IDX): Define.
35431         (TENS_P13_SIZE): Likewise.
35432         (TENS_P14_IDX): Likewise.
35433         (TENS_P14_SIZE): Likewise.
35434         (_fpioconst_pow10): Change array size to
35435         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35436         unconditional.
35437         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35438         1024]: Add entries for 10^2^13 and 10^2^14.
35439         [LAST_POW10 > _LAST_POW10]: Remove #error.
35440         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35441         (_fpioconst_pow10): Change array size to
35442         FPIOCONST_POW10_ARRAY_SIZE.
35443         * stdlib/gen-fpioconst.c: New file.
35444         * stdlib/gen-tst-strtod-round.c: Likewise.
35445         * stdlib/tst-strtod-round-data: Likewise.
35446         * stdlib/tst-strtod-round.c: Likewise.
35447         * stdlib/Makefile (tests): Add tst-strtod-round.
35448
35449         [BZ #14459]
35450         * stdlib/strtod_l.c: Include <stdint.h>.
35451         (NDEBUG): Do not define.
35452         (round_and_return): Change EXPONENT parameter to type intmax_t.
35453         Rearrange calculations to avoid internal overflow possibilities.
35454         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35455         Rearrange calculations to avoid internal overflow possibilities.
35456         Assert that number fits inside MPNSIZE limbs.
35457         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35458         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35459         calculations and add assertions to avoid internal overflow
35460         possibilities.  Add casts to avoid signed/unsigned operations.
35461         * stdlib/tst-strtod-overflow.c: New file.
35462         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35463
35464 2012-08-25  Marek Polacek  <polacek@redhat.com>
35465
35466         * time/time.h: Fix some typos in comments.
35467
35468 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35469
35470         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35471         * posix/tst-rfc3484-2.c: Likewise.
35472         * posix/tst-rfc3484-3.c: Likewise.
35473
35474 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35475
35476         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35477         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35478
35479 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35480
35481         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35482         #include of fxstatat64.c.
35483
35484 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35485
35486         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35487         * shadow/getspent_r.c: Likewise.
35488         * shadow/getspnam.c: Likewise.
35489         * shadow/getspnam_r.c: Likewise.
35490         * gshadow/getsgent.c: Likewise.
35491         * gshadow/getsgent_r.c: Likewise.
35492         * gshadow/getsgnam.c: Likewise.
35493         * gshadow/getsgnam_r.c: Likewise.
35494         * inet/getnetbyad.c: Likewise.
35495         * inet/getnetbyad_r.c: Likewise.
35496         * inet/getnetbynm.c: Likewise.
35497         * inet/getnetbynm_r.c: Likewise.
35498         * inet/getnetent.c: Likewise.
35499         * inet/getnetent_r.c: Likewise.
35500         * inet/getproto.c: Likewise.
35501         * inet/getproto_r.c: Likewise.
35502         * inet/getprtent.c: Likewise.
35503         * inet/getprtent_r.c: Likewise.
35504         * inet/getprtname.c: Likewise.
35505         * inet/getprtname_r.c: Likewise.
35506         * inet/getrpcbyname.c: Likewise.
35507         * inet/getrpcbyname_r.c: Likewise.
35508         * inet/getrpcbynumber.c: Likewise.
35509         * inet/getrpcbynumber_r.c: Likewise.
35510         * inet/getrpcent.c: Likewise.
35511         * inet/getrpcent_r.c: Likewise.
35512         * inet/getaliasent.c: Likewise.
35513         * inet/getaliasent_r.c: Likewise.
35514         * inet/getaliasname.c: Likewise.
35515         * inet/getaliasname_r.c: Likewise.
35516         * nscd/getgrgid_r.c: Likewise.
35517         * nscd/getgrnam_r.c: Likewise.
35518         * nscd/gethstbyad_r.c: Likewise.
35519         * nscd/gethstbynm3_r.c: Likewise.
35520         * nscd/getpwnam_r.c: Likewise.
35521         * nscd/getpwuid_r.c: Likewise.
35522         * nscd/getsrvbynm_r.c: Likewise.
35523         * nscd/getsrvbypt_r.c: Likewise.
35524         * nscd/gai.c: Likewise.
35525
35526         * configure.in (build_nscd): New substituted variable, set
35527         by --disable-build-nscd and defaults to $use_nscd.
35528         * configure: Regenerated.
35529         * config.make.in (build-nscd): New substituted variable.
35530         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35531         Change conditional to require [$(build-nscd) = yes] as well.
35532         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35533
35534         [BZ# 13696]
35535         * configure.in (use_nscd): New substituted variable, set by
35536         --disable-nscd.  If enabled, define USE_NSCD.
35537         * configure: Regenerated.
35538         * config.h.in: Add USE_NSCD.
35539         * config.make.in (use-nscd): New substituted variable.
35540         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35541         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35542         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35543         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35544         (CFLAGS-getgrnam_r.c): Likewise.
35545         (CFLAGS-initgroups.c): Likewise.
35546         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35547         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35548         Variables removed.
35549         * inet/getnetgrent_r.c
35550         (nscd_setnetgrent): New function, broken out of ...
35551         (setnetgrent): ... here.  Call it.
35552         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35553         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35554         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35555         * nscd/Makefile (routines, aux): Move definitions after include of
35556         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35557         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35558         Conditionalize on [USE_NSCD].
35559         (is_nscd, nscd_init_cb): Likewise.
35560         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35561         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35562         * nss/nss_db/db-init.c: Likewise.
35563         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35564         [USE_NSCD].
35565         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35566         (make_request): Use it.
35567         (cache_valid_p): New function.
35568         (__check_pf): Use it.
35569         * NEWS: Add item for --disable-nscd.
35570
35571 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35572
35573         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35574         to support sed >= 4.2.1-20-ga9bf076.
35575         * configure: Regenerated.
35576
35577 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35578
35579         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35580         Conditionalize whole body on [IREL].
35581
35582 2012-08-22  Jeff Law <law@redhat.com>
35583
35584         [BZ #14505]
35585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35586         if the family is PF_UNSPEC.
35587
35588 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35589
35590         * Makerules (lib-version): Rename from V.
35591         (install-lib-nosubdir): Change V to lib-version.
35592
35593 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35594
35595         [BZ #14252]
35596         * powerpc32/power6/wcschr.c: New file.
35597         * powerpc32/power6/wcscpy.c: New file.
35598         * powerpc32/power6/wcsrchr.c: New file.
35599         * powerpc64/power6/wcschr.c: New file.
35600         * powerpc64/power6/wcscpy.c: New file.
35601         * powerpc64/power6/wcsrchr.c: New file.
35602
35603 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35604
35605         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35606         (two_way_short_needle): Use it.
35607         * string/strstr.c (AVAILABLE1_USES_J): Define.
35608         * string/strcasestr.c: Likewise.
35609
35610         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35611         array references.
35612         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35613
35614         [BZ #11607]
35615         * NEWS: Add an entry.
35616         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35617         define their defaults.
35618         (two_way_short_needle): Detect end-of-string on-the-fly.
35619         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35620         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35621         * string/bug-strcasestr1.c: New test.
35622         * string/Makefile: Run it.
35623
35624 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35625
35626         [BZ #11607]
35627         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35628         the first character.
35629
35630 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35631
35632         * csu/elf-init.c (__libc_csu_irel): Function removed.
35633         * csu/libc-start.c (apply_irel): New function.
35634         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35635
35636 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35637
35638         * sysdeps/unix/sysv/linux/kernel-features.h
35639         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35640         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35641         <kernel-features.h>.
35642         [__NR_fadvise64_64]: Make code unconditional.
35643         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35644         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35645         !__NR_fadvise64_64)]: Likewise.
35646         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35647         !__NR_fadvise64_64))]: Likewise.
35648         [__NR_fadvise64]: Make code unconditional.
35649         [!__NR_fadvise64]: Remove conditional code.
35650         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35651         <kernel-features.h>.
35652         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35653         unconditional.
35654         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35655         conditional code.
35656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35657         not include <kernel-features.h>.
35658         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35659         unconditional.
35660         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35661         conditional code.
35662         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35663         include <kernel-features.h>.
35664         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35665         unconditional.
35666         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35667         conditional code.
35668
35669 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35670
35671         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35672         slight instruction rearrangements per scrollpipe analysis.
35673         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35674
35675 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35676
35677         * manual/syslog.texi (syslog; vsyslog, closelog):
35678         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35679         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35680
35681         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35682         DSOCAPS to match condition on defining it.
35683
35684 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35685
35686         * sysdeps/unix/sysv/linux/kernel-features.h
35687         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35689         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35690         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35692         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35693         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35695         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35696         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35697
35698         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35699         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35700
35701         * sysdeps/unix/sysv/linux/kernel-features.h
35702         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35703         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35704         unconditional.
35705         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35706         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35707         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35708         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35709         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35710         Make code unconditional.
35711         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35712         (__mmap64) [!__NR_mmap2]: Likewise.
35713         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35714         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35715         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35716         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35717         [__NR_mmap2]: Make code unconditional.
35718         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35719         (__mmap64) [!__NR_mmap2]: Likewise.
35720
35721 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35722
35723         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35724
35725 2012-08-18  Andreas Jaeger  <aj@suse.de>
35726
35727         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35728
35729 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35730
35731         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35732         * include/unistd.h (__have_sock_cloexec): Likewise.
35733         (__have_pipe2): Likewise.
35734         (__have_dup3): Likewise.
35735
35736 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35737
35738         [BZ #9685]
35739         * include/unistd.h (__have_pipe2): Change define into an extern int.
35740         (__have_dup3): Likewise.
35741         * socket/have_sock_cloexec.c: Include fcntl.h.
35742         (__have_pipe2): New variable.
35743         (__have_dup3): Likewise.
35744
35745 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35746
35747         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35748
35749 2012-08-17  Marek Polacek  <polacek@redhat.com>
35750
35751         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35752         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35753
35754 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35755
35756         * configure.in: Add AC_SUBST for sysheaders.
35757         * configure: Regenerated.
35758         * config.make.in (sysheaders): New substituted variable.
35759
35760         * sysdeps/unix/mkfifo.c: Moved ...
35761         * sysdeps/posix/mkfifo.c: ... here.
35762         * sysdeps/unix/mkfifoat.c: Moved ...
35763         * sysdeps/posix/mkfifoat.c: ... here.
35764
35765         * sysdeps/unix/utime.c: Moved ...
35766         * sysdeps/posix/utime.c: ... here.
35767
35768         * sysdeps/unix/time.c: Moved ...
35769         * sysdeps/posix/time.c: ... here.
35770         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35771         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35772
35773         * sysdeps/unix/nice.c: Moved ...
35774         * sysdeps/posix/nice.c: ... here.
35775
35776         * sysdeps/unix/alarm.c: Moved ...
35777         * sysdeps/posix/alarm.c: ... here.
35778
35779         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35780
35781 2012-08-17  Jeff Law <law@redhat.com>
35782
35783         * intl/Makefile (codeset_mo): New variable.
35784         ($(codeset_mo)): New target.
35785         (tst-codeset.out): Depend on that.  Remove explicit rule.
35786         (tst-gettext3.out, tst-gettext5.out): Likewise.
35787         (LOCPATH-ENV, tst-codeset-ENV): New variables.
35788         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35789         * intl/tst-codeset.sh: Remove.
35790         * intl/tst-gettext3.sh: Likewise.
35791         * intl/tst-gettext5.sh: Likewise.
35792
35793 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35794
35795         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
35796         * sysdeps/unix/syscalls.list: ... here.
35797
35798         * sysdeps/posix/getaddrinfo.c
35799         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35800         (gaiconf_init, gaiconf_reload): Use them.
35801         [!_STATBUF_ST_NSEC]
35802         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35803         Define using time_t rather than struct timespec.
35804
35805         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35806         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35807         Macros removed.
35808         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35809         [!NO_THREADS].
35810         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35811         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35812         Likewise.
35813
35814         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35815         __libc_cleanup_push argument.
35816
35817         * bits/param.h: New file.
35818         * misc/sys/param.h: New file.
35819         * include/sys/param.h: New file.
35820         * misc/Makefile (headers): Add bits/param.h.
35821         * sysdeps/generic/sys/param.h: File removed.
35822         * sysdeps/unix/sysv/linux/bits/param.h: New file.
35823         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35824         * sysdeps/mach/hurd/bits/param.h: New file.
35825         * sysdeps/mach/hurd/sys/param.h: File removed.
35826
35827         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35828         last change.
35829
35830         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35831         [_IO_MTSAFE_IO].
35832         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35833         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35834         New macros.
35835
35836         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35837         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35838         rather than -D_IO_MTSAFE_IO conditionally.
35839         * stdio-common/Makefile (CPPFLAGS): Likewise.
35840         * wcsmbs/Makefile (CPPFLAGS): Likewise.
35841         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35842         Use $(libio-mtsafe).
35843         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35844         of -D_IO_MTSAFE_IO.
35845         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35846         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35847         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35848         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35849         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35850         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35851         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35852         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35853         (CFLAGS-fread_u_chk.c): Likewise.
35854         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35855         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35856         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35857         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35858         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35859         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35860         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35861         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35862         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35863
35864         * libio/Makefile: Test [$(libc-reentrant) = yes]
35865         instead of [$(filter %REENTRANT, $(defines)) nonempty].
35866
35867         * Makeconfig
35868         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35869         * sysdeps/pthread/configure: File removed.
35870         * sysdeps/pthread/Makeconfig: New file.
35871         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35872         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35873
35874 2012-08-16  Gary Benson  <gbenson@redhat.com>
35875
35876         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35877         unmapping the first object in a namespace.
35878
35879 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35880
35881         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35882         (__internal_setnetgrent): ... this.  Add internal_function to
35883         definition.  Add libc_hidden_def.
35884         (setnetgrent): Update caller.
35885         (internal_endnetgrent): Renamed to ...
35886         (__internal_endnetgrent): ... this.  Add internal_function to
35887         definition.  Add libc_hidden_def.
35888         (endnetgrent): Update caller.
35889         (internal_getnetgrent_r): Renamed to ...
35890         (__internal_getnetgrent_r): ... this.  Add internal_function to
35891         definition.  Add libc_hidden_def.
35892         (__getnetgrent_r): Update caller.
35893         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
35894
35895 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35896
35897         * stdlib/longlong.h: Update from GCC.
35898
35899 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35900
35901         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35902         on _QL, which is set by umul_ppmm but never used.
35903         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35904         variables, which are set by GMP macros but never used.
35905         * stdio-common/_itowa.c (_itowa): Likewise.
35906         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35907         * stdlib/mod_1.c (mpn_mod_1): Likewise.
35908
35909 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
35910
35911         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35912         struct La_sh_regs is not constant.
35913         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35914         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35915         and struct La_sparc64_regs are not constant.
35916
35917 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35918
35919         * sysdeps/unix/sysv/linux/kernel-features.h
35920         (__ASSUME_POSIX_TIMERS): Remove.
35921         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35922         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35923         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35924         Make code unconditional.
35925         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35926         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35927         Make code unconditional.
35928         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35929         * sysdeps/unix/sysv/linux/clock_nanosleep.c
35930         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35931         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35932         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35933         Make code unconditional.
35934         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35935         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35936         (__libc_missing_posix_timers): Remove.
35937
35938 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35939
35940         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35941         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35942
35943         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35944
35945         * elf/dl-sym.c: Include <stdlib.h>.
35946
35947         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35948         constants, which avoids warnings in 32-bit builds.
35949
35950         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35951         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35952
35953         * misc/lseek.c: File moved to ...
35954         * io/lseek.c: ... here.
35955
35956         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35957
35958         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35959         shifting LEN more than 31 bits at once.
35960
35961 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35962
35963         [BZ #14195]
35964         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35965         segmentation fault for a case of two empty input strings.
35966         * string/test-strncasecmp.c (check1): Renamed to...
35967         (bz12205): ...this.
35968         (bz14195): Add new testcase for two empty input strings and N > 0.
35969         (test_main): Call new testcase, adapt for renamed function.
35970
35971 2012-08-15  Andreas Jaeger  <aj@suse.de>
35972
35973         [BZ #14090]
35974         * crypt/md5test2.c: New test, based on test supplied by Serge
35975         Belyshev <belyshev@depni.sinp.msu.ru>.
35976         * crypt/Makefile (xtests): Add md5test-giant..
35977         * crypt/Makefile ($(objpfx)md5test-giant): Add.
35978
35979 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
35980
35981         [BZ #14090]
35982         * crypt/md5.c (md5_process_block): Don't assume the buffer
35983         length is less than 2**32.
35984         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35985         length is less than 2**64.
35986
35987 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35988
35989         * string/str-two-way.h: Include <sys/param.h>.
35990         (MAX): Macro removed.
35991
35992         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35993         Move #define and #undef of memmove to just before and after
35994         including <string.h>.
35995
35996         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35997         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35998         and after including <string.h>.  Move declarations of
35999         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36000         to before #include "string/memmove.c".
36001
36002         * include/dirent.h: Declare __getdirentries.
36003
36004         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36005         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36006
36007 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36008
36009         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36010         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36011         * sysdeps/i386/configure: Regenerated.
36012         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36013         STABS_CURRENT_FILE, and STABS_FUN.
36014         (END): Remove call to STABS_FUN_END.
36015         (STABS_CURRENT_FILE1): Delete.
36016         (STABS_CURRENT_FILE): Likewise.
36017         (STABS_FUN): Likewise.
36018         (STABS_FUN_END): Likewise.
36019         (STABS_FUN2): Likewise.
36020         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36021         * sysdeps/x86_64/configure: Regenerated.
36022
36023 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36024
36025         * elf/dl-open.c: Include <atomic.h>.
36026         * elf/dl-lookup.c: Likewise.
36027
36028 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36029
36030         * sysdeps/unix/sysv/linux/kernel-features.h
36031         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36032         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36033         unconditionally.
36034         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36035         unconditionally.
36036         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36037         condition on __ASSUME_CLONE_THREAD_FLAGS.
36038
36039 2012-08-14  Andreas Jaeger  <aj@suse.de>
36040
36041         * sysdeps/i386/fpu/libm-test-ulps: Update.
36042
36043 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36044
36045         * include/atomic.h (atomic_exchange_and_add): Split into ...
36046         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36047         New atomic macros.
36048
36049 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36050
36051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36052
36053 2012-08-13  Jeff Law <law@redhat.com>
36054
36055         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36056         null byte in the output string.
36057
36058 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36059
36060         * sysdeps/unix/sysv/linux/kernel-features.h
36061         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36062         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36063         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36064         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36065         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36066         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36067         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36068
36069 2012-08-09  Jeff Law <law@redhat.com>
36070
36071         [BZ #13939]
36072         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36073         When avoid_arena is set, don't retry in the that arena.  Pick the
36074         next one, whatever it might be.
36075         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36076         (arena_lock): Pass in new parameter to arena_get2.
36077         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36078         arena_get2.
36079         (__libc_malloc): Unify retrying after main arena failure with
36080         __libc_memalign version.
36081         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36082
36083 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36084
36085         [BZ #14166]
36086         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36087         to __redirect_strstr.
36088         (__strstr_sse42): Use typeof __redirect_strstr.
36089         (__strstr_ia32): Likewise.
36090         (__libc_strstr): New prototype.
36091         (strstr): Renamed to ...
36092         (__libc_strstr): This.
36093         (strstr): New strong alias of __libc_strstr.
36094         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36095         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36096         __redirect_time.
36097         Include <time.h>.
36098         (__libc_time): New prototype.
36099         (time_ifunc): Replace time with __libc_time.
36100         (time): New strong alias and hidden definition of __libc_time.
36101         (__GI_time): Remove strong alias.
36102         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36103         Include <stddef.h>.
36104         (memmove): Redefined to __redirect_memmove.
36105         (__memmove_sse2): Use typeof __redirect_memmove.
36106         (__memmove_ssse3): Likewise.
36107         (__memmove_ssse3_back): Likewise.
36108         (__libc_memmove): New prototype.
36109         (memmove): Renamed to ...
36110         (__libc_memmove): This.
36111         (memmove): New strong alias of __libc_memmove.
36112
36113 2012-08-08  Mark Salter  <msalter@redhat.com>
36114
36115         * elf/elf.h
36116         (R_MN10300_TLS_GD): Define.
36117         (R_MN10300_TLS_LD): Likewise.
36118         (R_MN10300_TLS_LDO): Likewise.
36119         (R_MN10300_TLS_GOTIE): Likewise.
36120         (R_MN10300_TLS_IE): Likewise.
36121         (R_MN10300_TLS_LE): Likewise.
36122         (R_MN10300_TLS_DTPMOD): Likewise.
36123         (R_MN10300_TLS_DTPOFF): Likewise.
36124         (R_MN10300_TLS_TPOFF): Likewise.
36125         (R_MN10300_SYM_DIFF): Likewise.
36126         (R_MN10300_ALIGN): Likewise.
36127         (R_MN10300_NUM): Update.
36128
36129 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36130
36131         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36132         Remove.
36133
36134 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36135
36136         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36137
36138         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36139         sysdeps/unix -> sysdeps/posix move.
36140         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36141
36142 2012-08-07      Allan McRae     <allan@archlinux.org>
36143
36144         [BZ #14303]
36145         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36146         (SUNOS_CPP): Likewise.
36147         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36148         not found.
36149         (open_input): Call CPP using execvp.
36150
36151 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36152
36153         * sysdeps/unix/sysv/linux/kernel-features.h
36154         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36155         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36156         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36157         (__ASSUME_WAITID_SYSCALL): Likewise.
36158         * sysdeps/unix/sysv/linux/dl-execstack.c
36159         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36160         code unconditional.
36161         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36162         conditional code.
36163         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36164         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36165         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36166         code.
36167         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36168         unconditional.
36169         [__ASSUME_WAITID_SYSCALL]: Likewise.
36170         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36171
36172 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36173
36174         * sysdeps/unix/closedir.c: Renamed to ...
36175         * sysdeps/posix/closedir.c: ... here.
36176         * sysdeps/unix/dirfd.c: Renamed to ...
36177         * sysdeps/posix/dirfd.c: ... here.
36178         * sysdeps/unix/dirstream.h: Renamed to ...
36179         * sysdeps/posix/dirstream.h: ... here.
36180         * sysdeps/unix/fdopendir.c: Renamed to ...
36181         * sysdeps/posix/fdopendir.c: ... here.
36182         * sysdeps/unix/opendir.c: Renamed to ...
36183         * sysdeps/posix/opendir.c: ... here.
36184         * sysdeps/unix/readdir.c: Renamed to ...
36185         * sysdeps/posix/readdir.c: ... here.
36186         * sysdeps/unix/readdir_r.c: Renamed to ...
36187         * sysdeps/posix/readdir_r.c: ... here.
36188         * sysdeps/unix/rewinddir.c: Renamed to ...
36189         * sysdeps/posix/rewinddir.c: ... here.
36190         * sysdeps/unix/seekdir.c: Renamed to ...
36191         * sysdeps/posix/seekdir.c: ... here.
36192         * sysdeps/unix/telldir.c: Renamed to ...
36193         * sysdeps/posix/telldir.c: ... here.
36194         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36195         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36196         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36197         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36198
36199         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36200         * bits/fcntl.h: ... here.
36201
36202         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36203         not 0.
36204         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36205         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36206         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36207         (struct flock): Move l_start, l_len to the beginning.
36208         Use __pid_t for l_pid.
36209         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36210         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36211         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36212         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36213         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36214         [__USE_LARGEFILE64] (struct flock64): New type.
36215         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36216
36217         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36218         * bits/dirent.h: ... here.
36219
36220         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36221         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36222
36223 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36224
36225         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36226         Change from 2.6.0 to 2.6.16.
36227         * sysdeps/unix/sysv/linux/configure: Regenerated.
36228         * sysdeps/unix/sysv/linux/kernel-features.h
36229         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36230         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36231         version.
36232         (__ASSUME_UTIMES): Likewise.
36233         (__ASSUME_CLONE_STOPPED): Remove.
36234         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36235         architectures, not kernel version.
36236         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36237         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36238         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36239         (__ASSUME_WAITID_SYSCALL): Likewise.
36240         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36241         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36242         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36243         refer to older versions.
36244
36245 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36246
36247         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36248         Define alphasort64 as an alias.
36249         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36250         Define versionsort64 as an alias.
36251         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36252         Define scandir64 as an alias.
36253         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36254         Define scandirat64 as an alias.
36255         * dirent/alphasort64.c (alphasort64):
36256         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36257         * dirent/versionsort64.c: Likewise.
36258         * dirent/scandir64.c: Likewise.
36259         * dirent/scandirat64.c: Likewise.
36260         * sysdeps/wordsize-64/alphasort.c: File removed.
36261         * sysdeps/wordsize-64/alphasort64.c: File removed.
36262         * sysdeps/wordsize-64/scandir.c: File removed.
36263         * sysdeps/wordsize-64/scandir64.c: File removed.
36264         * sysdeps/wordsize-64/scandirat.c: File removed.
36265         * sysdeps/wordsize-64/scandirat64.c: File removed.
36266         * sysdeps/wordsize-64/versionsort.c: File removed.
36267         * sysdeps/wordsize-64/versionsort64.c: File removed.
36268         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36269         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36270         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36271         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36272         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36273         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36274         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36275         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36276
36277         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36278         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36279         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36280         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36281         [defined __arch64__ || defined __sparcv9]
36282         (__INO_T_MATCHES_INO64_T): New macro.
36283         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36284         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36285         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36286         * sysdeps/unix/sysv/linux/bits/dirent.h
36287         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36288         (_DIRENT_MATCHES_DIRENT64): New macro.
36289
36290         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36291         Define lockf64 as an alias.
36292         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36293         Define fseeko64 as an alias.
36294         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36295         Define ftello64 as an alias.
36296         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36297         Define _IO_fgetpos64 and fgetpos64 as aliases.
36298         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36299         Define _IO_fsetpos64 and fsetpos64 as aliases.
36300         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36301         Conditionalize body on this.
36302         * libio/fseeko64.c: Likewise.
36303         * libio/ftello64.c: Likewise.
36304         * libio/iofgetpos64.c: Likewise.
36305         * libio/iofsetpos64.c: Likewise.
36306         * sysdeps/wordsize-64/lockf.c: File removed.
36307         * sysdeps/wordsize-64/lockf64.c: File removed.
36308         * sysdeps/wordsize-64/fseeko.c: File removed.
36309         * sysdeps/wordsize-64/fseeko64.c: File removed.
36310         * sysdeps/wordsize-64/ftello.c: File removed.
36311         * sysdeps/wordsize-64/ftello64.c: File removed.
36312         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36313         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36314         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36315         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36316         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36317         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36318         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36319         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36320         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36321         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36322         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36323         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36324         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36325         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36326
36327         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36328         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36329         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36330         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36331         [defined __arch64__ || defined __sparcv9]
36332         (__OFF_T_MATCHES_OFF64_T): New macro.
36333         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36334         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36335         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36336         (__OFF_T_MATCHES_OFF64_T): New macro.
36337
36338 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36339
36340         * stdlib/secure-getenv.c (__secure_getenv): Replace
36341         GLIBC_2_16 with GLIBC_2_17.
36342
36343 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36344
36345         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36346         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36347
36348 2012-08-03  David S. Miller  <davem@davemloft.net>
36349
36350         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36351
36352 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36353
36354         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36355         Remove.
36356         (__ASSUME_CORRECT_SI_PID): Likewise.
36357         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36358         (__ASSUME_TMPFS_NAME): Likewise.
36359         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36360         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36361         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36362         (HAVE_AUX_SECURE): Make definition unconditional.
36363         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36364         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36365
36366 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36367
36368         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36369         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36370         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36371         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36372         __eloop_threshold instead of SYMLOOP_MAX.
36373
36374         * sysdeps/generic/eloop-threshold.h: New file.
36375         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36376         of MAXSYMLINKS.
36377         * elf/chroot_canon.c (chroot_canon): Likewise.
36378
36379 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36380
36381         [BZ #13717]
36382         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36383         Change to 2.6.0 everywhere.
36384         * sysdeps/unix/sysv/linux/configure: Regenerated.
36385         * sysdeps/unix/sysv/linux/kernel-features.h
36386         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36387         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36388         kernel versions.
36389         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36390         (__ASSUME_FUTEX_REQUEUE): Remove.
36391         (__ASSUME_STATFS64): Define unconditionally.
36392         (__ASSUME_AT_SECURE): Likewise.
36393         (__ASSUME_CORRECT_SI_PID): Likewise.
36394         (__ASSUME_TGKILL): Define without depending on kernel version for
36395         i386.
36396         (__ASSUME_UTIMES): Likewise.
36397         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36398         kernel version.
36399         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36400         (__ASSUME_TMPFS_NAME): Likewise.
36401         * README: Update reference to Linux kernel versions.
36402
36403 2012-08-02  Marek Polacek  <polacek@redhat.com>
36404
36405         [BZ# 14150]
36406         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36407         libc_cv_asm_type_prefix with %.
36408         * configure: Regenerated.
36409         * include/libc-symbols.h: Remove comment about
36410         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36411         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36412         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36413         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36414         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36415         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36416         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36417         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36418         * elf/tst-unique2mod1.c: Likewise.
36419         * elf/tst-unique1mod2.c: Likewise.
36420         * elf/tst-unique1mod1.c: Likewise.
36421         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36422         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36423         Replace ASM_TYPE_DIRECTIVE with .type.
36424         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36425         * sysdeps/i386/sysdep.h: Likewise.
36426         * sysdeps/x86_64/sysdep.h: Likewise.
36427         * sysdeps/sh/sysdep.h: Likewise.
36428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36429         Do not define ASM_TYPE_DIRECTIVE.
36430         * sysdeps/powerpc/sysdep.h: Likewise.
36431         * sysdeps/powerpc/powerpc32/sysdep.h:
36432         Replace ASM_TYPE_DIRECTIVE with .type.
36433         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36434         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36435         * sysdeps/i386/fpu/e_powf.S: Likewise.
36436         * sysdeps/i386/fpu/e_expl.S: Likewise.
36437         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36438         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36439         * sysdeps/i386/fpu/e_pow.S: Likewise.
36440         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36441         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36442         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36443         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36444         * sysdeps/i386/fpu/e_log2.S: Likewise.
36445         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36446         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36447         * sysdeps/i386/fpu/e_powl.S: Likewise.
36448         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36449         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36450         * sysdeps/i386/fpu/e_logl.S: Likewise.
36451         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36452         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36453         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36454         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36455         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36456         * sysdeps/i386/fpu/e_log.S: Likewise.
36457         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36458         * sysdeps/i386/fpu/e_logf.S: Likewise.
36459         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36460         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36461         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36462         * sysdeps/i386/fpu/e_log10.S: Likewise.
36463         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36464         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36465         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36466         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36467         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36468         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36469         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36470         * sysdeps/i386/i686/strtok.S: Likewise.
36471         * sysdeps/i386/i386-mcount.S: Likewise.
36472         * sysdeps/i386/strtok.S: Likewise.
36473         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36474         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36475         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36476         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36477         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36478         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36479         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36480         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36481         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36482         * sysdeps/x86_64/_mcount.S: Likewise.
36483         * sysdeps/x86_64/strtok.S: Likewise.
36484         * sysdeps/sh/_mcount.S: Likewise.
36485
36486 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36487
36488         * libio/iofopen.c: Include <fcntl.h>.
36489         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36490         (_IO_fopen64, fopen64): Define as aliases.
36491         * libio/iofopen64.c: Include <fcntl.h>.
36492         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36493         Conditionalize body on this.
36494         * sysdeps/wordsize-64/iofopen.c: File removed.
36495         * sysdeps/wordsize-64/iofopen64.c: File removed.
36496
36497 2012-08-01  Marek Polacek  <polacek@redhat.com>
36498
36499         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36500         Use dlfcn directly instead of a variable.
36501         (binfmt-subdir): Do not define.
36502         (dlfcn): Likewise.
36503
36504 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36505
36506         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36507         Remove all definitions.
36508         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36509         <kernel-features.h>.
36510         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36511         (miss_F_GETOWN_EX): Remove all definitions.
36512         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36513         macro definition.
36514         [!__ASSUME_FCNTL64]: Remove conditional code.
36515         [__ASSUME_FCNTL64]: Make code unconditional.
36516         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36517         <kernel-features.h>.
36518         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36519         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36520         (lockf64) [__NR_fcntl64]: Make code unconditional.
36521         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36522
36523         * sysdeps/unix/sysv/linux/kernel-features.h
36524         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36525         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36526         Make code unconditional.
36527         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36528         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36530         [__NR_vfork]: Make code unconditional.
36531         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36532         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36534         [__NR_vfork]: Make code unconditional.
36535         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36536         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36537
36538 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36539
36540         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36541         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36542
36543         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36544         Define mkstemp64 as an alias.
36545         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36546         Define mkstemps64 as an alias.
36547         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36548         Define mkostemp64 as an alias.
36549         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36550         Define mkostemps64 as an alias.
36551         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36552         Conditionalize body on this.
36553         * misc/mkostemp64.c: Likewise.
36554         * misc/mkostemps64.c: Likewise.
36555         * misc/mkstemps64.c: Likewise.
36556         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36557         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36558         * sysdeps/wordsize-64/mkostemp.c: File removed.
36559         * sysdeps/wordsize-64/mkstemp.c: File removed.
36560         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36561         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36562         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36563         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36564
36565         [BZ #14138]
36566         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36567         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36568         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36569         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36570
36571         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36572         compat_symbol macros from <shlib-compat.h> rather than the underlying
36573         default_symbol_version and symbol_version macros, so that DEFAULT
36574         lines in shlib-versions are respected.
36575         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36576
36577 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36578
36579         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36580         Declare with warn_unused_result.
36581         (setgid, setregid, setegid, setresgid): Likewise.
36582         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36583         Likewise.
36584         * WUR-REPORT: Remove set*id functions.
36585
36586 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36587
36588         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36589
36590 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36591
36592         [BZ #10191]
36593         * include/sys/socket.h (__libc_accept, __libc_accept4):
36594         Add attribute_hidden.
36595         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36596
36597         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36598         use of PTR_MANGLE.
36599         * inet/getnetgrent_r.c (setup): Likewise.
36600
36601         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36602
36603 2012-07-31  David S. Miller  <davem@davemloft.net>
36604
36605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36606
36607 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36608
36609         [BZ #13629]
36610         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36611         value between 1.0 and 2.0 and smaller part has absolute value less
36612         than 1.0.
36613         * math/s_clog10.c (__clog10): Likewise.
36614         * math/s_clog10f.c (__clog10f): Likewise.
36615         * math/s_clog10l.c (__clog10l): Likewise.
36616         * math/s_clogf.c (__clogf): Likewise.
36617         * math/s_clogl.c (__clogl): Likewise.
36618         * math/libm-test.inc (clog_test): Add more tests.
36619         (clog10_test): Likewise.
36620         * sysdeps/i386/fpu/libm-test-ulps: Update.
36621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36622
36623 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36624
36625         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36626         Exit with zero in case no suitable GID is found, and write a
36627         message to standard error.
36628
36629 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36630
36631         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36632         rather than to 1.
36633         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36634         (MAXPATHLEN): Removed.
36635         (NOGROUP, NODEV): New macros.
36636         (setbit, clrbit, isset, isclr): New macros.
36637         (howmany, roundup, powerof2): New macros.
36638         (DEV_BSIZE): New macro.
36639
36640         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36641         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36642
36643         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36644         definition on [!__NO_LONG_DOUBLE_MATH].
36645
36646         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36647         PTR_MANGLE and PTR_DEMANGLE.
36648
36649         * socket/accept4.c (accept4): Rename to __libc_accept4.
36650         Define accept4 as a weak alias.
36651
36652         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36653         on [_DIRENT_HAVE_D_TYPE].
36654         * io/ftw.c (ftw_dir): Likewise.
36655
36656         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36657
36658         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36659
36660         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36661         Use the BSD numbers rather than the arbitrary ones we had.
36662         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36663         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36664         (SIGXCPU, SIGXFSZ): New macros.
36665         (_NSIG): Now 32.
36666
36667         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36668         initializer on [_LIBC_REENTRANT].
36669
36670         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36671         definitions inside [_POSIX_MAPPED_FILES].
36672
36673         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36674
36675         * dirent/opendir.c: Include <fcntl.h>.
36676
36677         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36678         (__libc_getspecific): Likewise.
36679         (__libc_key_create): Likewise.
36680
36681         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36682         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36683         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36684         (tmpfile64): Define as alias.
36685         * sysdeps/wordsize-64/tmpfile.c: File removed.
36686         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36687         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36688         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36689
36690         * stdio-common/vfscanf.c: Include <stdbool.h>.
36691         * nss/makedb.c: Likewise.
36692         * stdio-common/_i18n_number.h: Likewise.
36693         * argp/argp-help.c: Likewise.
36694         * posix/wordexp.c: Likewise.
36695         * sysdeps/posix/spawni.c: Likewise.
36696         * nss/nss_files/files-initgroups.c: Likewise.
36697         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36698         * nss/nss_files/files-initgroups.c: Likewise.
36699         * nss/nss_db/db-netgrp.c: Likewise.
36700         * nss/nss_db/db-initgroups.c: Likewise.
36701         * io/fchmodat.c: Include <sys/stat.h>.
36702
36703         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36704         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36705
36706         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36707         [HAVE_MMAP].
36708
36709         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36710         Add multiple inclusion protection.
36711
36712 2012-07-27  David S. Miller  <davem@davemloft.net>
36713
36714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36715
36716 2012-07-27  Gary Benson  <gbenson@redhat.com>
36717
36718         [BZ #14298]
36719         * elf/rtld.c: Include <stap-probe.h>.
36720         (dl_main): Added static probes "init_start" and "init_complete".
36721         * elf/dl-load.c: Include <stap-probe.h>.
36722         (lose): Take new parameter "nsid".
36723         Added static probe "map_failed".
36724         (_dl_map_object_from_fd): Pass namespace id to lose.
36725         Added static probe "map_start".
36726         (open_verify): Pass namespace id to lose.
36727         * elf/dl-open.c: Include <stap-probe.h>.
36728         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36729         and "reloc_complete".
36730         * elf/dl-close.c: Include <stap-probe.h>.
36731         (_dl_close_worker): Added static probes "unmap_start" and
36732         "unmap_complete".
36733         * elf/rtld-debugger-interface.txt: New file documenting the above.
36734
36735 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36736
36737         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36738         rather than a string variable.
36739         * sunrpc/rpc_main.c (h_output): Likewise.
36740         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36741
36742 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36743
36744         * inet/check_native.c: New file.
36745
36746 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36747
36748         [BZ #13629]
36749         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36750         if larger part has absolute value 1.0.
36751         * math/s_clog10.c (__clog10): Likewise.
36752         * math/s_clog10f.c (__clog10f): Likewise.
36753         * math/s_clog10l.c (__clog10l): Likewise.
36754         * math/s_clogf.c (__clogf): Likewise.
36755         * math/s_clogl.c (__clogl): Likewise.
36756         * math/libm-test.inc (clog_test): Add more tests.
36757         (clog10_test): Likewise.
36758         * sysdeps/i386/fpu/libm-test-ulps: Update.
36759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36760
36761         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36762         (pltexit): Likewise.
36763         (La_regs): Likewise.
36764         (La_retval): Likewise.
36765         (int_retval): Likewise.
36766         Update #error for removed macros to refer only to definitions in
36767         tst-audit.h.
36768         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36769         macro.
36770         (pltexit): Likewise.
36771         (La_regs): Likewise.
36772         (La_retval): Likewise.
36773         (int_retval): Likewise.
36774         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36775         macro.
36776         (pltexit): Likewise.
36777         (La_regs): Likewise.
36778         (La_retval): Likewise.
36779         (int_retval): Likewise.
36780         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36781         macro.
36782         (pltexit): Likewise.
36783         (La_regs): Likewise.
36784         (La_retval): Likewise.
36785         (int_retval): Likewise.
36786         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36787         macro.
36788         (pltexit): Likewise.
36789         (La_regs): Likewise.
36790         (La_retval): Likewise.
36791         (int_retval): Likewise.
36792         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36793         macro.
36794         (pltexit): Likewise.
36795         (La_regs): Likewise.
36796         (La_retval): Likewise.
36797         (int_retval): Likewise.
36798         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36799         macro.
36800         (pltexit): Likewise.
36801         (La_regs): Likewise.
36802         (La_retval): Likewise.
36803         (int_retval): Likewise.
36804         * sysdeps/generic/tst-audit.h: Update comment to refer only to
36805         macro definitions in tst-audit.h.
36806         * sysdeps/i386/tst-audit.h: New file.
36807         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36808         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36809         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36810         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36811         * sysdeps/sh/tst-audit.h: Likewise.
36812         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36813         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36814         * sysdeps/x86_64/tst-audit.h: Likewise.
36815
36816 2012-07-26  Andreas Jaeger  <aj@suse.de>
36817
36818         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36819         ptrace.
36820
36821         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36822         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36823         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36824         PTRACE_O_MASK.
36825         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36826         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36827         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36828
36829         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36830         value.
36831
36832         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36833         _sigsys.
36834         (si_call_addr, si_syscall, si_arch): Define new macro.
36835         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36836         _sigsys.
36837         (si_call_addr, si_syscall, si_arch): Define new marcro.
36838         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36839         _sigsys.
36840         (si_call_addr, si_syscall, si_arch): Define new macro.
36841         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36842         _sigsys.
36843         (si_call_addr, si_syscall, si_arch): Define new macro.
36844
36845 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36846
36847         [BZ #13717]
36848         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36849         Change to 2.4.21 where previously 2.4.1.
36850         * sysdeps/unix/sysv/linux/configure: Regenerated.
36851         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36852         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36853         Linux kernel version.
36854         (__ASSUME_STD_AUXV): Remove.
36855         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36856         kernel version.
36857         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36858         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36859         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36860         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36861         (__ASSUME_NETLINK_SUPPORT): Likewise.
36862         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36863         (__no_netlink_support): Remove conditional definition.
36864         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36865         Remove.
36866         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36867         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36868         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36869         (if_nameindex_ioctl): Remove.
36870         (if_nameindex_netlink): Do not handle __no_netlink_support.
36871         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36872         code.
36873         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36874         Remove conditional code.
36875         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36876         code.
36877         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36878         unconditional.
36879         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36880         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36881         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36882         Remove.
36883         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36884         [!__ASSUME_STD_AUXV]: Remove conditional code.
36885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36886         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36887         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36889         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36890         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36891         code.
36892         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36894         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36895         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36896         conditional code.
36897         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36899         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36900         code.
36901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36902         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36903         conditional code.
36904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36905         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36906         code unconditional.
36907         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36908         conditional code.
36909         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36910         unconditional.
36911         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36912         conditional code.
36913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36914         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36915         unconditional.
36916         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36917         conditional code.
36918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36919         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36920         code unconditional.
36921         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36922         conditional code.
36923         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36924         unconditional.
36925         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36926         conditional code.
36927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36928         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36929         code unconditional.
36930         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36931         conditional code.
36932         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36933         unconditional.
36934         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36935         conditional code.
36936
36937 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
36938
36939         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36940         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36941         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36942         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36943         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36944         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36945         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36946         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36947         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36948         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36949         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36950         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36951         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36952         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36953         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36954         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36955         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36956         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36957         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36958         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36959         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36960         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36961         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36962
36963 2012-07-25  Florian Weimer  <fweimer@redhat.com>
36964
36965         * Versions.def: Add GLIBC_2.17.
36966         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36967         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36968         Introduce __libc_secure_getenv.
36969         * stdlib/Versions (2.17): Add secure_getenv
36970         (GLIBC_PRIVATE): Add __libc_secure_getenv.
36971         * stdlib/secure-getenv.c: Rename __secure_getenv to
36972         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
36973         symbol __secure_getenv for GLIBC_2.0.
36974         * stdlib/tst-secure-getenv.c: New.
36975         * stdlib/Makefile (tests): Add testcase.
36976         * manual/startup.texi (Environment Access): Document
36977         secure_getenv.
36978         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36979         __libc_secure_getenv.
36980         * inet/ruserpass.c (ruserpass): Likewise.
36981         * malloc/mtrace.c (mtrace): Likewise.
36982         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36983         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36984         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36985         * sysdeps/posix/tempname.c: Likewise.  Evaluate
36986         HAVE_SECURE_GETENV.
36987         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36988         __secure_getenv to __libc_secure_getenv.
36989         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36991         Likewise.
36992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36993         Likewise.
36994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36996         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36997         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37001
37002 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37003
37004         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37005         (struct La_i86_retval): Likewise.
37006         (struct La_x86_64_regs): Likewise.
37007         (struct La_x86_64_retval): Likewise.
37008         (struct La_x32_regs): Likewise.
37009         (struct La_x32_retval): Likewise.
37010         (struct La_ppc32_regs): Likewise.
37011         (struct La_ppc32_retval): Likewise.
37012         (struct La_ppc64_regs): Likewise.
37013         (struct La_ppc64_retval): Likewise.
37014         (struct La_sh_regs): Likewise.
37015         (struct La_sh_retval): Likewise.
37016         (struct La_s390_32_regs): Likewise.
37017         (struct La_s390_32_retval): Likewise.
37018         (struct La_s390_64_regs): Likewise.
37019         (struct La_s390_64_retval): Likewise.
37020         (struct La_sparc32_regs): Likewise.
37021         (struct La_sparc32_retval): Likewise.
37022         (struct La_sparc64_regs): Likewise.
37023         (struct La_sparc64_retval): Likewise.
37024         (struct audit_ifaces): Remove architecture-specific pltenter and
37025         pltexit members.
37026         * sysdeps/i386/ldsodefs.h: New file.
37027         * sysdeps/powerpc/ldsodefs.h: Likewise.
37028         * sysdeps/s390/ldsodefs.h: Likewise.
37029         * sysdeps/sh/ldsodefs.h: Likewise.
37030         * sysdeps/sparc/ldsodefs.h: Likewise.
37031         * sysdeps/x86_64/ldsodefs.h: Likewise.
37032
37033 2012-07-25  Marek Polacek  <polacek@redhat.com>
37034
37035         [BZ #6808]
37036         * math/libm-test.inc (yn_test): Add another test.
37037         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37038         to ERANGE when the result is +-Inf.
37039         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37040         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37041         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37042         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37043
37044 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37045
37046         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37047         equal to 0.
37048         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37049         clock_t.
37050         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37051
37052 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37053
37054         * configure.in <sysdeps resolving>: Correct printing
37055         Implies_before.
37056         * configure: Regenerate.
37057
37058 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37059
37060         * math/w_ilogb.c: Include <limits.h>.
37061         * math/w_ilogbl.c: Likewise.
37062
37063 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37064
37065         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37066         va_copy.  Document allowing for unavailable va_copy only as
37067         pre-C99 compatibility.
37068         * manual/string.texi (Copying and Concatenation): Use va_copy
37069         instead of __va_copy in concat example.
37070
37071 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37072
37073         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37074         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37075         it if not null.
37076
37077         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37078         with O_NOLINK passed to __file_name_lookup.
37079
37080         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37081         with O_NOLINK passed to __file_name_lookup.
37082
37083         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37084         negative N or less than NGIDS.
37085
37086         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37087         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37088         enough.  Use memcpy instead of strncpy.
37089
37090 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37091
37092         * elf/Makefile (check-data): Remove.
37093         (localplt.data): New vpath directive.
37094         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37095         instead of $(check-data).
37096         * scripts/data/localplt-generic.data: Move to ...
37097         * sysdeps/generic/localplt.data: ... here.
37098         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37099         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37100         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37102         ... here.
37103         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37105         ... here.
37106         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37108         ... here.
37109         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37111         ... here.
37112         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37113         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37114         ... here.
37115         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37117         ... here.
37118
37119 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37120
37121         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37122         PPC32 and PPC64 files.
37123         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37124         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37125
37126 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37127
37128         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37129         __makecontext_ret to ...
37130         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37131         ... here and call exit if uc_link is NULL.  New file.
37132         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37133         __makecontext_ret.S.
37134         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37135         __makecontext_ret to ...
37136         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37137         ... here and call exit if uc_link is NULL.  New file.
37138         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37139         __makecontext_ret.S.
37140
37141 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37142
37143         * elf/elf.h (R_390_IRELATIVE): New definition.
37144         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37145         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37146         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37147         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37148         (elf_machine_lazy_rel): Likewise.
37149         * sysdeps/s390/dl-irel.h: New file.
37150         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37151         * sysdeps/s390/s390-64/memset.S: New asm code.
37152         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37153         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37154         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37155         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37156         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37157         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37158         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37159         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37160         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37161         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37162         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37163         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37164         * sysdeps/s390/s390-32/memset.S: New asm code.
37165         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37166
37167 2012-07-17  Marek Polacek  <polacek@redhat.com>
37168
37169         [BZ #14349]
37170         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37171         * sysdeps/s390/s390-64/configure.in: Likewise.
37172         * sysdeps/sparc/configure.in: Likewise.
37173         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37174         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37175         * sysdeps/i386/configure.in: Likewise.
37176         * sysdeps/x86_64/configure.in: Likewise.
37177         * sysdeps/sh/configure.in: Likewise.
37178         * sysdeps/s390/s390-32/configure: Regenerated.
37179         * sysdeps/s390/s390-64/configure: Likewise.
37180         * sysdeps/x86_64/configure: Likewise.
37181         * sysdeps/sh/configure: Likewise.
37182         * sysdeps/powerpc/powerpc64/configure: Likewise.
37183         * sysdeps/powerpc/powerpc32/configure: Likewise.
37184         * sysdeps/sparc/configure: Likwise.
37185         * sysdeps/i386/configure: Likewise.
37186
37187         * elf/dl-open.c: Comment fixes.
37188
37189 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37190
37191         * Makefile [CXX] (check-data): Remove.
37192         [CXX] (c++-types.data): New vpath directive.
37193         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37194         vpath.  Do not allow for C++ type data being missing.
37195         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37196         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37197         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37198         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37199         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37200         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37201         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37203         ... here.
37204         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37206         ... here.
37207         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37209         ... here.
37210         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37212         ... here.
37213         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37215         ... here.
37216         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37218         ... here.
37219         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37220         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37221         ... here.
37222         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37223         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37224
37225         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37226         definitions to architecture-specific files.
37227         (TLS_IE): Likewise.
37228         (TLS_LD): Likewise.
37229         (TLS_GD): Likewise.
37230         * sysdeps/i386/tls-macros.h: New file.
37231         * sysdeps/powerpc/tls-macros.h: Likewise.
37232         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37233         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37234         * sysdeps/sh/tls-macros.h: Likewise.
37235         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37236         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37237         * sysdeps/x86_64/tls-macros.h: Likewise.
37238
37239 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37240
37241         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37242         zero value for regular exit case.
37243
37244         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37245         (__start_context): Preserve zero value for regular exit case.
37246
37247 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37248             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37249
37250         * manual/setjmp.texi (setcontext): Clarify normal process
37251         termination when uc_link is the null pointer.
37252         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37253         exit call.
37254
37255 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37256
37257         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37258         preprocessor.  Test for each exception mask separately.
37259
37260 2012-07-16  Andreas Jaeger  <aj@suse.de>
37261
37262         * po/ru.po: Update from translation team.
37263
37264 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37265
37266         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37267         equal to 0.
37268         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37269         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37270         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37271         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37272         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37273
37274 2012-07-13  Andreas Jaeger  <aj@suse.de>
37275
37276         * po/fr.po: Update from translation team.
37277
37278 2012-07-12  Marek Polacek  <polacek@redhat.com>
37279
37280         [BZ #14173]
37281         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37282         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37283         loop condition.
37284
37285 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37286
37287         [BZ #13717]
37288         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37289         Change to 2.4.1 where previously 2.4.0.
37290         * sysdeps/unix/sysv/linux/configure: Regenerated.
37291         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37292         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37293         version.
37294         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37295         (__ASSUME_AT_CLKTCK): Remove.
37296         (__ASSUME_AT_PAGESIZE): Likewise.
37297         (__ASSUME_AT_XID): Likewise.
37298         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37299         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37300         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37301         unconditionally.
37302         (HAVE_AUX_PAGESIZE): Likewise.
37303         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37304         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37305         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37306
37307 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37308
37309         [BZ #14307]
37310         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37311         the temporary buffer used to invoke __gethostbyname2_r,
37312         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37313         host_data / struct gaih_addrtuple.
37314         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37315         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37316         header file nss/nsswitch.h.
37317         * nss/nsswitch.h (global scope): Add definition of implementation
37318         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37319         resolv/nss_dns/dns-host.c).
37320
37321 2012-07-11  Andreas Jaeger  <aj@suse.de>
37322
37323         * po/fr.po: Update from translation team.
37324
37325         * po/sv.po: Update from translation team
37326         * po/fr.po: Another update from translation team.
37327
37328 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37329
37330         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37331         for subnormals or multiply small sinh result by itself.
37332         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37334
37335 2012-07-11  David S. Miller  <davem@davemloft.net>
37336
37337         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37338
37339 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37340
37341         [BZ #14347]
37342         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37343         (INTERNAL_MARK): Shift it here.
37344
37345 2012-07-10  Marek Polacek  <polacek@redhat.com>
37346
37347         [BZ #14151]
37348         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37349         libc_cv_asm_global_directive with .globl.
37350         * configure: Regenerated.
37351         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37352         with .globl.
37353         * sysdeps/i386/configure: Regenerated.
37354         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37355         with .globl.
37356         * sysdeps/x86_64/configure: Regenerated.
37357         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37358         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37359         * elf/tst-unique2mod2.c: Likewise.
37360         * elf/tst-unique2mod1.c: Likewise.
37361         * elf/tst-unique1mod2.c: Likewise.
37362         * elf/tst-unique1mod1.c: Likewise.
37363         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37364         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37365         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37366         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37367         * sysdeps/mach/sysdep.h: Likewise.
37368         * sysdeps/i386/sysdep.h: Likewise.
37369         * sysdeps/i386/i386-mcount.S: Likewise.
37370         * sysdeps/x86_64/_mcount.S: Likewise.
37371         * sysdeps/x86_64/sysdep.h: Likewise.
37372         * sysdeps/sh/_mcount.S: Likewise.
37373         * sysdeps/sh/sysdep.h: Likewise.
37374         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37375         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37376         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37377         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37378         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37379         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37380         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37381         * locale/localeinfo.h: Likewise.
37382         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37383         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37384
37385 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37386
37387         [BZ #14336]
37388         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37389         system".
37390         * manual/message.texi (The Uniforum approach): Likewise.
37391         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37392         (glibc iconv Implementation): Likewise.
37393
37394 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37395
37396         [BZ #14337]
37397         * math/s_clog.c (__clog): Avoid scaling a value down where that
37398         could result in underflow.
37399         * math/s_clog10.c (__clog10): Likewise.
37400         * math/s_clog10f.c (__clog10f): Likewise.
37401         * math/s_clog10l.c (__clog10l): Likewise.
37402         * math/s_clogf.c (__clogf): Likewise.
37403         * math/s_clogl.c (__clogl): Likewise.
37404         * math/libm-test.inc (clog_test): Add more tests.
37405         (clog10_test): Likewise.
37406         * sysdeps/i386/fpu/libm-test-ulps: Update.
37407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37408
37409 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37410
37411         [BZ #14283]
37412         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37413         by 7 not 8 to examine high bit of fractional part.
37414
37415         [BZ #14042]
37416         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37417         for call to __mcount_internal.
37418         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37419         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37420         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37421
37422 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37423
37424         [BZ #14154]
37425         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37426         approximation for values within 0x1p-13f of an odd multiple of
37427         pi/4.
37428         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37429         exception.  Add more tests.
37430         * sysdeps/i386/fpu/libm-test-ulps: Update.
37431
37432         [BZ #6778]
37433         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37434         inputs and return -1 for them.  Do not check for +Inf in case not
37435         reachable for +Inf.
37436         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37437         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37438         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37439         and return -1 for them.  Do not check for +Inf in case not
37440         reachable for +Inf.
37441         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37442         define.
37443         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37444         and return -1 for them.  Do not check for +Inf in case not
37445         reachable for +Inf.
37446         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37447         spurious underflow.
37448         * sysdeps/i386/fpu/libm-test-ulps: Update.
37449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37450
37451 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37452
37453         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37454
37455 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37456
37457         [BZ #14157]
37458         [BZ #14331]
37459         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37460         could result in spurious underflow.  Scale down values above
37461         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37462         * math/s_csqrtf.c (__csqrtf): Likewise.
37463         * math/s_csqrtl.c (__csqrtl): Likewise.
37464         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37465         spurious underflow.
37466         * sysdeps/i386/fpu/libm-test-ulps: Update.
37467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37468
37469 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37470
37471         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37472         xopen-msg.sed.
37473         * catgets/xopen-msg.awk: New file.
37474         * catgets/xopen-msg.sed: Removed.
37475
37476         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37477         po2text.sed.
37478         * intl/po2test.awk: New file.
37479         * intl/po2test.sed: Removed.
37480
37481 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37482
37483         [BZ #14328]
37484         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37485         or multiply small sinh result by itself.
37486         * math/s_ctanf.c (__ctanf): Likewise.
37487         * math/s_ctanh.c (__ctanh): Likewise.
37488         * math/s_ctanhf.c (__ctanhf): Likewise.
37489         * math/s_ctanhl.c (__ctanhl): Likewise.
37490         * math/s_ctanl.c (__ctanl): Likewise.
37491         * math/libm-test.inc (ctan_test_tonearest): New function.
37492         (ctan_test_towardzero): Likewise.
37493         (ctan_test_downward): Likewise.
37494         (ctan_test_upward): Likewise.
37495         (ctanh_test_tonearest): Likewise.
37496         (ctanh_test_towardzero): Likewise.
37497         (ctanh_test_downward): Likewise.
37498         (ctanh_test_upward): Likewise.
37499         (main): Call these new functions.
37500         * sysdeps/i386/fpu/libm-test-ulps: Update.
37501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37502
37503 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37504
37505         * .gitignore: Delete /ports entry.
37506
37507 2012-07-03  Andreas Jaeger  <aj@suse.de>
37508
37509         * po/bg.po: Update from translation team.
37510         * po/cs.po: Likewise.
37511         * po/de.po: Likewise.
37512         * po/hr.po: Likewise.
37513         * po/nl.pl: Likewise.
37514         * po/pl.po: Likewise.
37515         * po/vi.po: Likewise.
37516
37517 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37518
37519         * Makeconfig [!+link] (+link-before-libc): New variable.
37520         [!+link] (+link-after-libc): Likewise.
37521         [!+link] (+link-tests): Likewise.
37522         [!+link] (+link): Define in terms of $(+link-before-libc) and
37523         $(+link-after-libc).
37524         [!+link-static] (+link-static-before-libc): New variable.
37525         [!+link-static] (+link-static-after-libc): Likewise.
37526         [!+link-static] (+link-static-tests): Likewise.
37527         [!+link-static] (+link-static): Define in terms of
37528         $(+link-static-before-libc) and $(+link-static-after-libc).
37529         [build-shared] (link-libc-before-gnulib): New variable.
37530         [build-shared] (link-libc-tests): Likewise.
37531         [build-shared] (link-libc): Define in terms of
37532         $(link-libc-before-gnulib).
37533         [!build-shared] (link-libc-tests): New variable.
37534         (link-libc-static-tests): New variable.
37535         [!gnulib] (gnulib-arch): New variable.
37536         [!gnulib] (gnulib-tests): Likewise.
37537         [!gnulib] (static-gnulib-arch): Likewise.
37538         [!gnulib] (static-gnulib-tests): Likewise.
37539         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37540         Define with "=" instead of ":=".
37541         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37542         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37543         * Rules (binaries-all-notests): New variable.
37544         (binaries-all-tests): Likewise.
37545         (binaries-static-notests): Likewise.
37546         (binaries-static-tests): Likewise.
37547         (binaries-all): Define using $(binaries-all-notests) and
37548         $(binaries-all-tests).
37549         (binaries-static): Define using $(binaries-static-notests) and
37550         $(binaries-static-tests).
37551         (binaries-shared-tests): New variable.
37552         (binaries-shared-notests): Likewise.
37553         (binaries-shared): Remove variable.
37554         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37555         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37556         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37557         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37558         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37559         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37560         * elf/Makefile (sln-modules): New variable.
37561         (extra-objs): Add $(sln-modules:=.o).
37562         (ldconfig-modules): Add static-stubs.
37563         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37564         * elf/static-stubs.c: New file.
37565
37566         [BZ #14283]
37567         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37568         by 7 not 8 to examine high bit of fractional part.  Use volatile
37569         variables when splitting into final array of floats if
37570         __FLT_EVAL_METHOD__ != 0.
37571         * math/libm-test.inc (cos_test): Add another test.
37572         (sin_test): Likewise.
37573         * sysdeps/i386/fpu/libm-test-ulps: Update.
37574
37575         [BZ #14273]
37576         * math/libm-test.inc (cosh_test): Add more tests.
37577
37578         * version.h (RELEASE): Set to "development".
37579         (VERSION): Set to "2.16.90".
37580
37581 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37582
37583         * NEWS: Update copyright. Remove last-updated date.
37584         Mention math library bug fixes and timezone data changes.
37585         * README: Mention GNU/Hurd, x32, and HPPA support status.
37586
37587 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37588
37589         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37590
37591 2012-06-27  Andreas Jaeger  <aj@suse.de>
37592
37593         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37594
37595 2012-06-25  Andreas Jaeger  <aj@suse.de>
37596
37597         * sysdeps/s390/fpu/libm-test-ulps: Update.
37598
37599 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37600             Thomas Schwinge  <thomas@codesourcery.com>
37601
37602         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37603         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37604         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37605         fanotify_mark.
37606
37607 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37608
37609         * sysdeps/mach/start.c: Remove file.
37610         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37611         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37612         * sysdeps/sh/init-first.c: Likewise.
37613
37614         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37615         registers for frame unwinding purposes, add CFI directives.
37616         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37617         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37618         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37619         Likewise.
37620
37621         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37622         __fortify_fail returning.
37623         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37624
37625         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37626         sysdeps/sh/____longjmp_chk.S.
37627         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37628         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37629         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37630         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37631
37632         * sysdeps/sh/abort-instr.h: New file.
37633         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37634         process in case exit returns.
37635
37636         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37637         initialize the GOT register before use.
37638
37639         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37640         calculation of ARGC > 4.
37641
37642         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37643         meaningful names to some local labels.
37644
37645 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37646             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37647
37648         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37649         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37650         (__arch_compare_and_exchange_val_16_acq): Likewise.
37651         (__arch_compare_and_exchange_val_32_acq): Likewise.
37652         (atomic_exchange_and_add): Fix gUSA sequence.
37653         (atomic_add): Likewise.
37654         (atomic_add_negative): Likewise.
37655         (atomic_add_zero): Likewise.
37656         (atomic_bit_test_set): Likewise.
37657
37658 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37659
37660         [BZ #13579]
37661         * include/link.h (struct link_map): Add l_free_initfini.
37662         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37663         l_initfini.
37664         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37665         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37666         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37667         set.
37668
37669 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37670
37671         * configure.in: Use AC_LANG_SOURCE.
37672         * configure: Regenerate.
37673
37674 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37675
37676         * configure.in (libc_cv_localstatedir): New substituted variable.
37677         * configure: Regenerated.
37678         * config.make.in (localstatedir): New variable, substituted from
37679         libc_cv_localstatedir.
37680         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37681         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37682         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37683         * sysdeps/gnu/configure: Regenerated.
37684
37685 2012-06-21  Jeff Law  <law@redhat.com>
37686
37687         [BZ #14277]
37688         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37689         free.  Simplify list management for _LIBC case.
37690
37691 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37692
37693         [BZ #14273]
37694         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37695         Clear sign bit of 64-bit integer value before comparing against
37696         overflow value.
37697
37698         * sysdeps/mach/configure: Regenerated.
37699
37700 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37701
37702         [BZ #14278]
37703         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37704
37705 2012-06-21  Jeff Law  <law@redhat.com>
37706
37707         [BZ #13882]
37708         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37709         uint16_t for elements in the "seen" array to avoid char overflows.
37710         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37711         * elf/dl-open.c (dl_open_worker): Likewise.
37712
37713 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37714
37715         * scripts/list-sources.sh: Scan PORTS for translations.
37716         * po/libc.pot: Regenerated.
37717
37718 2012-06-21  Andreas Jaeger  <aj@suse.de>
37719
37720         [BZ #12194]
37721         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37722         warning.
37723         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37724         * bits/byteswap-16.h (__bswap_16): Likewise.
37725         * bits/byteswap.h (__bswap_constant_16): Likewise.
37726
37727 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37728
37729         [BZ #14117]
37730         * sysdeps/i386/fpu_control.h: Removed.
37731         * sysdeps/x86_64/fpu_control.h: Moved to ...
37732         * sysdeps/x86/fpu_control.h: Here.
37733
37734         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37735         (_FPU_SETCW): Likewise.
37736
37737 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37738
37739         [BZ #14117]
37740         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37741         * sysdeps/x86/fpu/bits/mathinline.h: This.
37742         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37743
37744         [BZ #14050]
37745         [BZ #14117]
37746         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37747         functions if __x86_64__ is defined.
37748
37749 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37750
37751         * string/endian.h: Add !__ASSEMBLER__ condition for including
37752         conversion interfaces.
37753
37754 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37755
37756         [BZ #14241]
37757         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37758         of ABS(x) in calculating zero to negative powers other than odd
37759         integers.
37760         * math/libm-test.inc (pow_test): Add more tests.
37761
37762 2012-06-15  Andreas Jaeger  <aj@suse.de>
37763
37764         * manual/contrib.texi (Contributors): Update entry of Liubov
37765         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37766         Machado Filho.
37767
37768 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37769
37770         * string/string.h: Add __wur to GNU version of strerror_r.
37771
37772 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37773
37774         [BZ #14229]
37775         * string/Makefile (tests): Add tst-strtok_r.
37776         * string/tst-strtok_r.c: New file.
37777         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37778         RAX_LP/RDX_LP on SAVE_PTR.
37779
37780 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37781
37782         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37783
37784 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37785
37786         * libm_test.inc (csqrt_test): Allow more spurious underflow
37787         exceptions.
37788         (j0_test): Likewise.
37789         (j1_test): Likewise.
37790         (y0_test): Likewise.
37791         (y1_test): Likewise.
37792
37793 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
37794
37795         * po/Makefile (libc.pot): Use UTF-8 charset.
37796
37797 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
37798
37799         [BZ #14210]
37800         Suppress sign-conversion warning from FD_SET.
37801         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37802         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37803         not unsigned long int.
37804         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37805
37806 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
37807
37808         [BZ #14050]
37809         [BZ #14117]
37810         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37811         __extern_always_inline instead of __extern_inline.
37812         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37813         (__signbit): Likewise.
37814         (__signbitl): Support C++ namespace.
37815         (lrintf): New inline function.
37816         (lrint): Likewise.
37817         (llrintf): Likewise.
37818         (llrint): Likewise.
37819         (fmaxf): Likewise.
37820         (fmax): Likewise.
37821         (fminf): Likewise.
37822         (fmin): Likewise.
37823         (rint): Likewise.
37824         (rintf): Likewise.
37825         (ceil): Likewise.
37826         (ceilf): Likewise.
37827         (floor): Likewise.
37828         (floorf): Likewise.
37829         (nearbyint): Likewise.
37830         (nearbyintf): Likewise.
37831
37832 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
37833
37834         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37835         non-default versions.
37836
37837 2012-06-11  Roland McGrath  <roland@hack.frob.com>
37838
37839         [BZ #14218]
37840         * manual/argp.texi (Argp): Reword argp_parse description slightly.
37841
37842 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
37843
37844         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37845         (FE_UPWARD, FE_DOWNWARD): Don't define.
37846         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37847         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37848
37849         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37850         reading it.
37851         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37852         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37853
37854 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37855
37856         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37858         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37859         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37860
37861 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
37862
37863         [BZ #14117]
37864         * sysdeps/i386/fpu/bits/fenv.h: Removed.
37865         * sysdeps/i386/fpu/Implies: New file.
37866         * sysdeps/x86_64/fpu/Implies: Likewise.
37867         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37868         * sysdeps/x86/fpu/bits/fenv.h: This.
37869
37870         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37871         __SSE_MATH__.
37872
37873 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37874
37875         [BZ #14134]
37876         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37877         character 0xffff that matches the last element of the
37878         conversion table.
37879
37880 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37881
37882         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37883         fmodl commit.
37884
37885 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37886
37887         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37888         values higher than 25.6283.
37889
37890 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37891
37892         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37893         subnormal exponent extraction and add some __builtin_expect.
37894         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37895         Fix for subnormal mantissa calculation.
37896
37897 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
37898
37899         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37900         cpu2 is -1 and errno is not ENOSYS.
37901
37902 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
37903
37904         [BZ #14117]
37905         * sysdeps/i386/i486/bits/string.h: Renamed to ...
37906         * sysdeps/x86/bits/string.h: This.
37907         * sysdeps/x86_64/bits/string.h: Removed.
37908
37909         * sysdeps/i386/i486/bits/string.h: Define inline functions only
37910         if not compiling for x86-64, but compiling for >= i486.
37911
37912         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37913         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37914
37915         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37916         New macro from Linux kernel 3.4.0.
37917         (FP_XSTATE_MAGIC2): Likewise.
37918         (FP_XSTATE_MAGIC2_SIZE): Likewise.
37919         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37920         (struct _fpx_sw_bytes): New struct.
37921         (struct _xsave_hdr): Likewise.
37922         (struct _ymmh_state): Likewise.
37923         (struct _xstate): Likewise.
37924
37925         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37926         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37927         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37928         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37929         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37930         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37931
37932         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37933         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37934         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37935         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37936         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37937         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37938
37939 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37940
37941         [BZ #13743]
37942         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37943         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37944         (sysdep_headers): Include sys/platform/ppc.h.
37945         * sysdeps/powerpc/test-gettimebase.c: Test for
37946         __ppc_get_timebase() to catch future ISA opcode/insn changes.
37947         * manual/Makefile (appendices): Include platform.texi.
37948         * manual/contrib.texi (Contributors): Update @node pointers.
37949         * manual/maint.texi (Maintenance): Likewise.
37950         (Platform): New node.
37951         * manual/platform.texi: New file.  Document the new features.
37952
37953 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37954             Jakub Jelinek  <jakub@redhat.com>
37955
37956         [BZ #14188]
37957         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37958         where __builtin_expect is unavailable.
37959
37960 2012-06-03  David S. Miller  <davem@davemloft.net>
37961
37962         * stdlib/longlong.h: Updated from GCC.
37963
37964 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
37965
37966         [BZ #14042]
37967         * sysdeps/powerpc/powerpc32/mcount.c: New file.
37968         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37969         __mcount_internal.
37970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37971         (GLIBC_2.16): Likewise.
37972
37973 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37974
37975         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37976
37977 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37978
37979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37980         (default-abi): New variable.
37981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37982         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37983         variable.
37984         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37985         Likewise.
37986         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37987         Likewise.
37988         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37989         Likewise.
37990
37991         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37992         definition.  Document in comment.
37993
37994 2012-06-01  David S. Miller  <davem@davemloft.net>
37995
37996         * stdlib/longlong.h: Updated from GCC.
37997
37998 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37999
38000         [BZ #14117]
38001         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38002         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38003         sys/debugreg.h sys/io.h here.
38004         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38005         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38006         sys/io.h.
38007         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38008         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38009         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38010         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38011         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38012         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38013
38014         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38015         Define only if __x86_64__ is defined.
38016
38017 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38018
38019         [BZ #14048]
38020         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38021         Use int64_t for variable i.
38022         * math/libm-test.inc (fmod_test): Add more tests.
38023
38024         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38025         z computation is not scheduled after fetestexcept.
38026         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38027         Use math_force_eval instead of asm to ensure calculation scheduled
38028         before exception test.
38029         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38030         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38031
38032 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38033
38034         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38035         computation is not scheduled after fetestexcept.
38036
38037 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38038
38039         [BZ #14117]
38040         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38041         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38042
38043 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38044
38045         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38046         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38047
38048 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38049
38050         [BZ #14117]
38051         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38052         <bits/wordsize.h>.
38053         (__WCHAR_MIN): Support __WORDSIZE == 64.
38054         (__WCHAR_MAX): Likewise.
38055
38056         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38057         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38058
38059         [BZ #14183]
38060         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38061         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38062
38063         [BZ #14117]
38064         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38065         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38066
38067         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38068         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38069
38070         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38071         Defined to 1 if __x86_64__ isn't defined.
38072         (_STAT_VER_LINUX_OLD): New.
38073         (st_atime): Remove duplicate.
38074         (st_mtime): Likewise.
38075         (st_ctime): Likewise.
38076
38077 2012-05-31  David S. Miller  <davem@davemloft.net>
38078
38079         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38080         entries.
38081
38082 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38083
38084         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38085         gen-libm-test.pl.
38086
38087         [BZ #14132]
38088         * elf/dl-reloc.c: Include <_itoa.h>.
38089         (_dl_reloc_bad_type): Remove use of INTUSE.
38090         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38091         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38092         * stdio-common/psiginfo.c (psiginfo): Likewise.
38093         * stdio-common/psignal.c (psignal): Likewise.
38094         * string/strsignal.c (strsignal): Likewise.
38095         * include/signal.h (_sys_siglist): Declare hidden proto.
38096         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38097         INTVARDEF with libc_hidden_data_def.
38098         * stdio-common/itoa-udigits.c: Likewise.
38099         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38100         (_itoa_lower_digits_internal): Remove declaration.
38101         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38102         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38103         (_sys_sigabbrev_internal): Remove aliases.
38104         (_sys_siglist): Define hidden alias.
38105
38106 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38107
38108         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38109         bits/sysctl.h.
38110
38111 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38112
38113         [BZ #14117]
38114         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38115         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38116
38117         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38118         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38119         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38120         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38121         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38122         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38123
38124         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38125         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38126         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38127
38128         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38129         with __addr.
38130         (insw): Likewise.
38131         (insl): Likewise.
38132         (outsb): Likewise.
38133         (outsw): Likewise.
38134         (outsl): Likewise.
38135
38136         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38137         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38138         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38139
38140         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38141         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38142         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38143         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38144         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38145         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38146
38147         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38148         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38149
38150         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38151         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38152
38153         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38154         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38155         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38156
38157         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38158         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38159         to ...
38160         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38161
38162         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38163         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38164         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38165
38166         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38167         for x86-64.
38168         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38169
38170 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38171
38172         * math/math.h (M_El): Use two more decimal places.
38173         (M_LOG2El): Likewise.
38174         (M_LOG10El): Likewise.
38175         (M_LN2l): Likewise.
38176         (M_LN10l): Likewise.
38177         (M_PIl): Likewise.
38178         (M_PI_2l): Likewise.
38179         (M_PI_4l): Likewise.
38180         (M_1_PIl): Likewise.
38181         (M_2_PIl): Likewise.
38182         (M_2_SQRTPIl): Likewise.
38183         (M_SQRT2l): Likewise.
38184         (M_SQRT1_2l): Likewise.
38185
38186 2012-05-31  David S. Miller  <davem@davemloft.net>
38187
38188         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38189         values between float registers.
38190         * sysdeps/sparc/sparc64/memset.S: Likewise.
38191         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38192
38193 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38194
38195         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38196         -D_FORTIFY_SOURCE=1.
38197         (CPPFLAGS-tst-longjmp_chk.c): Define.
38198         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38199         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38200         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38201         CFLAGS-tst-wchar-h.c.
38202
38203 2012-05-31  Marek Polacek  <polacek@redhat.com>
38204
38205         [BZ #14132]
38206         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38207         __endmntent_internal): Remove declaration.
38208         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38209         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38210         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38211
38212 2012-05-30  David S. Miller  <davem@davemloft.net>
38213
38214         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38215         (___Q_simulate_exceptions): Use real FP ops rather than writing
38216         into the %fsr.
38217         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38218         Likewise.
38219
38220 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38221
38222         [BZ #14117]
38223         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38224         * sysdeps/x86/bits/xtitypes.h: This.
38225
38226         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38227         * sysdeps/x86/bits/wordsize.h: This.
38228
38229         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38230         * sysdeps/x86/bits/huge_vall.h: This.
38231
38232         * sysdeps/i386/bits/select.h: Removed.
38233         * sysdeps/x86_64/bits/select.h: Renamed to ...
38234         * sysdeps/x86/bits/select.h: This.
38235
38236         * sysdeps/i386/bits/setjmp.h: Removed.
38237         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38238         * sysdeps/x86/bits/setjmp.h: This.
38239
38240         * sysdeps/i386/bits/mathdef.h: Removed.
38241         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38242         * sysdeps/x86/bits/mathdef.h: This.
38243
38244 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38245
38246         [BZ #14132]
38247         * include/sys/socket.h (__connect_internal)
38248         (__libc_sa_len_internal): Remove declaration.
38249         (__connect, __libc_sa_len): Declare hidden_proto.
38250         (SA_LEN): Remove use of INTUSE.
38251         * socket/connect.c: Add libc_hidden_def.
38252         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38253         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38254         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38255         alias.
38256         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38257         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38258         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38259         of adding _internal alias.
38260
38261 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38262
38263         [BZ #14117]
38264         * sysdeps/i386/bits/link.h: Removed.
38265         * sysdeps/i386/bits/linkmap.h: Likewise.
38266         * sysdeps/x86_64/bits/link.h: Renamed to ...
38267         * sysdeps/x86/bits/link.h: This.
38268         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38269         * sysdeps/x86/bits/linkmap.h: This.
38270
38271         * sysdeps/i386/bits/endian.h: Removed.
38272         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38273         * sysdeps/x86/bits/endian.h: This.
38274
38275         * sysdeps/i386/bits/byteswap.h: Removed.
38276         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38277         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38278         * sysdeps/x86/bits/byteswap.h: This.
38279         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38280         * sysdeps/x86/bits/byteswap-16.h: This.
38281         * sysdeps/i386/Implies: Add x86.
38282         * sysdeps/x86_64/Implies: Likewise.
38283
38284 2012-05-30  David S. Miller  <davem@davemloft.net>
38285
38286         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38287         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38288         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38289         (FP_TRAPPING_EXCEPTIONS): Define.
38290         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38291         (FP_TRAPPING_EXCEPTIONS): Define.
38292         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38293         subnormals only when inexact has been signalled or underflow
38294         exceptions are enabled.
38295         (_FP_PACK_CANONICAL): Likewise.
38296
38297 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38298
38299         [BZ #14183]
38300         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38301         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38302
38303 2012-05-30  Richard Henderson  <rth@twiddle.net>
38304
38305         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38306         with #ifndef NOT_IN_libc.
38307
38308         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38309         marked to avoid plt entry.
38310
38311 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38312
38313         [BZ #14112]
38314         * Makeconfig (default-abi): New macro.
38315         (abi-includes): Likewise.
38316         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38317         $(abi-$(default-abi)-lib-soname) for soname if defined.
38318         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38319         abi-variants.
38320         * Makefile (installed-stubs): Likewise.
38321         * include/stubs-biarch.h: Removed.
38322         * scripts/lib-names.awk: Only handle one library at a time.
38323         * scripts/soversions.awk: Remove WORDSIZE support.
38324         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38325         entries.
38326         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38327         Removed.
38328         (syscall-list-default-condition): Likewise.
38329         (syscall-list-default-condition): Likewise.
38330         (syscall-list-includes): Likewise.
38331         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38332         syscall-list-* with abi-*.  Handle undefined abi-variants.
38333         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38334         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38335         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38336         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38337         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38338         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38339         Removed.
38340         (syscall-list-32-options): Likewise.
38341         (syscall-list-32-condition): Likewise.
38342         (syscall-list-64-options): Likewise.
38343         (syscall-list-64-condition): Likewise.
38344         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38345         macro.
38346         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38347         Renamed to ...
38348         (abi-*): This.
38349         (abi-64-ld-soname): New macro.
38350         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38351         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38352         Renamed to ...
38353         (abi-*): This.
38354         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38355         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38356
38357 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38358
38359         * sysdeps/unix/sysv/linux/kernel-features.h
38360         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38361         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38362         include <kernel-features.h>.
38363         [!__NR_ftruncate64]: Remove conditional code.
38364         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38365         [__NR_ftruncate64]: Make code unconditional.
38366         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38367         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38368         include <kernel-features.h>.
38369         [!__NR_ftruncate64]: Remove conditional code.
38370         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38371         [__NR_ftruncate64]: Make code unconditional.
38372         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38374         include <kernel-features.h>.
38375         [!__NR_ftruncate64]: Remove conditional code.
38376         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38377         [__NR_ftruncate64]: Make code unconditional.
38378         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38380         include <kernel-features.h>.
38381         [!__NR_ftruncate64]: Remove conditional code.
38382         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38383         [__NR_ftruncate64]: Make code unconditional.
38384         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38385
38386         * configure.in (libc_cv_fpie): Weaken to a compile test using
38387         LIBC_TRY_CC_OPTION.
38388         * configure: Regenerated.
38389
38390 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38391
38392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38393         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38396         Refreshed.
38397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38399         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38401         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38403         Refreshed.
38404
38405 2012-05-27  David S. Miller  <davem@davemloft.net>
38406
38407         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38408         (___Q_zero): New.
38409         (__Q_simulate_exceptions): Return void.  Change to simulate
38410         exceptions by writing into the %fsr.
38411         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38412         (__Qp_handle_exceptions): Likewise.
38413         (numbers): Delete.
38414         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38415         __Qp_handle_exceptions.
38416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38417         __Qp_handle_exceptions.
38418         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38419         as unused and give dummy FP_RND_NEAREST initializer.
38420         (FP_INHIBIT_RESULTS): Define.
38421         (___Q_simulate_exceptions): Update declaration.
38422         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38423         formatting.
38424         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38425         as unused and give dummy FP_RND_NEAREST initializer.
38426         (__Qp_handle_exceptions): Update declaration.
38427         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38428         formatting.
38429
38430 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38431
38432         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38433         the temporary FPU control word.
38434         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38435         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38436         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38437         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38438         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38439         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38440         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38441         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38442         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38443         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38444         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38445
38446 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38447
38448         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38449         fields.
38450
38451 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38452
38453         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38454         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38455         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38456         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38457         Likewise.
38458         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38459         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38460         Likewise.
38461
38462 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38463
38464         * po/h.po: Update from translation team.
38465
38466 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38467
38468         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38469
38470         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38471         handling of denormals.
38472         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38473         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38474         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38475         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38476         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38477         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38478         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38479         Likewise.
38480
38481 2012-05-26  Marek Polacek  <polacek@redhat.com>
38482
38483         [BZ #14152]
38484         * math/libm-test.inc (fma_test): Don't always expect underflow
38485         exception.
38486
38487 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38488
38489         [BZ #12416]
38490         * elf/tst-execstack.c: Include stackinfo.h.
38491         (do_test): Adjust test case to ensure that pthread_getattr_np
38492         behaviour remains the same after marking stack executable.
38493
38494 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38495
38496         * sysdeps/unix/sysv/linux/kernel-features.h
38497         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38498         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38499         kernel-features.h.
38500         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38501         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38502         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38503         kernel-features.h.
38504         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38505         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38506
38507 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38508
38509         * configure.in: Define the default includes to being none.
38510         * configure: Regenerated.
38511
38512 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38513
38514         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38515         * sysdeps/x86_64/setjmp.S: Likewise.
38516         * sysdeps/i386/bsd-setjmp.S: Likewise.
38517         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38518         * sysdeps/i386/setjmp.S: Likewise.
38519         * sysdeps/i386/__longjmp.S: Likewise.
38520         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38521         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38522
38523         * include/stap-probe.h: New file.
38524         * configure.in: Handle --enable-systemtap.
38525         * configure: Regenerated.
38526         * config.h.in (USE_STAP_PROBE): New #undef.
38527         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38528         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38529         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38530
38531 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38532
38533         [BZ #13717]
38534         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38535         to 2.4.0 where earlier.
38536         * sysdeps/unix/sysv/linux/configure: Regenerated.
38537         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.c: Do not include
38542         <kernel-features.h>.
38543         [__ASSUME_32BITUIDS]: Make code unconditional.
38544         [!__ASSUME_32BITUIDS]: Remove conditional code.
38545         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38546         [__ASSUME_32BITUIDS]: Make code unconditional.
38547         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38548         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38549         <kernel-features.h>.
38550         [__ASSUME_32BITUIDS]: Make code unconditional.
38551         [!__ASSUME_32BITUIDS]: Remove conditional code.
38552         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38553         <kernel-features.h>.
38554         [__ASSUME_32BITUIDS]: Make code unconditional.
38555         [!__ASSUME_32BITUIDS]: Remove conditional code.
38556         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38557         <kernel-features.h>.
38558         [__ASSUME_32BITUIDS]: Make code unconditional.
38559         [!__ASSUME_32BITUIDS]: Remove conditional code.
38560         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38561         <kernel-features.h>.
38562         [__ASSUME_32BITUIDS]: Make code unconditional.
38563         [!__ASSUME_32BITUIDS]: Remove conditional code.
38564         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38565         <kernel-features.h>.
38566         [__ASSUME_32BITUIDS]: Make code unconditional.
38567         [!__ASSUME_32BITUIDS]: Remove conditional code.
38568         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38569         <kernel-features.h>.
38570         [__ASSUME_32BITUIDS]: Make code unconditional.
38571         [!__ASSUME_32BITUIDS]: Remove conditional code.
38572         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38573         <kernel-features.h>.
38574         [__ASSUME_32BITUIDS]: Make code unconditional.
38575         [!__ASSUME_32BITUIDS]: Remove conditional code.
38576         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38577         <kernel-features.h>.
38578         [__ASSUME_32BITUIDS]: Make code unconditional.
38579         [!__ASSUME_32BITUIDS]: Remove conditional code.
38580         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38581         <kernel-features.h>.
38582         [__ASSUME_32BITUIDS]: Make code unconditional.
38583         [!__ASSUME_32BITUIDS]: Remove conditional code.
38584         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38585         <kernel-features.h>.
38586         [__ASSUME_32BITUIDS]: Make code unconditional.
38587         [!__ASSUME_32BITUIDS]: Remove conditional code.
38588         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38589         <kernel-features.h>.
38590         [__NR_setresgid] (__setresgid): Do not declare.
38591         [__ASSUME_32BITUIDS]: Make code unconditional.
38592         [!__ASSUME_32BITUIDS]: Remove conditional code.
38593         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38594         <kernel-features.h>.
38595         [__NR_setresuid] (__setresuid): Do not declare.
38596         [__ASSUME_32BITUIDS]: Make code unconditional.
38597         [!__ASSUME_32BITUIDS]: Remove conditional code.
38598         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38599         <kernel-features.h>.
38600         [__ASSUME_32BITUIDS]: Make code unconditional.
38601         [!__ASSUME_32BITUIDS]: Remove conditional code.
38602         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38603         <kernel-features.h>.
38604         [__ASSUME_32BITUIDS]: Make code unconditional.
38605         [!__ASSUME_32BITUIDS]: Remove conditional code.
38606         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38607         <kernel-features.h>.
38608         [__ASSUME_32BITUIDS]: Make code unconditional.
38609         [!__ASSUME_32BITUIDS]: Remove conditional code.
38610         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38611         <kernel-features.h>.
38612         [__ASSUME_32BITUIDS]: Make code unconditional.
38613         [!__ASSUME_32BITUIDS]: Remove conditional code.
38614         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38615         <kernel-features.h>.
38616         [__ASSUME_32BITUIDS]: Make code unconditional.
38617         [!__ASSUME_32BITUIDS]: Remove conditional code.
38618         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38619         <kernel-features.h>.
38620         [__ASSUME_32BITUIDS]: Make code unconditional.
38621         [!__ASSUME_32BITUIDS]: Remove conditional code.
38622         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38623         <kernel-features.h>.
38624         [__ASSUME_32BITUIDS]: Make code unconditional.
38625         [!__ASSUME_32BITUIDS]: Remove conditional code.
38626         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38627         <kernel-features.h>.
38628         [__ASSUME_32BITUIDS]: Make code unconditional.
38629         [!__ASSUME_32BITUIDS]: Remove conditional code.
38630         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38631         <kernel-features.h>.
38632         [__ASSUME_32BITUIDS]: Make code unconditional.
38633         [!__ASSUME_32BITUIDS]: Remove conditional code.
38634         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38635         <kernel-features.h>.
38636         [__ASSUME_32BITUIDS]: Make code unconditional.
38637         [!__ASSUME_32BITUIDS]: Remove conditional code.
38638         * sysdeps/unix/sysv/linux/kernel-features.h
38639         (__ASSUME_SETRESUID_SYSCALL): Remove.
38640         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38641         (__ASSUME_32BITUIDS): Likewise.
38642         (__ASSUME_LDT_WORKS): Likewise.
38643         (__ASSUME_O_DIRECTORY): Likewise.
38644         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38645         architecture but not kernel version.
38646         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38647         (__ASSUME_MMAP2_SYSCALL): Likewise.
38648         (__ASSUME_STAT64_SYSCALL): Likewise.
38649         (__ASSUME_IPC64): Likewise.
38650         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38651         <kernel-features.h>.
38652         [__ASSUME_32BITUIDS]: Make code unconditional.
38653         [!__ASSUME_32BITUIDS]: Remove conditional code.
38654         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38655         <kernel-features.h>.
38656         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38657         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38658         132096]: Remove conditional code.
38659         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38660         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38661         <kernel-features.h>.
38662         [__ASSUME_32BITUIDS]: Make code unconditional.
38663         [!__ASSUME_32BITUIDS]: Remove conditional code.
38664         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38665         <kernel-features.h>.
38666         [__ASSUME_32BITUIDS]: Make code unconditional.
38667         [!__ASSUME_32BITUIDS]: Remove conditional code.
38668         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38669         <kernel-features.h>.
38670         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38671         unconditional.
38672         (__setresgid): Do not declare.
38673         [__ASSUME_32BITUIDS]: Make code unconditional.
38674         [!__ASSUME_32BITUIDS]: Remove conditional code.
38675         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38676         <kernel-features.h>.
38677         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38678         unconditional.
38679         (__setresuid): Do not declare.
38680         [__ASSUME_32BITUIDS]: Make code unconditional.
38681         [!__ASSUME_32BITUIDS]: Remove conditional code.
38682         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38683         <kernel-features.h>.
38684         [__ASSUME_32BITUIDS]: Make code unconditional.
38685         [!__ASSUME_32BITUIDS]: Remove conditional code.
38686         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38687         <kernel-features.h>.
38688         [__ASSUME_32BITUIDS]: Make code unconditional.
38689         [!__ASSUME_32BITUIDS]: Remove conditional code.
38690
38691 2012-05-25  Richard Henderson  <rth@twiddle.net>
38692
38693         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38694         dl_hwcap to ifunc resolver.
38695         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38696         elf_ifunc_invoke.
38697         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38698         dl_hwcap to ifunc resolver.
38699         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38700
38701 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38702
38703         [BZ #14153]
38704         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38705         for |x| <= 2**-26, not 2**-57.
38706         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38707         exception.
38708
38709 2012-05-24  Jeff Law  <law@redhat.com>
38710
38711         * stdio-common/Makefile (tests): Add bug25.
38712         * stdio-common/bug25.c: New test.
38713
38714 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38715
38716         [BZ #13576]
38717         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38718         multiple of MALLOC_ALIGNMENT in size.
38719         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38720
38721 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38722
38723         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38724         Require >= 256.
38725         (FILENAME_MAX): Use macro-int-constant.
38726         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38727         (_IOFBF): Use macro-int-constant.
38728         (_IOLBF): Likewise.
38729         (_IONBF): Likewise.
38730         (SEEK_CUR): Likewise.
38731         (SEEK_END): Likewise.
38732         (SEEK_SET): Likewise.
38733         (TMP_MAX): Likewise.
38734         (EOF): Use macro-int-constant.  Require < 0.
38735         (NULL): Use macro-constant.  Require == 0.
38736         (stdin): Require type to be FILE *.
38737         (stdout): Likewise.
38738         (stderr): Likewise.
38739         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38740         macro-int-constant.
38741         (EXIT_SUCCESS): Likewise.
38742         (NULL): Use macro-constant.  Require == 0.
38743         (RAND_MAX): Use macro-int-constant.
38744         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38745         [C99-based standards] (strtof): Require function.
38746         [C99-based standards] (strtold): Likewise.
38747         [C99-based standards] (strtoll): Likewise.
38748         [C99-based standards] (strtoull): Likewise.
38749         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38750         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38751         [ISO || ISO99 || ISO11] (math.h): Likewise.
38752         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38753         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38754         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38755
38756 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38757
38758         [BZ #14132]
38759         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38760         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38761         * intl/dgettext.c (DCGETTEXT): Likewise.
38762         * intl/gettext.c (DCGETTEXT): Likewise.
38763         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38764         * posix/regex_internal.h (gettext): Likewise.
38765         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38766         Remove declaration.
38767         * include/argz.h (__argz_count_internal)
38768         (__argz_stringify_internal): Remove declaration.
38769         (__argz_count, __argz_stringify): Declare hidden proto.
38770         * intl/dcgettext.c: Remove use of INTDEF.
38771         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38772         * string/argz-stringify.c: Likewise.
38773         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38774         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38775         Declare hidden proto.
38776         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38777         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38778         Declare hidden proto.
38779         * include/stdio.h (__asprintf_internal): Don't declare.
38780         (__asprintf): Don't define as macro.  Declare hidden proto.
38781         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38782         (__fsetlocking): Declare hidden proto.
38783         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38784         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38785         hidden proto.
38786         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38787         (_IO_setlinebuf): Remove use of INTUSE.
38788         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38789         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38790         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38791         Remove declaration.
38792         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38793         (_IO_do_flush): Remove use of INTUSE.
38794         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38795         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38796         (_IO_adjust_column, _IO_least_wmarker)
38797         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38798         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38799         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38800         (_IO_default_doallocate, _IO_wdefault_doallocate)
38801         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38802         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38803         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38804         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38805         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38806         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38807         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38808         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38809         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38810         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38811         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38812         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38813         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38814         proto.
38815         (_IO_flush_all_internal, _IO_adjust_column_internal)
38816         (_IO_default_uflow_internal, _IO_default_finish_internal)
38817         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38818         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38819         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38820         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38821         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38822         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38823         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38824         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38825         (_IO_file_close_internal, _IO_file_close_it_internal)
38826         (_IO_file_underflow_internal, _IO_file_overflow_internal)
38827         (_IO_file_init_internal, _IO_file_attach_internal)
38828         (_IO_file_fopen_internal, _IO_file_read_internal)
38829         (_IO_file_sync_internal, _IO_file_seek_internal)
38830         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38831         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38832         (_IO_str_underflow_internal, _IO_str_overflow_internal)
38833         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38834         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38835         (_IO_list_all_internal, _IO_link_in_internal)
38836         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38837         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38838         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38839         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38840         (_IO_do_write_internal, _IO_padn_internal)
38841         (_IO_getline_info_internal, _IO_getline_internal)
38842         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38843         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38844         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38845         (_IO_vfscanf_internal, _IO_vfprintf_internal)
38846         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38847         (_IO_init_internal, _IO_un_link_internal): Don't declare.
38848         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38849         with libc_hidden_ver, remove use of INTUSE.
38850         * libio/genops.c: Likewise.
38851         * libio/freopen.c: Likewise.
38852         * libio/freopen64.c: Likewise.
38853         * libio/iofclose.c: Likewise.
38854         * libio/iofdopen.c: Likewise.
38855         * libio/iofflush.c: Likewise.
38856         * libio/iofflush_u.c: Likewise.
38857         * libio/iofgets.c: Likewise.
38858         * libio/iofgets_u.c: Likewise.
38859         * libio/iofopen.c: Likewise.
38860         * libio/iofopncook.c: Likewise.
38861         * libio/iofread.c: Likewise.
38862         * libio/iofread_u.c: Likewise.
38863         * libio/ioftell.c: Likewise.
38864         * libio/iofwrite.c: Likewise.
38865         * libio/iogetline.c: Likewise.
38866         * libio/iogets.c: Likewise.
38867         * libio/iogetwline.c: Likewise.
38868         * libio/iopadn.c: Likewise.
38869         * libio/iopopen.c: Likewise.
38870         * libio/ioseekoff.c: Likewise.
38871         * libio/ioseekpos.c: Likewise.
38872         * libio/iosetbuffer.c: Likewise.
38873         * libio/iosetvbuf.c: Likewise.
38874         * libio/ioungetc.c: Likewise.
38875         * libio/ioungetwc.c: Likewise.
38876         * libio/iovdprintf.c: Likewise.
38877         * libio/iovsprintf.c: Likewise.
38878         * libio/iovsscanf.c: Likewise.
38879         * libio/memstream.c: Likewise.
38880         * libio/obprintf.c: Likewise.
38881         * libio/oldfileops.c: Likewise.
38882         * libio/oldiofclose.c: Likewise.
38883         * libio/oldiofdopen.c: Likewise.
38884         * libio/oldiofopen.c: Likewise.
38885         * libio/oldiopopen.c: Likewise.
38886         * libio/oldstdfiles.c: Likewise.
38887         * libio/putc.c: Likewise.
38888         * libio/setbuf.c: Likewise.
38889         * libio/setlinebuf.c: Likewise.
38890         * libio/stdfiles.c: Likewise.
38891         * libio/strops.c: Likewise.
38892         * libio/vasprintf.c: Likewise.
38893         * libio/vscanf.c: Likewise.
38894         * libio/vsnprintf.c: Likewise.
38895         * libio/vswprintf.c: Likewise.
38896         * libio/wfiledoalloc.c: Likewise.
38897         * libio/wfileops.c: Likewise.
38898         * libio/wgenops.c: Likewise.
38899         * libio/wmemstream.c: Likewise.
38900         * libio/wstrops.c: Likewise.
38901         * libio/__fpurge.c: Likewise.
38902         * libio/__fsetlocking.c: Likewise.
38903         * assert/assert.c: Likewise.
38904         * debug/fgets_chk.c: Likewise.
38905         * debug/fgets_u_chk.c: Likewise.
38906         * debug/fread_chk.c: Likewise.
38907         * debug/fread_u_chk.c: Likewise.
38908         * debug/gets_chk.c: Likewise.
38909         * debug/obprintf_chk.c: Likewise.
38910         * debug/vasprintf_chk.c: Likewise.
38911         * debug/vdprintf_chk.c: Likewise.
38912         * debug/vsnprintf_chk.c: Likewise.
38913         * debug/vsprintf_chk.c: Likewise.
38914         * malloc/mtrace.c: Likewise.
38915         * misc/error.c: Likewise.
38916         * misc/syslog.c: Likewise.
38917         * stdio-common/asprintf.c: Likewise.
38918         * stdio-common/fxprintf.c: Likewise.
38919         * stdio-common/getw.c: Likewise.
38920         * stdio-common/isoc99_fscanf.c: Likewise.
38921         * stdio-common/isoc99_scanf.c: Likewise.
38922         * stdio-common/isoc99_vfscanf.c: Likewise.
38923         * stdio-common/isoc99_vscanf.c: Likewise.
38924         * stdio-common/isoc99_vsscanf.c: Likewise.
38925         * stdio-common/printf-prs.c: Likewise.
38926         * stdio-common/printf_fp.c: Likewise.
38927         * stdio-common/printf_fphex.c: Likewise.
38928         * stdio-common/printf_size.c: Likewise.
38929         * stdio-common/putw.c: Likewise.
38930         * stdio-common/scanf.c: Likewise.
38931         * stdio-common/sprintf.c: Likewise.
38932         * stdio-common/tmpfile.c: Likewise.
38933         * stdio-common/vfprintf.c: Likewise.
38934         * stdio-common/vfscanf.c: Likewise.
38935         * stdlib/strfmon_l.c: Likewise.
38936         * sunrpc/openchild.c: Likewise.
38937         * sunrpc/xdr_stdio.c: Likewise.
38938         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38939         * sysdeps/mach/hurd/tmpfile.c: Likewise.
38940
38941 2012-05-24  Roland McGrath  <roland@hack.frob.com>
38942
38943         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38944
38945         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38946         in the third column, to generate for the shared library an IFUNC
38947         that uses _dl_vdso_vsym.
38948         * Makerules (COMPILE.c, compile-stdin.c): New variables.
38949         * Makeconfig (object-suffixes-noshared): New variable.
38950
38951         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38952         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38953         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38954         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38955
38956         [BZ #14132]
38957         * include/sys/time.h (__gettimeofday): Remove macro.
38958         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38959         * time/gettimeofday.c (__gettimeofday): Remove #undef.
38960         Remove INTDEF.
38961         (__gettimeofday): Add libc_hidden_def.
38962         (gettimeofday): Add libc_hidden_weak.
38963         * sysdeps/mach/gettimeofday.c: Likewise.
38964         * sysdeps/posix/gettimeofday.c: Likewise.
38965         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38966         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38967         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38968         (__gettimeofday_internal): Remove strong_alias.
38969         (__gettimeofday): Add libc_hidden_def.
38970         (gettimeofday): Add libc_hidden_weak.
38971         * sysdeps/unix/syscalls.list (gettimeofday):
38972         Remove __gettimeofday_internal alias.
38973
38974 2012-05-24  Daniel Jacobowitz  <drow@false.org>
38975             H.J. Lu  <hongjiu.lu@intel.com>
38976
38977         [BZ #12495]
38978         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38979         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38980         (largebin_index_32_big): New.
38981         (largebin_index): Use it for 16-byte alignment.
38982         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
38983         correction with front_misalign.
38984
38985 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38986
38987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38989         Likewise.
38990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38991         Likewise.
38992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38993         Likewise.
38994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38995         Likewise.
38996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38997         Likewise.
38998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38999         Likewise.
39000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39001         Likewise.
39002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39003         Likewise.
39004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39005         Likewise.
39006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39007         Likewise.
39008         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39009         Likewise.
39010         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39011         Likewise.
39012
39013         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39014         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39015
39016 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39017
39018         [BZ #10846]
39019         [BZ #14036]
39020         * math/libm-test.inc (exp_test): Add test from bug 14036.
39021         (pow_test): Add test from bug 10846.
39022
39023         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39024         and other flags.
39025         (special_function): Do not include flags in test name.
39026         (parse_args): Likewise.
39027         * sysdeps/i386/fpu/libm-test-ulps: Update.
39028         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39029         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39030         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39032
39033         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39034         exceptions.
39035         * math/libm-test.inc ("Philosophy"): Update comment about
39036         exception testing.
39037         (UNDERFLOW_EXCEPTION): New macro.
39038         (UNDERFLOW_EXCEPTION_OK): Likewise.
39039         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39040         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39041         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39042         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39043         (INVALID_EXCEPTION_OK): Update value.
39044         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39045         (OVERFLOW_EXCEPTION_OK): Likewise.
39046         (IGNORE_ZERO_INF_SIGN): Likewise.
39047         (test_exceptions): Handle underflow exceptions.
39048         (acos_test): Update for underflow exception expectations.
39049         (cexp_test): Likewise.
39050         (clog_test): Likewise.
39051         (clog10_test): Likewise.
39052         (csqrt_test): Likewise.
39053         (ctan_test): Likewise.
39054         (ctanh_test): Likewise.
39055         (exp_test): Likewise.
39056         (exp10_test): Likewise.
39057         (exp2_test): Likewise.
39058         (expm1_test): Likewise.
39059         (fma_test): Likewise.
39060         (j0_test): Likewise.
39061         (jn_test): Likewise.
39062         (nexttoward_test): Likewise.
39063         (pow_test): Likewise.
39064         (scalbn_test): Likewise.
39065         (scalbln_test): Likewise.
39066         (tan_test): Likewise.
39067         (y1_test): Likewise.
39068         * sysdeps/i386/fpu/libm-test-ulps: Update.
39069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39070
39071 2012-05-23  David S. Miller  <davem@davemloft.net>
39072
39073         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39074         (__libc_sigaction): Remove unused local variables.
39075
39076 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39077
39078         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39079
39080 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39081
39082         mktime: avoid signed integer overflow
39083         * time/mktime.c (__mktime_internal): Do not mishandle the case
39084         where diff == INT_MIN.
39085
39086         mktime: simplify computation of average
39087         * time/mktime.c (ranged_convert): Use new time_t_avg function
39088         instead of rolling our own (probably-slower) code.
39089
39090         mktime: do not assume signed right shift propagates sign bit
39091         * time/mktime.c (isdst_differ): New static function.
39092         (__mktime_internal): No need to normalize tm_isdst now.
39093         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39094         tm_isdst values.
39095
39096         mktime: merge another wrapv change from gnulib
39097         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39098         from some compilers.
39099
39100         mktime: remove incorrect attempt at unusual arithmetics
39101         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39102         The code didn't really work on such machines anyway.
39103         (TYPE_MINIMUM): Assume two's complement.
39104         (twos_complement_arithmetic): Verify that long_int and time_t
39105         are two's complement (or unsigned, in the latter case).
39106
39107         mktime: check signed shifts on long_int and time_t, too
39108         * time/mktime.c (SHR): Check that shifts work as desired
39109         on the types long_int and time_t too, as SHR is used on
39110         such types.
39111
39112         mktime: do not assume 'long' is wide enough
39113         * time/mktime.c (verify): Move decl up.
39114         (long_int): New type.
39115         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39116         to remove assumption in the code that 'long' is wide enough to
39117         store year values.  This assumption is not true on x32 and on
39118         some non-glibc platforms.
39119
39120         mktime: merge wrapv change from gnulib
39121         * time/mktime.c (WRAPV): New macro.
39122         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39123         (guess_time_tm, __mktime_internal): Do not assume that signed
39124         integer overflow wraps around; modern compilers generate code
39125         where this assumption is no longer valid.
39126
39127 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39128
39129         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39130         Replace "jmp L(pseudo_end)" with "ret".
39131         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39132         Likewise.
39133
39134 2012-05-23  Andreas Jaeger  <aj@suse.de>
39135
39136         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39137         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39138
39139 2012-05-23  Andreas Jaeger  <aj@suse.de>
39140             Maximilian Attems  <max@stro.at>
39141
39142         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39143         New macros.
39144
39145 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39146
39147         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39148         code so that pseudo_end is just ret and the stack pointer is
39149         correct also for static library in error case.
39150
39151 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39152
39153         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39154         move to syscalls.list.
39155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39159
39160         * manual/install.texi (Running make install): Do not mention Linux
39161         kernel version for which pt_chown is not needed.
39162         (Linux): Do not mention problems with nscd with 2.0 kernels.
39163         * INSTALL: Regenerated.
39164
39165 2012-05-23  Andreas Jaeger  <aj@suse.de>
39166
39167         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39168         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39169         macro.
39170         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39171         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39172         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39173         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39174         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39175         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39176         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39177         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39178         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39179         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39180         * sysdeps/unix/sysv/linux/bits/in.h
39181         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39182
39183 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39184
39185         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39186         (PREPARE_VERSION): Just use assert instead, it will be elided
39187         under [NDEBUG] anyway.
39188
39189 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39190
39191         * sysdeps/unix/sysv/linux/Makefile: Include
39192         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39193         (sysdep_routines): Remove sysctl.
39194         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39195         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39196         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39197         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39198         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39199
39200 2012-05-22  Andreas Jaeger  <aj@suse.de>
39201
39202         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39203         that pseudo_end is just ret and the stack pointer is correct also
39204         for static library in error case.
39205
39206 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39207
39208         [BZ #14122]
39209         * nss/nsswitch.c (defconfig_entries): New variable.
39210         (__nss_database_lookup): Don't leak defconfig entries.
39211         (nss_parse_service_list): Don't leak on error paths.
39212         (free_database_entries): New function.
39213         (free_defconfig): New function.
39214         (free_mem): Move common code to free_database_entries.
39215
39216 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39217
39218         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39219         Add arch_prctl.
39220         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39221
39222         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39223         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39224         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39225         New macro.
39226         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39227         (INTERNAL_SYSCALL_TYPES): Likewise.
39228         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39229         (LOAD_REGS_TYPES_[1-6]): Likewise.
39230         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39231         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39232
39233 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39234
39235         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39236         copysignl for GLIBC_2_0.
39237         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39238         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39239         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39240         logbl for GLIBC_2_0.
39241         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39242         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39243
39244 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39245
39246         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39247         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39248
39249         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39250         Use "neg %eax".
39251
39252         * time/mktime.c: Update copyright years.
39253
39254 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39255
39256         mktime: merge comment-quoting-style change from gnulib
39257         * time/mktime.c: Quote 'like this' in comments.
39258         The GNU coding standards suggest that we no longer quote `like this',
39259         as "`" and "'" are typically rendered asymmetrically nowadays.
39260         The typical gnulib style is to quote 'like this' when quoting
39261         code, and "like this" when quoting English.
39262
39263         * time/mktime.c (compile-command): Add "-I.".
39264
39265         mktime: merge mktime-internal.h change from gnulib
39266         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39267
39268         mktime: merge time_r change from gnulib
39269         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39270
39271         mktime: merge DEBUG change from gnulib
39272         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39273         case system <time.h> has a #define.
39274
39275         mktime: merge <sys/types.h> change from gnulib
39276         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39277         since <time.t> is now guaranteed to define time_t.
39278
39279         mktime: merge HAVE_CONFIG_H change from gnulib
39280         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39281
39282 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39283
39284         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39285         Use "neg %eax".
39286
39287         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39288         __rlim_t cast.
39289         (struct rusage): Use anonymous union to pad each field to
39290         __syscall_slong_t.
39291
39292 2012-05-21  David S. Miller  <davem@davemloft.net>
39293
39294         * Makefules (o-iterator): Remove .s cases.
39295         (compile-command.s): Delete.
39296         (COMPILE.s): Delete.
39297         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39298
39299 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39300
39301         * configure.in (libc_cv_predef_stack_protector): Only consider
39302         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39303         * configure: Regenerated.
39304
39305 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39306
39307         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39308         New macro.  Use R*LP on int and pointer.
39309         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39310         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39311         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39312         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39313
39314         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39315         [__WORDSIZE_TIME64_COMPAT32] instead of
39316         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39317         (struct utmp): Likewise.
39318         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39319         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39320         Renamed to ...
39321         (__WORDSIZE_TIME64_COMPAT32): This.
39322         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39323         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39324         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39325         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39326         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39327         (__WORDSIZE_TIME64_COMPAT32): New macro.
39328
39329 2012-05-21  Andreas Jaeger  <aj@suse.de>
39330
39331         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39332         only if [SHARED]. Add prototype for __wcschr_ia32.
39333
39334 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39335
39336         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39337         of %rbp unmolested in the jmp_buf while mangling the low bits.
39338         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39339         unmolested high bits of %rbp while demangling the low bits.
39340         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39341
39342 2012-05-21  Andreas Jaeger  <aj@suse.de>
39343
39344         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39345         * sunrpc/svc_simple.c: Use it for registerrpc.
39346         * sunrpc/xcrypt.c: Use it for passwd2des.
39347
39348         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39349
39350 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39351
39352         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39353         Don't define if [__SYSCALL_WORDSIZE != 32].
39354         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39355         New macro.
39356
39357 2012-05-21  Bruno Haible  <bruno@clisp.org>
39358             Andreas Jaeger  <aj@suse.de>
39359
39360         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39361         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39362         inptr and inend for must_buffer_ch.
39363         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39364         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39365         * stdio-common/Makefile (tests): Remove bug15.
39366         (bug15-ENV): Remove macro.
39367         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39368         anymore.
39369
39370 2012-05-19  Andreas Jaeger  <aj@suse.de>
39371             Roland McGrath  <roland@hack.frob.com>
39372
39373         * manual/contrib.texi: Completely rewritten. It contains now an
39374         alphabetical list of contributors and their contributions.
39375
39376 2012-05-21  Richard Henderson  <rth@twiddle.net>
39377
39378         * misc/getauxval.c (__getauxval): Use unsigned long int.
39379         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39380         (getauxval): Use unsigned long int.
39381
39382 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39383
39384         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39385
39386 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39387
39388         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39389         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39390         __alignof__ (long double).
39391
39392 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39393
39394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39395
39396 2012-05-20  Richard Henderson  <rth@twiddle.net>
39397
39398         * misc/getauxval.c: New file.
39399         * misc/sys/auxv.h: New file.
39400         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39401         (routines): Add getauxval.
39402         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39403         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39404         * elf/dl-sysdep.c (_dl_auxv): Remove.
39405         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39406         * elf/dl-support.c (_dl_auxv): New variable.
39407         (_dl_aux_init): Initialize it.
39408         * manual/startup.texi (Auxiliary Vector): New node.
39409         * sysdeps/generic/bits/hwcap.h: New file.
39410         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39411         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39412         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39413         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39414         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39415         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39417         Update.
39418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39420         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39421         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39422         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39423         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39426
39427 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39428
39429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39430
39431 2012-05-19  David S. Miller  <davem@davemloft.net>
39432
39433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39434
39435 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39436
39437         [BZ #14123]
39438         * math/s_ccosh.c: Include <float.h>
39439         (__ccosh): Avoid internal overflow calculating sinh and cosh
39440         values before multiplying by sin and cos values.
39441         * math/s_ccoshf.c: Likewise.
39442         * math/s_ccoshl.c: Likewise.
39443         * math/s_csin.c: Likewise.
39444         * math/s_csinf.c: Likewise.
39445         * math/s_csinl.c: Likewise.
39446         * math/s_csinh.c: Likewise.
39447         * math/s_csinhf.c: Likewise.
39448         * math/s_csinhl.c: Likewise.
39449         * math/libm-test.inc (ccos_test): Add more tests.
39450         (ccosh_test): Likewise.
39451         (csin_test): Likewise.
39452         (csinh_test): Likewise.
39453         * sysdeps/i386/fpu/libm-test-ulps: Update.
39454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39455
39456 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39457
39458         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39459         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39460
39461         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39462
39463 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39464
39465         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39466         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39467         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39468         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39469         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39470         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39471         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39472         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39473         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39474         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39475         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39476         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39477         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39478         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39479         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39480         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39481         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39482         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39483         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39484         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39485         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39486         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39487         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39488         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39489         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39490         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39491         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39492         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39493         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39494         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39495         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39496
39497 2012-05-18  Andreas Jaeger  <aj@suse.de>
39498
39499         * csu/.gitignore: Delete.
39500
39501 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39502
39503         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39504         (timex): Use __syscall_slong_t.
39505
39506 2012-05-18  Andreas Jaeger  <aj@suse.de>
39507             Carlos O'Donell  <carlos_odonell@mentor.com>
39508
39509         * manual/install.texi (Configuring and compiling): Update
39510         description about files modified in the source directory.
39511         * INSTALL: Regenerated.
39512
39513 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39514
39515         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39516         value.  Use "or" to set return value to -1.
39517         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39518         negate return value.
39519
39520 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39521
39522         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39523         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39524         failure if the compiler has Graphite support disabled.
39525         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39526         Likewise.
39527         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39528         (CFLAGS-memmove.c): Likewise.
39529         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39530         Likewise.
39531
39532 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39533
39534         * sysdeps/x86_64/x32/_itoa.h: New file.
39535
39536         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39537         getdents system call only if kernel and user dirents have the
39538         same d_ino and d_off.
39539
39540         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39541         LLONG_MAX != LONG_MAX.
39542         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39543         (_fitoa_word): Likewise.
39544
39545         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39546         years.
39547         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39548         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39549         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39550
39551         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39552         include <bits/wordsize.h>.  Check __x86_64__ instead of
39553         __WORDSIZE.
39554         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39555         if __x86_64__ is defined.  Use anonymous union on fpstate.
39556
39557         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39558         anonymous union.
39559
39560 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39561
39562         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39563         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39564         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39565         Refer to _rtld_local_ro instead of _rtld_global_ro.
39566         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39567         Likewise.
39568         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39569         Likewise.
39570         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39571         Likewise.
39572         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39573         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39574         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39575
39576         * sysdeps/powerpc/powerpc32/dl-machine.c
39577         (__elf_machine_runtime_setup) [PROF]: Don't reference
39578         _dl_prof_resolve.
39579
39580 2012-05-18  Andreas Jaeger  <aj@suse.de>
39581
39582         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39583         function only available for GCCs before 3.4 since GCC 3.4
39584         introduced a builtin.
39585         (lrint): Likewise.
39586         (llrintf): Likewise.
39587         (llrint): Likewise.
39588         (fmaxf): Likewise.
39589         (fmax): Likewise.
39590         (fminf): Likewise.
39591         (fmin): Likewise.
39592         (rint): Likewise.
39593         (rintf): Likewise.
39594         (nearbyint): Likewise.
39595         (nearbyintf): Likewise.
39596         (ceil): Likewise.
39597         (ceilf): Likewise.
39598         (floor): Likewise.
39599         (floorf): Likewise.
39600
39601 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39602
39603         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39604         on both fields and cast pointer to __syscall_ulong_t.
39605
39606         * bits/types.h (__fsword_t): New type.
39607         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39608         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39609         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39610         (__FSWORD_T_TYPE): Likewise.
39611         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39612         (__FSWORD_T_TYPE): Likewise.
39613         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39614         (__FSWORD_T_TYPE): Likewise.
39615         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39616         (__FSWORD_T_TYPE): Likewise.
39617         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39618         __SWORD_TYPE with __fsword_t.
39619         (statfs64): Likewise.
39620
39621 2012-05-17  David S. Miller  <davem@davemloft.net>
39622
39623         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39624
39625 2012-05-17  Andreas Jaeger  <aj@suse.de>
39626
39627         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39628         warning.
39629
39630 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39631
39632         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39633
39634 2012-05-17  Andreas Jaeger  <aj@suse.de>
39635
39636         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39637         when it is used.
39638
39639 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39640
39641         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39642
39643 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39644
39645         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39646         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39647
39648 2012-05-17  Andreas Jaeger  <aj@suse.de>
39649             Carlos O'Donell  <carlos_odonell@mentor.com>
39650
39651         [BZ #14059]
39652         * sysdeps/x86_64/multiarch/init-arch.h
39653         (bit_YMM_Usable): Rename to...
39654         (bit_AVX_Usable): ... this.
39655         (bit_FMA4_Usable): New macro.
39656         (bit_XMM_state): New macro.
39657         (bit_YMM_state): New macro.
39658         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39659         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39660         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39661         (CPUID_OSXSAVE): New macro.
39662         (CPUID_AVX): New macro.
39663         (CPUID_FMA4): New macro.
39664         (index_YMM_Usable): Rename to...
39665         (index_AVX_Usable): ... this.
39666         (HAS_AVX): Use HAS_ARCH_FEATURE.
39667         (HAS_FMA4): Likewise.
39668         (HAS_YMM_USABLE): Remove.
39669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39670         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39671         are present.
39672         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39673         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39674         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39675         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39676         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39677
39678 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39679
39680         * math/libm-test.c: Support platforms without multiple rounding modes.
39681         * math/bug-nextafter.c: Support platforms without FP exceptions.
39682         * math/bug-nexttoward.c: Likewise.
39683         * math/test-fenv.c: Likewise.
39684         * math/test-misc.c: Likewise.
39685         * stdlib/bug-getcontext.c: Likewise.
39686
39687 2012-05-17  Andreas Jaeger  <aj@suse.de>
39688
39689         * manual/examples/search.c (critter_cmp): Change signature to
39690         avoid warnings.
39691         * manual/string.texi (Collation Functions): Likewise.
39692
39693 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39694
39695         * bits/types.h: Fold copyright years.
39696         * bits/typesizes.h: Likewise.
39697         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39698         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39699         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39700         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39701         * time/time.h: Likewise.
39702
39703 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39704
39705         [BZ #208]
39706         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39707         in instead of returning them.  Return void.
39708         (__libc_mallinfo): Accumulate over all arenas.
39709         (__malloc_stats): Adjust for change in int_mallinfo interface.
39710
39711 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39712
39713         [BZ #10375]
39714         * configure.in (NM): Add AC_CHECK_TOOL for it.
39715         (libc_extra_cflags): New substituted variable.
39716         Check for -fstack-protector being used implicitly.
39717         * configure: Regenerated.
39718         * config.make.in (config-extra-cflags): New variable,
39719         gets @libc_extra_cflags@.
39720         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39721
39722         [BZ #10375]
39723         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39724         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39725         * configure: Regenerated.
39726         * config.make.in (CPPUNDEFS): New substituted variable.
39727         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39728         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39729         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39730
39731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39732
39733         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39734         (mq_attr): Use __syscall_slong_t.
39735
39736 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39737
39738         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39739         Check __x86_64__ instead of __WORDSIZE.
39740         (_STAT_VER_LINUX): Likewise.
39741         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39742         __syscall_ulong_t and __syscall_slong_t.
39743         (stat64): Likewise.
39744
39745 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39746
39747         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39748
39749 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39750
39751         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39752
39753 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39754
39755         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39756         __syscall_ulong_t.
39757
39758         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39759         include <bits/wordsize.h>.  Check __x86_64__ instead of
39760         __WORDSIZE.
39761         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39762         defined.
39763         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39764
39765         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39766         include <bits/wordsize.h>.  Check __x86_64__ instead of
39767         __WORDSIZE.
39768         (user_regs_struct): Use "__extension__ unsigned long long"
39769         instead of "unsigned long" if __x86_64__ is defined.
39770         (user): Likewise.  Pad after pointer field if __ILP32__ is
39771         defined.
39772
39773 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39774
39775         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39776         versions 5 to 9.
39777         * configure: Regenerated.
39778         * manual/install.texi (texinfo): Increase version requirement to
39779         4.5 or later.
39780         * INSTALL: Regenerated.
39781
39782         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39783
39784 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39785
39786         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39787
39788         * sysdeps/x86_64/x32/ffs.c: New file.
39789
39790         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39791         __syscall_ulong_t.
39792         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39793         defined.  Use __syscall_ulong_t.
39794         (shminfo): Use __syscall_ulong_t.
39795         (shm_info): Likewise.
39796
39797         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39798         __syscall_ulong_t.
39799
39800         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39801         <bits/wordsize.h>.
39802         (msgqnum_t): Use __syscall_ulong_t.
39803         (msglen_t): Likewise.
39804         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
39805         __syscall_ulong_t.
39806
39807         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39808         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39809
39810         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39811
39812         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39813         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39814
39815         * sysvipc/sys/msg.h (msgbuf): Replace long int with
39816         __syscall_slong_t.
39817
39818         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39819         include <bits/wordsize.h>.  Check __x86_64__ instead of
39820         __WORDSIZE.
39821
39822         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39823         "unsigned long long int" if __x86_64__ is defined.
39824         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39825
39826         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39827         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39828         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39829
39830         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39831         <stdint.h>.
39832         (GET_PC): Cast to uintptr_t first.
39833         (GET_FRAME): Likewise.
39834         (GET_STACK): Likewise.
39835
39836         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39837         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39838         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39839         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39840         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39841         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39842         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39843         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39844         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39845         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39846         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39847         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39848         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39849         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39850         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39851         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39852         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39853         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39854         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39855         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39856         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39857         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39858         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39859         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39860         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39861         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39862         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39863         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39864         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39865
39866 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
39867
39868         * Makerules (+depfiles): Also collect depfiles from .oS in
39869         $(extra-objs).
39870         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39871         .oS, $(libnldbl-routines)).
39872
39873         * Makerules (native-compile-mkdep-flags): Define.
39874         * sunrpc/Makefile (extra-objs): Add $(addprefix
39875         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39876         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39877         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
39878         calling $(make-target-directory).
39879
39880 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39881
39882         * bits/types.h (__snseconds_t): Removed.
39883         * time/time.h (struct timespec): Replace __snseconds_t with
39884         __syscall_slong_t.
39885         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39886         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39887         Likewise.
39888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39889         (__SNSECONDS_T_TYPE): Likewise.
39890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39891         (__SNSECONDS_T_TYPE): Likewise.
39892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39893         (__SNSECONDS_T_TYPE): Likewise.
39894
39895 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39896
39897         * sysdeps/mach/hurd/bits/typesizes.h
39898         (__SYSCALL_SLONG_TYPE): New macro.
39899         (__SYSCALL_ULONG_TYPE): Likewise.
39900
39901 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39902
39903         * bits/types.h (__syscall_slong_t): New type.
39904         (__syscall_ulong_t): Likewise.
39905
39906         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39907         (__SYSCALL_ULONG_TYPE): Likewise.
39908         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39909         (__SYSCALL_SLONG_TYPE): Likewise.
39910         (__SYSCALL_ULONG_TYPE): Likewise.
39911         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39912         (__SYSCALL_SLONG_TYPE): Likewise.
39913         (__SYSCALL_ULONG_TYPE): Likewise.
39914         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39915         (__SYSCALL_SLONG_TYPE): Likewise.
39916         (__SYSCALL_ULONG_TYPE): Likewise.
39917
39918 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39919
39920         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39921         Add sigaltstack-offsets.sym.
39922         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39923         <sigaltstack-offsets.h>.
39924         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
39925         longjmp_msg pointer.
39926         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
39927         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39928         signal stack.
39929         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39930
39931 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39932
39933         * elf/stackguard-macros.h: Remove file.
39934         * sysdeps/generic/stackguard-macros.h: New file.
39935         * sysdeps/i386/stackguard-macros.h: Likewise.
39936         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39937         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39938         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39939         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39940         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39941         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39942         * sysdeps/x86_64/stackguard-macros.h: Likewise.
39943         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39944         <elf/stackguard-macros.h>.
39945
39946         [BZ #14109]
39947         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39948         __aligned__ in attribute.
39949         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39950         (gregset_t): Likewise.
39951
39952 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39953
39954         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39955         * sysdeps/x86_64/64/Implies-after: Here.  New file.
39956         * sysdeps/x86_64/x32/Implies-after: New file.
39957
39958 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39959
39960         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39961         and access return value for _dl_profile_fixup.  Use R10_LP to
39962         load frame size.
39963
39964 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39965
39966         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39967
39968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39969
39970         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39971         * sysdeps/x86_64/x32/sysdep.h: New file.
39972
39973 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39974
39975         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39976         * sysdeps/x86_64/setjmp.S: Likewise.
39977
39978 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39979
39980         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39981         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39982         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39983         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39984         remove unused global constant.
39985
39986 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
39987
39988         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39989         include of <not-cancel.h>.
39990
39991 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39992
39993         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39994
39995 2012-05-15  Jeff Law  <law@redhat.com>
39996             Andreas Jaeger  <aj@suse.de>
39997
39998         [BZ #13594]
39999         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40000         out from...
40001         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40002         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40003         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40004         code changing __hst_map_handle.map.
40005
40006 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40007
40008         * configure.in (sysnames): Look for Implies-before and Implies-after
40009         files.
40010         * configure: Regenerated.
40011
40012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40013
40014         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40015         8-byte data alignment with LP_SIZE alignment.
40016
40017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40018
40019         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40020         into R10_LP.
40021
40022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40023
40024         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40025
40026 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40027
40028         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40029         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40030         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40031         Likewise.
40032         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40033
40034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40035
40036         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40037         (stackinfo_sub_sp): Likewise.
40038
40039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40040
40041         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40042         RAX_LP.
40043
40044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40045
40046         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40047         into R*_LP.
40048
40049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40050
40051         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40052         sizes into R*_LP.
40053
40054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40055
40056         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40057
40058 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40059
40060         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40061         into R11_LP and load __x86_64_shared_cache_size_half into
40062         R8_LP.
40063
40064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40065
40066         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40067         R8_LP.
40068
40069 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40070
40071         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40072         logb for POWER7.
40073         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40074         logbf for POWER7.
40075         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40076         logbl for POWER7.
40077         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40078         powerpc32/power7/fpu/s_logb.c via #include.
40079         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40080         powerpc32/power7/fpu/s_logbf.c via #include.
40081         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40082         powerpc32/power7/fpu/s_logbl.c via #include.
40083
40084 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40085
40086         * README.libm: Remove file.
40087
40088 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40089
40090         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40091         count for x32.  Use R*_LP and omit operand-size suffix.
40092
40093 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40094
40095         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40096         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40097         * sysdeps/x86_64/x32/shlib-versions: New file.
40098
40099 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40100
40101         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40102         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40103         Use _dl_fatal_printf instead.
40104
40105 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40106
40107         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40108         set if not set by the user.  Do not allow for being unset.
40109         * sysdeps/unix/sysv/linux/configure: Regenerated.
40110
40111 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40112
40113         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40114         the `q' suffix from lea and replace .quad with ASM_ADDR.
40115
40116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40117
40118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40119         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40120         instead of $17.
40121         (PTR_DEMANGLE): Likewise.
40122
40123 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40124
40125         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40126         (LP_OP): Likewise.
40127         (ASM_ADDR): Likewise.
40128         (RAX_LP): Likewise.
40129         (RBP_LP): Likewise.
40130         (RBX_LP): Likewise.
40131         (RCX_LP): Likewise.
40132         (RDI_LP): Likewise.
40133         (RSI_LP): Likewise.
40134         (RSP_LP): Likewise.
40135         (R8_LP): Likewise.
40136         (R9_LP): Likewise.
40137         (R10_LP): Likewise.
40138         (R10_LP): Likewise.
40139         (R11_LP): Likewise.
40140         (R12_LP): Likewise.
40141         (R13_LP): Likewise.
40142         (R14_LP): Likewise.
40143         (R15_LP): Likewise.
40144
40145 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40146
40147         * sysdeps/x86_64/x32/dl-machine.h: New file.
40148
40149 2012-05-14  Andreas Jaeger  <aj@suse.de>
40150
40151         * manual/Makefile (subdir): Remove export of subdir.
40152         (all): Remove target.
40153         (.PHONY): Remove all from list.
40154         (mkinstalldirs): Remove.
40155         (.PHONY): Remove installdirs from list.
40156         ($(inst_infodir)/libc.info): Use make-target-directory.
40157         (installdirs): Remove.
40158         (subdir_%): Remove.
40159         (glibc-targets): Remove.
40160         (lib): Remove.
40161         (stubs): Remove.
40162         ($(objpfx)stubs ../po/manual.pot): Remove.
40163         ($(objpfx)stamp%): Remove.
40164         (make-target-directory): Remove.
40165         (subdir_install): Remove.
40166         (routines): Remove.
40167         (aux): Remove.
40168         (sources): Remove.
40169         (objects): Remove.
40170         (headers): Remove.
40171
40172         [BZ #13750]
40173         * manual/.gitignore: Remove, it's not needed anymore.
40174         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40175         all files in it.
40176         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40177         directory.
40178         (texis): Renamed to $(objpfx)texis.
40179         (texis-path): New, contains path to generated files.
40180         (chapters.%): Use texis-path for complete path, add extra argument
40181         libc-texinfo.sh.
40182         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40183         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40184         (summary,texi, stamp-summary): Use complete path of
40185         files. Generate files in build dir.
40186         (dir-add.texi): Build in build dir.
40187         (libm-err.texi,stamp-libm-err): Likewise.
40188         (version.texi, stamp-version): Likewise.
40189         (.%c.texi): Likewise.
40190         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40191         (mostlyclean): Remove target.
40192         (realclean): Remove target.
40193         (generated): Add new variable with contents from mostlyclean and
40194         realclean, remove entries duplicated in common-mostlyclean, add
40195         stamp-libm-err and stamp-version.
40196         (generated-dirs): Add libc directory.
40197         ($(inst_infodir)/libc.info): Install files from build dir.
40198
40199         * manual/install.texi (Configuring and compiling): Adjust since
40200         the info files are not part of the tar ball anymore.
40201
40202 2012-05-14  Andreas Jaeger  <aj@suse.de>
40203
40204         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40205         variable.
40206
40207 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40208
40209         [BZ #13717]
40210         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40211         to 2.2.0 where earlier.
40212         * sysdeps/unix/sysv/linux/configure: Regenerated.
40213         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40214         Remove conditional code.
40215         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40216         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40217         Remove conditional code.
40218         [!__NR_lchown]: Likewise.
40219         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40220         [__NR_lchown]: Likewise.
40221         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40222         comment referencing __ASSUME_LCHOWN_SYSCALL.
40223         * sysdeps/unix/sysv/linux/i386/sigaction.c
40224         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40225         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40226         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40227         Remove conditional code.
40228         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40229         (__protocol_available): Remove #if 0 code.
40230         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40231         conditional code.
40232         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40233         * sysdeps/unix/sysv/linux/kernel-features.h
40234         (__ASSUME_GETCWD_SYSCALL): Don't define.
40235         (__ASSUME_REALTIME_SIGNALS): Likewise.
40236         (__ASSUME_PREAD_SYSCALL): Likewise.
40237         (__ASSUME_PWRITE_SYSCALL): Likewise.
40238         (__ASSUME_POLL_SYSCALL): Likewise.
40239         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40240         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40241         non-SPARC.
40242         (__ASSUME_SIOCGIFNAME): Don't define.
40243         (__ASSUME_MSG_NOSIGNAL): Likewise.
40244         (__ASSUME_SENDFILE): Define unconditionally.
40245         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40246         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40247         conditional code.
40248         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40249         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40250         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40251         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40252         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40253         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40254         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40256         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40257         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40259         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40260         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40262         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40263         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40265         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40266         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40268         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40269         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40271         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40272         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40274         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40275         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40277         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40278         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40279         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40280         Remove conditional code.
40281         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40282         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40283         Remove conditional code.
40284         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40285         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40286         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40287         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40288         Remove conditional code.
40289         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40290         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40291         Remove conditional code.
40292         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40293         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40294         Remove conditional code.
40295         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40296         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40297         Remove conditional code.
40298         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40299         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40300         Remove conditional code.
40301         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40302         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40303         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40304         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40305         * sysdeps/unix/sysv/linux/sigaction.c
40306         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40307         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40308         * sysdeps/unix/sysv/linux/sigpending.c
40309         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40310         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40311         * sysdeps/unix/sysv/linux/sigprocmask.c
40312         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40313         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40314         * sysdeps/unix/sysv/linux/sigsuspend.c
40315         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40316         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40317         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40318         (__libc_missing_rt_sigs): Remove.
40319         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40320         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40321         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40322         Remove conditional code.
40323         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40324         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40325         return 1.
40326         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40327         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40328         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40329         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40330
40331 2012-05-14  Andreas Jaeger  <aj@suse.de>
40332
40333         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40334         it's not used in glibc.
40335         (__coshm1): Likewise.
40336         (__acosh1p): Likewise.
40337         (__sgn): Likewise.
40338
40339         * manual/string.texi (Copying and Concatenation): Add missing
40340         variable in concat example.
40341         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40342
40343 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40344
40345         [BZ #14103]
40346         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40347         __builtin_clzl with __builtin_clzll.
40348
40349 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40350
40351         [BZ #14104]
40352         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40353         libc_freeres_ptr.
40354
40355 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40356
40357         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40358         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40359         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40360         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40361
40362 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40363
40364         * NEWS: Update ia64 info.
40365
40366 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40367
40368         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40369         used as bcopy.
40370
40371 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40372
40373         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40374         * sysdeps/unix/syscalls.list (dup3): Likewise.
40375         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40376         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40377
40378 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40379
40380         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40381         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40382
40383 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40384
40385         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40386         thread pointer.
40387         (TLS_IE): Use mov/add instead of movq/addq to load thread
40388         pointer.
40389         (TLS_GD_PREFIX): New.
40390         (TLS_GD): Use it.
40391
40392 2012-05-11  David S. Miller  <davem@davemloft.net>
40393
40394         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40395         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40396         (_FPU_SETCW): Likewise.
40397
40398 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40399
40400         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40401         is 32-byte aligned.
40402
40403 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40404
40405         [BZ #11837]
40406         * iconvdata/gb18030.c: Update tables.
40407         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40408         characters specially.
40409         (BODY for TO_LOOP): Add encoding of missing ranges.
40410
40411 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40412
40413         [BZ #13673]
40414         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40415         * sysdeps/mach/hurd/dup3.c: Likewise.
40416         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40417         * sysdeps/powerpc/memmove.c:: Likewise.
40418
40419 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40420
40421         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40422         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40423
40424 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40425
40426         * elf/elf.h (R_X86_64_RELATIVE64): New.
40427         (R_X86_64_NUM): Updated.
40428         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40429         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40430         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40431         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40432         tst-quad1pie tst-quad2pie
40433         (modules-names): Add tst-quadmod1 tst-quadmod2.
40434         ($(objpfx)tst-quad1): New dependency.
40435         ($(objpfx)tst-quad2): Likewise.
40436         ($(objpfx)tst-quad1pie): Likewise.
40437         ($(objpfx)tst-quad2pie): Likewise.
40438         * sysdeps/x86_64/tst-quad1.c: New file.
40439         * sysdeps/x86_64/tst-quad1pie.c: New file.
40440         * sysdeps/x86_64/tst-quad2.c: Likewise.
40441         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40442         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40443         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40444         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40445         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40446
40447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40448
40449         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40450         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40451         * streams/stropts.h (t_scalar_t): Define type.
40452
40453         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40454         (_PATH_PRESERVE): Set to "/var/lib".
40455         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40456
40457         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40458         instead of int.
40459
40460         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40461         if __dir_mkfile succeeded.
40462
40463         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40464         checking for _hurd_dtablesize.  Unlock it right after having
40465         finished _hurd_dtable allocation.
40466
40467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40468
40469         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40470         * sysdeps/mach/hurd/configure: Regenerated.
40471         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40472         special-casing to...
40473         * sysdeps/gnu/configure.in: ... this new file.
40474         * sysdeps/unix/sysv/linux/configure: Regenerated.
40475         * sysdeps/gnu/configure: New generated file.
40476
40477         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40478         for Linux: use nsec instead of usec, as well as:
40479         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40480         members of type struct timespec.
40481         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40482         New macros.
40483         (struct stat64): Likewise.
40484         (_STATBUF_ST_NSEC): New macro.
40485         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40486
40487         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40488         __strtoul_internal rather than strtoul.
40489
40490 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40491
40492         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40493         and reject them.
40494
40495 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40496
40497         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40498         which preserves existing values.
40499         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40500
40501 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40502
40503         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40504         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40505         greater than FD_SETSIZE.
40506
40507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40508
40509         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40510         allocated, call __vm_protect to finish enabling the existing space, and
40511         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40512         allocate the remainder.
40513
40514 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40515
40516         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40517         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40518
40519 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40520
40521         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40522         sysdeps/mach/hurd/readlink.c.
40523
40524         * posix/tst-sysconf.c (posix_options): Only use
40525         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40526         _POSIX_SYNCHRONIZED_IO when they are defined
40527         * sysdeps/mach/hurd/bits/posix_opt.h:
40528         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40529         (_XOPEN_REALTIME): Undefine macro.
40530         (_XOPEN_REALTIME_THREADS): Undefine macro.
40531         (_XOPEN_SHM): Undefine macro.
40532         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40533         macro to -1.
40534         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40535         macro to -1.
40536         (_POSIX_ASYNC_IO): Undefine macro.
40537         (_POSIX_PRIORITIZED_IO): Undefine macro.
40538         (_POSIX_SPIN_LOCKS): Define macro to -1.
40539
40540         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40541         SA_NODEFER, SA_RESETHAND.
40542         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40543         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40544         F_DUPFD_CLOEXEC.
40545
40546 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40547
40548         * elf/Makefile (pldd-modules): Define unconditionally.
40549
40550 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40551
40552         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40553
40554 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40555
40556         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40557         Return ENOENT when name is empty.
40558         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40559
40560 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40561
40562         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40563
40564         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40565
40566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40567
40568         Fix mlock in all cases except non-readable pages.
40569         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40570         instead of VM_PROT_ALL as parameter to __vm_wire function.
40571
40572         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40573         (__mkdir): When path is `/', just fail with EEXIST.
40574         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40575
40576 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40577
40578         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40579         <sys/uio.h> (for writev).
40580         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40581         and <sys/param.h> (for MIN).
40582
40583 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40584
40585         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40586         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40587         if interrupted.
40588
40589 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40590
40591         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40592         Depend on against $(link-rpcuserlibs).
40593
40594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40595
40596         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40597         (__libc_stack_end): Do not use attribute_relro.
40598         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40599         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40600         to libthread-provided value.
40601         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40602         attribute_relro.
40603
40604 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40605
40606         [BZ #3748]
40607         * bits/libc-lock.h (__libc_once_get): New macro.
40608         * sysdeps/mach/bits/libc-lock.h: Likewise.
40609         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40610         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40611         instead of using implementation details.
40612
40613         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40614         * libio/freopen.c: Likewise.
40615         * libio/freopen64.c: Likewise.
40616         * misc/syslog.c: Likewise.
40617         * nscd/connections.c: Likewise.
40618         * nscd/netgroupcache.c: Likewise.
40619         * sysdeps/posix/getcwd.c: Likewise.
40620
40621 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40622
40623         * math/w_ilogbf.c: Add #include <limits.h>.
40624
40625 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40626
40627         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40628         path instead of returning without unlocking.
40629
40630         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40631         immediate-write ioctls.
40632         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40633
40634 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40635
40636         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40637         __builtin_frame_address instead of making assumptions about the
40638         location of the return address relative to DATA.  Force early load of
40639         the return address.
40640         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40641         __builtin_frame_address.
40642
40643         dup3 for GNU Hurd.
40644         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40645         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40646         implement dup3 and do some further code clean-ups.
40647         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40648         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40649
40650 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40651
40652         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40653
40654         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40655         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40656         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40657         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40658         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40659         d->port.lock.
40660
40661         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40662         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40663         when handler == SIG_ERR, not when handler != SIG_ERR.
40664
40665 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40666
40667         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40668         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40669         definitions.
40670
40671         accept4 for GNU Hurd.
40672         * include/sys/socket.h (__libc_accept4): New prototype.
40673         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40674         to implement __libc_accept4.
40675         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40676         __libc_accept4.
40677         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40678
40679         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40680         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40681         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40682         signal-defines.sym.
40683
40684 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40685
40686         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40687
40688 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40689
40690         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40691         assertion on O_CLOEXEC flag.
40692         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40693         * hurd/intern-fd.c: Likewise.
40694         * hurd/port2fd.c: Likewise.
40695
40696 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40697
40698         [BZ #3906]
40699         * bits/in.h (IPV6_PKTINFO): Define new macro.
40700         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40701
40702 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40703
40704         [BZ #13954]
40705         [BZ #13955]
40706         [BZ #13956]
40707         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40708         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40709         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40710         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40711         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40712         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40713         * math/libm-test.inc (logb_test) : Additional logb tests.
40714
40715 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40716             Andreas Jaeger  <aj@suse.de>
40717
40718         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40719         * configure: Regenerated.
40720         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40721         * config.make.in (link-obsolete-rpc): New substituted variable.
40722         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40723         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40724         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40725         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40726         so that libc.a contains the symbols.
40727         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40728         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40729         * sunrpc/auth_none.c: Likewise.
40730         * sunrpc/auth_unix.c: Likewise.
40731         * sunrpc/authdes_prot.c: Likewise.
40732         * sunrpc/authuxprot.c: Likewise.
40733         * sunrpc/clnt_gen.c: Likewise.
40734         * sunrpc/clnt_perr.c: Likewise.
40735         * sunrpc/clnt_raw.c: Likewise.
40736         * sunrpc/clnt_simp.c: Likewise.
40737         * sunrpc/clnt_tcp.c: Likewise.
40738         * sunrpc/clnt_udp.c: Likewise.
40739         * sunrpc/clnt_unix.c: Likewise.
40740         * sunrpc/des_crypt.c: Likewise.
40741         * sunrpc/des_soft.c: Likewise.
40742         * sunrpc/get_myaddr.c: Likewise.
40743         * sunrpc/key_call.c: Likewise.
40744         * sunrpc/key_prot.c: Likewise.
40745         * sunrpc/netname.c: Likewise.
40746         * sunrpc/pm_getmaps.c: Likewise.
40747         * sunrpc/pm_getport.c: Likewise.
40748         * sunrpc/pmap_clnt.c: Likewise.
40749         * sunrpc/pmap_prot.c: Likewise.
40750         * sunrpc/pmap_prot2.c: Likewise.
40751         * sunrpc/pmap_rmt.c: Likewise.
40752         * sunrpc/publickey.c: Likewise.
40753         * sunrpc/rpc_cmsg.c: Likewise.
40754         * sunrpc/rpc_common.c: Likewise.
40755         * sunrpc/rpc_dtable.c: Likewise.
40756         * sunrpc/rpc_prot.c: Likewise.
40757         * sunrpc/rpc_thread.c: Likewise.
40758         * sunrpc/rtime.c: Likewise.
40759         * sunrpc/svc.c: Likewise.
40760         * sunrpc/svc_auth.c: Likewise.
40761         * sunrpc/svc_raw.c: Likewise.
40762         * sunrpc/svc_run.c: Likewise.
40763         * sunrpc/svc_tcp.c: Likewise.
40764         * sunrpc/svc_udp.c: Likewise.
40765         * sunrpc/svc_unix.c: Likewise.
40766         * sunrpc/svcauth_des.c: Likewise.
40767         * sunrpc/xcrypt.c: Likewise.
40768         * sunrpc/xdr.c: Likewise.
40769         * sunrpc/xdr_array.c: Likewise.
40770         * sunrpc/xdr_float.c: Likewise.
40771         * sunrpc/xdr_intXX_t.c: Likewise.
40772         * sunrpc/xdr_mem.c: Likewise.
40773         * sunrpc/xdr_rec.c: Likewise.
40774         * sunrpc/xdr_ref.c: Likewise.
40775         * sunrpc/xdr_sizeof.c: Likewise.
40776         * sunrpc/xdr_stdio.c: Likewise.
40777
40778 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40779
40780         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40781         change.  Update copyright years.
40782
40783 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40784
40785         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40786
40787 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
40788             Joseph Myers  <joseph@codesourcery.com>
40789             Paul Pluzhnikov  <ppluzhnikov@google.com>
40790
40791         [BZ #14012]
40792         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40793         requiring rpcgen.
40794         [cross-compiling] (extra-libs): Likewise.
40795         [cross-compiling] (extra-libs-others): Likewise.
40796         [cross-compiling] (librpcsvc-routines): Likewise.
40797         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40798         [cross-compiling] (omit-deps): Likewise.
40799         (sunrpc-CPPFLAGS): New variable.
40800         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40801         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40802         (cross-rpcgen-objs): New variable.
40803         (extra-objs): Append $(cross-rpcgen-objs).
40804         ($(cross-rpcgen-objs)): New rule.
40805         ($(objpfx)cross-rpcgen): Likewise.
40806         (rpcgen-cmd): Define to use $(built-program-file).  Expand
40807         comment.
40808         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40809         ($(objpfx)x%.stmp): Likewise.
40810         * sunrpc/proto.h [IS_IN_build] (_): Define.
40811         [IS_IN_build] (_libc_intl_domainname): Likewise.
40812
40813 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40814
40815         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40816         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40817         and R_X86_64_TPOFF64.
40818
40819 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40820
40821         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40822         sysdeps/unix/sysv/syscalls.list.
40823         (stime): Likewise.
40824         (utime): Likewise.
40825         * sysdeps/unix/sysv/syscalls.list: Remove file.
40826
40827 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
40828
40829         [BZ #3440]
40830         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40831         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40832         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40833         (__LC_IDENTIFICATION): Make these macros useful in #if
40834         expressions, as required by C99.
40835
40836 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
40837
40838         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40839         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
40840         after this.
40841
40842 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
40843
40844         * stdlib/longlong.h: Updated from GCC.
40845
40846 2012-05-09  Andreas Jaeger  <aj@suse.de>
40847
40848         * nscd/nscd.c (run_modes): Make named enum, reorder so that
40849         default is first entry.
40850         (run_mode): Set type.
40851         (main): Remove informal message about syslog.
40852         (options): Fix typo.
40853
40854         [BZ #14053]
40855         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40856         to asm.
40857         (lrint): Likewise.
40858         (llrintf): Likewise.
40859         (llrint): Likewise.
40860         (rint): Likewise.
40861         (rintf): Likewise.
40862         (nearbyint): Likewise.
40863         (nearbyintf): Likewise.
40864
40865 2012-05-09  Andreas Jaeger  <aj@suse.de>
40866             Pedro Alves  <palves@redhat.com>
40867
40868         * nscd/nscd.c (run_mode): Use enum.
40869         (main): Cleanup coding style issue.
40870
40871 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
40872             Andreas Jaeger  <aj@suse.de>
40873
40874         * nscd/nscd.c (go_background): Replaced with...
40875         (run_mode): ... this.
40876         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40877         (options): Add -F --foreground.
40878         (main): Implement it.
40879         (parse_opt): Parse it.
40880
40881 2012-05-09  Andreas Jaeger  <aj@suse.de>
40882
40883         [BZ #14083]
40884         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40885         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40886         -Wconversion warning.
40887         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40888         Likewise.
40889
40890 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
40891
40892         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
40893         == 0.
40894         (LC_ALL): Use macro-int-constant.
40895         (LC_COLLATE): Likewise.
40896         (LC_CTYPE): Likewise.
40897         (LC_MESSAGES): Likewise.
40898         (LC_MONETARY): Likewise.
40899         (LC_NUMERIC): Likewise.
40900         (LC_TIME): Likewise.
40901         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40902         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40903         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40904         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40905         Specify type.
40906         [C99-based standards] (float_t): Expect type.
40907         [C99-based standards] (double_t): Expect type.
40908         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
40909         type.
40910         [C99-based standards] (HUGE_VALL): Likewise.
40911         [C99-based standards] (INFINITY): Likewise.
40912         [C99-based standards] (NAN): Likewise.
40913         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40914         [C99-based standards] (FP_NAN): Likewise.
40915         [C99-based standards] (FP_NORMAL): Likewise.
40916         [C99-based standards] (FP_SUBNORMAL): Likewise.
40917         [C99-based standards] (FP_ZERO): Likewise.
40918         [C99-based standards] (FP_FAST_FMA): Use
40919         optional-macro-int-constant.  Specify type.  Require == 1.
40920         [C99-based standards] (FP_FAST_FMAF): Likewise.
40921         [C99-based standards] (FP_FAST_FMAL): Likewise.
40922         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40923         [C99-based standards] (FP_ILOGBNAN): Likewise.
40924         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40925         Specify type.
40926         [C99-based standards] (MATH_ERREXCEPT): Likewise.
40927         [C99-based standards] (math_errhandling): Specify type.
40928         [ISO99 || ISO11] (signgam): Do not allow.
40929         [non-C99-based standards] (copysignf): Do not allow.
40930         [non-C99-based standards] (exp2f): Likewise.
40931         [non-C99-based standards] (log2f): Likewise.
40932         [non-C99-based standards] (modff): Allow.
40933         [non-C99-based standards] (erff): Do not allow.
40934         [non-C99-based standards] (erfcf): Likewise.
40935         [non-C99-based standards] (gammaf): Likewise.
40936         [non-C99-based standards] (hypotf): Likewise.
40937         [non-C99-based standards] (j0f): Likewise.
40938         [non-C99-based standards] (j1f): Likewise.
40939         [non-C99-based standards] (jnf): Likewise.
40940         [non-C99-based standards] (lgammaf): Likewise.
40941         [non-C99-based standards] (tgammaf): Likewise.
40942         [non-C99-based standards] (y0f): Likewise.
40943         [non-C99-based standards] (y1f): Likewise.
40944         [non-C99-based standards] (ynf): Likewise.
40945         [non-C99-based standards] (isnanf): Likewise.
40946         [non-C99-based standards] (acoshf): Likewise.
40947         [non-C99-based standards] (asinhf): Likewise.
40948         [non-C99-based standards] (atanhf): Likewise.
40949         [non-C99-based standards] (cbrtf): Likewise.
40950         [non-C99-based standards] (expm1f): Likewise.
40951         [non-C99-based standards] (ilogbf): Likewise.
40952         [non-C99-based standards] (log1pf): Likewise.
40953         [non-C99-based standards] (logbf): Likewise.
40954         [non-C99-based standards] (nextafterf): Likewise.
40955         [non-C99-based standards] (remainderf): Likewise.
40956         [non-C99-based standards] (rintf): Likewise.
40957         [non-C99-based standards] (scalbf): Likewise.
40958         [non-C99-based standards] (copysignl): Likewise.
40959         [non-C99-based standards] (exp2l): Likewise.
40960         [non-C99-based standards] (log2l): Likewise.
40961         [non-C99-based standards] (modfl): Allow.
40962         [non-C99-based standards] (erfl): Do not allow.
40963         [non-C99-based standards] (erfcl): Likewise.
40964         [non-C99-based standards] (gammal): Likewise.
40965         [non-C99-based standards] (hypotl): Likewise.
40966         [non-C99-based standards] (j0l): Likewise.
40967         [non-C99-based standards] (j1l): Likewise.
40968         [non-C99-based standards] (jnl): Likewise.
40969         [non-C99-based standards] (lgammal): Likewise.
40970         [non-C99-based standards] (tgammal): Likewise.
40971         [non-C99-based standards] (y0l): Likewise.
40972         [non-C99-based standards] (y1l): Likewise.
40973         [non-C99-based standards] (ynl): Likewise.
40974         [non-C99-based standards] (isnanl): Likewise.
40975         [non-C99-based standards] (acoshl): Likewise.
40976         [non-C99-based standards] (asinhl): Likewise.
40977         [non-C99-based standards] (atanhl): Likewise.
40978         [non-C99-based standards] (cbrtl): Likewise.
40979         [non-C99-based standards] (expm1l): Likewise.
40980         [non-C99-based standards] (ilogbl): Likewise.
40981         [non-C99-based standards] (log1pl): Likewise.
40982         [non-C99-based standards] (logbl): Likewise.
40983         [non-C99-based standards] (nextafterl): Likewise.
40984         [non-C99-based standards] (remainderl): Likewise.
40985         [non-C99-based standards] (rintl): Likewise.
40986         [non-C99-based standards] (scalbl): Likewise.
40987         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40988         [non-C99-based standards] (FP_*): Do not allow.
40989         [C99-based standards] (FP_*): Change to
40990         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40991         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40992         allow.
40993         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40994         (SIG_ERR): Likewise.
40995         [X/Open-based standards] (SIG_HOLD): Likewise.
40996         (SIG_IGN): Likewise.
40997         (SIGABRT): Use macro-int-constant.  Specify type.  Require
40998         positive value.
40999         (SIGFPE): Likewise.
41000         (SIGILL): Likewise.
41001         (SIGINT): Likewise.
41002         (SIGSEGV): Likewise.
41003         (SIGTER): Likewise.
41004         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41005         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41006         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41007         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41008         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41009         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41010         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41011         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41012         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41013         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41014         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41015         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41016         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41017         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41018         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41019         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41020         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41021         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41022         [X/Open-based standards] (SIGTRAP): Likewise.
41023         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41024         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41025         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41026         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41027         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41028         allow.
41029
41030 2012-05-08  Ian Wienand  <ianw@vmware.com>
41031
41032         [BZ #14080]
41033         * time/tzset.c (__tzset_parse_tz): Update default rules for
41034         daylight time changes in the Energy Policy Act of 2005.
41035
41036 2012-05-09  Andreas Jaeger  <aj@suse.de>
41037
41038         [BZ #13983]
41039         * elf/ldconfig.c (parse_conf): Change string to make clear that
41040         ldconfig only issued a warning if ld.so.conf does not exist.
41041
41042 2012-05-08  David S. Miller  <davem@davemloft.net>
41043
41044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41045         movxtod instead of popping the value on the stack.
41046
41047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41048
41049 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41050
41051         * config.h.in: Add HAVE_ARM_PCS_VFP.
41052
41053 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41054
41055         [BZ #13979]
41056         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41057         checking but the checks are disabled for any reason.
41058
41059 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41060
41061         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41062         and ELF64_R_TYPE with ELFW(R_TYPE).
41063
41064 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41065
41066         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41067         (ulimit): Likewise.
41068
41069         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41070         (settimeofday): Likewise.
41071
41072 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41073
41074         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41075         a struct th_u2 inside the union, and move tu_block/tu_code into
41076         a new th_u3 union of tu_block/tu_code inside of that.  Move
41077         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41078         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41079         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41080         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41081         (th_stuff): Change to th_u1.tu_stuff.
41082         (th_data): Define.
41083         (th_msg): Change to th_u1.th_u2.tu_data.
41084
41085 2012-05-07  David S. Miller  <davem@davemloft.net>
41086
41087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41088
41089         [BZ #14074]
41090         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41091         (SETUP_PIC_REG): Use it.
41092         (SETUP_PIC_REG_LEAF): Use it.
41093
41094 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41095
41096         [BZ #13885]
41097         [BZ #13923]
41098         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41099         USE_AS_EXPM1L.
41100         (EXPL_FINITE): Likewise.
41101         (FLDLOG): Likewise.
41102         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41103         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41104         e_expl.S.
41105         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41106         USE_AS_EXPM1L.
41107         (EXPL_FINITE): Likewise.
41108         (FLDLOG): Likewise.
41109         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41110         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41111         e_expl.S.
41112         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41113         test of -max_value argument for long double.
41114         * sysdeps/i386/fpu/libm-test-ulps: Update.
41115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41116
41117 2012-05-06  David S. Miller  <davem@davemloft.net>
41118
41119         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41120         quad soft-float symbols whose references which are compiler
41121         generated.
41122         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41123
41124 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41125
41126         [BZ #13884]
41127         [BZ #13914]
41128         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41129         USE_AS_EXP10L.
41130         (EXPL_FINITE): Likewise.
41131         (FLDLOG): Likewise.
41132         (c0): Likewise.
41133         (c1): Likewise.
41134         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41135         Adjust comments for base varying.
41136         (__expl_finite): Change alias to EXPL_FINITE.
41137         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41138         e_expl.S.
41139         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41140         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41141         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41142         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41143         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41144         USE_AS_EXP10L.
41145         (EXPL_FINITE): Likewise.
41146         (FLDLOG): Likewise.
41147         (c0): Likewise.
41148         (c1): Likewise.
41149         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41150         Adjust comments for base varying.
41151         (__expl_finite): Change alias to EXPL_FINITE.
41152         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41153         tests for bugs.
41154         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41155
41156         [BZ #14064]
41157         * math/libm-test.inc (check_float_internal): Correct ulp
41158         calculation for subnormal expected results.
41159
41160 2012-05-06  Andreas Jaeger  <aj@suse.de>
41161
41162         * Makeconfig (+math-flags): New, set to -frounding-math.
41163         (+cflags): Add +math-flags so that all of glibc gets compiled with
41164         it.
41165
41166         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41167
41168 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41169
41170         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41171         Disable one test.
41172
41173         [BZ #13787]
41174         [BZ #13922]
41175         [BZ #14036]
41176         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41177         (__ieee754_expl): Allow for and saturate large arguments.
41178         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41179         (u_threshold): Likewise.
41180         (__exp): Call __ieee754_exp before checking for overflow and
41181         underflow.
41182         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41183         (u_threshold): Likewise.
41184         (__expf): Call __ieee754_expf before checking for overflow and
41185         underflow.
41186         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41187         (u_threshold): Likewise.
41188         (__expl): Call __ieee754_expl before checking for overflow and
41189         underflow.
41190         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41191         (__ieee754_expl): Allow for and saturate large arguments.
41192         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41193         missing overflow exception on overflow.
41194         (expm1_test): Do not allow missing overflow exception on overflow.
41195
41196         * sysdeps/i386/fpu/e_expl.c: Move to ...
41197         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41198         rather than using inline asm.
41199         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41200         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41201         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41202
41203         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41204         (nice): Likewise.
41205         (poll): Likewise.
41206         (signal): Likewise.
41207         (time): Likewise.
41208         (times): Likewise.
41209
41210 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41211
41212         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41213         sysdeps/unix/common/syscalls.list.
41214         (fchmod): Likewise.
41215         (fchown): Likewise.
41216         (ftruncate): Likewise.
41217         (getrusage): Likewise.
41218         (gettimeofday): Likewise.
41219         (setpgid): Likewise.
41220         (setregid): Likewise.
41221         (setreuid): Likewise.
41222         (sigaction): Likewise.
41223         (truncate): Likewise.
41224         (vhangup): Likewise.
41225         * sysdeps/unix/common/syscalls.list: Remove file.
41226         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41227         * sysdeps/unix/sysv/linux/Implies: Likewise.
41228
41229 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41230
41231         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41233         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41234         Moved to ...
41235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41236         Here.
41237         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41238         to ...
41239         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41240         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41241         to ...
41242         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41243         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41244         to ...
41245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41246         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41247         to ...
41248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41249         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41250         to ...
41251         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41252         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41253         to ...
41254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41255         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41256         to ...
41257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41258         Here.
41259         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41260         to ...
41261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41262         Here.
41263         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41264         to ...
41265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41266         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41267         Moved to ...
41268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41269         Here.
41270         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41271         to ...
41272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41273
41274 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41275
41276         * sysdeps/unix/common/bits/dirent.h: Remove file.
41277         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41278
41279         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41280         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41281         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41282         * sysdeps/unix/bsd/isatty.c: Likewise.
41283         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41284         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41285         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41286
41287 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41288
41289         [BZ #13563]
41290         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41291         long double comparison inaccuracies.
41292         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41293         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41294
41295 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41296
41297         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41299
41300 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41301
41302         [BZ #14049]
41303         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41304         nonzero digits before rounding a hex value.
41305         * stdlib/tst-strtod.c (tests): Add another test.
41306
41307 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41308
41309         * sysdeps/s390/fpu/libm-test-ulps: Update.
41310
41311 2012-05-03  Andreas Jaeger  <aj@suse.de>
41312
41313         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41314         does not get optimized out.
41315         (malloc_opt_barrier): New.
41316
41317 2012-05-03  Andreas Jaeger  <aj@suse.de>
41318             Roland McGrath  <roland@hack.frob.com>
41319
41320         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41321         intermediate file deletion.
41322         (generated): Add .symlist files.
41323
41324 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41325
41326         [BZ #13775]
41327         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41328         Redirect under this condition.
41329         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41330         [__USE_GNU] (__dprintf_chk): Not under this condition.
41331         [__USE_GNU] (__vdprintf_chk): Likewise.
41332         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41333         under this condition.
41334         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41335         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41336         [__USE_XOPEN2K8] (vdprintf): Likewise.
41337         [__USE_GNU] (__dprintf_chk): Not under this condition.
41338         [__USE_GNU] (__vdprintf_chk): Likewise.
41339         [__USE_GNU] (dprintf): Likewise.
41340         [__USE_GNU] (vdprintf): Likewise.
41341
41342 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41343
41344         * elf/Makefile (common-generated): Set this instead of generated for
41345         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41346         $(all-built-dso)-derived lists.
41347
41348 2012-05-03  Andreas Jaeger  <aj@suse.de>
41349
41350         * sysdeps/i386/fpu/libm-test-ulps: Update.
41351
41352         * FAQ: Removed.
41353         * FAQ.in: Likewise.
41354         * scripts/gen-FAQ.pl: Likewise.
41355         * manual/install.texi (Installation): Point to online location of
41356         FAQ.
41357         * Makefile (files-for-dist): Remove FAQ.
41358         (FAQ): Remove.
41359
41360 2012-05-02  Allan McRae  <allan@archlinux.org>
41361
41362         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41363         (LDFLAGS-reldepmod5.so): Likewise.
41364         (LDFLAGS-reldep6mod1.so): Likewise.
41365         (LDFLAGS-reldep6mod4.so): Likewise.
41366         (LDFLAGS-reldep8mod3.so): Likewise.
41367         (LDFLAGS-unload4mod1.so): Likewise.
41368         (LDFLAGS-unload4mod2.so): Likewise.
41369         (LDFLAGS-tst-initorder): Likewise.
41370         (LDFLAGS-tst-initordera2.so): Likewise.
41371         (LDFLAGS-tst-initordera3.so): Likewise.
41372         (LDFLAGS-tst-initordera4.so): Likewise.
41373         (LDFLAGS-tst-initorderb2.so): Likewise.
41374         (LDFLAGS-noload): Likewise.
41375         (LDFLAGS-next): Likewise.
41376         (LDFLAGS-order2mod1.so): Likewise.
41377         (LDFLAGS-order2mod2.so): Likewise.
41378         (LDFLAGS-tst-initorder2): Likewise.
41379         (LDFLAGS-tst-initorder2a.so): Likewise.
41380         (LDFLAGS-tst-initorder2b.so): Likewise.
41381         (LDFLAGS-tst-initorder2c.so): Likewise.
41382         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41383
41384 2012-05-02  David S. Miller  <davem@davemloft.net>
41385
41386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41387
41388 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41389
41390         [BZ #14055]
41391         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41392
41393 2012-05-02  Andreas Jaeger  <aj@suse.de>
41394
41395         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41396         since we manipulate rounding mode.
41397         (CPPFLAGS-test-idouble.c): Likewise.
41398         (CPPFLAGS-test-ifloat.c): Likewise.
41399         (CFLAGS-test-ldouble.c): Likewise.
41400         (CFLAGS-test-double.c): Likewise.
41401         (CFLAGS-test-float.c): Likewise.
41402         (CFLAGS-test-misc.c): Likewise.
41403         (CFLAGS-test-test-fenv.c): Likewise.
41404
41405 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41406
41407         [BZ #2550]
41408         [BZ #2570]
41409         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41410         comparisons to determine direction to adjust input.
41411
41412 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41413
41414         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41415         output to the target.
41416
41417         * scripts/localplt.awk: New file.
41418         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41419         (check-localplt-CFLAGS): Variable removed.
41420         ($(all-built-dso:=.jmprel)): New static pattern rule.
41421         (generated): Add those targets.
41422         (localplt-built-dso): New variable.
41423         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41424
41425         * elf/check-localplt.c: File removed.
41426
41427         * scripts/check-execstack.awk: New file.
41428         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41429         (check-execstack-CFLAGS): Variable removed.
41430         ($(objpfx)check-execstack.h): Target removed.
41431         ($(objpfx)execstack-default): New target.
41432         (generated): Add that instead of check-execstack.h.
41433         ($(all-built-dso:=.phdr)): New static pattern rule.
41434         (generated): Add those targets.
41435         * elf/check-execstack.c: File removed.
41436
41437         * scripts/check-textrel.awk: New file.
41438         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41439         (check-textrel-CFLAGS): Variable removed.
41440         (all-built-dso): Use := to define.o
41441         ($(all-built-dso:=.dyn)): New static pattern rule.
41442         (generated): Add those targets.
41443         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41444         * config.make.in (READELF): New substituted variable.
41445         * elf/check-textrel.c: File removed.
41446
41447 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41448
41449         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41450         allow.
41451         * conform/data/ctype.h-data [C99-based standards] (isblank):
41452         Expect function.
41453         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41454         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41455         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41456         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41457         Specify type.  Require positive value.
41458         (EILSEQ): Likewise.
41459         (ERANGE): Likewise.
41460         [ISO || POSIX] (EILSEQ): Do not expect.
41461         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41462         Specify type.  Require positive value.
41463         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41464         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41465         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41466         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41467         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41468         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41469         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41470         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41471         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41472         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41473         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41474         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41475         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41476         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41477         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41478         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41479         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41480         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41481         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41482         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41483         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41484         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41485         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41486         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41487         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41488         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41489         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41490         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41491         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41492         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41493         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41494         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41495         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41496         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41497         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41498         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41499         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41500         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41501         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41502         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41503         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41504         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41505         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41506         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41507         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41508         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41509         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41510         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41511         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41512         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41513         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41514         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41515         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41516         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41517         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41518         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41519         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41520         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41521         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41522         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41523         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41524         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41525         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41526         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41527         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41528         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41529         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41530         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41531         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41532         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41533         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41534         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41535         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41536         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41537         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41538         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41539         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41540         Require >= 2.
41541         (FLT_ROUNDS): Expect as macro, not constant.
41542         (FLT_MANT_DIG): Use macro-int-constant.
41543         (DBL_MANT_DIG): Likewise.
41544         (LDBL_MANT_DIG): Likewise.
41545         (FLT_DIG): Likewise.
41546         (DBL_DIG): Likewise.
41547         (LDBL_DIG): Likewise.
41548         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41549         (DBL_MIN_EXP): Likewise.
41550         (LDBL_MIN_EXP): Likewise.
41551         (FLT_MAX_EXP): Use macro-int-constant.
41552         (DBL_MAX_EXP): Likewise.
41553         (LDBL_MAX_EXP): Likewise.
41554         (FLT_MAX_10_EXP): Likewise.
41555         (DBL_MAX_10_EXP): Likewise.
41556         (LDBL_MAX_10_EXP): Likewise.
41557         (FLT_MAX): Use macro-constant.
41558         (DBL_MAX): Likewise.
41559         (LDBL_MAX): Likewise.
41560         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41561         (DBL_EPSILON): Likewise.
41562         (LDBL_EPSILON): Likewise.
41563         (FLT_MIN): Likewise.
41564         (DBL_MIN): Likewise.
41565         (LDBL_MIN): Likewise.
41566         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41567         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41568         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41569         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41570         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41571         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41572         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41573         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41574         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41575         [ISO11] (FLT_TRUE_MIN): Likewise.
41576         [ISO11] (LDBL_TRUE_MIN): Likewise.
41577         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41578         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41579         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41580         (SCHAR_MAX): Likewise.
41581         (UCHAR_MAX): Likewise.
41582         (CHAR_MIN): Likewise.
41583         (CHAR_MAX): Likewise.
41584         (MB_LEN_MAX): Use macro-int-constant.
41585         (SHRT_MIN): Use macro-int-constant.  Specify type.
41586         (SHRT_MAX): Likewise.
41587         (USHRT_MAX): Likewise.
41588         (INT_MAX): Likewise.
41589         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41590         bound negative.
41591         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41592         bound with "U".
41593         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41594         bound with "L".
41595         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41596         bound negative.  Suffix upper bound with "L".
41597         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41598         bound with "UL".
41599         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41600         Specify type.
41601         [C99-based standards] (LLONG_MAX): Likewise.
41602         [C99-based standards] (ULLONG_MAX): Likewise.
41603         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41604         == 0.
41605         [ISO11] (max_align_t): Require type.
41606         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41607
41608         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41609         from $CFLAGS, without defining away __attribute__ calls.
41610         (checknamespace): Use $CFLAGS_namespace.
41611
41612         * conform/conformtest.pl (@keywords): Only include C99 keywords
41613         for standards based on C99 or C11.
41614
41615         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41616         Disable tests.
41617         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41618         UNIX98]: Likewise.
41619
41620         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41621         usability of symbols in #if.
41622
41623         * conform/conformtest.pl: If macro or constant types start
41624         "promoted:", expect the symbol to be of the following type
41625         promoted by the integer promotions.
41626
41627         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41628         in one place.  Also handle "macro-constant".
41629
41630         * conform/conformtest.pl: Only accept expected macro values with
41631         "==".  Parse all "macro" lines in one place.
41632         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41633
41634         * conform/conformtest.pl: Handle braced types on "constant" lines
41635         instead of handling "typed-constant".
41636         * conform/data/signal.h-data: Use "constant" instead of
41637         "typed-constant".
41638
41639         * conform/conformtest.pl: Handle "optional-" at start of lines in
41640         one place rather than duplicating several cases.  Handle each
41641         format of "macro" line with initial "optional-".
41642
41643         * conform/conformtest.pl: Only accept expected constant or
41644         optional-constant values with "==".  Parse all "constant" lines in
41645         one place.  Parse all "optional-constant" lines in one place.
41646         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41647         * conform/data/fmtmsg.h-data: Likewise.
41648         * conform/data/netinet/in.h-data: Likewise.
41649         * conform/data/tar.h-data: Likewise.
41650         * conform/data/limits.h-data: Use "==" form on "constant" and
41651         "optional-constant" lines.
41652
41653         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41654         Use -std=c99 for XOPEN2K.
41655         (@knownproblems): Remove.
41656         (newtoken): Don't check %isknown.
41657
41658         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41659         Do not expect macro.
41660         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41661         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41662         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41663         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41664         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41665         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41666         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41667         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41668         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41669         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41670         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41671         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41672         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41673         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41674         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41675         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41676         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41677         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41678         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41679         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41680         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41681         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41682         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41683         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41684         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41685         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41686         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41687         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41688         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41689         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41690         [XPG3] (acosh): Likewise.
41691         [XPG3] (asinh): Likewise.
41692         [XPG3] (atanh): Likewise.
41693         [XPG3] (cbrt): Likewise.
41694         [XPG3] (expm1): Likewise.
41695         [XPG3] (ilogb): Likewise.
41696         [XPG3] (log1p): Likewise.
41697         [XPG3] (logb): Likewise.
41698         [XPG3] (nextafter): Likewise.
41699         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41700         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41701         [XPG3] (remainder): Likewise.
41702         [XPG3] (rint): Likewise.
41703         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41704         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41705         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41706         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41707         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41708         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41709         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41710         [UNIX98 || XOPEN2K] (scalb): Expect.
41711         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41712         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41713         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41714         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41715         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41716         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41717         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41718         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41719         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41720         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41721         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41722         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41723         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41724         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41725         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41726         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41727         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41728         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41729         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41730         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41731         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41732         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41733         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41734         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41735         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41736         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41737         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41738         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41739         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41740         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41741         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41742         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41743         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41744         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41745         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41746         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41747         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41748         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41749         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41750         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41751         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41752         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41753         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41754         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41755         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41756         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41757         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41758         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41759         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41760         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41761         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41762         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41763         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41764         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41765         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41766         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41767         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41768         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41769         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41770         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41771         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41772         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41773         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41774         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41775         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41776         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41777         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41778         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41779         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41780         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41781         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41782         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41783         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41784         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41785         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41786         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41787         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41788         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41789         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41790         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41791         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41792         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41793         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41794         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41795         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41796         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41797         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41798         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41799         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41800         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41801         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41802         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41803         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41804         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41805         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41806         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41807         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41808         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41809         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41810         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41811         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41812         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41813         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41814         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41815         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41816         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41817         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41818         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41819         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41820         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41821         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41822         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41823         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41824         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41825         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41826         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41827         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41828         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41829         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41830         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41831         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41832         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41833         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41834         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41835         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41836         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41837         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41838         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41839         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41840         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41841         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41842         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41843         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41844         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41845         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41846         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41847         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41848
41849         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41850         _XOPEN_SOURCE_EXTENDED for XPG4.
41851
41852         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41853
41854         * Makeconfig (localtime): Remove variable.
41855         (inst_localtime-file): Likewise.
41856
41857 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41858
41859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41860         Update.
41861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41862         Update.
41863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41864         Update.
41865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41866         Update.
41867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41868         Update.
41869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41870         Update.
41871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41872         Update.
41873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41874         Update.
41875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41876         Update.
41877
41878 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41879
41880         [BZ #2550]
41881         [BZ #2570]
41882         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41883         comparisons to determine direction to adjust input.
41884         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41885         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41886         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41887         Likewise.
41888         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41889         Likewise.
41890         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41891         Likewise.
41892         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41893         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41894         Likewise.
41895         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41896         Likewise.
41897         * math/libm-test.inc (nexttoward_test): Add more tests.
41898
41899 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41900
41901         [BZ #14040]
41902         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41903         in version GLIBC_2.1, not GLIBC_2.0.
41904         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41905         Likewise.
41906
41907 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
41908
41909         [BZ #13942]
41910         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41911         (1 - x) * (1 + x).
41912         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41913         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41914         * math/libm-test.inc (acos_test): Add more tests.
41915         (asin_test): Likewise.
41916         * sysdeps/i386/fpu/libm-test-ulps: Update.
41917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41918
41919         [BZ #14034]
41920         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41921         of square root.
41922         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41923         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41924         * math/libm-test.inc (acos_test_tonearest): New function.
41925         (acos_test_towardzero): Likewise.
41926         (acos_test_downward): Likewise.
41927         (acos_test_upward): Likewise.
41928         (asin_test_tonearest): Likewise.
41929         (asin_test_towardzero): Likewise.
41930         (asin_test_downward): Likewise.
41931         (asin_test_upward): Likewise.
41932         (main): Call the new functions.
41933         * sysdeps/i386/fpu/libm-test-ulps: Update.
41934         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41935
41936         [BZ #13884]
41937         [BZ #13924]
41938         * math/e_exp10.c: Include <float.h>.
41939         (__ieee754_exp10): Handle underflow here rather than multiplying
41940         large negative argument by M_LN10.
41941         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41942         of __ieee754_expf.
41943         * math/e_exp10l.c: Include <float.h>.
41944         (__ieee754_exp10l): Handle underflow here rather than multiplying
41945         large negative argument by M_LN10l.
41946         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
41947         spurious overflow exception on underflow.
41948
41949 2012-04-29  Marek Polacek  <polacek@redhat.com>
41950
41951         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41952         (__fortify_function): New macro.
41953         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41954         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41955         __extern_always_inline.
41956         * libio/bits/stdio2.h: Likewise.
41957         * libio/bits/stdio.h: Likewise.
41958         * string/string.h: Likewise.
41959         * string/bits/string3.h: Likewise.
41960         * include/stdio.h: Likewise.
41961         * stdlib/bits/stdlib.h: Likewise.
41962         * stdlib/stdlib.h: Likewise.
41963         * rt/bits/mqueue2.h: Likewise.
41964         * rt/mqueue.h: Likewise.
41965         * posix/bits/unistd.h: Likewise.
41966         * posix/unistd.h: Likewise.
41967         * io/bits/poll2.h: Likewise.
41968         * io/bits/fcntl2.h: Likewise.
41969         * io/fcntl.h: Likewise.
41970         * io/sys/poll.h: Likewise.
41971         * misc/bits/syslog.h: Likewise.
41972         * misc/bits/syslog-ldbl.h: Likewise.
41973         * misc/sys/syslog.h: Likewise.
41974         * socket/bits/socket2.h: Likewise.
41975         * socket/sys/socket.h: Likewise.
41976         * debug/tst-chk1.c: Likewise.
41977         * wcsmbs/bits/wchar2.h: Likewise.
41978         * wcsmbs/bits/wchar-ldbl.h: Likewise.
41979         * wcsmbs/wchar.h: Likewise.
41980
41981 2012-04-29  Andreas Jaeger  <aj@suse.de>
41982
41983         * Makerules (tests): Remove enable-check-abi protection.
41984         (check-abi-warn): Remove.
41985         (check-abi-%): Remove check-abi-warn usage.
41986
41987         * configure.in: Remove check-abi configure option.
41988         * configure: Regenerated.
41989         * config.make.in (enable-check-abi): Remove.
41990
41991 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
41992
41993         [BZ #14033]
41994         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41995         double functions to double *_finite functions.
41996
41997         [BZ #13941]
41998         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41999         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42000         LDBL_MIN_EXP.
42001         * stdio-common/Makefile (tests): Add tst-sprintf3.
42002         * stdio-common/tst-sprintf3.c: New file.
42003
42004         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42005         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42006
42007 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42008
42009         * conform/conformtest.pl: Remove duplicate typed-constant
42010         handling.
42011
42012 2012-04-28  David S. Miller  <davem@davemloft.net>
42013
42014         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42015         (check-abi-%): Remove AWK script prerequisite and explicit
42016         abilist directory.
42017         (check-abi): Rewrite to just diff the symlist with the abilist.
42018         (config-tls, config-abi-config): Delete, no longer used.
42019         (update-abi-%): Remove AWK script and explicit abilist directory.
42020         (update-abi): Rewrite to simply compare and conditionally copy the
42021         symlist and the sysdep abilist file.  Remove update-abi-config
42022         checks.
42023         * abilist/ld.abilist: Remove.
42024         * abilist/libBrokenLocale.abilist: Remove.
42025         * abilist/libanl.abilist: Remove.
42026         * abilist/libcrypt.abilist: Remove.
42027         * abilist/libdl.abilist: Remove.
42028         * abilist/librt.abilist: Remove.
42029         * abilist/libthread_db.abilist: Remove.
42030         * abilist/libutil.abilist: Remove.
42031         * scripts/extract-abilist.awk: Remove.
42032         * scripts/merge-abilist.awk: Remove.
42033         * sysdeps/generic/libcidn.abilist: New file.
42034         * sysdeps/generic/libnss_compat.abilist: New file.
42035         * sysdeps/generic/libnss_db.abilist: New file.
42036         * sysdeps/generic/libnss_dns.abilist: New file.
42037         * sysdeps/generic/libnss_files.abilist: New file.
42038         * sysdeps/generic/libnss_hesiod.abilist: New file.
42039         * sysdeps/generic/libnss_nis.abilist: New file.
42040         * sysdeps/generic/libnss_nisplus.abilist: New file.
42041         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42042         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42043         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42044         file.
42045         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42046         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42047         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42048         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42049         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42050         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42051         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42052         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42053         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42054         file.
42055         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42056         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42057         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42058         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42059         file.
42060         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42061         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42062         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42063         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42064         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42065         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42066         file.
42067         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42068         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42069         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42070         file.
42071         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42072         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42073         New file.
42074         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42075         New file.
42076         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42077         New file.
42078         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42079         New file.
42080         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42081         New file.
42082         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42083         New file.
42084         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42085         New file.
42086         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42087         New file.
42088         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42089         New file.
42090         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42091         New file.
42092         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42093         New file.
42094         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42095         New file.
42096         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42097         New file.
42098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42099         file.
42100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42101         New file.
42102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42103         New file.
42104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42105         file.
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42107         New file.
42108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42109         New file.
42110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42111         file.
42112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42113         New file.
42114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42115         New file.
42116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42117         New file.
42118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42119         New file.
42120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42121         New file.
42122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42123         New file.
42124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42126         file.
42127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42128         New file.
42129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42130         file.
42131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42132         file.
42133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42134         file.
42135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42136         file.
42137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42138         file.
42139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42140         New file.
42141         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42142         file.
42143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42144         file.
42145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42146         New file.
42147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42148         file.
42149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42151         file.
42152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42153         New file.
42154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42155         file.
42156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42157         file.
42158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42159         file.
42160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42161         file.
42162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42163         file.
42164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42165         New file.
42166         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42167         file.
42168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42169         file.
42170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42171         New file.
42172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42173         file.
42174         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42175         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42176         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42177         file.
42178         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42179         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42180         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42181         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42182         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42183         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42184         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42185         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42186         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42187         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42190         file.
42191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42192         New file.
42193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42194         file.
42195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42196         file.
42197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42198         file.
42199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42200         file.
42201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42202         file.
42203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42204         New file.
42205         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42206         New file.
42207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42208         file.
42209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42210         New file.
42211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42212         file.
42213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42214         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42215         file.
42216         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42217         New file.
42218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42219         file.
42220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42221         file.
42222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42223         file.
42224         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42225         file.
42226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42227         file.
42228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42229         New file.
42230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42231         New file.
42232         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42233         file.
42234         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42235         New file.
42236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42237         file.
42238
42239 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42240
42241         * conform/conformtest.pl: Fix typo in handling typed-constant from
42242         allow-header.
42243
42244 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42245
42246         * README: Cut down references to pre-2.6 Linux kernels and
42247         Linuxthreads.  Update lists of configurations in libc and ports
42248         and sort alphabetically.  Say "or newer" with Linux kernel version
42249         requirements.
42250
42251         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42252
42253 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42254
42255         [BZ #887]
42256         * math/libm-test.inc (logb_test_downward): New test to expose
42257         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42258         rounding mode.
42259
42260 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42261
42262         [BZ #14027]
42263         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42264         to be done.
42265         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42266         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42267
42268 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42269
42270         * sysdeps/unix/i386/brk.S: Remove file.
42271         * sysdeps/unix/i386/dl-brk.S: Likewise.
42272         * sysdeps/unix/i386/pipe.S: Likewise.
42273         * sysdeps/unix/i386/sigreturn.S: Likewise.
42274         * sysdeps/unix/i386/syscall.S: Likewise.
42275         * sysdeps/unix/i386/vfork.S: Likewise.
42276         * sysdeps/unix/i386/wait.S: Likewise.
42277
42278         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42279         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42280
42281         * configure.in (arm*-none*): Do not allow without
42282         --enable-hacker-mode.
42283         (netbsd*): Remove case setting base_os.
42284         (386bsd*): Likewise.
42285         (freebsd*): Likewise.
42286         (bsdi*): Likewise.
42287         (osf*): Likewise.
42288         (sunos*): Likewise.
42289         (ultrix*): Likewise.
42290         (newsos*): Likewise.
42291         (dynix*): Likewise.
42292         (*bsd*): Likewise.
42293         (sysv*): Likewise.
42294         (isc*): Likewise.
42295         (esix*): Likewise.
42296         (sco*): Likewise.
42297         (minix*): Likewise.
42298         (irix4*): Likewise.
42299         (irix6*): Likewise.
42300         (solaris[2-9]*): Likewise.
42301         (none): Likewise.
42302         * configure: Regenerated.
42303
42304 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42305
42306         [BZ #11521]
42307         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42308         overflow or cancellation in calculating denominator.
42309         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42310         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42311         down expression to avoid unexpected rounding in newer GCCs.
42312         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42313
42314 2012-04-26  David S. Miller  <davem@davemloft.net>
42315
42316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42317         long-double compat symbols.
42318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42331
42332 2012-04-25  David S. Miller  <davem@davemloft.net>
42333
42334         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42335         HWCAP_* values only after the memory barriers have been defined.
42336         (atomic_full_barrier): Define.
42337         (atomic_read_barrier): Define.
42338         (atomic_write_barrier): Define.
42339
42340 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42341
42342         * shlib-versions: Add libgcc_s version information.
42343         * sysdeps/generic/libgcc_s.h: Remove.
42344         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42345         libgcc_s.h.
42346         * sysdeps/gnu/unwind-resume.c: Likewise.
42347         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42348
42349 2012-04-25  David S. Miller  <davem@davemloft.net>
42350
42351         * sysdeps/unix/sparc/brk.S: Delete.
42352         * sysdeps/unix/sparc/dl-brk.S: Delete.
42353         * sysdeps/unix/sparc/pipe.S: Delete.
42354         * sysdeps/unix/sparc/sysdep.S: Delete.
42355         * sysdeps/unix/sparc/sysdep.h: Delete.
42356         * sysdeps/unix/sparc/vfork.S: Delete.
42357         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42358         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42359         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42360         (ret_ERRVAL, r0, r1, MOVE): Define.
42361         (JUMPTARGET): Remove.
42362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42363         sysdeps/unix/sparc/sysdep.h
42364         (ENTRY, END): Remove.
42365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42366
42367 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42368
42369         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42370         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42371         -DIS_IN_build.
42372
42373         * timezone/README: Update upstream location and email address for
42374         tzcode and tzdata.
42375         * timezone/zdump.c: Update from tzcode 2012b.
42376         * timezone/zic.c: Likewise.
42377
42378         * configure.in (libc_cv_as_needed): Remove test.
42379         * configure: Regenerated.
42380         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42381         conditional definition.
42382         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42383         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42384         * config.make.in (have-as-needed): Remove variable.
42385
42386 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42387             Paul Pluzhnikov  <ppluzhnikov@google.com>
42388
42389         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42390         strings correctly.
42391
42392 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42393
42394         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42395         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42396         * sysdeps/sh/strlen.S: Likewise.
42397
42398 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42399
42400         * sysdeps/unix/fork.S: Remove file.
42401         * sysdeps/unix/i386/fork.S: Likewise.
42402         * sysdeps/unix/sparc/fork.S: Likewise.
42403
42404         * sysdeps/unix/system.c: Remove file.
42405         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42406
42407         * sysdeps/unix/getegid.S: Remove file.
42408         * sysdeps/unix/geteuid.S: Likewise.
42409
42410 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42411
42412         * scripts/check-localplt.awk: New file.
42413         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42414         of diff.
42415         * scripts/data/localplt-generic.data: Add a comment.
42416
42417         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42418         NODE when __dir_mkfile failed.
42419         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42420         Reported by Ludovic Courtès <ludo@gnu.org>.
42421
42422 2012-04-24  Andreas Jaeger  <aj@suse.de>
42423
42424         * Makerules (common-clean): Also remove gen-as-const-headers
42425         files.
42426
42427 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42428
42429         * Makerules (native-compile): Do not change working directory for
42430         build.  Use $(OUTPUT_OPTION) in command.
42431         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42432
42433 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42434
42435         [BZ #13886]
42436         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42437         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42438         * math/libm-test.inc (floor_test): Add more tests.
42439         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42440
42441 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42442
42443         * sysdeps/unix/getdents.c: Remove file.
42444         * sysdeps/unix/sysv/getdents.c: Likewise.
42445         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42446
42447         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42448         sysdeps/unix/mman/syscalls.list.
42449         (mmap): Likewise.
42450         (mprotect): Likewise.
42451         (msync): Likewise.
42452         (munmap): Likewise.
42453         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42454         * sysdeps/unix/mman/syscalls.list: Remove.
42455         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42456
42457         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42458         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42459         * configure: Regenerated.
42460         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42461         $(libgcc_s_suffix).
42462         * config.make.in (libgcc_s_suffix): Remove variable.
42463
42464 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42465
42466         * sysdeps/unix/sysv/gethostname.c: Move to ...
42467         * sysdeps/posix/gethostname.c: ... here.
42468
42469         * sysdeps/unix/execve.S: Remove file.
42470
42471         * sysdeps/unix/_exit.S: Remove file.
42472
42473 2012-04-23  Andreas Jaeger  <aj@suse.de>
42474
42475         [BZ #13739]
42476         * manual/Makefile: Remove make dist support, there's no
42477         need for a stand-alone documentation tar ball.
42478         (TEXI2DVI): Define always, it's not in Makeconfig.
42479         (dist): Removed.
42480         (tar-it): Removed.
42481         (edition): Removed.
42482         (glibc-doc-$(edition).tar): Removed
42483         (%.Z): Removed.
42484         (%.gz): Removed.
42485         (%.uu): Removed.
42486         (ETAGS): Remove, it's in Makeconfig.
42487         (move-if-change): Remove, it's in Makeconfig.
42488
42489 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42490
42491         [BZ #13970]
42492         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42493         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42494         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42495         (strtod_l, strtof_l, strtold_l): Remove __wur.
42496         It is not necessarily an error to ignore strtol's return value.
42497         One can reliably look at the stored endptr to decide whether
42498         the number had valid syntax.
42499
42500 2012-04-21  Andreas Jaeger  <aj@suse.de>
42501
42502         [BZ #13739]
42503         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42504
42505 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42506
42507         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42508         * sysdeps/unix/sysv/Versions: Remove file.
42509
42510 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42511
42512         [BZ #13927]
42513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42514
42515 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42516
42517         [BZ #7064]
42518         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42519         version from __vm86.
42520
42521 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42522
42523         * sysdeps/unix/common/lxstat.c: Remove file.
42524         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42525
42526         * sysdeps/unix/sysv/Makefile: Remove file.
42527
42528         * sysdeps/unix/sysv/direct.h: Remove file.
42529
42530         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42531         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42532         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42533         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42534         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42535         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42536         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42537
42538         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42539
42540         * sysdeps/unix/xmknod.c: Remove file.
42541         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42542
42543         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42544
42545         * sysdeps/unix/sysv/i386/time.S: Remove file.
42546
42547         * sysdeps/unix/fxstat.c: Remove file.
42548         * sysdeps/unix/xstat.c: Likewise.
42549         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42550
42551         * sysdeps/unix/sysv/sigaction.c: Remove file.
42552
42553         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42554         (sysdep_headers): Remove variable.
42555         [termio.h not in sysdep_headers] (generated): Likewise.
42556         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42557         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42558         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42559         * sysdeps/unix/sysv/tcflow.c: Likewise.
42560         * sysdeps/unix/sysv/tcflush.c: Likewise.
42561         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42562         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42563         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42564         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42565         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42566
42567         * sysdeps/unix/siglist.c: Remove file.
42568
42569         * sysdeps/unix/getppid.S: Remove file.
42570
42571         * sysdeps/unix/mkdir.c: Remove file.
42572         * sysdeps/unix/rmdir.c: Likewise.
42573
42574 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42575
42576         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42577         ERR_MAX value.
42578         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42579         errlist-compat value.
42580
42581 2012-04-18  David S. Miller  <davem@davemloft.net>
42582
42583         * sysdeps/generic/memcopy.h (reg_char): Delete.
42584         * debug/strcat_chk.c: Use char, not reg_char.
42585         * debug/strcpy_chk.c: Likewise.
42586         * debug/strncat_chk.c: Likewise.
42587         * debug/strncpy_chk.c: Likewise.
42588         * string/memchr.c: Likewise.
42589         * string/memrchr.c: Likewise.
42590         * string/rawmemchr.c: Likewise.
42591         * string/strcat.c: Likewise.
42592         * string/strchr.c: Likewise.
42593         * string/strchrnul.c: Likewise.
42594         * string/strcmp.c: Likewise.
42595         * string/strcpy.c: Likewise.
42596         * string/strncat.c: Likewise.
42597         * string/strncmp.c: Likewise.
42598         * string/strncpy.c: Likewise.
42599
42600 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42601
42602         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42603         __builtin_memcopy is called when src and dest ranges are known to not
42604         overlap.
42605
42606 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42607
42608         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42609         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42610         fwd_align_merge macro call.
42611         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42612         bwd_align_merge macro call.
42613         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42614
42615 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42616
42617         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42618         bwd_align_merge macros.
42619         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42620         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42621         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42622
42623 2012-04-18  David S. Miller  <davem@davemloft.net>
42624
42625         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42626
42627 2012-04-18  Andreas Jaeger  <aj@suse.de>
42628
42629         [BZ# 6794]
42630         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42631         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42632         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42633
42634         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42635         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42636         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42637
42638         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42639         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42640         Adjust for changed ldbl-128 files.
42641
42642         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42643         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42644         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42645
42646 2012-04-17  David S. Miller  <davem@davemloft.net>
42647
42648         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42649
42650 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42651
42652         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42653         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42654         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42655         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42656         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42657         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42658
42659 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42660
42661         [BZ #6794]
42662         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42663         * math/libm-test.inc: Add ilogb errno and exception tests.
42664         * math/w_ilogb.c: New file: ilogb wrapper.
42665         * math/w_ilogbf.c: New file: ilogbf wrapper.
42666         * math/w_ilogbl.c: New file: ilogbl wrapper.
42667         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42668         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42669         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42670         exception being thrown with 0.0 as argument.
42671         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42672         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42673         exception being thrown with 0.0 as argument.
42674         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42675         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42676         exception being thrown with 0.0 as argument.
42677         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42678         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42679         exception being thrown with 0.0 as argument.
42680         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42681         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42682         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42683         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42684         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42685         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42686         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42687         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42688         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42689
42690 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42691
42692         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42693         with altivec.
42694
42695 2012-04-16  Marek Polacek  <polacek@redhat.com>
42696
42697         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42698
42699 2012-04-16  Marek Polacek  <polacek@redhat.com>
42700
42701         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42702         operands of fdivp instruction.
42703
42704 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42705
42706         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42707         * elf/tst-auditmod3b.c: Likewise.
42708         * elf/tst-auditmod4b.c: Likewise.
42709         * elf/tst-auditmod5b.c: Likewise.
42710         * elf/tst-auditmod6b.c: Likewise.
42711         * elf/tst-auditmod6c.c: Likewise.
42712         * elf/tst-auditmod7b.c: Likewise.
42713         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42714         * sysdeps/x86_64/preconfigure.in: Likewise.
42715         * sysdeps/x86_64/preconfigure: Regenerated.
42716
42717 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42718
42719         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42720         __ILP32__.
42721
42722 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42723
42724         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42725         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42726
42727 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42728
42729         [BZ #13973]
42730         * locale/iso-639.def: Fix gl language name. Spotted by
42731         Yaron Shahrabani.
42732
42733 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42734
42735         [BZ #2074]
42736         * libio/libio.h (__io_write_fn): Update comment.
42737
42738 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42739
42740         [BZ #2074]
42741         * stdio.texi (Hook Functions): The user provided writer function
42742         is not allowed to return -1.
42743
42744 2012-04-11  David S. Miller  <davem@davemloft.net>
42745
42746         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42747
42748 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42749
42750         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42751         Add a leading slash to rtkaio.
42752
42753 2012-04-11  Jim Meyering  <meyering@redhat.com>
42754
42755         [BZ #11959]
42756         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42757         It is not necessarily an error to ignore fwrite's return
42758         value.  One can reliably use ferror to test for errors after
42759         the fact.
42760
42761 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42762
42763         * bits/types.h (__snseconds_t): New type.
42764         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42765
42766         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42767         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42768         (__SNSECONDS_T_TYPE): Likewise.
42769         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42770         (__SNSECONDS_T_TYPE): Likewise.
42771         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42772         (__SNSECONDS_T_TYPE): Likewise.
42773
42774 2012-04-10  Andreas Jaeger  <aj@suse.de>
42775
42776         [BZ #2636]
42777         * manual/time.texi (Processor Time): Return type of times is
42778         elapsed real time since an arbitrary point in the past.
42779         (CPU Time): Move CLK_TCK from here...
42780         (Processor Time): ...to here.  Correct description.
42781         * manual/conf.texi (Constants for Sysconf): Correct description of
42782         _SC_CLK_TCK.
42783
42784 2012-04-10  David S. Miller  <davem@davemloft.net>
42785
42786         [BZ #13967]
42787         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42788         where the is a gap between DT_REL(A) and DT_JMPREL.
42789
42790 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42791
42792         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42793         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42794         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42795
42796 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42797
42798         * elf/dl-support.c (_dl_inhibit_cache): New variable.
42799         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42800         (dl_main): Handle --inhibit-cache.
42801         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42802         _dl_inhibit_cache.
42803         * elf/dl-load.c (_dl_map_object): Use it.
42804         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42805
42806 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42807
42808         [BZ #13872]
42809         * sysdeps/i386/fpu/e_powl.S (p78): New object.
42810         (__ieee754_powl): Saturate large exponents rather than testing for
42811         overflow of y*log2(x).
42812         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42813         * math/libm-test.inc (pow_test): Do not permit spurious overflow
42814         exceptions.
42815
42816         [BZ #11521]
42817         * math/s_ctan.c: Include <float.h>.
42818         (__ctan): Avoid internal overflow or cancellation in calculating
42819         denominator.
42820         * math/s_ctanf.c: Likewise.
42821         * math/s_ctanl.c: Likewise.
42822         * math/s_ctanh.c: Likewise.
42823         * math/s_ctanhf.c: Likewise.
42824         * math/s_ctanhl.c: Likewise.
42825         * math/libm-test.inc (ctan_test): Add more tests.
42826         (ctanh_test): Likewise.
42827         * sysdeps/i386/fpu/libm-test-ulps: Update.
42828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42829
42830 2012-04-09  Andreas Jaeger  <aj@suse.de>
42831
42832         [BZ #6894]
42833         * manual/filesys.texi (Directory Entries): Mention that d_namlen
42834         is an optional BSD extension.
42835
42836         [BZ #10254]
42837         * manual/stdio.texi (Opening Streams): Document additional fopen
42838         parameters.
42839
42840 2012-04-09  Roland McGrath  <roland@hack.frob.com>
42841
42842         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42843         %eax without telling the compiler.
42844
42845 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
42846
42847         [BZ # 13963]
42848         * manual/install.texi: Use sourceware.org.
42849
42850 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42851
42852         [BZ #13873]
42853         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42854         (__ieee754_pow): Generate overflow and underflow using huge*huge
42855         and tiny*tiny rather than just returning constant infinity or zero
42856         for large exponents.
42857         * math/libm-test.inc (pow_test): Require overflow exceptions for
42858         applicable cases of large exponents.
42859
42860         [BZ #706]
42861         * sysdeps/i386/fpu/e_pow.S (p10): New object.
42862         (__ieee754_pow): Use iterative multiplication algorithm only for
42863         integer exponents with absolute value below 1024.  Check for odd
42864         integer exponents when using algorithm for real exponents.
42865         * math/libm-test.inc (pow_test): Add more tests.
42866         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42867
42868 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
42869
42870         [BZ #13705]
42871         * math/libm-test.inc (exp_test): Do not allow overflow exception
42872         on underflow test.
42873
42874 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
42875
42876         [BZ #13705]
42877         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42878         instead of __kernel_standard_f.
42879
42880 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
42881
42882         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42883         * sysdeps/x86_64/memset_chk.S: Likewise.
42884
42885 2012-04-08  Andreas Jaeger  <aj@suse.de>
42886
42887         [BZ #10153]
42888         * manual/startup.texi (Environment Access): Describe return value
42889         for putenv and setenv.
42890
42891         [BZ #6895]
42892         * manual/filesys.texi (Directory Entries): Add description for
42893         DT_LNK.
42894
42895         [BZ #6890]
42896         * manual/filesys.texi (Directory Entries): Clarify that it's file
42897         system not operating system in the description of DT_UNKNOWN.
42898
42899         [BZ #6578]
42900         * manual/syslog.texi (closelog): Fix reference, it's openlog.
42901
42902 2012-04-08  Stephen Compall  <s11@member.fsf.org>
42903
42904         [BZ #6649]
42905         * manual/llio.texi (Opening and Closing Files): Add cross
42906         reference to explain mode argument.
42907
42908 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
42909
42910         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42911         * sysdeps/x86_64/memset_chk.S: Likewise.
42912
42913 2012-04-07  David S. Miller  <davem@davemloft.net>
42914
42915         * elf/elf.h (R_SPARC_WDISP10): Define.
42916         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42917         R_SPARC_SIZE32.
42918         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42919         R_SPARC_SIZE64 and R_SPARC_H34.
42920
42921 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
42922
42923         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42924         conditions and remove no longer applicable assertion.
42925
42926 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42927
42928         * bits/byteswap.h: Include <features.h>.
42929         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42930         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42931
42932 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42933
42934         * bits/byteswap.h (__bswap_16): Removed.
42935         Include <bits/byteswap-16.h> to get __bswap_16.
42936         * sysdeps/i386/bits/byteswap.h: Likewise.
42937         * sysdeps/s390/bits/byteswap.h: Likewise.
42938         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42939         * bits/byteswap-16.h: New file.
42940         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42941         * sysdeps/s390/bits/byteswap-16.h: Likewise.
42942         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42943         * string/Makefile (headers): Add bits/byteswap-16.h.
42944
42945 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42946
42947         [BZ #13895]
42948         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42949         extra indirection.
42950         * nss/Makefile (tests-static, tests): Add tst-nss-static.
42951         * nss/tst-nss-static.c: New.
42952
42953 2012-04-06  Robert Millan  <rmh@gnu.org>
42954
42955         [BZ #6486]
42956         * manual/llio.texi (File Position Primitive): lseek
42957         refers to WHENCE when it really means OFFSET.
42958
42959 2012-04-06  Andreas Jaeger  <aj@suse.de>
42960
42961         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42962         strncmp declarations.
42963
42964         * abilist/libc.abilist: Add __poll and __ppoll.
42965
42966 2012-04-05  David S. Miller  <davem@davemloft.net>
42967
42968         * scripts/check-local-headers.sh: Accept a host triplet in the
42969         path matched by the exclude regexp.
42970
42971         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42972         definition.
42973         * sysdeps/powerpc/powerpc32/dl-machine.h
42974         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42975         * sysdeps/s390/s390-32/dl-machine.h
42976         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42977         * sysdeps/sparc/sparc32/dl-machine.h
42978         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42979         * sysdeps/sparc/sparc64/dl-machine.h
42980         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42981
42982         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42983         lazy binding.
42984         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42985         undefined symbol errors.
42986
42987         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42988         DT_NEEDED entries.
42989
42990 2012-04-05  Michael Matz  <matz@suse.de>
42991
42992         [BZ #13592]
42993         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42994
42995 2012-04-05  Andreas Jaeger  <aj@suse.de>
42996
42997         [BZ #13908]
42998         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42999         comment.
43000
43001 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43002
43003         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43004         which ROUND is no valid rounding mode.
43005
43006 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43007
43008         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43009         read again.
43010         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43011
43012 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43013
43014         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43015         an exception using FPU order intentionally.
43016
43017 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43018
43019         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43020         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43021         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43022         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43023
43024 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43025
43026         [BZ #12340]
43027         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43028         EINVAL when BUFLEN is too smal.
43029
43030 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43031
43032         [BZ #13553]
43033         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43034         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43035
43036 2012-04-03  Andreas Jaeger  <aj@suse.de>
43037
43038         [BZ #13938]
43039         * manual/setjmp.texi (System V contexts): Fix sentence.
43040
43041         [BZ #13926]
43042         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43043         New macro for this case.
43044         [!__GNUC__] (__bswap_64): New inline function for this case.
43045         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43046         * bits/byteswap.h: Likewise.
43047         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43048         ull, guard with __GLIBC_HAVE_LONG_LONG.
43049
43050         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43051         __GLIBC_HAVE_LONG_LONG.
43052
43053         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43054         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43055
43056 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43057
43058         [BZ #13691]
43059         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43060         inptr and inend, rather than using last_ch.
43061
43062 2012-04-02  David S. Miller  <davem@davemloft.net>
43063
43064         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43065         * stdio-common/printf-parse.h (read_int): Change return type to
43066         'int', return -1 on INT_MAX overflow.
43067         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43068         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43069         overflows INT_MAX.  Check for overflow of in-format-string precision
43070         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43071         SIZE_MAX not INT_MAX for integer overflow test.
43072         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43073         skip the construct in the format string but do not record anything.
43074         * stdio-common/bug22.c: Adjust to test both width/prevision
43075         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43076         explicitly for proper errno values.
43077
43078 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43079
43080         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43081         CHAR_MAX.
43082         * string/test-strcmp.c [! WIDE]: Likewise.
43083         * time/tst-mktime2.c: Likewise for INT_MAX.
43084         * string/test-string.h: #include <sys/param.h> for MIN.
43085
43086         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43087         * sysdeps/i386/init-first.c (init): Likewise.
43088         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43089         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43090         * sysdeps/sh/init-first.c (init): Likewise.
43091
43092 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43093
43094         * po/ru.po: Update from translation team.
43095         * po/vi.po: Likewise.
43096
43097 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43098
43099         * resolv/nss_dns/dns-host.c: Merge copyright years.
43100
43101 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43102
43103         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43104         Optimize memcpy with prefetch if
43105         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43106         src, dst pointers have unequal 16 byte alignments.
43107
43108 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43109
43110         [BZ #13928]
43111         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43112         from a CNAME entry and return the minimum ttl for the query.
43113         (gaih_getanswer_slice): Likewise.
43114
43115 2012-03-30  Jeff Law  <law@redhat.com>
43116
43117         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43118         due to long keys.
43119         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43120         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43121
43122         * resolv/nss_dns/dns-host.c: Update copyright year.
43123
43124 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43125
43126         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43127         requests to save a system call.  Fix check that all bytes are sent.
43128
43129         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43130         comments for sendmmsg.
43131
43132 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43133
43134         [BZ #13691]
43135         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43136         with only 1 character between 0x0041 and 0x01b0.
43137         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43138         * wcsmbs/tst-mbsnrtowcs.c: New file.
43139
43140 2012-03-29  David S. Miller  <davem@davemloft.net>
43141
43142         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43143         small copies by hand.
43144
43145 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43146
43147         [BZ #13761]
43148         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43149         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43150         group memberships.
43151
43152 2012-03-28  David S. Miller  <davem@davemloft.net>
43153
43154         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43155         that branches into memcpy.
43156         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43157         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43158         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43159         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43160         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43161         bits.
43162         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43163         implementation too.
43164         * sysdeps/sparc/mempcpy.S: New file.
43165
43166         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43167         the IFUNC routine in the libc case.
43168         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43169
43170         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43171         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43172         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43173         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43174         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43175         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43176         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43177         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43178
43179         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43180         loop to 256 bytes instead of 64 bytes and fix test signedness.
43181
43182         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43183         * sysdeps/sparc/sparc32/Makefile: rather than here...
43184         * sysdeps/sparc/sparc64/Makefile: and here.
43185
43186 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43187
43188         * malloc/mallocbug.c: Avoid warnings about unused variables.
43189
43190 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43191
43192         [BZ #13760]
43193         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43194         in the right place. Discard and retry query if response is
43195         larger than input buffer size.
43196
43197 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43198
43199         [BZ #369]
43200         [BZ #2678]
43201         [BZ #3866]
43202         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43203         x for large integer exponent.
43204         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43205         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43206         sign of result as needed afterwards.
43207         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43208         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43209         result for underflowing pow the same as for overflow.
43210         (__kernel_standard_l): Handle powl overflow and underflow here
43211         rather than calling __kernel_standard.
43212         * math/libm-test.inc (pow_test): Add more tests.
43213
43214         [BZ #3868]
43215         [BZ #13879]
43216         [BZ #13910]
43217         [BZ #13911]
43218         [BZ #13912]
43219         [BZ #13913]
43220         [BZ #13915]
43221         [BZ #13916]
43222         [BZ #13917]
43223         [BZ #13918]
43224         [BZ #13919]
43225         [BZ #13920]
43226         [BZ #13921]
43227         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43228         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43229         (__kernel_standard_l): New function.
43230         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43231         __kernel_standard.
43232         * math/w_acosl.c (__acosl): Likewise.
43233         * math/w_asinl.c (__asinl): Likewise.
43234         * math/w_atan2l.c (__atan2l): Likewise.
43235         * math/w_atanhl.c (__atanhl): Likewise.
43236         * math/w_coshl.c (__coshl): Likewise.
43237         * math/w_exp10l.c (__exp10l): Likewise.
43238         * math/w_exp2l.c (__exp2l): Likewise.
43239         * math/w_fmodl.c (__fmodl): Likewise.
43240         * math/w_hypotl.c (__hypotl): Likewise.
43241         * math/w_j0l.c (__j0l, __y0l): Likewise.
43242         * math/w_j1l.c (__j1l, __y1l): Likewise.
43243         * math/w_jnl.c (__jnl, __ynl): Likewise.
43244         * math/w_lgammal.c (__lgammal): Likewise.
43245         * math/w_log10l.c (__log10l): Likewise.
43246         * math/w_log2l.c (__log2l): Likewise.
43247         * math/w_logl.c (__logl): Likewise.
43248         * math/w_powl.c (__powl): Likewise.
43249         * math/w_remainderl.c (__remainderl): Likewise.
43250         * math/w_scalbl.c (sysv_scalbl): Likewise.
43251         * math/w_sinhl.c (__sinhl): Likewise.
43252         * math/w_sqrtl.c (__sqrtl): Likewise.
43253         * math/w_tgammal.c (__tgammal): Likewise.
43254         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43255         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43256         * math/libm-test.inc (acos_test): Add more tests.
43257         (acosh_test): Likewise.
43258         (asin_test): Likewise.
43259         (atanh_test): Likewise.
43260         (exp_test): Likewise.
43261         (exp10_test): Likewise.
43262         (exp2_test): Likewise.
43263         (expm1_test): Likewise.
43264         (lgamma_test): Likewise.
43265         (log_test): Likewise.
43266         (log10_test): Likewise.
43267         (log1p_test): Likewise.
43268         (log2_test): Likewise.
43269         (pow_test): Do not allow some spurious overflow exceptions.
43270         (sqrt_test): Add more tests.
43271         (tgamma_test): Likewise.
43272         (y0_test): Likewise.
43273         (y1_test): Likewise.
43274         (yn_test): Likewise.
43275
43276 2012-03-27  Anton Blanchard  <anton@samba.org>
43277
43278         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43279         MAP_HUGETLB.
43280         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43281         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43282         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43283
43284 2012-03-27  David S. Miller  <davem@davemloft.net>
43285
43286         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43287
43288         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43289         have-as-vis3 check.
43290
43291 2012-03-27  Andreas Jaeger  <aj@suse.de>
43292
43293         * sysdeps/x86_64/elf/configure.in: Moved to ...
43294         * sysdeps/x86_64/configure.in: ... here.
43295         * sysdeps/x86_64/elf/start.S: Moved to ...
43296         * sysdeps/x86_64/start.S: ... here.
43297         * sysdeps/x86_64/elf/configure: Delete.
43298
43299         * sysdeps/x86_64/configure.in: Merge contents from
43300         sysdeps/i386/configure.in (without i686 check).
43301
43302         * sysdeps/i386/elf/Versions: Merge into ...
43303         * sysdeps/i386/Versions: ... this.
43304         * sysdeps/i386/elf/Versions: Delete file.
43305         * sysdeps/i386/elf/start.S: Moved to ...
43306         * sysdeps/i386/start.S: ...here.
43307         * sysdeps/i386/elf/configure.in: Merge into...
43308         * sysdeps/i386/configure.in: ...here.
43309         * sysdeps/i386/elf/configure.in: Delete file.
43310         * sysdeps/i386/elf/configure: Delete file.
43311
43312         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43313         * debug/backtracesyms.c: ... here.
43314         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43315         * debug/backtracesymsfd.c: ... here.
43316         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43317         * sysdeps/generic/ifunc-sel.h: ... here.
43318
43319         * sysdeps/unix/i386/start.c: Delete file.
43320         * sysdeps/unix/sparc/start.c: Delete file.
43321         * sysdeps/unix/start.c: Delete file.
43322
43323         * sysdeps/sh/elf/configure.in: Moved to ...
43324         * sysdeps/sh/configure.in: ... here.
43325         * sysdeps/sh/elf/start.S: Moved to ...
43326         * sysdeps/sh/start.S: ... here.
43327         * sysdeps/sh/elf/configure: Delete file.
43328
43329         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43330         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43331         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43332         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43333         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43334         * sysdeps/powerpc/powerpc64/start.S: here.
43335         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43336         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43337         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43338         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43339         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43340
43341         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43342         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43343         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43344         * sysdeps/powerpc/powerpc32/start.S: ... here.
43345         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43346         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43347         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43348
43349         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43350         * sysdeps/powerpc/ifunc-sel.h: ... here.
43351         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43352         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43353
43354         * sysdeps/sparc/elf/configure.in: Moved to ...
43355         * sysdeps/sparc/configure.in: ... here.
43356         * sysdeps/sparc/elf/configure: Delete file.
43357         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43358         * sysdeps/sparc/sparc32/start.S: ... here.
43359         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43360         * sysdeps/sparc/sparc64/start.S: ... here.
43361         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43362         * sysdeps/sparc/sparc32/Makefile: ... this.
43363         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43364         * sysdeps/sparc/sparc64/Makefile: ... this.
43365
43366         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43367         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43368         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43369         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43370         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43371         * sysdeps/s390/s390-32/setjmp.S: ... here.
43372         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43373         * sysdeps/s390/s390-32/configure.in: ... here.
43374         * sysdeps/s390/s390-32/elf/configure: Delete file.
43375         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43376         * sysdeps/s390/s390-32/start.S: ... here.
43377
43378         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43379         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43380         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43381         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43382         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43383         * sysdeps/s390/s390-64/setjmp.S: ... here.
43384         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43385         * sysdeps/s390/s390-64/configure.in: ... here
43386         * sysdeps/s390/s390-64/elf/configure: Delete file.
43387         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43388         * sysdeps/s390/s390-64/start.S: ... here.
43389         * sysdeps/s390/s390-64/elf/configure: Delete.
43390
43391         * configure.in: Remove support for elf directories in sysdeps.
43392
43393         * configure: Regenerated.
43394         * sysdeps/i386/configure: Regenerated.
43395         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43396         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43397         * sysdeps/s390/s390-32/configure: Regenerated.
43398         * sysdeps/s390/s390-64/configure: Regenerated.
43399         * sysdeps/sh/configure: Regenerated.
43400         * sysdeps/sparc/configure: Regenerated.
43401         * sysdeps/x86_64/configure: Regenerated.
43402
43403 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43404
43405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43406
43407         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43408         denormal result into account.
43409
43410 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43411
43412         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43413         Reported by Allan McRae <allan@archlinux.org>.
43414
43415 2012-03-23  Jeff Law  <law@redhat.com>
43416
43417         * nss/getnssent.c (__nss_getent): Fix typo.
43418
43419 2012-03-23  David S. Miller  <davem@davemloft.net>
43420
43421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43422
43423 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43424
43425         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43426         to pad to uint64_t for each field.
43427         (dl_tls_index): Replace unsigned long with uint64_t.
43428
43429 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43430         Paul Pluzhnikov  <ppluzhnikov@google.com>
43431
43432         [BZ #6528]
43433         * grp/Makefile (otherlibs): Don't set it.
43434         * inet/Makefile (otherlibs): Likewise.
43435         * login/Makefile (otherlibs): Likewise.
43436         * nscd/Makefile (otherlibs): Likewise.
43437         * posix/Makefile (otherlibs): Likewise.
43438         * pwd/Makefile (otherlibs): Likewise.
43439         * rt/Makefile (otherlibs): Likewise.
43440         * sunrpc/Makefile (otherlibs): Likewise.
43441         * nss/Makefile (otherlibs): Likewise.
43442         Add libnss_files to routines and static-only-routines.
43443         ($(objpfx)getent): Remove rule.
43444         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43445         static-only-routines.
43446
43447 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43448
43449         [BZ #13892]
43450         * math/s_cexp.c: Include <float.h>.
43451         (__cexp): Handle exp result overflowing not necessarily
43452         overflowing both real and imaginary parts of result.
43453         * math/s_cexpf.c: Likewise.
43454         * math/s_cexpl.c: Likewise.
43455         * math/libm-test.inc (cexp_test): Add more tests.
43456         * sysdeps/i386/fpu/libm-test-ulps: Update.
43457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43458
43459 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43460
43461         * include/link.h (ELFW): New macro.
43462         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43463         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43464
43465 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43466
43467         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43468         with uint64_t.
43469
43470 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43471
43472         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43473         declaration.
43474         (struct La_x32_retval): Likewise.
43475
43476 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43477
43478         * sysdeps/x86_64/preconfigure.in: New file.
43479         * sysdeps/x86_64/preconfigure: New generated file.
43480
43481 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43482
43483         [BZ #13824]
43484         * math/e_exp2l.c: Include <float.h>.
43485         (__ieee754_exp2l): Handle overflow and underflow cases
43486         separately.  Only pass fractional part of argument to
43487         __ieee754_expl.
43488         * math/libm-test.inc (exp2_test): Add more tests.
43489
43490         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43491         negating x to take absolute value.
43492         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43493         Likewise.
43494         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43495         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43496         Likewise.
43497         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43498         computing low part if x was negated.
43499         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43500
43501 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43502
43503         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43504         la_x32_gnu_pltexit.
43505         (pltexit): Cast int_retval to ptrdiff_t.
43506         * elf/tst-auditmod3b.c: Likewise.
43507         * elf/tst-auditmod4b.c: Likewise.
43508         * elf/tst-auditmod5b.c: Likewise.
43509         * elf/tst-auditmod6b.c: Likewise.
43510         * elf/tst-auditmod6c.c: Likewise.
43511         * elf/tst-auditmod7b.c: Likewise.
43512
43513         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43514         and x32_gnu_pltexit.
43515
43516         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43517         __ELF_NATIVE_CLASS.
43518         (La_x32_regs): New macro.
43519         (La_x32_retval): Likewise.
43520         (la_x32_gnu_pltenter): New function prototype.
43521         (la_x32_gnu_pltexit): Likewise.
43522
43523 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43524
43525         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43526         exponent.
43527
43528         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43529
43530         * configure.in (libc_cv_cc_nofma): Check for option to disable
43531         generation of FMA instructions.
43532         * configure: Regenerate.
43533         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43534         * sysdeps/ieee754/dbl-64/Makefile: New file.
43535         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43536         Remove brandred-fma4.
43537         (CFLAGS-brandred-fma4.c): Remove.
43538         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43539         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43540         define.
43541         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43542         define.
43543
43544 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43545
43546         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43547         LLONG_MAX != LONG_MAX.
43548         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43549         (_fitoa_word): Likewise.
43550         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43551         LLONG_MAX != LONG_MAX.
43552         * stdio-common/_itowa.h: Include <_itoa.h>.
43553         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43554         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43555         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43556         only if not defined.
43557         (_ITOA_WORD_TYPE): Likewise.
43558         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43559         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43560
43561 2012-03-21  David S. Miller  <davem@davemloft.net>
43562
43563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43564
43565 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43566
43567         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43568         of x86_64 when setting libc_cv_slibdir, libdir and
43569         libc_cv_localedir.
43570         * sysdeps/unix/sysv/linux/configure: Regenerated.
43571
43572 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43573
43574         * manual/lang.texi (Old Varargs): Remove section.
43575         (How Variadic): Update menu.
43576         (va_start): Do not mention varargs.h.
43577
43578 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43579             Joseph Myers  <joseph@codesourcery.com>
43580
43581         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43582         link test.
43583         * configure: Regenerated.
43584
43585 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43586
43587         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43588         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43589         conformtest.pl
43590
43591 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43592
43593         * NOTES: Remove.
43594         * Makefile (files-for-dist): Remove NOTES.
43595         (NOTES): Remove rule.
43596         * README: Don't refer to NOTES.
43597         * manual/creature.texi: Don't include macros.texi.
43598         * manual/intro.texi (creature.texi): Remove comment referring to
43599         NOTES.
43600
43601         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43602         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43603         * configure: Regenerated.
43604         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43605         LIBC_TRY_CC_OPTION.
43606         (libc_cv_as_i686): Likewise.
43607         (libc_cv_cc_avx): Likewise.
43608         (libc_cv_cc_sse2avx): Likewise.
43609         (libc_cv_cc_fma4): Likewise.
43610         (libc_cv_cc_novzeroupper): Likewise.
43611         * sysdeps/i386/configure: Regenerated.
43612
43613         [BZ #13883]
43614         * sysdeps/i386/fpu/s_cexp.S: Remove.
43615         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43616         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43617         * math/libm-test.inc (cexp_test): Add more tests.
43618         * sysdeps/i386/fpu/libm-test-ulps: Update.
43619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43620
43621 2012-03-21  Allan McRae  <allan@archlinux.org>
43622
43623         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43624
43625 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43626
43627         [BZ #13871]
43628         * math/w_exp2.c: Do not include <float.h>.
43629         (o_threshold, u_threshold): Remove.
43630         (__exp2): Calculate result before checking finiteness and calling
43631         __kernel_standard.
43632         * math/w_exp2f.c: Likewise.
43633         * math/w_exp2l.c: Likewise.
43634         * math/libm-test.inc (exp2_test): Require overflow exception for
43635         1e6 input.
43636
43637         [BZ #3866]
43638         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43639         range of signed 64-bit integers before using fistpll.  Remove
43640         checks for whether integers fit in mantissa bits.
43641         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43642         the range of signed 32-bit integers before using fistpl.  Remove
43643         checks for whether integers fit in mantissa bits.
43644         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43645         (__ieee754_powl): Test for y outside the range of signed 64-bit
43646         integers before using fistpll.  Reduce 64-bit values to 63-bit
43647         ones as needed.
43648         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43649         divide-by-zero is raised for zero to large negative powers.
43650         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43651         (__ieee754_powl): Test for y outside the range of signed 64-bit
43652         integers before using fistpll.  Reduce 64-bit values to 63-bit
43653         ones as needed.
43654         * math/libm-test.inc (pow_test): Add more tests.
43655
43656 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43657
43658         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43659         <stdio-common/_itoa.h>.
43660         * debug/segfault.c: Likewise.
43661         * elf/dl-cache.c: Likewise.
43662         * elf/dl-minimal.c: Likewise.
43663         * elf/dl-misc.c: Likewise.
43664         * elf/dl-sysdep.c: Likewise.
43665         * elf/dl-version.c: Likewise.
43666         * elf/rtld.c: Likewise.
43667         * hurd/hurdsock.c: Likewise.
43668         * hurd/lookup-retry.c: Likewise.
43669         * malloc/malloc.c: Likewise.
43670         * malloc/mtrace.c: Likewise.
43671         * nscd/nscd_getgr_r.c: Likewise.
43672         * nscd/nscd_getpw_r.c: Likewise.
43673         * nscd/nscd_getserv_r.c: Likewise.
43674         * posix/getopt_init.c: Likewise.
43675         * posix/wordexp.c: Likewise.
43676         * stdio-common/_itoa.c: Likewise.
43677         * stdio-common/printf_fphex.c: Likewise.
43678         * stdio-common/vfprintf.c: Likewise.
43679         * string/_strerror.c: Likewise.
43680         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43681         * sysdeps/i386/i686/hp-timing.h: Likewise.
43682         * sysdeps/mach/_strerror.c: Likewise.
43683         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43684         * sysdeps/mach/hurd/sethostid.c: Likewise.
43685         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43686         * sysdeps/mach/xpg-strerror.c: Likewise.
43687         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43688         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43689         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43690         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43691         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43692         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43693         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43694         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43695         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43696         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43697         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43698         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43699         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43700         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43701         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43702         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43703         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43704         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43705         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43706         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43707         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43708
43709         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43710
43711         * stdio-common/_itoa.h: Moved to ...
43712         * sysdeps/generic/_itoa.h: Here.
43713
43714         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43715
43716         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43717         instead of "_itoa.h" and "_itowa.h".
43718         * stdio-common/vfprintf.: Likewise.
43719
43720 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43721
43722         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43723         <bits/wordsize.h>.
43724         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43725         (__signbit): Likwise.
43726         (llrintf): Likwise.
43727         (llrint): Likwise.
43728
43729 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43730
43731         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43732         __WORDSIZE != 64.
43733
43734 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43735
43736         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43737         OVERFLOW_EXCEPTION_OK.
43738         * math/libm-test.inc ("Philosophy"): Update comment about
43739         exception testing.
43740         (OVERFLOW_EXCEPTION): Define.
43741         (OVERFLOW_EXCEPTION_OK): Likewise.
43742         (INVALID_EXCEPTION_OK): Renumber.
43743         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43744         (IGNORE_ZERO_INF_SIGN): Likewise.
43745         (test_exceptions): Handle FE_OVERFLOW.
43746         (exp10_test): Expect overflow exceptions.
43747         (exp2_test): Likewise.
43748         (expm1_test): Likewise.
43749         (nextafter_test): Likewise.
43750         (pow_test): Likewise.
43751         (scalbn_test): Likewise.
43752         (scalbln_test): Likewise.
43753
43754 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43755
43756         * sysdeps/x86_64/bits/atomic.h
43757         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43758         64bit integer.
43759         (atomic_exchange_acq): Likewise.
43760         (__arch_exchange_and_add_body): Likewise.
43761         (__arch_add_body): Likewise.
43762         (atomic_add_negative): Likewise.
43763         (atomic_add_zero): Likewise.
43764
43765 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43766
43767         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43768         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43769
43770 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43771
43772         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43773         Check __x86_64__ instead of __WORDSIZE.
43774
43775 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43776
43777         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43778
43779 2012-03-19  David S. Miller  <davem@davemloft.net>
43780
43781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43782
43783         * sysdeps/sparc/fpu/fenv_private.h: New file.
43784         * sysdeps/sparc/fpu/math_private.h: Use it.
43785         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43786         Remove.
43787         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43788         (libc_feholdexcept_setroundl): Remove.
43789         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43790         Remove.
43791         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43792         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43793
43794 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43795
43796         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43797         int64_t instead of long int.
43798         (INSERT_WORDS64): Likwise.
43799
43800 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43801
43802         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43803         _Unwind_GetCFA return to _Unwind_Ptr first.
43804
43805 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
43806
43807         [BZ #13629]
43808         * math/s_clog.c: Include <float.h>.
43809         (__clog): Scale large or subnormal inputs.
43810         * math/s_clogf.c: Likewise.
43811         * math/s_clogl.c: Likewise.
43812         * math/s_clog10.c: Include <float.h>.
43813         (M_LOG10_2): Define.
43814         (__clog10): Scale large or subnormal inputs.
43815         * math/s_clog10f.c: Likewise.
43816         * math/s_clog10l.c: Likewise.
43817         * math/libm-test.inc (clog_test): Add more tests.
43818         (clog10_test): Likewise.
43819         * sysdeps/i386/fpu/libm-test-ulps: Update.
43820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43821
43822         [BZ #11451]
43823         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43824         x and y.
43825         * math/libm-test.inc (atan2_test): Add another test.
43826
43827         * Makerules (common-objdir-compile): Remove.
43828         * sysdeps/unix/Makefile (config-generated): Do not add
43829         $(unix-generated) to variable.
43830         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43831         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43832         Remove rule.
43833         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43834         Likewise.
43835         [generic bits/local_lim.h] (before-compile): Do not append to
43836         variable.
43837         [generic bits/local_lim.h] (common-generated): Likewise.
43838         [generic sys/param.h] (before-compile): Do not append to variable.
43839         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43840         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43841         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43842         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43843         include.
43844         [generic sys/param.h] (sys/param.h-includes): Remove variable.
43845         [generic sys/param.h] (sys/param.h-includes): Remove rule.
43846         [generic sys/param.h] ($(addprefix
43847         $(common-objpfx),$(sys/param.h-includes))): Likewise.
43848         [generic sys/param.h] (common-generated): Do not append to
43849         variable.
43850         [generic sys/param.h] (sysdep_headers): Likewise.
43851         [generic bits/errno.h] (before-compile): Do not append to
43852         variable.
43853         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43854         rule.
43855         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43856         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43857         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43858         [generic bits/errno.h] (common-generated): Do not append to
43859         variable.
43860         [generic bits/ioctls.h] (before-compile): Do not append to
43861         variable.
43862         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43863         rule.
43864         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43865         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43866         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43867         rule.
43868         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43869         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43870         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43871         [generic bits/ioctls.h] (common-generated): Do not append to
43872         variable.
43873         [generic sys/syscall.h] (syscall.h): Remove variable.
43874         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43875         rule.
43876         [generic sys/syscall.h] (before-compile): Do not append to
43877         variable.
43878         [generic sys/syscall.h] (common-generated): Likewise.
43879         * sysdeps/unix/errnos-tmpl.c: Remove file.
43880         * sysdeps/unix/errnos.awk: Likewise.
43881         * sysdeps/unix/ioctls-tmpl.c: Likewise.
43882         * sysdeps/unix/ioctls.awk: Likewise.
43883         * sysdeps/unix/mk-local_lim.c: Likewise.
43884         * sysdeps/unix/snarf-ioctls: Likewise.
43885
43886 2012-03-19  Richard Henderson  <rth@twiddle.net>
43887
43888         * sysdeps/i386/fpu/fenv_private.h: New file.
43889         * sysdeps/i386/fpu/math_private.h: Use it.
43890         (math_opt_barrier, math_force_eval): Remove.
43891         (libc_feholdexcept_setround_53bit): Remove.
43892         (libc_feupdateenv_53bit): Remove.
43893         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43894         (math_opt_barrier, math_force_eval): Remove.
43895         (libc_feholdexcept): Remove.
43896         (libc_feholdexcept_setround): Remove.
43897         (libc_fetestexcept, libc_fesetenv): Remove.
43898         (libc_feupdateenv_test): Remove.
43899         (libc_feupdateenv, libc_feholdsetround): Remove.
43900         (libc_feresetround): Remove.
43901
43902         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43903         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43904
43905         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43906         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43907         (libc_feupdateenv_testl): New.
43908         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43909         (libc_feupdateenv_testf): New.
43910         (libc_feupdateenv): Use libc_feupdateenv_test.
43911         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43912         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43913
43914         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43915         (libc_feholdsetroundf, libc_feholdsetroundl): New.
43916         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43917         (libc_feresetround_noex): New.
43918         (libc_feresetround_noexf): New.
43919         (libc_feresetround_noexl): New.
43920         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43921         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43922         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43923         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43924         SET_RESTORE_ROUND.
43925         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43926         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43927         (__cos): Likewise.
43928         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43929         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43930         SET_RESTORE_ROUND_NOEX.
43931         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43932         SET_RESTORE_ROUND_NOEXF.
43933         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43934         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43935         (libc_feholdsetroundf): New.
43936         (libc_feresetround, libc_feresetroundf): New.
43937
43938         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43939         (libc_feholdexcept_setround_53bit): Convert from macro to function.
43940         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
43941
43942         * sysdeps/generic/math_private.h: Include <fenv.h>.
43943         (default_libc_feholdexcept): New.
43944         (default_libc_feholdexcept_setround): New.
43945         (default_libc_fesetenv, default_libc_feupdateenv): New.
43946         (libc_feholdexcept): Only define if undefined.
43947         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43948         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43949         (libc_feholdexcept_setroundl): Likewise.
43950         (libc_feholdexcept_setround_53bit): Likewise.
43951         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43952         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43953         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43954         (libc_feupdateenv_53bit): Likewise.
43955         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43956         (libc_feholdexcept): Convert from macro to inline function.
43957         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43958         (libc_fesetenv, libc_feupdateenv): Likewise.
43959
43960         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43961         not previously defined.
43962         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43963         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43964         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43965         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43966         * sysdeps/ieee754/flt-32/math_private.h: New file.
43967         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43968         math_private.h below SET_FLOAT_WORD.
43969         (__isnan, __isinf_ns, __finite): Remove.
43970         (__isnanf, __isinf_nsf, __finitef): Remove.
43971
43972 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
43973
43974         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43975
43976 2012-03-17  David S. Miller  <davem@davemloft.net>
43977
43978         [BZ #6471]
43979         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43980         for 2.16.
43981
43982 2012-03-16  David S. Miller  <davem@davemloft.net>
43983
43984         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43985         warnings.
43986
43987         [BZ #6471]
43988         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43989         properly.
43990         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43991         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43992         sysdep_routines when subdir is sysvipc.
43993         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43994         __getshmlba helper.
43995
43996         * sysdeps/sparc/fpu/libm-test/ulps: Update.
43997
43998 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43999
44000         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44001         [__LP64__].
44002
44003 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44004
44005         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44006         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44007         (__lround): Renamed to ...
44008         (__llround): This.  Replace long int with long long int.
44009         Define lround functions as aliases of llround functions.
44010         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44011
44012 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44013
44014         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44015         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44016         adresses to uintptr_t.  Replace "long int" and "unsigned long
44017         int" with "greg_t" on va_arg.
44018
44019 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44020
44021         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44022         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44023
44024         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44025         Move e_machine check before EI_CLASS check.  Handle x32
44026         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44027         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44028         SKIP_EM_IA_64 and include
44029         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44030
44031         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44032         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44033         (add_system_dir): New macro.
44034
44035         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44036         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44037
44038 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44039
44040         [BZ #2551]
44041         [BZ #2552]
44042         [BZ #2553]
44043         [BZ #2554]
44044         [BZ #2562]
44045         [BZ #2563]
44046         [BZ #2565]
44047         [BZ #2566]
44048         [BZ #2576]
44049         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44050         (y0): Likewise.
44051         * math/w_j0f.c (j0f): Likewise.
44052         (y0f): Likewise.
44053         * math/w_j0l.c (__j0l): Likewise.
44054         (__y0l): Likewise.
44055         * math/w_j1.c (j1): Likewise.
44056         (y1): Likewise.
44057         * math/w_j1f.c (j1f): Likewise.
44058         (y1f): Likewise.
44059         * math/w_j1l.c (__j1l): Likewise.
44060         (__y1l): Likewise.
44061         * math/w_jn.c (jn): Likewise.
44062         (yn): Likewise.
44063         * math/w_jnf.c (jnf): Likewise.
44064         (ynf): Likewise.
44065         * math/w_jnl.c (__jnl): Likewise.
44066         (__ynl): Likewise.
44067         * math/libm-test.inc (j0_test): Add more tests.
44068         (j1_test): Likewise.
44069         (jn_test): Likewise.  Add trailing semicolon to existing test.
44070         (y0_test): Likewise.
44071         (y1_test): Likewise.
44072         * sysdeps/i386/fpu/libm-test-ulps: Update.
44073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44074
44075         [BZ #13851]
44076         [BZ #13854]
44077         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44078         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44079         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44080         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44081         (__tanl): Set errno for infinite argument.
44082         * sysdeps/i386/fpu/mptan.c: Remove.
44083         * sysdeps/i386/fpu/s_tan.S: Likewise.
44084         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44085         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44086         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44087         * math/libm-test.inc (tan_test): Add more tests and enable more
44088         tests for double and long double.
44089         * sysdeps/i386/fpu/libm-test-ulps: Update.
44090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44091
44092 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44093
44094         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44095         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44096
44097 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44098
44099         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44100         * configure.in: Use it for both main tree and add-ons.
44101         * configure: Regenerated.
44102
44103 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44104
44105         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44106
44107 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44108
44109         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44110         in comment.
44111
44112         [BZ #13851]
44113         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44114         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44115         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44116         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44117         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44118         infinite argument.
44119         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44120         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44121         != 0 for prec == 2.
44122         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44123         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44124         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44125         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44126         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44127         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44128         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44129         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44130         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44131         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44132         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44133         * math/libm-test.inc (cos_test): Add more tests and enable more
44134         tests for long double.
44135         (sin_test): Likewise.
44136         (sincos_test): Likewise.
44137         * sysdeps/i386/fpu/libm-test-ulps: Update.
44138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44139
44140 2012-03-16  David S. Miller  <davem@davemloft.net>
44141
44142         * sysdeps/sparc/fpu/math_private.h: New file.
44143
44144 2012-03-15  David S. Miller  <davem@davemloft.net>
44145
44146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44147         file.
44148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44150         file.
44151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44152         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44153         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44154         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44155         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44156         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44157         sysdep routines.
44158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44159
44160         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44161         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44162
44163         * sysdeps/sparc/sparc-ifunc.h: New file.
44164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44165         sparc-ifunc.h
44166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44168         Likewise.
44169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44170         Likewise.
44171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44175         Likewise.
44176         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44181         Likewise.
44182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44183         Likewise.
44184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44190         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44191         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44192         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44193         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44194         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44195         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44196         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44197         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44198         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44199         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44200         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44201         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44202         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44203         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44204         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44205         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44206         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44207         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44208
44209 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44210
44211         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44212         scaling.
44213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44214
44215 2012-03-15  Andreas Jaeger  <aj@suse.de>
44216
44217         [BZ #13852]
44218         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44219         ieee754/flt-32 implementation for sin, cos and sincos.
44220         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44221         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44222         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44223         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44224         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44225         ieee754/flt-32 implementation for tan.
44226
44227         * math/libm-test.inc (cos_test): Enable some large input tests for
44228         float as well
44229         (sin_test): Likewise.
44230         (sincos_test): Likewise.
44231         (tan_test): Add tests for large input.
44232
44233         * sysdeps/i386/fpu/libm-test-ulps: Update.
44234
44235 2012-03-15  Andreas Jaeger  <aj@suse.de>
44236
44237         [BZ #13658]
44238         * math/libm-test.inc (cos_test): Add more test cases.
44239         (sin_test): Likewise.
44240         (sincos_test): Likewise.
44241
44242 2012-03-15  Andreas Jaeger  <aj@suse.de>
44243
44244         [BZ #13837]
44245         * math/libm-test.inc (cos_test): Add a test case for large input
44246         value.
44247         (sin_test): Likewise.
44248         (sincos_test): Likewise.
44249
44250 2012-03-15  Andreas Jaeger  <aj@suse.de>
44251             Joseph Myers  <joseph@codesourcery.com>
44252
44253         [BZ #13658]
44254         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44255         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44256         * sysdeps/i386/fpu/branred.c: Likewise.
44257         * sysdeps/i386/fpu/dosincos.c: Likewise.
44258         * sysdeps/i386/fpu/mpa.c: Likewise.
44259         * sysdeps/i386/fpu/s_cos.S: Likewise.
44260         * sysdeps/i386/fpu/s_sin.S: Likewise.
44261         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44262         * sysdeps/i386/fpu/sincos32.c: Likewise.
44263
44264         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44265         Define.
44266         (libc_feupdateenv_53bit): Define.
44267         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44268         Define.
44269         (libc_feupdateenv_53bit): Define.
44270
44271         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44272         53 bit (without extend i386 double precision).
44273
44274         * math/libm-test.inc (sincos_test): Add tests for large input.
44275         (sin): Likewise.
44276         (cos): Likewise.
44277
44278         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44279
44280 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44281
44282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44283
44284 2012-03-15  David S. Miller  <davem@davemloft.net>
44285
44286         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44287         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44288         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44289         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44296         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44297         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44298         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44299         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44300         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44302         file.
44303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44305         file.
44306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44308         file.
44309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44311         file.
44312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44313         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44314         fmin/fmax sysdep routines.
44315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44316
44317 2012-03-14  David S. Miller  <davem@davemloft.net>
44318
44319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44323         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44324         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44325         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44326         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44327         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44328         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44334         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44335         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44336         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44337         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44338         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44339         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44340         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44341         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44342         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44343         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44344         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44345         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44346         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44347         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44348         routines.
44349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44350         file.
44351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44353         file.
44354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44356         file.
44357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44359         file.
44360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44362         file.
44363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44365         file.
44366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44367         file.
44368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44369         file.
44370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44371         file.
44372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44373         New file.
44374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44375         file.
44376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44377         file.
44378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44380         file.
44381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44383         file.
44384         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44386         file.
44387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44389         VIS3 routines.
44390
44391         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44392         New file.
44393
44394         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44395
44396         * sysdeps/sparc/configure.in: New file.
44397         * sysdeps/sparc/configure: Generate.
44398         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44399         * configure: Regenerate.
44400         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44401         * config.make.in (have-as-vis3): New.
44402         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44403         available use -Av9d instead of -Av9a.
44404         * sysdeps/sparc/sparc64/Makefile: Likewise.
44405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44407         New file.
44408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44409         file.
44410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44411         New file.
44412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44413         file.
44414         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44415         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44416         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44417         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44418         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44419
44420         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44421         fzeros/fnegs to load 0x80000000 into a float register instead of
44422         using the stack.
44423         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44424
44425 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44426
44427         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44428         bits/syscall.h.
44429         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44430         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44431         ($(inst_includedir)/bits/syscall.h): Remove rule.
44432         ($(objpfx)bits/syscall.d): Include instead of
44433         $(objpfx)syscall-list.d.
44434         (generated): Change syscall-list.h and syscall-list.d to
44435         bits/syscall.h and bits/syscall.d.
44436
44437 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44438
44439         [BZ #13846]
44440         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44441
44442 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44443
44444         [BZ #13841]
44445         * math/s_csqrt.c: Include <float.h>.
44446         (__csqrt): Scale large or subnormal inputs.
44447         * math/s_csqrtf.c: Likewise.
44448         * math/s_csqrtl.c: Likewise.
44449         * math/libm-test.inc (csqrt_test): Add more tests.
44450         * sysdeps/i386/fpu/libm-test-ulps: Update.
44451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44452
44453         [BZ #13840]
44454         * math/libm-test.inc (hypot_test): Add more tests.
44455
44456 2012-03-13  David S. Miller  <davem@davemloft.net>
44457
44458         [BZ #13840]
44459         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44460         double-precision for the calculation instead of scaling.
44461
44462 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44463
44464         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44465         manipulate bits before adding and subtracting TWO52[sx].
44466         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44467         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44468         Likewise.
44469         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44470
44471 2012-03-13  David S. Miller  <davem@davemloft.net>
44472
44473         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44474         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44475         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44476         rtld-global-offsets.h
44477         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44478
44479         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44480         large parameters.
44481
44482         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44483
44484         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44485         'err' in the ifdef scope in which it is actually used.
44486
44487         * nss/nss_db/db-init.c: Include string.h
44488
44489 2012-03-12  David S. Miller  <davem@davemloft.net>
44490
44491         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44492         masking out of the most significant byte of random value used.
44493         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44494         Fix coding style in previous change.
44495
44496         * sysdeps/unix/sysv/linux/kernel-features.h
44497         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44498         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44499         expression.
44500         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44501         later.
44502
44503 2012-03-11  David S. Miller  <davem@davemloft.net>
44504
44505         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44506         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44507         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44508         for 'resultvar' otherwise things get truncated on 64-bit.
44509
44510         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44511         Fix masking out of the most significant byte of random value used.
44512
44513         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44514
44515 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44516
44517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44518
44519 2012-03-09  David S. Miller  <davem@davemloft.net>
44520
44521         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44522         variables with appropriate CPP guards.
44523         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44524         from the frame pointer, not the stack pointer.  Correct layout
44525         comments.  Fix test on resulting framesize and the management of
44526         the outregs buffer for pltexit.  Preserve floating point return
44527         values across _dl_call_pltexit call.
44528         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44529         framesize and the management of the outregs buffer for pltexit.
44530         Preserve floating point return values across _dl_call_pltexit
44531         call.
44532         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44533         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44534         (la_sparc64_gnu_pltexit): New functions.
44535         (print_exit): Fix format string for return register value.
44536
44537 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44538
44539         * sunrpc/Makefile (others): Add rpcgen.
44540         ($(objpfx)rpcgen): Remove special build rule and dependency on
44541         libc.
44542         * sunrpc/rpcgen.c: New file.
44543
44544 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44545
44546         [BZ #13673]
44547         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44548         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44549         * sysdeps/i386/crti.S: Likewise.
44550         * sysdeps/i386/crtn.S: Likewise.
44551         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44552         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44553         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44554         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44555         * sysdeps/sh/crti.S: Likewise.
44556         * sysdeps/sh/crtn.S: Likewise.
44557         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44558
44559         [BZ #13673]
44560         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44561         with URL.
44562         * locale/programs/locfile-kw.gperf: Likewise.
44563         * locale/programs/charmap-kw.h: Regenerated.
44564         * locale/programs/locfile-kw.h: Likewise.
44565
44566         [BZ #13673]
44567         * intl/plural.y: Replace FSF snail mail address with URL.
44568         * intl/plural.c: Regenerated.
44569
44570 2012-03-09  Richard Henderson  <rth@twiddle.net>
44571
44572         * include/math_private.h: Remove file.
44573         * math/math_private.h: Move file ...
44574         * sysdeps/generic/math_private.h: ... here.
44575
44576         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44577         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44578         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44579
44580         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44581         and <math_private.h>.
44582         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44583         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44584         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44585         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44586         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44587         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44588         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44589         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44590         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44591         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44592         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44593         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44594         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44595         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44596         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44597         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44598         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44599         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44600         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44601         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44602         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44603         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44604         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44605         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44606         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44607         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44608         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44609         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44610         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44611         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44612         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44613         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44614         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44615         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44616         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44617         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44618         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44619         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44620         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44621         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44622         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44623         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44624         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44625         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44626         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44627         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44628         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44629         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44630         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44631         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44632         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44633         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44634         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44635         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44636         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44637         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44638         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44639         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44640         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44641         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44642         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44643         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44645         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44646         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44647         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44648         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44649         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44650         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44651         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44652         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44653         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44654         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44655         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44656         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44657         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44658         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44659         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44660         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44661         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44662         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44663         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44664         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44665         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44666         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44667         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44668         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44669         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44670         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44671         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44672         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44673         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44674         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44675         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44676         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44677         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44678         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44679         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44680         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44681         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44682         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44683         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44684         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44685         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44686         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44687         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44688         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44689         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44690         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44691         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44692         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44693         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44694         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44695         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44696         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44697         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44698         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44699         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44700         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44701         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44702         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44703         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44704         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44705         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44706         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44707         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44708         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44709         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44710         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44711         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44712         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44713         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44714         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44715         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44716         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44717         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44718         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44719         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44720         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44721         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44722         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44723         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44724         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44725         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44726         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44727         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44728         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44729         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44730         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44731         * sysdeps/ieee754/k_standard.c: Likewise.
44732         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44733         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44734         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44735         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44736         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44737         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44738         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44739         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44740         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44741         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44742         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44743         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44744         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44745         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44746         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44747         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44748         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44749         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44750         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44751         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44752         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44753         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44754         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44755         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44756         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44757         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44758         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44759         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44760         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44761         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44762         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44763         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44764         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44765         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44766         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44767         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44768         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44769         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44770         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44771         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44772         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44773         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44774         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44775         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44776         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44777         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44778         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44779         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44780         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44781         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44782         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44783         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44784         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44785         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44786         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44787         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44788         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44789         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44790         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44791         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44792         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44793         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44794         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44795         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44796         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44797         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44798         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44799         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44800         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44801         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44802         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44803         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44804         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44805         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44806         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44807         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44808         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44809         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44810         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44811         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44812         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44813         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44814         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44815         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44816         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44817         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44818         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44819         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44820         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44821         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44822         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44823         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44824         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44825         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44826         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44827         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44828         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44829         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44830         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44831         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44833         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44835         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44836         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44837         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44838         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44839         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44840         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44841         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44842         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44843         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44844         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44845         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44846         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44847         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44848         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44849         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44850         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44851         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44852         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44853         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44854         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44855         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44856         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44857         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44858         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44859         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44860         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44861         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44862         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44863         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44864         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44865         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44866         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44867         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44868         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44869         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44870         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44871         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44872         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44873         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44874         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44875         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44876         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44877         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44878         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44879         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44880         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44881         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44882         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44883         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44884         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44885         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44886         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44887         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44888         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44889         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44890         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44891         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44892         * sysdeps/ieee754/s_lib_version.c: Likewise.
44893         * sysdeps/ieee754/s_matherr.c: Likewise.
44894         * sysdeps/ieee754/s_signgam.c: Likewise.
44895         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44896         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44897         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44898         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44899         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44900         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44901         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44902         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44903         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44904         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44905         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44906         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44907         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44908         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44909         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44910         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44911         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44912         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44913         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44914         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44915         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44916
44917 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44918
44919         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44920         * sunrpc/rpc_main.c: Likewise.
44921         * sunrpc/rpc_svcout.c: Likewise.
44922
44923 2012-03-09  David S. Miller  <davem@davemloft.net>
44924
44925         * include/math_private.h: New file.
44926
44927 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44928
44929         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44930         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44931         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44932         from <bits/socket_type.h>.
44933         (enum __socket_type): Don't define here.
44934         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44935         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44936         bits/socket_type.h.
44937
44938         [BZ #13566]
44939         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44940         checking __USE_GNU.
44941
44942         * Makerules ($(inst_includedir)/%.h): New rule.
44943         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44944         (install-others): Remove variable setting.
44945         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44946
44947 2012-03-08  Richard Henderson  <rth@twiddle.net>
44948
44949         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44950         from macro to inline function; merge with the
44951         !__LIBC_INTERNAL_MATH_INLINES version.
44952         (__ieee754_sqrtf): Likewise.
44953
44954         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44955         to inline function.
44956         (__rintf, __floor, __floorf): Likewise.
44957
44958         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44959         macro to inline function.
44960         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44961
44962         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44963         not <math/math_private.h>.
44964
44965 2012-03-08  David S. Miller  <davem@davemloft.net>
44966
44967         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44968         copyright year.
44969         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44970
44971 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
44972
44973         * resolv/gai_misc.c (handle_requests): Fix struct timespec
44974         normalization.
44975         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44976         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44977
44978 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
44979
44980         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
44981         be defined individually, they must be defined as a block.  Define
44982         S for printing a string instead of hidint the different by using a
44983         macro for adding the 'l'.
44984         * stdio-common/tst-fphex-wide.c: Adjust.
44985
44986 2012-03-07  Marek Polacek  <polacek@redhat.com>
44987
44988         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44989
44990 2012-03-08  Marek Polacek  <polacek@redhat.com>
44991
44992         [BZ #13806]
44993         * stdio-common/Makefile (tests): Add tst-fphex-wide.
44994         * stdio-common/tst-fphex.c: Define a few macros to make the
44995         test reusable.  Use them.
44996         * stdio-common/tst-fphex-wide.c: New file.
44997
44998 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
44999
45000         [BZ #6911]
45001         * manual/macros.texi (gnusystems): New macro.
45002         (nongnusystems): Likewise.
45003         (gnulinuxhurdsystems): Likewise.
45004         (gnuhurdsystems): Likewise..
45005         (gnulinuxsystems): Likewise.
45006         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45007         variants of the GNU system, not "GNU system".
45008         * manual/conf.texi: Likewise.
45009         * manual/errno.texi: Likewise.  Update example of errno macro
45010         expansion.
45011         * manual/filesys.texi: Likewise.
45012         (getumask): Document as specific to GNU/Hurd.
45013         * manual/install.texi: Likewise.  Reword some references to
45014         GNU/Linux.
45015         * manual/intro.texi: Likewise.
45016         * manual/io.texi: Likewise.
45017         (File Name Portability): Detail which constraints are inapplicable
45018         to all GNU systems and which are only inapplicable to GNU/Hurd.
45019         * manual/job.texi: Likewise.
45020         * manual/llio.texi: Likewise.
45021         (O_NOCTTY): Document as present on GNU/Linux.
45022         * manual/maint.texi: Likewise.
45023         * manual/memory.texi: Likewise.
45024         * manual/pattern.texi: Likewise.
45025         * manual/pipe.texi: Likewise.
45026         * manual/process.texi: Likewise.
45027         * manual/resource.texi: Likewise.
45028         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45029         child on GNU/Hurd.
45030         * manual/setjmp.texi: Likewise.
45031         * manual/signal.texi: Likewise.
45032         * manual/startup.texi: Likewise.
45033         * manual/stdio.texi: Likewise.
45034         * manual/terminal.texi: Likewise.
45035         (ONLCR): Document as POSIX.
45036         (OXTABS): Document availability on GNU/Linux as XTABS.
45037         (ONOEOT): Document availability separately from other bits.
45038         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45039         * manual/time.texi: Likewise.
45040         * manual/users.texi: Likewise.
45041         * INSTALL: Regenerated.
45042         * sysdeps/gnu/errlist.c: Regenerated.
45043
45044         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45045         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45046         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45047         puts.
45048         * configure: Regenerated.
45049
45050 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45051
45052         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45053         default includes instead of AC_HEADER_CHECK.
45054         * sysdeps/i386/configure: Regenerated.
45055
45056         [BZ #10716]
45057         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45058         * math/s_cacoshf.c (__cacoshf): Likewise.
45059         * math/s_cacoshl.c (__cacoshl): Likewise.
45060         * math/s_casinh.c (__casinh): Set signs of result from argument.
45061         * math/s_casinhf.c (__casinhf): Likewise.
45062         * math/s_casinhl.c (__casinhl): Likewise.
45063         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45064         (casinh_test): Add more tests.
45065         * sysdeps/i386/fpu/libm-test-ulps: Update.
45066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45067
45068 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45069
45070         * po/zh_TW.po: Update from translation team.
45071
45072         * login/Makefile (distribute): Remove variable.
45073         * catgets/Makefile: Likewise.
45074         * mach/Makefile: Likewise.
45075         * malloc/Makefile: Likewise.
45076         * misc/Makefile: Likewise.
45077         * iconv/Makefile: Likewise.
45078         * nscd/Makefile: Likewise.
45079         * hurd/Makefile: Likewise.
45080         * manual/Makefile: Likewise.
45081         * locale/Makefile: Likewise.
45082         * intl/Makefile: Likewise.
45083         * conform/Makefile: Likewise.
45084         * nss/Makefile: Likewise.
45085         * time/Makefile: Likewise.
45086         * soft-fp/Makefile: Likewise.
45087         * dirent/Makefile: Likewise.
45088         * gmon/Makefile: Likewise.
45089         * po/Makefile: Likewise.
45090         * rt/Makefile: Likewise.
45091         * socket/Makefile: Likewise.
45092         * math/Makefile: Likewise.
45093         * signal/Makefile: Likewise.
45094         * debug/Makefile: Likewise.
45095         * elf/Makefile: Likewise.
45096         * timezone/Makefile: Likewise.
45097         * stdlib/Makefile: Likewise.
45098         * iconvdata/Makefile: Likewise.
45099         * sunrpc/Makefile: Likewise.
45100         * io/Makefile: Likewise.
45101         * argp/Makefile: Likewise.
45102         * inet/Makefile: Likewise.
45103         * hesiod/Makefile: Likewise.
45104         * grp/Makefile: Likewise.
45105         * csu/Makefile: Likewise.
45106         * wctype/Makefile: Likewise.
45107         * crypt/Makefile: Likewise.
45108         * libio/Makefile: Likewise.
45109         * string/Makefile: Likewise.
45110         * nis/Makefile: Likewise.
45111         * resolv/Makefile: Likewise.
45112         * stdio-common/Makefile: Likewise.
45113         * wcsmbs/Makefile: Likewise.
45114         * dlfcn/Makefile: Likewise.
45115         * posix/Makefile: Likewise.
45116
45117         [BZ #6959]
45118         * timezone/Makefile: Don't install timezone files, just the programs
45119         and scripts.
45120
45121 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45122
45123         * nss/databases.def: Add missing gshadow entry.
45124
45125         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45126
45127 2012-03-06  Marek Polacek  <polacek@redhat.com>
45128
45129         [BZ #13726]
45130         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45131         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45132         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45133         * stdio-common/tst-long-dbl-fphex.c: New file.
45134
45135 2012-03-06  David S. Miller  <davem@davemloft.net>
45136
45137         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45138         (set_obp_int): New function.
45139         (get_obp_int): New function.
45140         (__get_clockfreq_via_dev_openprom): Likewise.
45141         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45142         Avoid unused variable warnings on 'val' and use builtin_expect.
45143         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45144         __builtin_expect.
45145         (INLINE_CLONE_SYSCALL): Likewise.
45146
45147 2012-03-05  David S. Miller  <davem@davemloft.net>
45148
45149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45150
45151 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45152
45153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45154
45155         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45156         only for |x| >= 40.
45157         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45158
45159 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45160
45161         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45162         Replace gettimeofday with __vdso_gettimeofday.
45163
45164         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45165         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45166         __vdso_clock_gettime and __vdso_getcpu.
45167
45168         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45169         time with __vdso_time.
45170
45171 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45172
45173         * manual/lang.texi (size_t): Note types to which size_t may be
45174         equivalent with the GNU C Library, but do not describe when
45175         differences between them are significant.
45176
45177 2012-03-05  Andreas Jaeger  <aj@suse.de>
45178
45179         * sysdeps/i386/fpu/libm-test-ulps: Update.
45180
45181 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45182
45183         [BZ #3976]
45184         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45185         (__ieee754_pow): Save and restore rounding mode and use
45186         round-to-nearest for main computations.
45187         * math/libm-test.inc (pow_test_tonearest): New function.
45188         (pow_test_towardzero): Likewise.
45189         (pow_test_downward): Likewise.
45190         (pow_test_upward): Likewise.
45191         (main): Call the new functions.
45192         * sysdeps/i386/fpu/libm-test-ulps: Update.
45193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45194
45195         [BZ #3976]
45196         * math/libm-test.inc (cosh_test_tonearest): New function.
45197         (cosh_test_towardzero): Likewise.
45198         (cosh_test_downward): Likewise.
45199         (cosh_test_upward): Likewise.
45200         (sinh_test_tonearest): Likewise.
45201         (sinh_test_towardzero): Likewise.
45202         (sinh_test_downward): Likewise.
45203         (sinh_test_upward): Likewise.
45204         (main): Call the new functions.
45205         * sysdeps/i386/fpu/libm-test-ulps: Update.
45206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45207
45208 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45209
45210         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45211         default stack guard is set in last bytes.
45212         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45213
45214 2012-03-05  Kees Cook  <keescook@chromium.org>
45215
45216         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45217
45218         [BZ #13656]
45219         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45220         possibly allocate from heap instead of stack.
45221         * stdio-common/bug-vfprintf-nargs.c: New file.
45222         * stdio-common/Makefile (tests): Add nargs overflow test.
45223
45224 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45225
45226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45227
45228 2012-03-03  Marek Polacek  <polacek@redhat.com>
45229
45230         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45231         * math/math_private.h: Likewise.
45232         * stdlib/tst-strtod.c: Likewise.
45233         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45234         * sysdeps/x86_64/bits/atomic.h: Likewise.
45235
45236 2012-03-02  David S. Miller  <davem@davemloft.net>
45237
45238         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45240         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45241         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45242         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45243         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45244         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45245         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45246
45247 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45248
45249         [BZ #13792]
45250         * manual/examples/README: New file, says the example source files
45251         can be used under GPL>=2.
45252         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45253         line containing just "*/".
45254         * manual/examples/add.c: Add copyright header (GPL>=2).
45255         * manual/examples/argp-ex1.c: Likewise.
45256         * manual/examples/argp-ex2.c: Likewise.
45257         * manual/examples/argp-ex3.c: Likewise.
45258         * manual/examples/argp-ex4.c: Likewise.
45259         * manual/examples/atexit.c: Likewise.
45260         * manual/examples/db.c: Likewise.
45261         * manual/examples/dir.c: Likewise.
45262         * manual/examples/dir2.c: Likewise.
45263         * manual/examples/execinfo.c: Likewise.
45264         * manual/examples/filecli.c: Likewise.
45265         * manual/examples/filesrv.c: Likewise.
45266         * manual/examples/fmtmsgexpl.c: Likewise.
45267         * manual/examples/genpass.c: Likewise.
45268         * manual/examples/inetcli.c: Likewise.
45269         * manual/examples/inetsrv.c: Likewise.
45270         * manual/examples/isockad.c: Likewise.
45271         * manual/examples/longopt.c: Likewise.
45272         * manual/examples/memopen.c: Likewise.
45273         * manual/examples/memstrm.c: Likewise.
45274         * manual/examples/mkfsock.c: Likewise.
45275         * manual/examples/mkisock.c: Likewise.
45276         * manual/examples/mygetpass.c: Likewise.
45277         * manual/examples/pipe.c: Likewise.
45278         * manual/examples/popen.c: Likewise.
45279         * manual/examples/rprintf.c: Likewise.
45280         * manual/examples/search.c: Likewise.
45281         * manual/examples/select.c: Likewise.
45282         * manual/examples/setjmp.c: Likewise.
45283         * manual/examples/sigh1.c: Likewise.
45284         * manual/examples/sigusr.c: Likewise.
45285         * manual/examples/stpcpy.c: Likewise.
45286         * manual/examples/strdupa.c: Likewise.
45287         * manual/examples/strftim.c: Likewise.
45288         * manual/examples/strncat.c: Likewise.
45289         * manual/examples/subopt.c: Likewise.
45290         * manual/examples/swapcontext.c: Likewise.
45291         * manual/examples/termios.c: Likewise.
45292         * manual/examples/testopt.c: Likewise.
45293         * manual/examples/testpass.c: Likewise.
45294         * manual/examples/timeval_subtract.c: Likewise.
45295
45296         [BZ #13792]
45297         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45298         function to ...
45299         * manual/timeval_subtract.c.texi: ... here, new file.
45300
45301 2012-03-02  David S. Miller  <davem@davemloft.net>
45302
45303         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45304
45305 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45306
45307         [BZ #3976]
45308         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45309         (__sin): Save and restore rounding mode and use round-to-nearest
45310         for all computations.
45311         (__cos): Save and restore rounding mode and use round-to-nearest
45312         for all computations.
45313         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45314         <fenv.h>.
45315         (tan): Save and restore rounding mode and use round-to-nearest for
45316         all computations.
45317         * math/libm-test.inc (cos_test_tonearest): New function.
45318         (cos_test_towardzero): Likewise.
45319         (cos_test_downward): Likewise.
45320         (cos_test_upward): Likewise.
45321         (sin_test_tonearest): Likewise.
45322         (sin_test_towardzero): Likewise.
45323         (sin_test_downward): Likewise.
45324         (sin_test_upward): Likewise.
45325         (tan_test_tonearest): Likewise.
45326         (tan_test_towardzero): Likewise.
45327         (tan_test_downward): Likewise.
45328         (tan_test_upward): Likewise.
45329         (main): Call the new functions.
45330         * sysdeps/i386/fpu/libm-test-ulps: Update.
45331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45332
45333         [BZ #10135]
45334         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45335         small n, then large n, before computing and testing k+n.
45336         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45337         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45338         Likewise.
45339         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45340         Likewise.
45341         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45342         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45343         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45344         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45345         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45346         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45347         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45348         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45349         * math/libm-test.inc (scalbn_test): Add more tests.
45350         (scalbln_test): Likewise.
45351
45352         * manual/filesys.texi (mode_t): Describe constraints on size and
45353         signedness, not exact equivalence to a particular type.
45354         (ino_t): Likewise.
45355         (ino64_t): Likewise.
45356         (dev_t): Likewise.
45357         (nlink_t): Likewise.
45358         (blkcnt_t): Likewise.
45359         (blkcnt64_t): Likewise.
45360         * manual/llio.texi (off_t): Likewise.
45361
45362         [BZ #3976]
45363         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45364         (__ieee754_exp): Save and restore rounding mode and use
45365         round-to-nearest for all computations.
45366         * math/libm-test.inc (exp_test_tonearest): New function.
45367         (exp_test_towardzero): Likewise.
45368         (exp_test_downward): Likewise.
45369         (exp_test_upward): Likewise.
45370         (main): Call the new functions.
45371         * sysdeps/i386/fpu/libm-test-ulps: Update.
45372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45373
45374 2012-03-01  Chris Demetriou  <cgd@google.com>
45375
45376         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45377         have predictable order.
45378
45379 2012-03-01  David S. Miller  <davem@davemloft.net>
45380
45381         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45382
45383         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45384         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45385         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45386         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45387
45388         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45389         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45390         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45392         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45393         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45394         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45395         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45396         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45397
45398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45399
45400         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45401         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45402         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45403
45404         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45405         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45406         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45407         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45408         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45409         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45410         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45411         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45412         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45413         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45414         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45415         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45416         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45417         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45418         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45419         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45420         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45421         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45422         * sysdeps/sparc/elf/configure: Regenerated.
45423
45424 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45425
45426         * configure.in (AS, LD): Require binutils 2.20 or later.
45427         * configure: Regenerated.
45428         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45429         as required minimum version.
45430         * INSTALL: Regenerated.
45431
45432         [BZ #2541]
45433         [BZ #4108]
45434         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45435         before squaring exponent.
45436         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45437         bottom long double and 27 bits of top long double before squaring
45438         exponent.
45439         * math/libm-test.inc (erfc_test): Add more tests.
45440         * sysdeps/i386/fpu/libm-test-ulps: Update.
45441         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45443
45444 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45445
45446         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45447         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45448         containing bit-fields.
45449         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45450         * soft-fp/single.h (_FP_UNION_S): Likewise.
45451         * soft-fp/double.h (_FP_UNION_D): Likewise.
45452
45453 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45454
45455         [BZ #13786]
45456         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45457         not include ../strcmp.S.
45458         [USE_AS_STRNCASECMP_L]: Likewise.
45459         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45460         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45461         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45462         (__strncasecmp_l_ia32): Define as alias to
45463         __strncasecmp_l_nonascii.
45464
45465         [BZ #5794]
45466         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45467         * sysdeps/i386/fpu/libm-test-ulps: Update.
45468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45469
45470         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45472
45473 2012-02-29  Jeff Law  <law@redhat.com>
45474
45475         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45476         out of bounds read.
45477
45478 2012-02-29  Marek Polacek  <polacek@redhat.com>
45479
45480         [BZ #13706]
45481         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45482         * elf/Makefile: Add rules to run tst-unused-dep.out.
45483
45484 2012-02-28  David S. Miller  <davem@davemloft.net>
45485
45486         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45487         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45488         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45489         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45490         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45491         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45492
45493 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45494
45495         * math/libm-test.inc (llround_test): Move one test from
45496         lround_test.  Use TEST_f_L in moved test.
45497         (lround_test): Move misplaced test to llround_test.  Add testcase
45498         from bug 2561.
45499
45500 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45501
45502         * sysdeps/x86_64/fpu/e_expf.S: New file.
45503         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45504
45505 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45506
45507         [BZ #13637]
45508         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45509         of remain_len that may cause incomplete multi-byte character and
45510         false match.
45511         * posix/bug-regex33.c: New file.
45512         * posix/Makefile (tests): Add bug-regex33.
45513
45514 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45515
45516         * manual/macros.texi: New file.
45517         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45518         * manual/libc.texinfo: Include macros.texi.
45519         * manual/creatute.texi: Likewise.
45520         * manual/install.texi: Likewise.
45521         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45522         @glibcadj{} in references to the GNU C Library.
45523         * manual/charset.texi: Likewise.
45524         * manual/conf.texi: Likewise.
45525         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45526         when not using those macros.
45527         * manual/creature.texi: Likewise.
45528         * manual/crypt.texi: Likewise.
45529         * manual/errno.texi: Likewise.
45530         * manual/filesys.texi: Likewise.
45531         * manual/header.texi: Likewise.
45532         * manual/install.texi: Likewise.
45533         * manual/intro.texi: Likewise.
45534         * manual/io.texi: Likewise.
45535         * manual/job.texi: Likewise.
45536         * manual/lang.texi: Likewise.
45537         * manual/libc.texiinfo: Likewise.
45538         * manual/llio.texi: Likewise.
45539         * manual/locale.texi: Likewise.
45540         * manual/maint.texi: Likewise.
45541         * manual/math.texi: Likewise.
45542         * manual/memory.texi: Likewise.
45543         * manual/message.texi: Likewise.
45544         * manual/nss.texi: Likewise.
45545         * manual/pattern.texi: Likewise.
45546         * manual/process.texi: Likewise.
45547         * manual/resource.texi: Likewise.
45548         * manual/search.texi: Likewise.
45549         * manual/setjmp.texi: Likewise.
45550         * manual/signal.texi: Likewise.
45551         * manual/socket.texi: Likewise.
45552         * manual/startup.texi: Likewise.
45553         * manual/stdio.texi: Likewise.
45554         * manual/string.texi: Likewise.
45555         * manual/sysinfo.texi: Likewise.
45556         * manual/syslog.texi: Likewise.
45557         * manual/terminal.texi: Likewise.
45558         * manual/time.texi: Likewise.
45559         * manual/users.texi: Likewise.
45560         * INSTALL: Regenerated.
45561         * NOTES: Regenerated.
45562         * sysdeps/gnu/errlist.c: Regenerated.
45563
45564 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45565
45566         * include/dirent.h: Include <dirstream.h> before
45567         <dirent/dirent.h>.
45568
45569 2012-02-28  David S. Miller  <davem@davemloft.net>
45570
45571         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45572         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45573         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45574         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45575
45576 2012-02-27  David S. Miller  <davem@davemloft.net>
45577
45578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45580         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45581         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45582
45583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45584         frame pointer instead of stack pointer relative arg slot.
45585         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45586         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45587         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45588
45589 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45590
45591         [BZ #3992]
45592         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45593
45594 2012-02-27  David S. Miller  <davem@davemloft.net>
45595
45596         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45597         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45598         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45599         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45600         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45601         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45602         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45603         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45604
45605 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45606
45607         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45608         later.  Allow versions 5-9.
45609         * configure: Regenerated.
45610         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45611         required minimum version and 4.6 as recommended version.  Do not
45612         mention bugs in GCC 2.7 and 2.8.
45613         * INSTALL: Regenerated.
45614
45615 2012-02-27  David S. Miller  <davem@davemloft.net>
45616
45617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45621         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45622         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45623         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45624         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45625
45626         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45627         manipulate bits before adding and subtracting TWO112[sx].
45628         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45629
45630 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45631
45632         [BZ #13775]
45633         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45634         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45635         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45636         being in POSIX, because they are in 1003.1-2008.
45637
45638         * rt/tst-aio.c: Include <fcntl.h>.
45639         * rt/tst-aio7.c: Likewise.
45640         * rt/tst-aio64.c: Likewise.
45641
45642         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45643
45644 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45645
45646         * manual/install.texi (--with-headers): Describe headers as
45647         interface headers, not private headers.
45648         (Specific advice for GNU/Linux systems): Describe use of headers
45649         from "make headers_install", not private headers from older
45650         kernels.
45651         * INSTALL: Regenerated.
45652         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45653         Change to 2.6.19.
45654         * sysdeps/unix/sysv/linux/configure: Regenerated.
45655
45656         * manual/llio.texi (fclean): Remove documentation.
45657
45658         * manual/Makefile (libc-texi-generated): New variable.  Include
45659         version.texi.
45660         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45661         $(libc-texi-generated), not duplicated list of files.
45662         (version.texi, stamp-version): New rules.
45663         (realclean): Remove $(libc-texi-generated), not individual files
45664         from that list.  Do not remove dir-add.texinfo.
45665         * manual/libc.texinfo: Comment out uses of edition numbers and
45666         references to printed manual.  Remove last-updated dates.
45667         (EDITION): Comment out.
45668         (ISBN): Likewise.
45669         (VERSION, UPDATED): Remove.
45670         (version.texi): Include.
45671
45672 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45673
45674         * sysdeps/posix/spawni.c: Include <signal.h>.
45675         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45676         * sysdeps/pthread/aio_fsync.c: Likewise.
45677
45678 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45679
45680         * conform/Makefile (tests): Run only when not cross-compiling and
45681         when fast-check is not defined.
45682
45683         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45684         * conform/data/limits.h-data: Fixes for POSIX2008.
45685         * conform/run-conformtest.sh: Run all tests.
45686         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45687         headers.
45688         * include/bits/dlfcn.h: Likewise.
45689         * include/langinfo.h: Likewise.
45690         * include/monetary.h: Likewise.
45691         * include/sys/poll.h: Likewise.
45692
45693         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45694         for __USE_GNU.
45695         * posix/spawn.h: Define __need_sigset_t.
45696         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45697         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45698         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45699         to get sigevent_t only.
45700         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45701         only for __USE_GNU.
45702         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45703         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45704         process_vm_writev only for __USE_GNU.
45705         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45706
45707         * conform/Makefile: For now ignore errors from run-conformtest.
45708         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45709         POSIX to avoid namespace pollution.  Don't prepend headers.
45710         * conform/data/aio.h-data: Fixes for POSIX testing.
45711         * conform/data/fcntl.h-data: Likewise.
45712         * conform/data/glob.h-data: Likewise.
45713         * conform/data/grp.h-data: Likewise.
45714         * conform/data/pthread.h-data: Likewise.
45715         * conform/data/pwd.h-data: Likewise.
45716         * conform/data/signal.h-data: Likewise.
45717         * conform/data/spawn.h-data: Likewise.
45718         * conform/data/stdio.h-data: Likewise.
45719         * conform/data/stdlib.h-data: Likewise.
45720         * conform/data/stropts.h-data: Likewise.
45721         * conform/data/sys/mman.h-data: Likewise.
45722         * conform/data/sys/stat.h-data: Likewise.
45723         * conform/data/sys/types.h-data: Likewise.
45724         * conform/data/sys/wait.h-data: Likewise.
45725         * conform/data/time.h-data: Likewise.
45726         * conform/data/unistd.h-data: Likewise.
45727         * conform/data/utime.h-data: Likewise.
45728
45729         * io/sys/stat.h: fchmod was always in POSIX.
45730         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45731         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45732         * rt/aio.h: Define __need_timespec before including <time.h>.
45733         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45734         struct.  Add forward declaration of pthread_attr_t and use it in
45735         sigevent.
45736         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45737         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45738         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45739         always remove CLK_TCK definition.
45740
45741 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45742
45743         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45744
45745 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45746
45747         * conform/run-conformtest.sh: New file.
45748         * conform/Makefile: Run run-conformtest for tests.
45749         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45750         support.
45751
45752         * conform/data/uchar.h-data: New file.
45753         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45754         * conform/data/arpa/inet.h-data: Likewise.
45755         * conform/data/assert.h-data: Likewise.
45756         * conform/data/complex.h-data: Likewise.
45757         * conform/data/cpio.h-data: Likewise.
45758         * conform/data/ctype.h-data: Likewise.
45759         * conform/data/dirent.h-data: Likewise.
45760         * conform/data/dlfcn.h-data: Likewise.
45761         * conform/data/errno.h-data: Likewise.
45762         * conform/data/fcntl.h-data: Likewise.
45763         * conform/data/float.h-data: Likewise.
45764         * conform/data/fmtmsg.h-data: Likewise.
45765         * conform/data/fnmatch.h-data: Likewise.
45766         * conform/data/ftw.h-data: Likewise.
45767         * conform/data/glob.h-data: Likewise.
45768         * conform/data/grp.h-data: Likewise.
45769         * conform/data/iconv.h-data: Likewise.
45770         * conform/data/inttypes.h-data: Likewise.
45771         * conform/data/langinfo.h-data: Likewise.
45772         * conform/data/libgen.h-data: Likewise.
45773         * conform/data/limits.h-data: Likewise.
45774         * conform/data/locale.h-data: Likewise.
45775         * conform/data/math.h-data: Likewise.
45776         * conform/data/monetary.h-data: Likewise.
45777         * conform/data/mqueue.h-data: Likewise.
45778         * conform/data/ndbm.h-data: Likewise.
45779         * conform/data/net/if.h-data: Likewise.
45780         * conform/data/netdb.h-data: Likewise.
45781         * conform/data/netinet/in.h-data: Likewise.
45782         * conform/data/nl_types.h-data: Likewise.
45783         * conform/data/poll.h-data: Likewise.
45784         * conform/data/pthread.h-data: Likewise.
45785         * conform/data/pwd.h-data: Likewise.
45786         * conform/data/regex.h-data: Likewise.
45787         * conform/data/sched.h-data: Likewise.
45788         * conform/data/search.h-data: Likewise.
45789         * conform/data/semaphore.h-data: Likewise.
45790         * conform/data/setjmp.h-data: Likewise.
45791         * conform/data/signal.h-data: Likewise.
45792         * conform/data/spawn.h-data: Likewise.
45793         * conform/data/stdarg.h-data: Likewise.
45794         * conform/data/stdio.h-data: Likewise.
45795         * conform/data/stdlib.h-data: Likewise.
45796         * conform/data/string.h-data: Likewise.
45797         * conform/data/strings.h-data: Likewise.
45798         * conform/data/stropts.h-data: Likewise.
45799         * conform/data/sys/ipc.h-data: Likewise.
45800         * conform/data/sys/mman.h-data: Likewise.
45801         * conform/data/sys/msg.h-data: Likewise.
45802         * conform/data/sys/resource.h-data: Likewise.
45803         * conform/data/sys/select.h-data: Likewise.
45804         * conform/data/sys/sem.h-data: Likewise.
45805         * conform/data/sys/shm.h-data: Likewise.
45806         * conform/data/sys/socket.h-data: Likewise.
45807         * conform/data/sys/stat.h-data: Likewise.
45808         * conform/data/sys/statvfs.h-data: Likewise.
45809         * conform/data/sys/time.h-data: Likewise.
45810         * conform/data/sys/timeb.h-data: Likewise.
45811         * conform/data/sys/times.h-data: Likewise.
45812         * conform/data/sys/types.h-data: Likewise.
45813         * conform/data/sys/uio.h-data: Likewise.
45814         * conform/data/sys/un.h-data: Likewise.
45815         * conform/data/sys/utsname.h-data: Likewise.
45816         * conform/data/sys/wait.h-data: Likewise.
45817         * conform/data/syslog.h-data: Likewise.
45818         * conform/data/tar.h-data: Likewise.
45819         * conform/data/termios.h-data: Likewise.
45820         * conform/data/utime.h-data: Likewise.
45821         * conform/data/utmpx.h-data: Likewise.
45822         * conform/data/varargs.h-data: Likewise.
45823         * conform/data/wchar.h-data: Likewise.
45824         * conform/data/wctype.h-data: Likewise.
45825         * conform/data/wordexp.h-data: Likewise.
45826
45827         * include/stropts.h: New file.
45828         * include/uchar.h: New file.
45829         * include/aio.h: Changes to allow conformtest.pl to use the headers.
45830         * include/assert.h: Likewise.
45831         * include/ctype.h: Likewise.
45832         * include/dirent.h: Likewise.
45833         * include/dlfcn.h: Likewise.
45834         * include/fcntl.h: Likewise.
45835         * include/fnmatch.h: Likewise.
45836         * include/glob.h: Likewise.
45837         * include/grp.h: Likewise.
45838         * include/libio.h: Likewise.
45839         * include/locale.h: Likewise.
45840         * include/math.h: Likewise.
45841         * include/net/if.h: Likewise.
45842         * include/netdb.h: Likewise.
45843         * include/netinet/in.h: Likewise.
45844         * include/pthread.h: Likewise.
45845         * include/pwd.h: Likewise.
45846         * include/regex.h: Likewise.
45847         * include/sched.h: Likewise.
45848         * include/search.h: Likewise.
45849         * include/setjmp.h: Likewise.
45850         * include/signal.h: Likewise.
45851         * include/stdio.h: Likewise.
45852         * include/stdlib.h: Likewise.
45853         * include/string.h: Likewise.
45854         * include/sys/cdefs.h: Likewise.
45855         * include/sys/mman.h: Likewise.
45856         * include/sys/msg.h: Likewise.
45857         * include/sys/resource.h: Likewise.
45858         * include/sys/select.h: Likewise.
45859         * include/sys/socket.h: Likewise.
45860         * include/sys/stat.h: Likewise.
45861         * include/sys/statvfs.h: Likewise.
45862         * include/sys/time.h: Likewise.
45863         * include/sys/times.h: Likewise.
45864         * include/sys/uio.h: Likewise.
45865         * include/sys/utsname.h: Likewise.
45866         * include/sys/wait.h: Likewise.
45867         * include/termios.h: Likewise.
45868         * include/time.h: Likewise.
45869         * include/ulimit.h: Likewise.
45870         * include/unistd.h: Likewise.
45871         * include/utime.h: Likewise.
45872         * include/wchar.h: Likewise.
45873         * include/wctype.h: Likewise.
45874         * include/wordexp.h: Likewise.
45875
45876         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45877
45878         * time/time.h: TIME_UTC must be a macro.
45879         Make timespec_get available for ISO C11 only as well.
45880
45881 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
45882
45883         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45884         Reported by Peng Haitao <penght@cn.fujitsu.com>.
45885
45886 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45887
45888         * configure.in: Use -o not -a in test for unsupported multi-arch.
45889
45890 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45891
45892         * manual/texinfo.tex: Update to version 2012-01-19.16.
45893
45894 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45895
45896         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45897
45898 2012-02-24  Roland McGrath  <roland@hack.frob.com>
45899
45900         [BZ #13738]
45901         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45902         * manual/fdl-1.3.texi: New file.
45903         * manual/fdl-1.1.texi: File removed.
45904
45905         [BZ #13738]
45906         * manual/libc.texinfo (FDL_VERSION): New @set.
45907         Use it for mention of FDL in cover text.
45908         (Documentation License): Use it in @include file name.
45909
45910 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45911             Roland McGrath  <roland@hack.frob.com>
45912
45913         [BZ #5461]
45914         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45915         (not LONG_LONG_MAX and LONG_LONG_MIN.
45916         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45917         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
45918         name.
45919         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45920
45921 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45922
45923         [BZ #2547]
45924         [BZ #11365]
45925         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45926         manipulate bits before adding and subtracting TWO23[sx].
45927         * math/libm-test.inc (nearbyint_test): Add more tests.
45928
45929 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45930
45931         [BZ #2548]
45932         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45933         bits before adding and subtracting TWO23[sx].
45934         * math/libm-test.inc (rint_test): Add more tests.
45935         (rint_test_tonearest): Likewise.
45936         (rint_test_towardzero): Likewise.
45937         (rint_test_downward): Likewise.
45938         (rint_test_upward: Likewise.
45939
45940 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45941
45942         [BZ #10110]
45943         * include/stdc-predef.h: New file.  Extracted from features.h.
45944         * include/features.h: Include stdc-predef.h.
45945         * Makefile (headers): Add stdc-predef.h.
45946         * CONFORMANCE (Compiler limitations): Update.
45947
45948 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45949
45950         * manual/libc.texinfo (VERSION, UPDATED): Revert.
45951
45952 2012-02-21  David S. Miller  <davem@davemloft.net>
45953
45954         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45955         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45956
45957 2012-02-20  David S. Miller  <davem@davemloft.net>
45958
45959         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45960         using a normal save/restore sequence, rather than allocating a
45961         dummy stack frame just to store a frame pointer and restore.
45962         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45963
45964 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45965
45966         * manual/install.texi: Fix stray word in line-wrapped comment.
45967
45968 2012-02-20  David S. Miller  <davem@davemloft.net>
45969
45970         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45971         both binutils and gcc support GOTDATA.
45972
45973         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45974         "rd %pc" in the PIC register setup sequences.
45975
45976         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45977         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45978         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45979         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45980         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45981         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45982         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45983         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45985         (SYSCALL_ERROR_HANDLER): Likewise.
45986         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45987         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45988         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45989         (SYSCALL_ERROR_HANDLER): Likewise.
45990
45991         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45992         (HAVE_GCC_GOTDATA): New.
45993         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45994         relocation support in both binutils and gcc.
45995         * sysdeps/sparc/elf/configure: Regenerate.
45996
45997         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45998         * sysdeps/sparc/sparc32/elf/configure: Delete.
45999         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46000         * sysdeps/sparc/sparc64/elf/configure: Delete.
46001         * sysdeps/sparc/elf/configure.in: New file.
46002         * sysdeps/sparc/elf/configure: Generate.
46003
46004         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46005         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46006         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46007         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46008         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46009
46010 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46011
46012         * manual/install.texi: Do not mention specific glibc version
46013         numbers.
46014         * manual/libc.texinfo (VERSION, UPDATED): Update.
46015         (@copying): Use @copyright{} and range of years.
46016
46017 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46018
46019         [BZ #13695]
46020         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46021         [crti.S not in sysdirs] (generated): Do not append.
46022         [crti.S not in sysdirs] (omit-deps): Likewise.
46023         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46024         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46025         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46026         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46027         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46028         Likewise.
46029         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46030         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46031         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46032         * csu/defs.awk: Remove file.
46033         * sysdeps/generic/initfini.c: Likewise.
46034         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46035         variable.
46036         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46037         Likewise.
46038
46039 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46040
46041         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46042         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46043         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46044         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46045         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46046         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46047         <bits/epoll.h>.
46048         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46049         (__EPOLL_PACKED): Define to empty if not defined by
46050         <bits/epoll.h>.
46051         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46053         bits/epoll.h.
46054
46055 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46056
46057         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46058         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46059         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46060         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46061         <bits/timerfd.h>.
46062         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46063         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46064         bits/timerfd.h.
46065
46066 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46067
46068         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46069         in C locale.
46070         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46071         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46072         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46074
46075 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46076
46077         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46078         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46079
46080 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46081
46082         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46083         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46084         defined.
46085         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46086         Likewise.
46087         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46088         entry for 2.16.
46089
46090 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46091
46092         * math/w_acos.c: Use non-signaling floating-point comparisons.
46093         * math/w_acosf.c: Likewise.
46094         * math/w_acosh.c: Likewise.
46095         * math/w_acoshf.c: Likewise.
46096         * math/w_acoshl.c: Likewise.
46097         * math/w_acosl.c: Likewise.
46098         * math/w_asin.c: Likewise.
46099         * math/w_asinf.c: Likewise.
46100         * math/w_asinl.c: Likewise.
46101         * math/w_atanh.c: Likewise.
46102         * math/w_atanhf.c: Likewise.
46103         * math/w_atanhl.c: Likewise.
46104         * math/w_exp2.c: Likewise.
46105         * math/w_exp2f.c: Likewise.
46106         * math/w_exp2l.c: Likewise.
46107         * math/w_j0.c: Likewise.
46108         * math/w_j0f.c: Likewise.
46109         * math/w_j0l.c: Likewise.
46110         * math/w_j1.c: Likewise.
46111         * math/w_j1f.c: Likewise.
46112         * math/w_j1l.c: Likewise.
46113         * math/w_jn.c: Likewise.
46114         * math/w_jnf.c: Likewise.
46115         * math/w_log.c: Likewise.
46116         * math/w_log10.c: Likewise.
46117         * math/w_log10f.c: Likewise.
46118         * math/w_log10l.c: Likewise.
46119         * math/w_log2.c: Likewise.
46120         * math/w_log2f.c: Likewise.
46121         * math/w_log2l.c: Likewise.
46122         * math/w_logf.c: Likewise.
46123         * math/w_logl.c: Likewise.
46124         * math/w_sqrt.c: Likewise.
46125         * math/w_sqrtf.c: Likewise.
46126         * math/w_sqrtl.c: Likewise.
46127         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46128         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46129         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46130         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46131         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46132
46133 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46134
46135         [BZ #9739]
46136         * manual/string.texi (strnlen): Use correct parameter name in
46137         equivalent expression.
46138
46139 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46140
46141         [BZ #11174]
46142         * manual/users.texi (seteuid): Consistently use neweuid for
46143         argument name.
46144
46145 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46146
46147         [BZ #13704]
46148         * manual/nss.texi (Services in the NSS configuration): Correct
46149         list of services in example configuration file.
46150
46151 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46152
46153         [BZ #11322]
46154         * manual/arith.texi: Remove statements about negative zero
46155         behaving identically to zero.
46156
46157 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46158
46159         [BZ #5993]
46160         * manual/install.texi: Do not document upgrading from libc5.
46161
46162 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46163
46164         [BZ #4596]
46165         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46166
46167 2012-02-18  David S. Miller  <davem@davemloft.net>
46168
46169         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46170         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46171         %o7 across the call.
46172         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46173         instead.
46174         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46175         SETUP_PIC_REG_LEAF.
46176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46177         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46178         * sysdeps/sparc/crtn.S: Likewise.
46179
46180 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46181
46182         * aout/Makefile: Remove.
46183
46184 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46185
46186         [BZ #13058]
46187         * manual/examples/argp-ex1.c (main): Format definition in GNU
46188         style.
46189         * manual/examples/argp-ex2.c (main): Likewise.
46190         * manual/examples/argp-ex3.c (main): Likewise.
46191         * manual/examples/argp-ex4.c (main): Likewise.
46192         * manual/examples/longopt.c (main): Use new-style prototype
46193         definition.
46194         * manual/examples/strncat.c (main): Specify return type and use
46195         (void) for arguments.
46196         * manual/examples/subopt.c (main): Use char **argv argument.
46197
46198 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46199
46200         [BZ #5077]
46201         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46202         rounding modes.
46203
46204 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46205
46206         [BZ #6907]
46207         * manual/string.texi (strchr): Change when strchrnul is
46208         recommended.
46209
46210 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46211
46212         [BZ #174]
46213         * manual/locale.texi (setlocale): Document LOCPATH.
46214
46215 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46216
46217         [BZ #10210]
46218         * manual/process.texi (execle): Move @dots{} before last argument.
46219
46220 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46221
46222         [BZ #12047]
46223         * manual/charset.texi (Generic Charset Conversion): Fix typo
46224         (LC_TYPE -> LC_CTYPE).
46225
46226 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46227
46228         [BZ #5805]
46229         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46230         (scalbnf): Likewise.
46231         (scalbnl): Likewise.
46232         (scalbln): Likewise.
46233         (scalblnf): Likewise.
46234         (scalblnl): Likewise.
46235         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46236         (vwarnx): Likewise.
46237         (verr): Likewise.
46238         (verrx): Likewise.
46239         * manual/filesys.texi (telldir): Use braces around return type.
46240         * manual/llio.texi (mmap): Add space after comma.
46241         (mmap64): Likewise.
46242         * manual/math.texi (jn): Use @var{} on parameter names.
46243         (jnf): Likewise.
46244         (jnl): Likewise.
46245         (yn): Likewise.
46246         (ynf): Likewise.
46247         (ynl): Likewise.
46248         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46249         line.
46250         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46251         "...".
46252         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46253         (sched_get_priority_max): Likewise.
46254         * manual/signal.texi (sigvec): Add space after comma.
46255         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46256         names.
46257         (if_indextoname): Likewise.
46258         (if_freenameindex): Likewise.
46259         (sendto): Use ',' instead of '.' in prototype.
46260         * manual/startup.texi (syscall): Use @dots{} instead of literal
46261         "...".
46262         * manual/stdio.texi (__fpending): Separate initial words of
46263         paragraph from @deftypefun line.
46264         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46265         "...".
46266         (vsyslog): Use @var{} on parameter names.
46267         * manual/terminal.texi (stty): Use @var{} on parameter names.
46268         * manual/users.texi (getutmp): Use @var{} on parameter names.
46269         (getutmpx): Likewise.
46270
46271 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46272
46273         [BZ #6884]
46274         * manual/stdio.texi (fopen): Fix typos in description of
46275         ",ccs=STRING".
46276
46277 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46278
46279         [BZ #4026]
46280         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46281         get clock_id definition.
46282
46283 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46284
46285         [BZ #4822]
46286         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46287         (madvise): Cast every argument to void on its own.
46288
46289 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46290
46291         [BZ #9902]
46292         * manual/startup.texi (Exit Status): Fix typo.
46293
46294 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46295
46296         [BZ #10140]
46297         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46298         * manual/examples/argp-ex2.c: Likewise.
46299         * manual/examples/argp-ex3.c: Likewise.
46300
46301 2012-02-16  Richard Henderson  <rth@redhat.com>
46302
46303         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46304         * sysdeps/s390/s390-32/initfini.c: Remove.
46305         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46306         * sysdeps/s390/s390-64/initfini.c: Remove.
46307
46308 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46309
46310         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46311         compiler output for sysdeps/generic/initfini.c.
46312         * sysdeps/sh/elf/initfini.c: Remove file.
46313
46314 2012-02-16  David S. Miller  <davem@davemloft.net>
46315
46316         [BZ #11494]
46317         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46318
46319         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46320         * sysdeps/sparc/crti.S: New file.
46321         * sysdeps/sparc/crtn.S: New file.
46322         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46323         * sysdeps/sparc/sparc64/Makefile: Likewise.
46324
46325 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46326
46327         [BZ #3335]
46328         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46329
46330 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46331
46332         [BZ #4822]
46333         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46334
46335         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46336         (write, read, close): Likewise.
46337         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46338
46339 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46340
46341         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46342         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46343         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46344         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46345         <bits/signalfd.h>.
46346         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46347         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46348         bits/signalfd.h.
46349
46350 2012-02-14  Marek Polacek  <polacek@redhat.com>
46351
46352         * sysdeps/x86_64/crti.S: New file.
46353         * sysdeps/x86_64/crtn.S: New file.
46354         * sysdeps/x86_64/elf/initfini.c: Remove file.
46355
46356 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46357
46358         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46359         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46360         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46361         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46362         <bits/inotify.h>.
46363         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46365         bits/inotify.h.
46366
46367 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46368
46369         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46370         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46371         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46372         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46373         <bits/eventfd.h>.
46374         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46376         bits/eventfd.h.
46377
46378 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46379
46380         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46381         __feraiseexcept instead of feraiseexcept.
46382
46383         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46384         nanosleep invocations.
46385         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46386         strings, and add error checking for a nanosleep invocations.
46387
46388 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46389
46390         Replace FSF snail mail address with URLs, as per GNU coding standards.
46391         Most of the snail mail addresses were wrong anyway, and omitting
46392         them makes the source code easier to maintain.  Almost all of the
46393         changes are to license notices and to locale LC_IDENTIFICATION
46394         addresses, except for this one:
46395         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46396         not its snail mail address.
46397
46398 2012-02-09  Richard Henderson  <rth@twiddle.net>
46399
46400         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46401         of kernel-features.h.
46402
46403         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46404
46405 2012-02-08  Marek Polacek  <polacek@redhat.com>
46406
46407         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46408         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46409         * sysdeps/gnu/_G_config.h: Likewise.
46410         * sysdeps/generic/_G_config.h: Likewise.
46411
46412 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46413
46414         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46415         tests.
46416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46417
46418         * sysdeps/powerpc/powerpc32/crti.S: New file.
46419         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46420         * sysdeps/powerpc/powerpc64/crti.S: New file.
46421         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46422
46423         * Makeconfig (have-initfini): Don't set.
46424         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46425         * configure.in (nopic_initfini): Don't substitute.
46426         * config.h.in (HAVE_INITFINI): Don't #undef.
46427         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46428         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46429
46430 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46431
46432         Support crti.S and crtn.S provided directly by architectures.
46433         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46434         [crti.S in sysdirs] (omit-deps): Likewise.
46435         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46436         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46437         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46438         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46439         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46440         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46441         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46442         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46443         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46444         compiler output for sysdeps/generic/initfini.c.
46445         * sysdeps/i386/elf/Makefile: Remove file.
46446         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46447
46448 2012-02-07  Marek Polacek  <polacek@redhat.com>
46449
46450         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46451         * sysdeps/gnu/_G_config.h: Likewise.
46452         * sysdeps/mach/hurd/_G_config.h: Likewise.
46453
46454 2012-02-07  Marek Polacek  <polacek@redhat.com>
46455
46456         * math/Makefile (tests): Add tst-CMPLX2.
46457         * math/tst-CMPLX2.c: New file.
46458
46459 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46460
46461         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46462
46463         * math/libm-test.inc (jn_test): Add missing L suffix.
46464
46465 2012-02-06  Marek Polacek  <polacek@redhat.com>
46466
46467         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46468         * sysdeps/i386/fpu/e_powf.S: Likewise.
46469         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46470         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46471         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46472         * sysdeps/i386/fpu/e_pow.S: Likewise.
46473         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46474         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46475         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46476         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46477         * sysdeps/i386/fpu/e_log2.S: Likewise.
46478         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46479         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46480         * sysdeps/i386/fpu/e_powl.S: Likewise.
46481         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46482         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46483         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46484         * sysdeps/i386/fpu/e_logl.S: Likewise.
46485         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46486         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46487         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46488         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46489         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46490         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46491         * sysdeps/i386/fpu/e_log.S: Likewise.
46492         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46493         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46494         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46495         * sysdeps/i386/fpu/e_logf.S: Likewise.
46496         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46497         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46498         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46499         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46500         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46501         * sysdeps/i386/fpu/e_log10.S: Likewise.
46502         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46503         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46504         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46505         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46506         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46507         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46508         * sysdeps/i386/asm-syntax.h: Likewise.
46509         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46510         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46511         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46512         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46513         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46514         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46515         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46516         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46517         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46518         * sysdeps/powerpc/sysdep.h: Likewise.
46519         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46520         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46521
46522 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46523
46524         [BZ #411]
46525         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46526
46527 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46528
46529         * sysdeps/i386/sysdep.h: Include <features.h>.
46530         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46531         version.
46532
46533 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46534
46535         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46536         Define.
46537         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46538         LOAD_PIC_REG_STR.
46539
46540 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46541
46542         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46543         (SETUP_PIC_REG): Use GET_PC_THUNK.
46544         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46545         macro.
46546
46547 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46548
46549         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46550         for non-PIC compilation.
46551         (SETUP_PIC_REG): Add .p2align directive.
46552         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46553         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46554         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46555         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46556         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46557         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46558         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46559         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46560         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46561         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46562         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46563         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46564         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46565         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46566         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46567         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46568         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46569         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46570         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46571         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46572         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46573         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46574         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46575         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46576         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46577         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46578         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46579         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46580         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46581         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46582         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46583         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46584         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46585         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46586         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46587         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46588         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46589         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46590         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46591         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46592         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46593
46594 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46595
46596         * math/tst-CMPLX.c: Include <stdio.h>.
46597
46598 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46599
46600         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46601         float.
46602         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46603         * sysdeps/sparc/bits/mathdef.h: Likewise.
46604
46605 2012-01-31  Marek Polacek  <polacek@redhat.com>
46606
46607         * libio/libio.h: Don't define _PARAMS.
46608         * locale/programs/config.h: Don't define PARAMS.
46609         * stdlib/strtol_l.c: Likewise.
46610         (__strtol_l): Remove PARAMS from the prototype.
46611
46612 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46613
46614         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46615         names.  Just use the correct names.  Remove unnecessary wrapper
46616         functions.
46617         * malloc/arena.c: Likewise.
46618         * malloc/hooks.c: Likewise.
46619
46620         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46621         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46622         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46623
46624 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46625
46626         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46627         into tail calls.
46628         (update_get_addr): New function.
46629         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46630         GET_ADDR_MODULE parameter.
46631
46632 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46633
46634         * crypt/cert.c: Remove __STDC__ conditionals.
46635         * crypt/crypt-entry.c: Likewise.
46636         * crypt/crypt_util.c: Likewise.
46637         * libio/filedoalloc.c: Likewise.
46638         * libio/fileops.c: Likewise.
46639         * libio/genops.c: Likewise.
46640         * libio/iofclose.c: Likewise.
46641         * libio/iofdopen.c: Likewise.
46642         * libio/iofopen.c: Likewise.
46643         * libio/iofopen64.c: Likewise.
46644         * libio/iogetdelim.c: Likewise.
46645         * libio/iopopen.c: Likewise.
46646         * libio/obprintf.c: Likewise.
46647         * libio/oldfileops.c: Likewise.
46648         * libio/oldiofclose.c: Likewise.
46649         * libio/oldiofdopen.c: Likewise.
46650         * libio/oldiofopen.c: Likewise.
46651         * libio/oldiopopen.c: Likewise.
46652         * libio/wfiledoalloc.c: Likewise.
46653         * libio/wgenops.c: Likewise.
46654         * locale/programs/xmalloc.c: Likewise.
46655         * misc/syslog.c: Likewise.
46656         * stdio-common/xbug.c: Likewise.
46657         * string/memchr.c: Likewise.
46658         * string/memcmp.c: Likewise.
46659         * string/memrchr.c: Likewise.
46660         * string/rawmemchr.c: Likewise.
46661         * sysdeps/posix/getcwd.c: Likewise.
46662         * time/strftime_l.c: Likewise.
46663
46664 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46665
46666         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46667         * config.make.in (config-cflags-sse2avx): Define.
46668         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46669         Fix typo.
46670
46671 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46672
46673         * scripts/config.guess: Update from upstream config git repository.
46674         * scripts/config.sub: Likewise.
46675
46676 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46677
46678         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46679         (EM_NUM): Update.
46680         (R_TILEPRO_*, R_TILEGX_*): New macros.
46681
46682         * scripts/firstversions.awk: Fix bug in version range handling.
46683
46684         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46685
46686         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46687
46688         * include/sys/epoll.h: New file.
46689         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46690         libc_hidden_def.
46691
46692 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46693
46694         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46695         Avoid unnecessary __WORDSIZE == 64 test.
46696         (fmaxf): Use VEX format if possible.
46697         (fmax): Likewise.
46698         (fminf): Likewise.
46699         (fmin): Likewise.
46700
46701         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46702         * math/math_private.h: Remove libc_fegetround* and
46703         libc_fesetround*.
46704         * sysdeps/i386/configure.in: Check for -msse2avx.
46705         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46706         also if SSE2AVX is defined.
46707         Remove libc_fegetround* and libc_fesetround*.
46708         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46709         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46710         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46711         of HAS_YMM_USABLE.
46712         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46713         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46714         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46715         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46716         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46717
46718         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46719
46720 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46721
46722         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46723         size is not set.
46724         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46725
46726 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46727
46728         [BZ #13618]
46729         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46730         relocation.
46731         * Makeconfig (libm): Define.
46732         * elf/Makefile: Add rules to build and run tst-relsort1.
46733         * elf/tst-relsort1.c: New file.
46734         * elf/tst-relsort1mod1.c: New file.
46735         * elf/tst-relsort1mod2.c: New file.
46736
46737 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46738
46739         * math/s_ldexp.c: Remove __STDC__ conditionals.
46740         * math/s_ldexpf.c: Likewise.
46741         * math/s_ldexpl.c: Likewise.
46742         * math/s_nextafter.c: Likewise.
46743         * math/s_nexttowardf.c: Likewise.
46744         * math/s_significand.c: Likewise.
46745         * math/s_significandf.c: Likewise.
46746         * math/s_significandl.c: Likewise.
46747         * math/w_jnl.c: Likewise.
46748         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46749         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46750         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46751         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46752         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46753         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46754         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46755         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46756         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46757         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46758         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46759         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46760         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46761         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46762         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46763         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46766         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46767         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46768         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46769         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46770         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46771         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46772         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46773         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46774         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46775         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46776         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46777         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46778         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46779         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46780         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46781         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46782         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46783         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46784         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46785         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46786         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46787         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46788         * sysdeps/ieee754/k_standard.c: Likewise.
46789         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46790         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46791         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46792         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46793         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46794         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46795         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46796         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46797         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46798         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46799         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46800         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46801         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46802         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46803         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46804         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46805         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46806         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46807         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46808         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46809         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46810         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46811         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46812         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46813         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46814         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46815         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46816         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46817         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46818         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46819         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46820         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46821         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46822         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46823         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46824         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46825         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46826         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46827         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46828         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46829         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46830         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46831         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46832         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46833         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46834         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46835         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46836         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46837         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46838         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46839         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46840         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46841         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46842         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46843         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46844         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46845         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46846         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46847         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46848         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46849         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46850         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46851         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46852         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46853         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46854         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46855         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46856         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46857         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46858         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46859         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46860         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46861         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46862         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46863         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46864         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46865         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46866         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46867         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46868         * sysdeps/ieee754/s_matherr.c: Likewise.
46869         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46870         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46871         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46872         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46873
46874 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46875
46876         * crypt/md5.h: Remove __STDC__ conditionals.
46877         * libio/libioP.h: Likewise.
46878         * locale/programs/config.h: Likewise.
46879         * sysdeps/generic/sysdep.h: Likewise.
46880         * sysdeps/i386/asm-syntax.h: Likewise.
46881         * sysdeps/s390/asm-syntax.h: Likewise.
46882         * sysdeps/unix/sysdep.h: Likewise.
46883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46885
46886 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46887
46888         * libio/libio.h: Remove __STDC__ conditionals.
46889         * malloc/obstack.h: Likewise.
46890         * math/complex.h: Likewise.
46891         * math/math.h: Likewise.
46892         * sysdeps/generic/_G_config.h: Likewise.
46893         * sysdeps/gnu/_G_config.h: Likewise.
46894         * sysdeps/mach/hurd/_G_config.h: Likewise.
46895         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46896         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46897         * sysdeps/sparc/bits/mathdef.h: Likewise.
46898
46899 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
46900
46901         [BZ #13583]
46902         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46903         Clean up HAS_* macros.
46904         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46905         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46906         possible.
46907         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46908         HAS_AVX.
46909         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46910         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46911         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46912         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46913         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46914
46915 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
46916
46917         * elf/tst-unique3.cc (gets): Remove declaration.
46918         * elf/tst-unique3lib.cc (gets): Likewise.
46919         * elf/tst-unique3lib2.cc (gets): Likewise.
46920         * elf/tst-unique4.cc (gets): Likewise.
46921
46922 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
46923
46924         * include/stdio.h: Add C++ protection.  Add gets declarations and
46925         definitions.
46926         * debug/tst-chk1.c: Don't declare gets here.
46927         * stdio-common/tst-gets.c: Likewise.
46928
46929 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46930
46931         * posix/glob: Remove directory.
46932
46933 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46934
46935         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46936
46937 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
46938
46939         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46940         of the non-standard EPFNOSUPPORT.
46941
46942 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46943
46944         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46945         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46946         ANYWHERE set to 1 only on KERN_NO_SPACE error.
46947
46948 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
46949
46950         * wcsmbs/uchar.h: Test __STDC_VERSION__.
46951
46952 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
46953
46954         * nscd/aicache.c (addhstaiX): Do not cache negative results of
46955         transient errors.
46956         * nscd/grpcache.c (cache_addgr): Likewise.
46957         * nscd/hstcache.c (cache_addhst): Likewise.
46958         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46959         * nscd/pwdcache.c (cache_addpw): Likewise.
46960         * nscd/servicescache.c (cache_addserv): Likewise.
46961
46962 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
46963
46964         * malloc/malloc.c: Various cleanups.
46965         * malloc/hooks.c: Likewise.
46966
46967         * stdlib/Makefile (tests): Add bug-fmtmsg1.
46968         * stdlib/bug-fmtmsg1.c: New file.
46969
46970         * stdlib/fmtmsg.c (init): Add missing unlock.
46971         Patch by Peng Haitao <penght@cn.fujitsu.com>.
46972
46973 2012-01-12  Marek Polacek  <polacek@redhat.com>
46974
46975         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46976         and _GNU_SOURCE.
46977
46978 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46979
46980         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46981         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46982         macro to ensure uniqueness of label name.
46983         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46984         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46985
46986 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
46987
46988         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46989
46990         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46991         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46992         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46994
46995 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
46996
46997         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46998
46999         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47000         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47001         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47002
47003         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47004
47005         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47006         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47007         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47008         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47009
47010         * math/bits/math-finite.h: Add ldexp support.
47011
47012 2012-01-10  Marek Polacek  <polacek@redhat.com>
47013
47014         * locale/programs/localedef.h (show_archive_content): Add noreturn
47015         attribute.
47016
47017 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47018
47019         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47020
47021 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47022
47023         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47024
47025         * io/Makefile (headers): Add bits/poll2.h.
47026
47027 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47028
47029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47030         typo #include statement.
47031
47032 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47033
47034         * include/sys/cdefs.h: Define __attribute_alloc_size.
47035         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47036         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47037         * elf/pldd.c: Likewise.
47038         * iconv/iconv_charmap.c: Likewise.
47039         * iconv/iconvconfig.c: Likewise.
47040         * iconv/strtab.c: Likewise.
47041         * locale/programs/locale.c: Likewise.
47042         * locale/programs/localedef.h: Likewise.
47043         * locale/programs/simple-hash.c: Likewise.
47044         * nscd/nscd.h: Likewise.
47045         * nss/makedb.c: Likewise.
47046         * sysdeps/generic/ldconfig.h: Likewise.
47047         * locale/programs/localedef.c: Remove xmalloc prototype.
47048         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47049
47050 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47051
47052         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47053         appropriate.
47054
47055 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47056
47057         * math/Makefile (tests): Add tst-CMPLX.
47058         * math/tst-CMPLX.c: New file.
47059
47060         * math/complex.h (CMPLXL): Fix typo.
47061
47062         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47063         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47064         GLIBC_2.16.
47065         * debug/tst-chk1.c: Add poll and ppoll tests.
47066         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47067         * include/sys/poll.h: Add hidden proto for ppoll.
47068         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47069         * sysdeps/mach/hurd/ppoll.c: Likewise.
47070         * io/ppoll.c: Likewise.
47071         * debug/poll_chk.c: New file.
47072         * debug/ppoll_chk.c: New file.
47073         * include/bits/poll2.h: New file.
47074         * io/bits/poll2.h: New file.
47075
47076         [BZ #1350]
47077         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47078
47079         * configure.in: static is always set to yes.  Remove.
47080         * config.make.in: Don't set build-static.
47081         * Makeconfig: Remove use of build-static.
47082         * dlfcn/Makefile: Likewise.
47083         * elf/Makefile: Likewise.
47084         * math/Makefile: Likewise.
47085         * misc/Makefile: Likewise.
47086         * nptl/Makefile: Likewise.
47087         * sysdeps/mach/hurd/Makefile: Likewise.
47088
47089         * configure.in: PWD_P is not used anymore.
47090         * config.make.in: Remove PWD_P entry.
47091
47092         * configure.in: Remove last remnants of RANLIB.
47093         No need to check for signed size_t anymore.
47094         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47095         and IA-64.
47096         Remove __builtin_expect test because we require at least gcc 3.4.
47097         * aclocal.m4: Likewise.
47098
47099         * wcsmbs/mbrtoc16.c: Implement using towc function.
47100         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47101         * wcsmbs/wcsmbsload.c: Likewise.
47102         * iconv/gconv_simple.c: Likewise.
47103         * iconv/gconv_int.h: Likewise.
47104         * iconv/gconv_builtin.h: Likewise.
47105         * iconv/iconv_prog.c: Remove CHAR16 handling.
47106
47107         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47108
47109         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47110
47111         * configure.in: Remove --with-elf and --enable-bounded options.
47112         Dont set base_machine for ia64.  More non-ELF conditions removed.
47113         Remove testing and setting of leading underscore information.
47114         * config.make.in (build-bounded): Set to no.
47115         * config.h.in: Remove NO_UNDERSCORES entry.
47116         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47117         them.
47118         * csu/start.c: Remove !NO_UNDERSCORE code.
47119         * locale/localeinfo.h: Likewise.
47120         * sysdeps/generic/machine-gmon.h: Likewise.
47121         * sysdeps/generic/sysdep.h: Likewise.
47122         * sysdeps/i386/sysdep.h: Likewise.
47123         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47124         * sysdeps/mach/sysdep.h: Likewise.
47125         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47126         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47127         * sysdeps/sh/sysdep.h: Likewise.
47128         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47129         * sysdeps/unix/i386/sysdep.S: Likewise.
47130         * sysdeps/unix/sparc/start.c: Likewise.
47131         * sysdeps/unix/sparc/sysdep.S: Likewise.
47132         * sysdeps/unix/sparc/sysdep.h: Likewise.
47133         * sysdeps/unix/start.c: Likewise.
47134         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47135         * sysdeps/x86_64/sysdep.h: Likewise.
47136
47137 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47138
47139         [BZ #13553]
47140         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47141         for non-gcc.
47142         * argp/argp-fmtstream.h: Use const instead __const.
47143         * argp/argp.h: Likewise.
47144         * assert/assert.h: Likewise.
47145         * bits/fenv.h: Likewise.
47146         * bits/sched.h: Likewise.
47147         * bits/sigset.h: Likewise.
47148         * bits/sigthread.h: Likewise.
47149         * catgets/nl_types.h: Likewise.
47150         * conform/data/pthread.h-data: Likewise.
47151         * crypt/crypt-private.h: Likewise.
47152         * crypt/crypt.h: Likewise.
47153         * crypt/crypt_util.c: Likewise.
47154         * ctype/ctype.h: Likewise.
47155         * debug/execinfo.h: Likewise.
47156         * debug/mbsnrtowcs_chk.c: Likewise.
47157         * debug/mbsrtowcs_chk.c: Likewise.
47158         * debug/wcsnrtombs_chk.c: Likewise.
47159         * debug/wcsrtombs_chk.c: Likewise.
47160         * debug/wcstombs_chk.c: Likewise.
47161         * dirent/dirent.h: Likewise.
47162         * dlfcn/dlfcn.h: Likewise.
47163         * elf/neededtest4.c: Likewise.
47164         * grp/grp.h: Likewise.
47165         * gshadow/gshadow.h: Likewise.
47166         * iconv/gconv.h: Likewise.
47167         * iconv/gconv_int.h: Likewise.
47168         * iconv/gconv_simple.c: Likewise.
47169         * iconv/iconv.h: Likewise.
47170         * iconv/loop.c: Likewise.
47171         * iconv/skeleton.c: Likewise.
47172         * include/aio.h: Likewise.
47173         * include/aliases.h: Likewise.
47174         * include/argz.h: Likewise.
47175         * include/arpa/inet.h: Likewise.
47176         * include/assert.h: Likewise.
47177         * include/dirent.h: Likewise.
47178         * include/dlfcn.h: Likewise.
47179         * include/execinfo.h: Likewise.
47180         * include/fcntl.h: Likewise.
47181         * include/fenv.h: Likewise.
47182         * include/glob.h: Likewise.
47183         * include/grp.h: Likewise.
47184         * include/libintl.h: Likewise.
47185         * include/mntent.h: Likewise.
47186         * include/netdb.h: Likewise.
47187         * include/pwd.h: Likewise.
47188         * include/rpc/netdb.h: Likewise.
47189         * include/sched.h: Likewise.
47190         * include/search.h: Likewise.
47191         * include/shadow.h: Likewise.
47192         * include/signal.h: Likewise.
47193         * include/stdio.h: Likewise.
47194         * include/stdlib.h: Likewise.
47195         * include/string.h: Likewise.
47196         * include/sys/socket.h: Likewise.
47197         * include/sys/stat.h: Likewise.
47198         * include/sys/statfs.h: Likewise.
47199         * include/sys/statvfs.h: Likewise.
47200         * include/sys/syslog.h: Likewise.
47201         * include/sys/time.h: Likewise.
47202         * include/sys/uio.h: Likewise.
47203         * include/time.h: Likewise.
47204         * include/unistd.h: Likewise.
47205         * include/utmp.h: Likewise.
47206         * include/wchar.h: Likewise.
47207         * include/wctype.h: Likewise.
47208         * inet/aliases.h: Likewise.
47209         * inet/arpa/inet.h: Likewise.
47210         * inet/netinet/ether.h: Likewise.
47211         * inet/netinet/in.h: Likewise.
47212         * intl/libintl.h: Likewise.
47213         * io/bits/fcntl2.h: Likewise.
47214         * io/fcntl.h: Likewise.
47215         * io/ftw.h: Likewise.
47216         * io/sys/poll.h: Likewise.
47217         * io/sys/stat.h: Likewise.
47218         * io/sys/statfs.h: Likewise.
47219         * io/sys/statvfs.h: Likewise.
47220         * io/utime.h: Likewise.
47221         * libio/bits/stdio.h: Likewise.
47222         * libio/bits/stdio2.h: Likewise.
47223         * libio/libio.h: Likewise.
47224         * libio/libioP.h: Likewise.
47225         * libio/stdio.h: Likewise.
47226         * locale/lc-ctype.c: Likewise.
47227         * locale/locale.h: Likewise.
47228         * login/utmp.h: Likewise.
47229         * malloc/arena.c: Likewise.
47230         * malloc/malloc.c: Likewise.
47231         * malloc/malloc.h: Likewise.
47232         * malloc/mcheck.c: Likewise.
47233         * malloc/mtrace.c: Likewise.
47234         * math/bits/mathcalls.h: Likewise.
47235         * math/fenv.h: Likewise.
47236         * math/math_private.h: Likewise.
47237         * misc/bits/error.h: Likewise.
47238         * misc/bits/syslog.h: Likewise.
47239         * misc/err.h: Likewise.
47240         * misc/error.h: Likewise.
47241         * misc/fstab.h: Likewise.
47242         * misc/mntent.h: Likewise.
47243         * misc/regexp.h: Likewise.
47244         * misc/search.h: Likewise.
47245         * misc/sgtty.h: Likewise.
47246         * misc/sys/mman.h: Likewise.
47247         * misc/sys/syslog.h: Likewise.
47248         * misc/sys/uio.h: Likewise.
47249         * misc/sys/xattr.h: Likewise.
47250         * misc/ttyent.h: Likewise.
47251         * nis/rpcsvc/ypclnt.h: Likewise.
47252         * nss/nss.h: Likewise.
47253         * posix/bits/unistd.h: Likewise.
47254         * posix/fnmatch.h: Likewise.
47255         * posix/glob.h: Likewise.
47256         * posix/sched.h: Likewise.
47257         * posix/spawn.h: Likewise.
47258         * posix/sys/wait.h: Likewise.
47259         * posix/unistd.h: Likewise.
47260         * posix/wordexp.h: Likewise.
47261         * pwd/pwd.h: Likewise.
47262         * resolv/netdb.h: Likewise.
47263         * resource/sys/resource.h: Likewise.
47264         * rt/aio.h: Likewise.
47265         * rt/bits/mqueue2.h: Likewise.
47266         * rt/mqueue.h: Likewise.
47267         * shadow/shadow.h: Likewise.
47268         * signal/signal.h: Likewise.
47269         * socket/send.c: Likewise.
47270         * socket/sendto.c: Likewise.
47271         * socket/sys/socket.h: Likewise.
47272         * stdio-common/printf.h: Likewise.
47273         * stdlib/bits/stdlib.h: Likewise.
47274         * stdlib/fmtmsg.h: Likewise.
47275         * stdlib/monetary.h: Likewise.
47276         * stdlib/stdlib.h: Likewise.
47277         * stdlib/ucontext.h: Likewise.
47278         * streams/stropts.h: Likewise.
47279         * string/argz.h: Likewise.
47280         * string/bits/string2.h: Likewise.
47281         * string/string.h: Likewise.
47282         * string/strings.h: Likewise.
47283         * sunrpc/rpc/auth.h: Likewise.
47284         * sunrpc/rpc/auth_des.h: Likewise.
47285         * sunrpc/rpc/clnt.h: Likewise.
47286         * sunrpc/rpc/netdb.h: Likewise.
47287         * sunrpc/rpc/pmap_clnt.h: Likewise.
47288         * sunrpc/rpc/xdr.h: Likewise.
47289         * sysdeps/generic/inttypes.h: Likewise.
47290         * sysdeps/generic/net/if.h: Likewise.
47291         * sysdeps/generic/sys/swap.h: Likewise.
47292         * sysdeps/gnu/net/if.h: Likewise.
47293         * sysdeps/gnu/utmpx.h: Likewise.
47294         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47295         * sysdeps/i386/i486/bits/string.h: Likewise.
47296         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47297         * sysdeps/s390/bits/string.h: Likewise.
47298         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47299         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47300         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47301         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47302         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47303         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47304         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47305         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47306         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47307         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47308         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47309         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47310         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47311         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47312         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47313         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47314         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47315         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47316         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47317         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47318         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47319         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47320         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47321         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47322         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47323         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47324         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47325         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47326         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47327         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47328         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47329         * sysvipc/sys/ipc.h: Likewise.
47330         * sysvipc/sys/msg.h: Likewise.
47331         * sysvipc/sys/sem.h: Likewise.
47332         * sysvipc/sys/shm.h: Likewise.
47333         * termios/termios.h: Likewise.
47334         * time/sys/time.h: Likewise.
47335         * time/time.h: Likewise.
47336         * wcsmbs/bits/wchar2.h: Likewise.
47337         * wcsmbs/uchar.h: Likewise.
47338         * wcsmbs/wchar.h: Likewise.
47339         * wctype/wctype.h: Likewise.
47340
47341         [BZ #13551]
47342         * Makeconfig: Remove all but ELF support including AIX support.
47343         * Makerules: Likewise.
47344         * config.h.in: Likewise.
47345         * config.make.in: Likewise.
47346         * configure: Likewise.
47347         * configure.in: Likewise.
47348         * csu/Makefile: Likewise.
47349         * csu/version.c: Likewise.
47350         * debug/Makefile: Likewise.
47351         * dlfcn/Makefile: Likewise.
47352         * elf/Makefile: Likewise.
47353         * extra-lib.mk: Likewise.
47354         * iconv/Makefile: Likewise.
47355         * include/libc-symbols.h: Likewise.
47356         * include/shlib-compat.h: Likewise.
47357         * resolv/Makefile: Likewise.
47358         * resolv/res_libc.c: Likewise.
47359         * rt/Makefile: Likewise.
47360         * sysdeps/i386/asm-syntax.h: Likewise.
47361         * sysdeps/i386/sysdep.h: Likewise.
47362         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47363         * sysdeps/mach/sysdep.h: Likewise.
47364         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47365         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47366         * sysdeps/s390/asm-syntax.h: Likewise.
47367         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47368         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47369         * sysdeps/sh/sysdep.h: Likewise.
47370         * sysdeps/unix/sparc/sysdep.h: Likewise.
47371         * sysdeps/wordsize-32/divdi3.c: Likewise.
47372         * sysdeps/x86_64/sysdep.h: Likewise.
47373
47374         * argp/Versions: Remove _argp_unlock_xxx.
47375
47376         [BZ #13559]
47377         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47378         * abilist/libBrokenLocale.abilist: Likewise.
47379         * abilist/libanl.abilist: Likewise.
47380         * abilist/libc.abilist: Likewise.
47381         * abilist/libcrypt.abilist: Likewise.
47382         * abilist/libdl.abilist: Likewise.
47383         * abilist/libm.abilist: Likewise.
47384         * abilist/libnsl.abilist: Likewise.
47385         * abilist/libpthread.abilist: Likewise.
47386         * abilist/libresolv.abilist: Likewise.
47387         * abilist/librt.abilist: Likewise.
47388         * abilist/libthread_db.abilist: Likewise.
47389         * abilist/libutil.abilist: Likewise.
47390         * abilist/libnss_db.abilist: New file.
47391
47392         * scripts/abilist.awk: Add support for indirect functions.
47393
47394         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47395
47396         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47397
47398         * shlib-versions: Remove entries for ports architectures.
47399
47400         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47401         files in ports.
47402         * elf/stackguard-macros.h: Remove support for IA-64.
47403         * elf/tst-auditmod1.c: Likewise.
47404         * sysdeps/generic/ldsodefs.h: Likewise.
47405
47406         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47407         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47408         configure files.
47409
47410         [BZ #13552]
47411         * configure.in: Remove --enable-omitfp support.
47412         * FAQ.in: Adjust.
47413         * config.make.in: Likewise.
47414         * Makeconfig: Likewise.
47415         * manual/install.texi: Likewise.
47416
47417         In case anyone cares, the IA-64 architecture could move to ports.
47418         * sysdeps/ia64/*: Removed.
47419         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47420         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47421
47422         [BZ #13555]
47423         * configure.in: Remove entries for unsupported architectures.
47424
47425         [BZ #13533]
47426         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47427         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47428         routines.
47429         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47430         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47431         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47432         fall back to using wcrtomb.
47433         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47434         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47435         renaming.
47436         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47437         * wcsmbs/tst-c16c32-1.c: New file.
47438
47439         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47440         local variable.
47441
47442         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47443
47444         * elf/tst-unique3.cc: Add explicit declaration of gets.
47445         * elf/tst-unique3lib.cc: Likewise.
47446         * elf/tst-unique3lib2.cc: Likewise.
47447         * elf/tst-unique4.cc: Likewise.
47448
47449         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47450
47451 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47452
47453         [BZ #13566]
47454         * assert/assert.h (static_assert): Don't define for C++.
47455         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47456         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47457
47458 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47459
47460         * iconv/loop.c (single loop): Fix assertion in storing of
47461         remaining bytes.
47462
47463         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47464
47465 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47466
47467         * posix/getconf.c: Update copyright year.
47468         * nss/getent.c: Likewise.
47469         * nss/makedb.c: Likewise.
47470         * iconv/iconvconfig.c: Likewise.
47471         * iconv/iconv_prog.c: Likewise.
47472         * elf/ldconfig.c: Likewise.
47473         * elf/pldd.c: Likewise.
47474         * elf/sotruss.ksh: Likewise.
47475         * catgets/gencat.c: Likewise.
47476         * csu/version.c: Likewise.
47477         * elf/ldd.bash.in: Likewise.
47478         * elf/sprof.c (print_version): Likewise.
47479         * locale/programs/locale.c: Likewise.
47480         * locale/programs/localedef.c: Likewise.
47481         * login/programs/pt_chown.c: Likewise.
47482         * nscd/nscd.c (print_version): Likewise.
47483         * debug/xtrace.sh: Likewise.
47484         * malloc/memusage.sh: Likewise.
47485         * malloc/mtrace.pl: Likewise.
47486         * debug/catchsegv.sh: Likewise.
47487
47488 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47489
47490         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47491         pure attribute.
47492
47493 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47494
47495         [BZ #13533]
47496         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47497         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47498         transformations.
47499         * iconv/gconv_int.h: Likewise.
47500         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47501         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47502         from libc for GLIBC_2.16.
47503         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47504         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47505         * wcsmbs/uchar.h: Really define mbstate_t.
47506         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47507         * wcsmbs/c16rtomb.c: New file.
47508         * wcsmbs/mbrtoc16.c: New file.
47509         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47510         for C/POSIX locale.
47511         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47512         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47513
47514         * wcsmbs/wchar.h: Add missing __restrict.
47515
47516 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47517
47518         [BZ #13532]
47519         * time/Makefile (routines): Add timespec_get.
47520         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47521         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47522         timespec for ISO C11.
47523         * time/timespec_get.c: New file.
47524         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47525         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47526
47527         [BZ #13531]
47528         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47529         * stdlib/stdlib.h: Declare aligned_alloc.
47530         * Versions.def: Add GLIBC_2.16 for libc.
47531         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47532
47533         [BZ 13527]
47534         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47535         ISO C11.
47536
47537         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47538         code.
47539
47540         [BZ #13528]
47541         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47542
47543         [BZ #13529]
47544         * assert/assert.h (static_assert): Define.
47545
47546         * version.h: Update for 2.16 development version.
47547
47548         [BZ #13526]
47549         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47550         _ISOC11_SOURCE.
47551
47552         * version.h (RELEASE): Bump for 2.15 release.
47553         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47554
47555         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47556         Patch by Marek Polacek <mpolacek@redhat.com>.
47557
47558         * bits/byteswap.h: Protect long long constants with __extension__.
47559         * sysdeps/i386/bits/byteswap.h: Likewise.
47560         * sysdeps/ia64/bits/byteswap.h: Likewise.
47561         * sysdeps/s390/bits/byteswap.h: Likewise.
47562         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47563
47564 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47565
47566         [BZ #13540]
47567         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47568         destination buffer.
47569         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47570
47571 2011-12-23  Marek Polacek  <polacek@redhat.com>
47572
47573         * elf/dl-addr.c (determine_info): Add inline keyword.
47574         * elf/tst-auditmod4b.c (check_avx): Likewise.
47575         * elf/tst-auditmod6b.c (check_avx): Likewise.
47576         * elf/tst-auditmod6c.c (check_avx): Likewise.
47577         * elf/tst-auditmod7b.c (check_avx): Likewise.
47578
47579 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47580
47581         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47582         !__SSE_MATH__.
47583
47584 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47585
47586         [BZ #13540]
47587         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47588         processing for last bytes.
47589
47590 2011-08-06  Bruno Haible  <bruno@clisp.org>
47591
47592         [BZ #13061]
47593         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47594         U+0385, not to U+1FEE.
47595
47596         [BZ #13062]
47597         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47598         entry for U+00A5 U+0301.
47599
47600 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47601
47602         [BZ #13166]
47603         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47604         buffer for the output is too small.
47605
47606         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47607         optimization.
47608
47609         [BZ #13185]
47610         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47611         SSE flags if possible.
47612
47613 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47614
47615         [BZ #13540]
47616         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47617         processing for last bytes.
47618
47619 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47620
47621         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47622         (syscall-list-default-options, syscall-list-default-condition)
47623         (syscall-list-includes): Define.
47624         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47625         list of ABIs and options and #if conditions for each ABI.  Do not
47626         handle common syscalls between ABIs specially.
47627         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47628         Remove.
47629         (syscall-list-variants, syscall-list-32bit-options)
47630         (syscall-list-32bit-condition, syscall-list-64bit-options)
47631         (syscall-list-64bit-condition): Define.
47632         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47633         (syscall-list-variants, syscall-list-32bit-options)
47634         (syscall-list-32bit-condition, syscall-list-64bit-options)
47635         (syscall-list-64bit-condition): Define.
47636         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47637         Remove.
47638         (syscall-list-variants, syscall-list-32bit-options)
47639         (syscall-list-32bit-condition, syscall-list-64bit-options)
47640         (syscall-list-64bit-condition): Define.
47641         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47642         Remove.
47643         (syscall-list-variants, syscall-list-32bit-options)
47644         (syscall-list-32bit-condition, syscall-list-64bit-options)
47645         (syscall-list-64bit-condition): Define.
47646
47647 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47648
47649         * locale/iso-639.def: Add brx entry.
47650
47651         [BZ #13328]
47652         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47653         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47654
47655         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47656         __feraiseexcept_renamed.
47657
47658 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47659
47660         [BZ #13538]
47661         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47662         EPOLLET with unsigned values.
47663         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47664         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47665
47666         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47667         to large cancellation.
47668         * math/s_cacoshf.c: Likewise.
47669         * math/s_cacoshl.c: Likewise.
47670
47671 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47672
47673         [BZ #13305]
47674         [BZ #12786]
47675         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47676         * math/s_cacoshf.c: Likewise.
47677         * math/s_cacoshl.c: Likewise.
47678
47679 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47680
47681         [BZ #13439]
47682         * iconv/gconv.h: Define __GCONV_SWAP.
47683         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47684         * iconvdata/utf-16.c: Likewise.
47685         * iconvdata/utf-32.c: Likewise.
47686
47687 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47688
47689         [BZ #13524]
47690         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47691         numerator after shifting it by one limb.
47692
47693 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47694
47695         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47696         under [__USE_EXTERN_INLINES].
47697
47698 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47699
47700         [BZ #13446]
47701         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47702
47703 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47704
47705         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47706         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47707         optimized code.
47708         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47709         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47710         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47711         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47712         for strncasecmp/strncasecmp_l compilation.
47713         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47714         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47715
47716 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47717
47718         [BZ #13484]
47719         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47720         of __asm__.
47721
47722 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47723
47724         [BZ #13506]
47725         * time/tzfile.c (__tzfile_read): Check values from file header.
47726
47727 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47728
47729         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47730         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47731         * powerpc/powerpc32/dl-start.S: Likewise.
47732         * powerpc/powerpc32/elf/start.S: Likewise.
47733         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47734         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47735         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47736         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47737         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47738         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47739         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47740         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47741         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47742         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47743         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47744         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47745         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47746         * powerpc/powerpc32/memset.S: Likewise.
47747         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47748         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47749         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47750         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47751         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47752         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47753         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47754         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47755         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47756         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47757         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47758         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47759         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47760
47761 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47762
47763         * math/libm-test.inc: Added more nearbyint tests.
47764         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47765         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47766         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47767         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47768
47769 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47770
47771         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47772         FD_CLOEXEC.
47773
47774 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47775
47776         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47777         Add wcscpy-ssse3 wcscpy-c.
47778         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47779         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47780         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47781         * sysdeps/x86_64/wcschr.S: New file.
47782         * sysdeps/x86_64/wcsrchr.S: New file.
47783         * string/test-strcmp.c: Remove checking of wcscmp function for
47784         wrong alignments.
47785         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47786         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47787         wcsrchr-sse2 wcsrchr-c.
47788         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47789         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47790         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47791         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47792         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47793         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47794         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47795         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47796         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47797         * wcsmbc/wcschr.c (WCSCHR): New macro.
47798
47799 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47800
47801         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47802         * wcsmbs/test-wcsrchr.c: New file.
47803         * string/test-strrchr.c: Add wcsrchr support.
47804         (WIDE): New macro.
47805         * wcsmbs/test-wcscpy.c: New file.
47806         * string/test-strcpy.c: Add wcscpy support.
47807         (WIDE): New macro.
47808
47809 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
47810
47811         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47812         the inner loop.
47813
47814 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
47815
47816         [BZ #13472]
47817         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47818
47819 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
47820
47821         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47822         Minor optimizations.
47823
47824         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47825         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47826         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47827
47828 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
47829
47830         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47831         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47832         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47833         for gcc to avoid warnings.
47834         * inet/Makefile (tests): Add tst-checks.
47835         * inet/tst-checks.c: New file.
47836
47837         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47838         warning.
47839
47840         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47841         __wmemcmp_sse2.
47842
47843         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47844         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47845
47846         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47847
47848 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
47849
47850         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47851         problem.
47852
47853         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47854
47855 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
47856
47857         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47858         conditional on GCC version.
47859         (__arch_compare_and_exchange_val_8_acq)
47860         (__arch_compare_and_exchange_val_16_acq)
47861         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47862         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47863         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47864
47865 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
47866
47867         * sysdeps/sh/backtrace.c: New file.
47868
47869 2011-12-02  Andreas Schwab  <schwab@redhat.com>
47870
47871         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
47872         parenthesis.
47873
47874 2011-12-01  Andreas Schwab  <schwab@redhat.com>
47875
47876         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47877         falling back to utime.
47878
47879 2011-11-30  Andreas Schwab  <schwab@redhat.com>
47880
47881         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47882         expectations for float.
47883
47884 2011-11-29  Andreas Schwab  <schwab@redhat.com>
47885
47886         * locale/weight.h (findidx): Add parameter len.
47887         * locale/weightwc.h (findidx): Likewise.
47888         * posix/fnmatch_loop.c (FCT): Adjust caller.
47889         * posix/regcomp.c (build_equiv_class): Likewise.
47890         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47891         * posix/regexec.c (check_node_accept_bytes): Likewise.
47892         * string/strcoll_l.c (STRCOLL): Likewise.
47893         * string/strxfrm_l.c (STRXFRM): Likewise.
47894
47895 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
47896
47897         * Makefile.in: Remove CVSOPT handling.
47898         * configure.in: Remove use of AC_REVISION.
47899         * iconvdata/Makefile (distribute): No need to filter out CVS.
47900         * scripts/list-sources.sh: Remove CVS, subversion and monotone
47901         handling.
47902
47903 2011-11-16  Andreas Schwab  <schwab@redhat.com>
47904
47905         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47906         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47907         [USE_AS_STRNCASECMP_L]: Likewise.
47908         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47909         NO_TLS_DIRECT_SEG_REFS.
47910         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47911         Fix argument offsets for non-PIC.
47912         [USE_AS_STRNCASECMP_L]: Likewise.
47913         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47914         NO_TLS_DIRECT_SEG_REFS.
47915
47916 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47917
47918         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47919         O_CLOEXEC.
47920         * locale/loadlocale.c (_nl_load_locale): Likewise.
47921
47922 2011-11-15  Andreas Schwab  <schwab@redhat.com>
47923
47924         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47925         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47926         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47927         (SYSCALL_GETTIME): Set errno on error.
47928
47929         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47930         count references to noai6ai_cached.
47931
47932 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47933
47934         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47935
47936         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47937         FD_CLOEXEC for /proc/self/maps.
47938
47939         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47940         FD_CLOEXEC for /proc/meminfo.
47941
47942         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47943         gai.conf.
47944
47945         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
47946         FD_CLOEXEC for given file.
47947
47948         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47949
47950         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47951         FD_CLOEXEC for /etc/hosts.
47952         (_gethtent): Likewise.
47953
47954         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47955
47956         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47957         cancellation and set FD_CLOEXEC for /etc/netgroup.
47958
47959         * nss/nss_files/files-key.c (search): Don't allow cancellation when
47960         reading /etc/publickey.
47961
47962         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47963         allow cancellation when reading /etc/group.
47964
47965         * nss/nss_files/files-alias.c (internal_setent): Don't allow
47966         cancellation.
47967         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
47968
47969         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47970         when using data file.
47971
47972         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47973
47974         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47975         (write_nis_obj): Use "c" and "e" in fopen.
47976
47977         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47978
47979         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47980
47981         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47982
47983         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47984
47985         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47986         locale.alias.
47987
47988         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47989
47990         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47991
47992         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47993
47994         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47995         file parsing and set FD_CLOEXEC.
47996
47997 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47998
47999         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48000
48001 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48002
48003         * malloc/arena.c (arena_get2): Don't call reused_arena when
48004         _int_new_arena failed.
48005
48006 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48007
48008         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48009         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48010         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48011         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48012         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48013         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48014         to compile strcasecmp and strncasecmp.
48015         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48016         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48017
48018         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48019
48020 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48021
48022         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48023         locale-defines.sym to gen-as-const-headers.
48024         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48025         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48027         to compile strcasecmp and strncasecmp.
48028         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48029         strcasecmp_l and strncasecmp_l.
48030         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48031         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48032         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48033         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48034         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48035         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48036         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48037         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48038         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48039         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48040         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48041
48042 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48043
48044         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48045         result of SYSDEP_GETTIME_CPU to retval.
48046         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48047         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48048
48049         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48050         variable.
48051
48052         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48053         mantissa words.
48054         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48055
48056         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48057         from unused variable.
48058
48059         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48060         DWARF definitions.
48061         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48062         for assembling.
48063
48064         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48065         over namespaces.
48066
48067         * sunrpc/rpc_prot.c (rejected): Fix case value.
48068
48069         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48070         unsigned long long int to avoid warnings in shift.
48071
48072         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48073         of use of trans.
48074         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48075         variable tmp.
48076
48077         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48078         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48079         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48080
48081         * nis/nis_table.c (nis_list): Use variable of correct type for
48082         result of __follow_path call.
48083
48084 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48085
48086         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48087         of math functions ceil, trunc, floor, round, and sqrt, when
48088         avaliable on the platform.
48089         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48090         name clash.
48091         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48092         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48093         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48094
48095 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48096
48097         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48098         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48099
48100 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48101
48102         * include/unistd.h: Fix __readlink return type.
48103         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48104
48105 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48106
48107         * stdlib/ucontext.h: Undo last change for makecontext.
48108
48109 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48110
48111         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48112
48113         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48114         * setjmp/setjmp.h: Mark functions as non-leaf.
48115         * setjmp/bits/setjmp2.h: Likewise.
48116         * stdlib/ucontext.h: Likewise.
48117
48118 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48119
48120         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48121         (reused_arena): Don't check arena limit.
48122         (arena_get2): Atomically check arena limit.
48123
48124 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48125
48126         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48127         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48128
48129         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48130         instructions.
48131
48132 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48133
48134         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48135         handler when locking.
48136
48137         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48138         Fix size of allocated buffer.
48139
48140 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48141
48142         [BZ #10103]
48143         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48144         declarations for long double functions.
48145         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48146
48147         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48148
48149 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48150
48151         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48152         installed.
48153
48154         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48155         is disabled.
48156
48157 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48158
48159         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48160
48161 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48162
48163         * include/alloca.h (stackinfo_alloca_round): Define.
48164         (extend_alloca): Use it.
48165         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48166         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48167         here.
48168
48169         * scripts/check-local-headers.sh: Ignore libaudit.h.
48170
48171         * nscd/Makefile (extra-objs): Make recursively expanded.
48172
48173 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48174
48175         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48176         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48177
48178         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48179         * posix/tst-rfc3484-2.c: Likewise.
48180         * posix/tst-rfc3484-3.c: Likewise.
48181
48182         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48183         process_vm_writev.
48184         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48185         process_vm_writev.
48186         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48187         process_vm_writev from libc using GLIBC_2.15 version.
48188
48189         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48190
48191 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48192
48193         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48194         stack usage.
48195
48196 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48197
48198         [BZ #13367]
48199         * nss/getent.c (initgroups_keys): Show error message in case no group
48200         names are given.
48201
48202         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48203         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48204         __bump_nl_timestamp.
48205         * nscd/connections (nscd_init): When host database is served open
48206         netlink socket and request notification about configuration changes.
48207         (main_loop_poll): Track netlink file descriptor and bump timestamp
48208         in case data becomes available.
48209         (main_loop_epoll): Likewise.
48210         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48211         (database_pers_head): Add extra_data fileds.
48212         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48213         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48214         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48215         Adjust caller.
48216         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48217         in6ai data, call __free_in6ai.
48218         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48219         Add -DHAVE_NETLINK.
48220         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48221         interface information.  Reuse previous data if netlink timestamp
48222         is not changed.
48223         (__bump_nl_timestamp): New function.
48224         (__free_in6ai): New function.
48225
48226 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48227
48228         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48229         close_not_cancel_no_status here.
48230         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48231
48232 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48233
48234         [BZ #13276]
48235         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48236         return value.
48237
48238         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48239         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48240         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48241
48242 2011-07-03  Andreas Jaeger  <aj@suse.de>
48243
48244         [BZ #10709]
48245         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48246         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48247         * math/libm-test.inc (sin_test): Add test case.
48248
48249 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48250
48251         [BZ #13337]
48252         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48253         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48254
48255         * elf/chroot_canon.c (chroot_canon): Cleanups.
48256
48257         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48258
48259         [BZ #13335]
48260         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48261         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48262
48263         * string/test-strchr.c: Make usable for strchrnul testing.
48264         * string/test-strchrnul.c: New file.
48265         * string/Makefile (strop-tests): Add strchrnul.
48266
48267         * po/it.po: Update from translation team.
48268         * po/es.po: Likewise.
48269
48270 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48271
48272         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48273         the three constants needed as parameters.  Drop the others.
48274         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48275         __m128i_strloadu_tolower.
48276         Create and initialize variable zero and use it in all the places
48277         where _mm_setzero_si128 was used.
48278
48279         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48280         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48281         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48282         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48283         anymore.
48284         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48285         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48286         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48287         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48288         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48289         __mpranred, __mptan.
48290         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48291         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48292         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48293         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48294         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48295         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48296         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48297         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48298         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48299
48300 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48301
48302         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48303         redefine if SHARED.
48304         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48305
48306         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48307         wide char related routines to wcsmbs subdir.
48308
48309 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48310
48311         [BZ #13344]
48312         * misc/sys/cdefs.h (__THROWNL): Define.
48313         * posix/unistd.h: Use __THREADNL instead of __THREAD
48314         for memory synchronization functions.
48315
48316 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48317
48318         [BZ #13349]
48319         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48320         doesn't exist.
48321         * manual/stdio.texi (Obstack Streams): Node removed.
48322
48323 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48324
48325         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48326         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48327         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48328
48329         * math/math_private.h (math_force_eval): Allow non-addressable
48330         arguments.
48331         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48332
48333 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48334
48335         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48336         file is not needed.
48337
48338         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48339         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48340         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48341         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48342         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48343         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48344         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48345         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48346         Add AVX variants.
48347         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48348         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48349         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48350         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48351         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48352         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48353         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48354         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48355         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48356         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48357         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48358         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48359         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48360         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48361         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48362         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48363         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48364         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48365         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48366
48367         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48368         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48369
48370         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48371         place.  Use VEX encoding when compiling for AVX.
48372
48373 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48374
48375         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48376         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48377
48378         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48379
48380 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48381
48382         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48383         useless if() expression.
48384         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48385         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48386         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48387         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48388         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48389         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48390         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48391         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48392         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48393         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48394         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48395         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48396         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48397         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48398         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48399         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48400         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48401         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48402         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48403
48404         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48405
48406 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48407
48408         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48409         condition.
48410         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48411
48412 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48413
48414         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48415         .text section.  Avoid duplicate constants.
48416         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48417         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48418         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48419         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48420         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48421         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48422         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48423         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48424         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48425         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48426         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48427         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48428         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48429         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48430         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48431         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48432         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48433         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48434         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48435         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48436         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48437         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48438         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48439         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48440         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48441         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48442         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48443         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48444         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48445         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48446         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48447         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48448         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48449         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48450         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48451         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48452         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48453         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48454         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48455         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48456         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48457         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48458         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48459         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48460         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48461
48462 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48463
48464         * sysdeps/x86_64/dla.h: Move to ...
48465         * sysdeps/x86_64/fpu/dla.h: ...here.
48466         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48467         situations.  Use __builtin_fma only for gcc 4.6 and up.
48468
48469         * config.make.in: Add have-mfma4 entry.
48470         * configure.in: Substitute libc_cv_cc_fma4.
48471         * math/Makefile (dbl-only-routines): Add sincostab.
48472         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48473         Use __sincostab not sincos.
48474         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48475         name is a macro.
48476         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48477         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48479         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48480         using __copysign.
48481         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48482         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48483         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48484         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48485         and __inv.
48486         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48487         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48488         __copysign.
48489         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48490         define aliases when function name is a macro.
48491         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48492         sysdeps/ieee754/dbl-64/sincos.tbl.
48493         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48494         fma4-enabled routines.
48495         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48496         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48497         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48498         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48499         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48500         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48501         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48502         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48503         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48504         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48505         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48506         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48507         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48508         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48509         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48510         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48511         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48512         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48513         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48514         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48515         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48516         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48517         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48518         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48519         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48520         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48521         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48522         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48523         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48524         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48525
48526         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48527         rename.
48528         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48529         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48530         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48531         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48532         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48533         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48534         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48535         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48536
48537 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48538
48539         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48540
48541 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48542
48543         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48544
48545         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48546         prediction.
48547         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48548
48549         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48550         Remove unused variable magic_bits.
48551         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48552
48553         * string/strnlen.c: Define and use STRNLEN macro.
48554         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48555         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48556         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48557         * wcsmbs/wcslen.c: Define and use WCSLEN.
48558         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48559         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48560         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48561         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48562         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48563         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48564         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48565
48566 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48567
48568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48569         strnlen-sse2-no-bsf.
48570         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48571         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48572         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48573         Add strnlen support.
48574         (USE_AS_STRNLEN): New macro.
48575         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48576         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48577         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48578         * sysdeps/x86_64/wcslen.S: New file.
48579
48580 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48581
48582         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48583         XMM-moves are used for copying on small sizes.
48584
48585 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48586
48587         * wcsmbs/Makefile (strop-tests): Add wcschr.
48588         * wcsmbs/test-wcschr.c: New file.
48589         * string/test-strchr.c: Update.
48590         Add wcschr support.
48591         (WIDE): New macro.
48592
48593 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48594
48595         * wcsmbs/Makefile (strop-tests): Add wcslen.
48596         * wcsmbs/test-wcslen.c: New file.
48597         * string/test-strlen.c: Update.
48598         Add wcslen support.
48599         (WIDE): New macro.
48600
48601 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48602
48603         * po/it.po: Update from translation team.
48604
48605 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48606
48607         * sysdeps/x86_64/wcscmp.S: Update.
48608         Fix wrong comparison semantics.
48609         wcscmp shall use signed comparison not unsigned.
48610         Don't use substraction to avoid overflow bug.
48611         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48612         * wcsmbc/wcscmp.c: Likewise.
48613         * string/test-strcmp.c: Likewise.
48614         Add new tests to check cases with negative values.
48615
48616 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48617
48618         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48619         * sysdeps/x86_64/dla.h: ...here.  New file.
48620         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48621         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48622         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48623         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48624         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48625         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48626         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48627         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48628         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48629
48630 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48631
48632         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48633         __ynl_finite aliases.
48634
48635 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48636
48637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48638
48639         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48640         define DLA_FMA.
48641         [DLA_FMA] (EMULV): Use DLA_FMA.
48642         [DLA_FMA] (MUL12): Use EMULV.
48643         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48644         that are not needed.
48645         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48646         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48647         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48648         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48649         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48650         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48651         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48652
48653 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48654
48655         * math/s_nan.c: Undef __nan.
48656         * math/s_nanf.c: Undef __nanf.
48657         * math/s_nanl.c: Undef __nanl.
48658         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48659         "math_private.h".
48660
48661 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48662
48663         * math/s_catan.c: Add branch predictions.
48664         * math/s_catanf.c: Likewise.
48665         * math/s_catanh.c: Likewise.
48666         * math/s_catanhf.c: Likewise.
48667         * math/s_catanhl.c: Likewise.
48668         * math/s_catanl.c: Likewise.
48669         * math/s_cexp.c: Likewise.
48670         * math/s_cexpf.c: Likewise.
48671         * math/s_cexpl.c: Likewise.
48672         * math/s_clog.c: Likewise.
48673         * math/s_clog10.c: Likewise.
48674         * math/s_clog10f.c: Likewise.
48675         * math/s_clog10l.c: Likewise.
48676         * math/s_clogf.c: Likewise.
48677         * math/s_clogl.c: Likewise.
48678         * math/s_csqrt.c: Likewise.
48679         * math/s_csqrtf.c: Likewise.
48680         * math/s_csqrtl.c: Likewise.
48681         * math/s_ctanf.c: Likewise.
48682         * math/s_ctanh.c: Likewise.
48683         * math/s_ctanhf.c: Likewise.
48684         * math/s_ctanhl.c: Likewise.
48685         * math/s_ctanl.c: Likewise.
48686
48687         * math/math_private.h: Define __nan, __nanf, __nanl.
48688         * math/s_cacosh.c: Include <math_private.h>.
48689         * math/s_cacoshl.c: Likewise.
48690         * math/s_casinh.c: Likewise.
48691         * math/s_casinhf.c: Likewise.
48692         * math/s_casinhl.c: Likewise.
48693         * math/s_ccos.c: Rely entire on ccosh.
48694         * math/s_ccosf.c: Rely entire on ccoshf.
48695         * math/s_ccosl.c: Rely entirely on ccoshl.
48696         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48697         Remove tests for FE_INVALID.
48698         * math/s_ccoshf.c: Likewise.
48699         * math/s_ccoshl.c: Likewise.
48700         * math/s_csin.c: Likewise.
48701         * math/s_csinf.c: Likewise.
48702         * math/s_csinh.c Likewise.
48703         * math/s_csinhf.c: Likewise.
48704         * math/s_csinhl.c: Likewise.
48705         * math/s_csinl.c: Likewise.
48706         * math/s_ctan.c: Likewise.
48707         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48708         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48709         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48710
48711 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48712
48713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48714         compilation problems.
48715
48716         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48717         __builtin_expect.
48718
48719 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48720
48721         * sysdeps/i386/configure.in: Test for -mfma4 option.
48722         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48723         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48724         COMMON_CPUID_INDEX_80000001.
48725         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48726         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48727         use it if FMA3 is not supported.
48728         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48729
48730         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48731         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48732
48733 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48734
48735         [BZ #12892]
48736         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48737         it would create a cycle with a link time dependency.
48738
48739 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48740
48741         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48742         instruction.
48743         * string/Makefile (strop-tests): Add rawmemchr.
48744         * string/test-rawmemchr.c: New file.
48745
48746         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48747         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48748         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48749         when compiling str{,n}casecmp and when AVX is available.  Hook up
48750         new optimized code in initializers.
48751
48752 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48753
48754         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48755         __feraiseexcept instead of feraiseexcept.
48756
48757 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48758
48759         * math/math_private.h: Define defaults for libc_fetestexcept and
48760         libc_feupdateenv.
48761         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48762         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48763         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48764         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48765         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48766         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48767         libc_fetestexcept and libc_feupdateenv.
48768
48769         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48770         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48771         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48772         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48773         libc_feholdexcept_setround.
48774
48775         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48776         Add s_nearbyint-c and s_nearbyintf-c.
48777         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48778         nearbyintf inlines.
48779         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48780         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48781         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48782         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48783
48784         * math/math_private.h: Define defaults for libc_fegetround,
48785         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48786         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48787         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48788         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48789         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48790         standard functions.
48791         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48792         Remove comments and hacks for old compiler versions.
48793         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48794         libc_fegetround, libc_fesetround, libc_feholdexcept, and
48795         libc_feholdexceptl.
48796
48797 2011-10-18  Andreas Schwab  <schwab@redhat.com>
48798
48799         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48800         (__feraiseexcept_renamed): Add __NTH.
48801         (feraiseexcept): Add __NTH.  Rename local variables to fix
48802         namespace violations.
48803
48804 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
48805
48806         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48807
48808         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48809
48810         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48811         recently added interfaces.
48812         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48813
48814         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48815         about macro parameter expansion.
48816
48817         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48818         __NO_MATH_INLINES is defined.  Cleanups.
48819
48820         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48821         and __floorf is target has SSE4.1.
48822         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48823         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48824         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48825         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48826
48827         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48828         name.
48829         (floorf): Likewise.
48830
48831         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48832
48833 2011-10-17  Andreas Schwab  <schwab@redhat.com>
48834
48835         * misc/sys/cdefs.h: Fix last change.
48836
48837         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48838         database lookup.
48839
48840 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
48841
48842         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48843
48844         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48845         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48846         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48847         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48848         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48849         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48850         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48851         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48852         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48853         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48854         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48855         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48856         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48857         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48858         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48859         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48860         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48861         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48862         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48863         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48864         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48865         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48866
48867         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48868         ceil, ceilf, floor, floorf.
48869
48870         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48871         Perform IRELATIVE relocations last.
48872
48873         * elf/do-rel.h: Add another parameter nrelative, replacing the
48874         local variable with the same name.  Change name of the function
48875         to end in Rel or Rela (uppercase).
48876         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48877         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
48878         elf_dynamic_do_##reloc function.
48879
48880 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48881
48882         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48883         is sufficient, at least on modern CPUs.
48884
48885         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48886
48887         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48888         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48889
48890         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48891         __expl_finite.
48892         * math/bits/math-finite.h: Add entries for exp.
48893         * math/e_expl.c: Add __*_finite alias.
48894         * sysdeps/i386/fpu/e_exp.S: Likewise.
48895         * sysdeps/i386/fpu/e_expf.S: Likewise.
48896         * sysdeps/i386/fpu/e_expl.c: Likewise.
48897         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48898         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48899         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48900         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48901         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48902         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48903         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48904
48905         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48906         is sufficient, at least on modern CPUs.
48907
48908         * ctype/ctype-info.c (__ctype_init): Define.
48909         * include/ctype.h (__ctype_init): Declare.
48910         (__ctype_b_loc): The variable is always initialized.
48911         (__ctype_toupper_loc): Likewise.
48912         (__ctype_tolower_loc): Likewise.
48913         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48914         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48915
48916 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
48917
48918         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48919
48920         * configure.in: Also look in $cxxmachine/include for C++ system
48921         headers.
48922
48923 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48924
48925         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48926         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48927         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48928         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
48929         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48930         (USE_AS_WMEMCMP): New macro.
48931         Fixing indents.
48932         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48933         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48934         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48935         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48936         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48937         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48938         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48939         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48940         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48941         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48942         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48943         (USE_AS_WMEMCMP): New macro.
48944         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48945         * sysdeps/string/test-memcmp.c: Update.
48946         Fix simple_wmemcmp.
48947         Add new tests.
48948         * wcsmbs/wmemcmp.c: Update.
48949         (WMEMCMP): New macro.
48950         Fix overflow bug.
48951
48952 2011-10-12  Andreas Jaeger  <aj@suse.de>
48953
48954         [BZ #13268]
48955         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48956
48957 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48958
48959         * libio/iofwide.c (do_length): Avoid warning.
48960
48961         * ctype/ctype.h (__isctype_f): Add missing __THROW.
48962
48963 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
48964
48965         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48966
48967         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48968         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48969         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48970         * sysdeps/i386/i686/fpu/e_log.S: New file.
48971         * sysdeps/i386/i686/fpu/e_logf.S: New file.
48972         * sysdeps/i386/i686/fpu/e_logl.S: New file.
48973
48974         * ctype/ctype.h: Add support for inlined isXXX functions when
48975         compiling C++ code.
48976
48977 2011-10-14  Andreas Schwab  <schwab@redhat.com>
48978
48979         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48980
48981         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48982
48983 2011-10-13  Roland McGrath  <roland@hack.frob.com>
48984
48985         [BZ #13291]
48986         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48987
48988 2011-10-13  Andreas Schwab  <schwab@redhat.com>
48989
48990         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48991         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48992         feraiseexcept.
48993
48994         * sysdeps/x86_64/memrchr.S: Check for zero size.
48995
48996         * string/stratcliff.c: Add memrchr tests.
48997
48998 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48999
49000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49001         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49002         rawmemchr-sse2 rawmemchr-sse2-bsf.
49003         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49004         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49005         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49006         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49007         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49008         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49009         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49010         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49011         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49012         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49013         * string/memrchr.c (MEMRCHR): New macro.
49014
49015 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49016
49017         Add integration with gcc's -ffinite-math-only and optimize wrapper
49018         functions in libm.
49019         * Versions.def: Define GLIBC_2.15 version for libm.
49020         * math/Makefile (headers): Add bits/math-finite.h.
49021         * math/bits/math-finite.h: New file.
49022         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49023         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49024         * math/e_acoshl.c: Add __*_finite alias.
49025         * math/e_acosl.c: Likewise.
49026         * math/e_asinl.c: Likewise.
49027         * math/e_atan2l.c: Likewise.
49028         * math/e_atanhl.c: Likewise.
49029         * math/e_coshl.c: Likewise.
49030         * math/e_exp10.c: Likewise.
49031         * math/e_exp10f.c: Likewise.
49032         * math/e_exp10l.c: Likewise.
49033         * math/e_exp2l.c: Likewise.
49034         * math/e_fmodl.c: Likewise.
49035         * math/e_gammal_r.c: Likewise.
49036         * math/e_hypotl.c: Likewise.
49037         * math/e_j0l.c: Likewise.
49038         * math/e_j1l.c: Likewise.
49039         * math/e_jnl.c: Likewise.
49040         * math/e_lgammal_r.c: Likewise.
49041         * math/e_log10l.c: Likewise.
49042         * math/e_log2l.c: Likewise.
49043         * math/e_logl.c: Likewise.
49044         * math/e_powl.c: Likewise.
49045         * math/e_sinhl.c: Likewise.
49046         * math/e_sqrtl.c: Likewise.
49047         * math/e_scalb.c: Completely rewritten and optimized.
49048         * math/e_scalbf.c: Likewise.
49049         * math/e_scalbl.c: Likewise.
49050         * math/w_acos.c: Likewise.
49051         * math/w_acosf.c: Likewise.
49052         * math/w_acosl.c: Likewise.
49053         * math/w_acosh.c: Likewise.
49054         * math/w_acoshf.c: Likewise.
49055         * math/w_acoshl.c: Likewise.
49056         * math/w_asin.c: Likewise.
49057         * math/w_asinf.c: Likewise.
49058         * math/w_asinl.c: Likewise.
49059         * math/w_atan2.c: Likewise.
49060         * math/w_atan2f.c: Likewise.
49061         * math/w_atan2l.c: Likewise.
49062         * math/w_atanh.c: Likewise.
49063         * math/w_atanhf.c: Likewise.
49064         * math/w_atanhl.c: Likewise.
49065         * math/w_exp10.c: Likewise.
49066         * math/w_exp10f.c: Likewise.
49067         * math/w_exp10l.c: Likewise.
49068         * math/w_fmod.c: Likewise.
49069         * math/w_fmodf.c: Likewise.
49070         * math/w_fmodl.c: Likewise.
49071         * math/w_j0.c: Likewise.
49072         * math/w_j0f.c: Likewise.
49073         * math/w_j0l.c: Likewise.
49074         * math/w_j1.c: Likewise.
49075         * math/w_j1f.c: Likewise.
49076         * math/w_j1l.c: Likewise.
49077         * math/w_jn.c: Likewise.
49078         * math/w_jnf.c: Likewise.
49079         * math/w_log.c: Likewise.
49080         * math/w_logf.c: Likewise.
49081         * math/w_logl.c: Likewise.
49082         * math/w_log10.c: Likewise.
49083         * math/w_log10f.c: Likewise.
49084         * math/w_log10l.c: Likewise.
49085         * math/w_log2.c: Likewise.
49086         * math/w_log2f.c: Likewise.
49087         * math/w_log2l.c: Likewise.
49088         * math/w_pow.c: Likewise.
49089         * math/w_powf.c: Likewise.
49090         * math/w_powl.c: Likewise.
49091         * math/w_remainder.c: Likewise.
49092         * math/w_remainderf.c: Likewise.
49093         * math/w_remainderl.c: Likewise.
49094         * math/w_scalb.c: Likewise.
49095         * math/w_scalbf.c: Likewise.
49096         * math/w_scalbl.c: Likewise.
49097         * math/w_sqrt.c: Likewise.
49098         * math/w_sqrtf.c: Likewise.
49099         * math/w_sqrtl.c: Likewise.
49100         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49101         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49102         used.
49103         * math/math_private.h: Declare __kernel_standard_f.
49104         * math/w_cosh.c: Remove cruft and optimize a bit.
49105         * math/w_coshf.c: Likewise.
49106         * math/w_coshl.c: Likewise.
49107         * math/w_exp2.c: Likewise.
49108         * math/w_exp2f.c: Likewise.
49109         * math/w_exp2l.c: Likewise.
49110         * math/w_hypot.c: Likewise.
49111         * math/w_hypotf.c: Likewise.
49112         * math/w_hypotl.c: Likewise.
49113         * math/w_lgamma.c: Likewise.
49114         * math/w_lgamma_r.c: Likewise.
49115         * math/w_lgammaf.c: Likewise.
49116         * math/w_lgammaf_r.c: Likewise.
49117         * math/w_lgammal.c: Likewise.
49118         * math/w_lgammal_r.c: Likewise.
49119         * math/w_sinh.c: Likewise.
49120         * math/w_sinhf.c: Likewise.
49121         * math/w_sinhl.c: Likewise.
49122         * math/w_tgamma.c: Likewise.
49123         * math/w_tgammaf.c: Likewise.
49124         * math/w_tgammal.c: Likewise.
49125         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49126         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49127         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49128         Minor optimizations.  Pretty printing.  Remove cruft.
49129         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49130         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49131         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49132         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49133         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49134         * sysdeps/i386/fpu/e_asin.S: Likewise.
49135         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49136         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49137         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49138         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49139         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49140         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49141         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49142         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49143         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49144         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49145         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49146         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49147         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49148         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49149         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49150         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49151         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49152         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49153         * sysdeps/i386/fpu/e_log.S: Likewise.
49154         * sysdeps/i386/fpu/e_log10.S: Likewise.
49155         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49156         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49157         * sysdeps/i386/fpu/e_log2.S: Likewise.
49158         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49159         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49160         * sysdeps/i386/fpu/e_logf.S: Likewise.
49161         * sysdeps/i386/fpu/e_logl.S: Likewise.
49162         * sysdeps/i386/fpu/e_pow.S: Likewise.
49163         * sysdeps/i386/fpu/e_powf.S: Likewise.
49164         * sysdeps/i386/fpu/e_powl.S: Likewise.
49165         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49166         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49167         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49168         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49169         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49170         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49171         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49172         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49173         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49174         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49175         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49176         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49177         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49178         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49179         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49180         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49181         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49182         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49183         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49184         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49185         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49186         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49187         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49188         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49190         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49191         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49192         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49194         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49195         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49196         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49197         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49198         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49199         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49200         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49201         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49202         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49203         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49204         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49205         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49206         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49207         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49208         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49209         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49210         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49211         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49212         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49213         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49214         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49215         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49216         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49217         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49218         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49219         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49220         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49221         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49222         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49223         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49224         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49225         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49226         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49227         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49228         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49229         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49230         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49231         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49232         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49233         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49234         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49235         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49236         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49237         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49238         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49239         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49240         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49241         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49242         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49243         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49244         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49245         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49246         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49247         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49248         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49249         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49250         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49251         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49252         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49253         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49254         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49255         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49256         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49257         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49258         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49259         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49260         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49261         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49262         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49263         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49264         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49265         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49266         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49267         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49268         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49269         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49270         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49271         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49272         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49273         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49274         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49275         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49276         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49277         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49278         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49279         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49280         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49281         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49282         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49283         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49284         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49285         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49286         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49287         (__isnanf): Likewise.
49288         (__isinf_ns): Likewise.
49289         (__isinf_nsf): Likewise.
49290         (__finite): Likewise.
49291         (__finitef): Likewise.
49292         (__ieee754_sqrt): Define as macro.
49293         (__ieee754_sqrtf): Define as macro.
49294         (__ieee754_sqrtl): Define as macro.
49295         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49296         inlined copy.
49297         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49298         __FINITE_MATH_ONLY__ consistent.
49299         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49300
49301 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49302
49303         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49304         of rawmemchr.
49305
49306         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49307
49308 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49309
49310         * po/ja.po: Update from translation team.
49311
49312 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49313
49314         * locale/programs/locarchive.c (prepare_address_space): New function.
49315         (create_archive, enlarge_archive, open_archive): Use it.
49316
49317         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49318         inside [SHARED], where it is used.
49319
49320         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49321
49322         * nss/getent.c (netgroup_keys): Remove unused variable.
49323         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49324
49325 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49326
49327         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49328         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49329         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49330         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49331         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49332         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49333         * math/Makefile (libm-calls): Add s_isinf_ns.
49334         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49335         * math/multc3.c: Likewise.
49336         * math/s_casin.c: Likewise.
49337         * math/s_casinf.c: Likewise.
49338         * math/s_casinl.c: Likewise.
49339         * math/s_ccos.c: Likewise.
49340         * math/s_ccosf.c: Likewise.
49341         * math/s_ccosl.c: Likewise.
49342         * math/s_ctan.c: Likewise.
49343         * math/s_ctanf.c: Likewise.
49344         * math/s_ctanh.c: Likewise.
49345         * math/s_ctanhf.c: Likewise.
49346         * math/s_ctanhl.c: Likewise.
49347         * math/s_ctanl.c: Likewise.
49348         * math/w_fmod.c: Likewise.
49349         * math/w_fmodf.c: Likewise.
49350         * math/w_fmodl.c: Likewise.
49351         * math/w_remainder.c: Likewise.
49352         * math/w_remainderf.c: Likewise.
49353         * math/w_remainderl.c: Likewise.
49354         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49355         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49356         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49357         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49358         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49359         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49360         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49361         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49362
49363         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49364         of the number.
49365         * stdio-common/printf_fphex.c: Likewise.
49366         * stdio-common/printf_size.c: Likewise.
49367
49368         * math/e_exp10.c: Include math_private.h using <...> not "...".
49369         * math/e_exp10f.c: Likewise.
49370         * math/e_exp10l.c: Likewise.
49371         * math/e_exp2l.c: Likewise.
49372         * math/e_j0l.c: Likewise.
49373         * math/e_j1l.c: Likewise.
49374         * math/e_jnl.c: Likewise.
49375         * math/e_lgammal_r.c: Likewise.
49376         * math/e_rem_pio2l.c: Likewise.
49377         * math/e_scalb.c: Likewise.
49378         * math/e_scalbf.c: Likewise.
49379         * math/e_scalbl.c: Likewise.
49380         * math/k_cosl.c: Likewise.
49381         * math/k_sinl.c: Likewise.
49382         * math/k_tanl.c: Likewise.
49383         * math/s_cacoshf.c: Likewise.
49384         * math/s_catan.c: Likewise.
49385         * math/s_catanf.c: Likewise.
49386         * math/s_catanh.c: Likewise.
49387         * math/s_catanhf.c: Likewise.
49388         * math/s_catanhl.c: Likewise.
49389         * math/s_catanl.c: Likewise.
49390         * math/s_ccosh.c: Likewise.
49391         * math/s_ccoshf.c: Likewise.
49392         * math/s_ccoshl.c: Likewise.
49393         * math/s_cexp.c: Likewise.
49394         * math/s_cexpf.c: Likewise.
49395         * math/s_cexpl.c: Likewise.
49396         * math/s_clog.c: Likewise.
49397         * math/s_clog10.c: Likewise.
49398         * math/s_clog10f.c: Likewise.
49399         * math/s_clog10l.c: Likewise.
49400         * math/s_clogf.c: Likewise.
49401         * math/s_clogl.c: Likewise.
49402         * math/s_csin.c: Likewise.
49403         * math/s_csinf.c: Likewise.
49404         * math/s_csinh.c: Likewise.
49405         * math/s_csinhf.c: Likewise.
49406         * math/s_csinhl.c: Likewise.
49407         * math/s_csinl.c: Likewise.
49408         * math/s_csqrt.c: Likewise.
49409         * math/s_csqrtf.c: Likewise.
49410         * math/s_csqrtl.c: Likewise.
49411         * math/s_ctan.c: Likewise.
49412         * math/s_ctanf.c: Likewise.
49413         * math/s_ctanh.c: Likewise.
49414         * math/s_ctanhf.c: Likewise.
49415         * math/s_ctanhl.c: Likewise.
49416         * math/s_ctanl.c: Likewise.
49417         * math/s_ldexp.c: Likewise.
49418         * math/s_ldexpf.c: Likewise.
49419         * math/s_ldexpl.c: Likewise.
49420         * math/s_significand.c: Likewise.
49421         * math/s_significandf.c: Likewise.
49422         * math/s_significandl.c: Likewise.
49423         * math/w_acos.c: Likewise.
49424         * math/w_acosf.c: Likewise.
49425         * math/w_acosh.c: Likewise.
49426         * math/w_acoshf.c: Likewise.
49427         * math/w_acoshl.c: Likewise.
49428         * math/w_acosl.c: Likewise.
49429         * math/w_asin.c: Likewise.
49430         * math/w_asinf.c: Likewise.
49431         * math/w_asinl.c: Likewise.
49432         * math/w_atan2.c: Likewise.
49433         * math/w_atan2f.c: Likewise.
49434         * math/w_atan2l.c: Likewise.
49435         * math/w_atanh.c: Likewise.
49436         * math/w_atanhf.c: Likewise.
49437         * math/w_atanhl.c: Likewise.
49438         * math/w_cosh.c: Likewise.
49439         * math/w_coshf.c: Likewise.
49440         * math/w_coshl.c: Likewise.
49441         * math/w_dremf.c: Likewise.
49442         * math/w_exp10.c: Likewise.
49443         * math/w_exp10f.c: Likewise.
49444         * math/w_exp10l.c: Likewise.
49445         * math/w_exp2.c: Likewise.
49446         * math/w_exp2f.c: Likewise.
49447         * math/w_fmod.c: Likewise.
49448         * math/w_fmodf.c: Likewise.
49449         * math/w_fmodl.c: Likewise.
49450         * math/w_hypot.c: Likewise.
49451         * math/w_hypotf.c: Likewise.
49452         * math/w_hypotl.c: Likewise.
49453         * math/w_j0.c: Likewise.
49454         * math/w_j0f.c: Likewise.
49455         * math/w_j0l.c: Likewise.
49456         * math/w_j1.c: Likewise.
49457         * math/w_j1f.c: Likewise.
49458         * math/w_j1l.c: Likewise.
49459         * math/w_jn.c: Likewise.
49460         * math/w_jnf.c: Likewise.
49461         * math/w_jnl.c: Likewise.
49462         * math/w_lgamma.c: Likewise.
49463         * math/w_lgamma_r.c: Likewise.
49464         * math/w_lgammaf.c: Likewise.
49465         * math/w_lgammaf_r.c: Likewise.
49466         * math/w_lgammal.c: Likewise.
49467         * math/w_lgammal_r.c: Likewise.
49468         * math/w_log.c: Likewise.
49469         * math/w_log10.c: Likewise.
49470         * math/w_log10f.c: Likewise.
49471         * math/w_log10l.c: Likewise.
49472         * math/w_log2.c: Likewise.
49473         * math/w_log2f.c: Likewise.
49474         * math/w_log2l.c: Likewise.
49475         * math/w_logf.c: Likewise.
49476         * math/w_logl.c: Likewise.
49477         * math/w_pow.c: Likewise.
49478         * math/w_powf.c: Likewise.
49479         * math/w_powl.c: Likewise.
49480         * math/w_remainder.c: Likewise.
49481         * math/w_remainderf.c: Likewise.
49482         * math/w_remainderl.c: Likewise.
49483         * math/w_scalb.c: Likewise.
49484         * math/w_scalbf.c: Likewise.
49485         * math/w_scalbl.c: Likewise.
49486         * math/w_sinh.c: Likewise.
49487         * math/w_sinhf.c: Likewise.
49488         * math/w_sinhl.c: Likewise.
49489         * math/w_sqrt.c: Likewise.
49490         * math/w_sqrtf.c: Likewise.
49491         * math/w_sqrtl.c: Likewise.
49492         * math/w_tgamma.c: Likewise.
49493         * math/w_tgammaf.c: Likewise.
49494         * math/w_tgammal.c: Likewise.
49495
49496         * po/ja.po: Update from translation team.
49497
49498 2011-09-29  Andreas Jaeger  <aj@suse.de>
49499
49500         [BZ #13179]
49501         * sunrpc/netname.c (netname2host): Fix logic.
49502
49503         [BZ #6779]
49504         [BZ #6783]
49505         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49506         correctly.
49507         * math/w_remainder.c (__remainder): Likewise.
49508         * math/w_remainderf.c (__remainderf): Likewise.
49509         * math/libm-test.inc (remainder_test): Add test cases.
49510
49511 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49512
49513         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49514         sdiv_qrnnd.
49515
49516 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49517
49518         * string/test-memcmp.c: Avoid unncessary #defines.
49519         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49520
49521 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49522
49523         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49524         Use new sse2 version for core i3 - i7 as it's faster
49525         than sse42 version.
49526         (bit_Prefer_PMINUB_for_stringop): New.
49527         * sysdeps/x86_64/rawmemchr.S: Update.
49528         Replace with faster SSE2 version.
49529         * sysdeps/x86_64/memrchr.S: New file.
49530         * sysdeps/x86_64/memchr.S: Update.
49531         Replace with faster SSE2 version.
49532
49533 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49534
49535         * elf/dl-load.c (lose): Add cast to avoid warning.
49536
49537 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49538
49539         * po/ca.po: Update from translation team.
49540
49541         * inet/getnetgrent_r.c: Hook up nscd.
49542         * nscd/Makefile (routines): Add nscd_netgroup.
49543         (nscd-modules): Add netgroupcache.
49544         (CFLAGS-netgroupcache.c): Define.
49545         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49546         (cache_search): Add const to second parameter.
49547         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49548         INNETGR.
49549         (dbs): Add netgrdb entry.
49550         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49551         (verify_persistent_db): Handle netgrdb.
49552         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49553         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49554         GETFDNETGR.
49555         (netgroup_response_header): Define.
49556         (innetgroup_response_header): Define.
49557         (datahead): Add netgroup_response_header and innetgroup_response_header
49558         elements.
49559         * nscd/nscd.conf: Add entries for netgroup cache.
49560         * nscd/nscd.h (dbtype): Add netgrdb.
49561         (_PATH_NSCD_NETGROUP_DB): Define.
49562         (netgroup_iov_disabled): Declare.
49563         (xmalloc, xcalloc, xrealloc): Move declarations here.
49564         (cache_search): Adjust prototype.
49565         Add netgroup-related prototypes.
49566         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49567         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49568         (__nscd_innetgr): Declare.
49569         * nscd/selinux.c (perms): Use access_vector_t as element type and
49570         add netgroup-related initializers.
49571         * nscd/netgroupcache.c: New file.
49572         * nscd/nscd_netgroup.c: New file.
49573         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49574         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49575         For four parameters use innetgr.
49576         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49577         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49578         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49579         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49580
49581         * nscd/connections.c (register_traced_file): Don't register file
49582         for disabled databases.
49583
49584 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49585
49586         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49587
49588         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49589         from tree and freeing node.
49590
49591 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49592
49593         * nss/nsswitch.c (__nss_database_lookup): Handle
49594         nss_parse_service_list out of memory case.
49595
49596 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49597
49598         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49599         out of memory case.
49600
49601 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49602
49603         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49604         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49605         pass it down.
49606         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49607         elf_machine_rela, elf_machine_lazy_rel.
49608         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49609         (ELF_DYNAMIC_DO_REL): Likewise.
49610         (ELF_DYNAMIC_DO_RELA): Likewise.
49611         (ELF_DYNAMIC_RELOCATE): Likewise.
49612         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49613         to ELF_DYNAMIC_DO_REL.
49614         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49615         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49616         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49617         elf_machine_rela.
49618         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49619         skip_ifunc, don't call ifunc function if non-zero.
49620         (elf_machine_rela): Likewise.
49621         (elf_machine_lazy_rel): Likewise.
49622         (elf_machine_lazy_rela): Likewise.
49623         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49624         (elf_machine_lazy_rel): Likewise.
49625         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49626         Likewise.
49627         (elf_machine_lazy_rel): Likewise.
49628         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49629         Likewise.
49630         (elf_machine_lazy_rel): Likewise.
49631         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49632         (elf_machine_lazy_rel): Likewise.
49633         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49634         (elf_machine_lazy_rel): Likewise.
49635         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49636         (elf_machine_lazy_rel): Likewise.
49637         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49638         (elf_machine_lazy_rel): Likewise.
49639         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49640         (elf_machine_lazy_rel): Likewise.
49641         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49642         (elf_machine_lazy_rel): Likewise.
49643
49644 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49645
49646         * nss/nss_files/files-init.c (_nss_files_init): Use static
49647         initialization for all the *_traced_file variables.
49648
49649 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49650
49651         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49652
49653 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49654
49655         [BZ #13226]
49656         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49657
49658 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49659
49660         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49661         Reread the line before reparsing it.
49662
49663 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49664
49665         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49666
49667 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49668             Maxim Kuvyrkov  <maxim@codesourcery.com>
49669             Joseph Myers  <joseph@codesourcery.com>
49670
49671         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49672         if needed for __stack_chk_guard.
49673
49674 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49675
49676         * sysdeps/posix/spawni.c (script_execute): Always define it.
49677         It will be optimized away if unused.
49678         (maybe_script_execute): New function.
49679         (__spawni): Call it.
49680
49681         * Makerules: Don't include tls.make.
49682         (config-tls): Always set to thread.
49683         * tls.make.c: File removed.
49684
49685 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49686
49687         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49688         * config.make.in (CPPFLAGS-config): New substituted variable.
49689
49690 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49691
49692         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49693
49694         [BZ #13192]
49695         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49696         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49697
49698 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49699
49700         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49701         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49702         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49703         (CALL_FAIL): Likewise.
49704         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49705         (CALL_FAIL): Macro removed.
49706         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49707
49708 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49709
49710         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49711         for __FINITE_MATH_ONLY__ == 1.
49712
49713 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49714
49715         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49716         __ieee754_sqrt instead of sqrt.
49717         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49718         __ieee754_sqrtf instead of sqrtf.
49719         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49720         __floorf instead of floorf.
49721         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49722         __floorf, __truncf instead of floorf, truncf.
49723
49724 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49725
49726         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49727
49728         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49729         __extern_always_inline.
49730         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49731         32-bit.
49732
49733 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49734
49735         * elf/rtld.c (dl_main): Also relocate in dependency order when
49736         doing symbol dependency testing.
49737
49738 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49739
49740         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49741         Always define `refsym'.
49742
49743 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49744
49745         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49746         (__FD_ELT): Renamed from __FDELT.
49747         * misc/bits/select2.h (__FD_ELT): Likewise.
49748         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49749         __FD_MASK instead of __FDELT, __FDMASK.
49750         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49751         Likewise.
49752         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49753         Likewise.
49754
49755         * elf/Makefile (gen-ldd): Fix pattern.
49756
49757         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49758         (init_tls): Likewise.
49759
49760 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49761
49762         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49763
49764 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49765
49766         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49767         `struct cmsghdr *' instead of `void *'.
49768         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49769         Likewise.
49770
49771 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49772
49773         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49774         if non-absolute.
49775         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49776         ldd_rewrite_script.
49777
49778 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49779
49780         * configure.in: Remove --with-tls option.
49781         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49782         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49783         out in case it is missing.
49784         * sysdeps/ia64/elf/configure.in: Likewise.
49785         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49786         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49787         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49788         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49789         * sysdeps/sh/elf/configure.in: Likewise.
49790         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49791         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49792         * sysdeps/x86_64/elf/configure.in: Likewise.
49793         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49794         * sysdeps/mach/hurd/tls.h: Likewise.
49795
49796         [BZ #13067]
49797         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49798
49799         [BZ #13090]
49800         * configure.in: Fix use of AC_INIT.
49801
49802         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49803
49804 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
49805
49806         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49807         __set_errno.
49808         * malloc/hooks.c: Likewise.
49809
49810         [BZ #11929]
49811         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
49812         variables statically.
49813         (narenas): Initialize.
49814         (list_lock): Initialize.
49815         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
49816         initializtion of main_arena and list_lock.  Small cleanups.
49817         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49818         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
49819         Add initializers to main_arena and mp_.
49820         (malloc_state): Remove pagesize member.  Change all users to use
49821         GLRO(dl_pagesize).
49822
49823         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49824         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
49825         is always initialized.
49826
49827         * malloc/malloc.c: Removed unused configurations and dead code.
49828         * malloc/arena.c: Likewise.
49829         * malloc/hooks.c: Likewise.
49830         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49831
49832         * include/tls.h: Removed.  USE___THREAD must always be defined.
49833         * bits/libc-tsd.h: Don't handle !USE___THREAD.
49834         * elf/dl-libc.c: Likewise.
49835         * elf/dl-tsd.c: Likewise.
49836         * include/errno.h: Likewise.
49837         * include/netdb.h: Likewise.
49838         * include/resolv.h: Likewise.
49839         * inet/herrno-loc.c: Likewise.
49840         * inet/herrno.c: Likewise.
49841         * malloc/arena.c: Likewise.
49842         * malloc/hooks.c: Likewise.
49843         * malloc/malloc.c: Likewise.
49844         * resolv/res-state.c: Likewise.
49845         * resolv/res_libc.c: Likewise.
49846         * sysdeps/i386/dl-machine.h: Likewise.
49847         * sysdeps/ia64/dl-machine.h: Likewise.
49848         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49849         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49850         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49851         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49852         * sysdeps/sh/dl-machine.h: Likewise.
49853         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49854         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49855         * sysdeps/unix/i386/sysdep.S: Likewise.
49856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49857         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49858         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49859         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49860         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49861         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49862         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49863         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49864         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49865         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49866         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49867         * sysdeps/x86_64/dl-machine.h: Likewise.
49868         * tls.make.c: Likewise.
49869
49870         * configure.in: Remove --with-__thread option.  Make tests for
49871         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49872         tls_model attribute fail if no support is available.  Remove
49873         USE_IN_LIBIO.
49874         * Makeconfig: Adjust for dropped configure option.  All features are
49875         now mandatory.
49876         * Makerules: Likewise.
49877         * Versions.def: Likewise.
49878         * argp/argp-fmtstream.c: Likewise.
49879         * argp/argp-fmtstream.h: Likewise.
49880         * argp/argp-help.c: Likewise.
49881         * assert/assert.c: Likewise.
49882         * config.h.in: Likewise.
49883         * config.make.in: Likewise.
49884         * configure: Likewise.
49885         * configure.in: Likewise.
49886         * csu/Versions: Likewise.
49887         * csu/init.c: Likewise.
49888         * elf/tst-audit2.c: Likewise.
49889         * elf/tst-tls10.c: Likewise.
49890         * elf/tst-tls10.h: Likewise.
49891         * elf/tst-tls11.c: Likewise.
49892         * elf/tst-tls12.c: Likewise.
49893         * elf/tst-tls14.c: Likewise.
49894         * elf/tst-tlsmod11.c: Likewise.
49895         * elf/tst-tlsmod12.c: Likewise.
49896         * elf/tst-tlsmod13.c: Likewise.
49897         * elf/tst-tlsmod13a.c: Likewise.
49898         * elf/tst-tlsmod14a.c: Likewise.
49899         * elf/tst-tlsmod15b.c: Likewise.
49900         * elf/tst-tlsmod16a.c: Likewise.
49901         * elf/tst-tlsmod16b.c: Likewise.
49902         * elf/tst-tlsmod7.c: Likewise.
49903         * elf/tst-tlsmod8.c: Likewise.
49904         * elf/tst-tlsmod9.c: Likewise.
49905         * gmon/gmon.c: Likewise.
49906         * grp/fgetgrent_r.c: Likewise.
49907         * grp/putgrent.c: Likewise.
49908         * hurd/fopenport.c: Likewise.
49909         * include/libc-symbols.h: Likewise.
49910         * include/tls.h: Likewise.
49911         * intl/gettextP.h: Likewise.
49912         * intl/loadinfo.h: Likewise.
49913         * locale/global-locale.c: Likewise.
49914         * locale/localeinfo.h: Likewise.
49915         * mach/devstream.c: Likewise.
49916         * malloc/arena.c: Likewise.
49917         * malloc/set-freeres.c: Likewise.
49918         * misc/err.c: Likewise.
49919         * misc/getttyent.c: Likewise.
49920         * misc/mntent_r.c: Likewise.
49921         * posix/getopt.c: Likewise.
49922         * posix/wordexp.c: Likewise.
49923         * pwd/fgetpwent_r.c: Likewise.
49924         * resolv/Versions: Likewise.
49925         * resolv/res_hconf.c: Likewise.
49926         * shadow/fgetspent_r.c: Likewise.
49927         * shadow/putspent.c: Likewise.
49928         * stdio-common/printf_fphex.c: Likewise.
49929         * stdio-common/tmpfile.c: Likewise.
49930         * stdlib/abort.c: Likewise.
49931         * stdlib/fmtmsg.c: Likewise.
49932         * sunrpc/auth_unix.c: Likewise.
49933         * sunrpc/clnt_perr.c: Likewise.
49934         * sunrpc/clnt_tcp.c: Likewise.
49935         * sunrpc/clnt_udp.c: Likewise.
49936         * sunrpc/clnt_unix.c: Likewise.
49937         * sunrpc/openchild.c: Likewise.
49938         * sunrpc/svc_simple.c: Likewise.
49939         * sunrpc/svc_tcp.c: Likewise.
49940         * sunrpc/svc_udp.c: Likewise.
49941         * sunrpc/svc_unix.c: Likewise.
49942         * sunrpc/xdr.c: Likewise.
49943         * sunrpc/xdr_array.c: Likewise.
49944         * sunrpc/xdr_rec.c: Likewise.
49945         * sunrpc/xdr_ref.c: Likewise.
49946         * sunrpc/xdr_stdio.c: Likewise.
49947
49948 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49949
49950         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49951
49952 2011-07-03  Andreas Jaeger  <aj@suse.de>
49953
49954         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49955         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49956         regenerate with gen-libm-tests.pl.
49957
49958 2010-05-12  Petr Baudis  <pasky@suse.cz>
49959
49960         [BZ #11589]
49961         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49962         around j0() zero points by switching to j1().
49963         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49964         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49965         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49966         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49967
49968 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49969
49970         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49971         instead of 0.
49972         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49973         instead of 0.
49974         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49975         Patch in part by Pavel Roskin <proski@gnu.org>.
49976
49977         [BZ #13138]
49978         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49979         realloc.
49980         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
49981         Free memory block if necessary.
49982
49983         [BZ #12847]
49984         * libio/genops.c (INTDEF): For string streams the _lock pointer can
49985         be NULL.  Don't lock in this case.
49986
49987 2011-09-09  Roland McGrath  <roland@hack.frob.com>
49988
49989         * elf/elf.h (ELFOSABI_GNU): New macro.
49990         (ELFOSABI_LINUX): Define to that.
49991
49992 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
49993
49994         * string/strncat.c (strncat): Undef the symbol in case it has been
49995         defined in bits/string.h.
49996
49997 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49998
49999         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50000
50001         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50002         link map.
50003
50004 2011-08-17  Andreas Jaeger  <aj@suse.de>
50005
50006         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50007
50008 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50009             Ian Lance Taylor  <iant@google.com>
50010
50011         * math/libm-test.inc (lround_test): New testcase.
50012         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50013
50014 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50015
50016         * Makefile: Remove support for automatic cvs check-ins.
50017         * Makerules: Likewise.
50018         * config.make.in: Likewise.
50019         * configure.in: Likewise.
50020         * intl/Makefile: Likewise.
50021         * locale/Makefile: Likewise.
50022         * po/Makefile: Likewise.
50023         * posix/Makefile: Likewise.
50024         * sysdeps/gnu/Makefile: Likewise.
50025         * sysdeps/mach/hurd/Makefile: Likewise.
50026         * sysdeps/sparc/sparc32/Makefile: Likewise.
50027
50028         [BZ #13118]
50029         * posix/Makefile (bug-regex32-ENV): Define.
50030         Patch by John Stanley <jpsinthemix@verizon.net>.
50031
50032         * misc/Makefile (headers): Add bits/select2.h.
50033         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50034         * misc/bits/select2.h: New file.
50035         * include/bits/select2.h: New file.
50036         * debug/Makefile (routines): Add fdelt_chk.
50037         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50038         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50039         FD_ISSET.
50040         * debug/fdelt_chk.c: New file.
50041
50042         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50043         * wcsmbs/test-wmemcmp.c: Likewise.
50044         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50045         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50046
50047 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50048
50049         * string/Makefile (strop-tests): Add memcmp.
50050         * string/test-wmemcmp.c: New file.
50051         * string/test-memcmp.c: Add wmemcmp support.
50052
50053 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50054
50055         [BZ #13153]
50056         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50057         2011-07-19 change.
50058
50059         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50060         garbage value in a __mach_port_mod_refs call in the cases of the
50061         task-self and thread-self ports.
50062
50063 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50064
50065         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50066
50067 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50068
50069         * elf/dl-load.c (lose): Check for non-null L.
50070
50071 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50072
50073         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50074
50075         * elf/dl-libc.c (dlerror_run): Pass back error code from
50076         dl_catch_error.
50077
50078         [BZ #13123]
50079         * elf/dl-load.c (lose): Free l_origin if it is valid.
50080
50081         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50082         names.
50083         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50084         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50085         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50086         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50087         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50088         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50089
50090 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50091
50092         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50093         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50094         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50095         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50096         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50097         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50098         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50099         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50100         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50101         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50102
50103 2011-08-15  Alan Modra  <amodra@gmail.com>
50104
50105         [BZ #13092]
50106         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50107         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50108         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50109         ppc_mcount to static-only-routines.
50110         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50111         __mcount_internal.
50112         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50113         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50114
50115 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50116
50117         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50118         for finite and infinity parameters.
50119
50120 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50121
50122         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50123         and add nop instructions for throughput optimization.
50124         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50125
50126 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50127
50128         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50129         aligned copy for power7 with vector-scalar instructions.
50130         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50131
50132 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50133
50134         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50135         AVX check.
50136
50137 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50138
50139         [BZ #13144]
50140         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50141         last change.
50142
50143 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50144
50145         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50146         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50147         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50148         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50149         clock_gettime.
50150
50151 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50152
50153         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50154         Forgot to demangle the pointer.
50155
50156         * sysdeps/i386/sysdep.h: Define atom_text_section.
50157         * sysdeps/x86_64/sysdep.h: Likewise.
50158         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50159         section with atom_text_section.
50160         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50161         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50162         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50163         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50164         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50165
50166         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50167         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50168         already be defined.  Change to take two parameters and don't assign
50169         result to variable.  Adjust all users.
50170         Define INTERNAL_GETTIME if not already defined.
50171         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50172         call.
50173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50174         HAVE_CLOCK_GETTIME_VSYSCALL.
50175         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50176
50177         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50178         gettimeofday vsyscall, just use time.
50179
50180 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50181
50182         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50183         <errno.h>.
50184
50185 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50186
50187         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50188         syscall on x86-64.
50189         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50190         syscall.
50191         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50192         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50193         syscall if possible.
50194
50195 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50196
50197         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50198         e_ident.  Don't pass to find_mapsXX.
50199         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50200
50201 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50202
50203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50204         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50205         * sysdeps/x86_64/multiarch/strchr.S: Update.
50206         Check bit_slow_BSF bit.
50207         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50208         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50209         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50210
50211 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50212
50213         [BZ #13134]
50214         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50215         before glibc 2.15.
50216         (tryshell): Define.
50217         (__spawni): Change last parameter to be flag.  Test
50218         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50219         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50220         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50221         * posix/spawni.c: Likewise.
50222         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50223         * posix/spawnp.c: Likewise.  Change normal version to use
50224         SPAWN_XFLAGS_USE_PATH.
50225         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50226         SPAWN_XFLAGS_TRY_SHELL.
50227
50228         [BZ #13150]
50229         * posix/glob.h: Remove gcc 1.x support.
50230
50231         [BZ #13068]
50232         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50233
50234 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50235
50236         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50237         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50238         strrchr-sse2-bsf
50239         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50240         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50241         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50242         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50243         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50244         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50245
50246 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50247
50248         * sysdeps/x86_64/wcscmp.S: New file.
50249
50250         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50251         wcscmp-c wcscmp-sse2
50252         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50253         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50254         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50255         * wcsmbs/wcscmp.c: Allow renaming.
50256
50257 2011-09-05  David S. Miller  <davem@davemloft.net>
50258
50259         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50260         stack slot, rather than the struct return pointer slot.
50261         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50262         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50263         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50264         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50265
50266 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50267
50268         * po/ja.po: Update from translation team.
50269
50270         [BZ #13144]
50271         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50272         kernel in 64-bit binaries.
50273
50274 2011-09-01  David S. Miller  <davem@davemloft.net>
50275
50276         * elf/elf.h (HWCAP_SPARC_*): Move to..
50277         * sysdeps/sparc/sysdep.h: this new file and add new values.
50278         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50279         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50280         _DL_HWCAP_COUNT to 24.
50281         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50282         entries.
50283         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50284         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50285         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50286         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50287         instead of magic constants.
50288         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50289
50290 2011-08-31  David S. Miller  <davem@davemloft.net>
50291
50292         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50293         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50294         Reimplement to do errno handling inline.
50295         (SYSCALL_ERROR_HANDLER): New macro.
50296         (__SYSCALL_STRING): Do not do errno handling in asm.
50297         (__CLONE_SYSCALL_STRING): Delete.
50298         (__INTERNAL_SYSCALL_STRING): Delete.
50299         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50300         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50301         (PSEUDO): Reimplement to do errno handling inline.
50302         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50303         (SYSCALL_ERROR_HANDLER): New macro.
50304         (__SYSCALL_STRING): Do not do errno handling in asm.
50305         (__CLONE_SYSCALL_STRING): Delete.
50306         (__INTERNAL_SYSCALL_STRING): Delete.
50307         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50308         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50309         i386.
50310         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50311         (inline_syscall*): Add 'err' argument.
50312         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50313         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50314         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50315         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50316
50317         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50318         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50319
50320 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50321
50322         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50323
50324 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50325
50326         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50327         directive.
50328
50329 2011-08-24  David S. Miller  <davem@davemloft.net>
50330
50331         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50332
50333 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50334
50335         * elf/Makefile: Add rules to build and run unload8 test.
50336         * elf/unload8.c: New file.
50337         * elf/unload8mod1.c: New file.
50338         * elf/unload8mod1x.c: New file.
50339         * elf/unload8mod2.c: New file.
50340         * elf/unload8mod3.c: New file.
50341
50342         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50343         it wasn't used.
50344
50345 2011-08-23  David S. Miller  <davem@davemloft.net>
50346
50347         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50348         subtract stack bias.
50349         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50350         %sp not %fp in calculations.
50351         (_JMPBUF_UNWINDS_ADJ): Likewise.
50352
50353         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50354         (aio_suspend): Call it to force an exception region around the
50355         AIO_MISC_WAIT() invocation.
50356
50357 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50358
50359         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50360         backslash.
50361
50362 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50363
50364         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50365         protection macro.
50366         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50367         and <dl-machine.h>.
50368         (Elf64_FuncDesc): Remove.
50369
50370 2011-08-22  David S. Miller  <davem@davemloft.net>
50371
50372         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50373         sigaltstack check, add missing cfi directives.
50374         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50375         missing cfi directives, and sigaltstack handling.
50376
50377 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50378
50379         [BZ #11724]
50380         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50381         object is seen twice.
50382         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50383
50384         * elf/Makefile (distribute): Add tst-initorder2.c.
50385         (tests): Add tst-initorder2.
50386         (modules-names): Add tst-initorder2a tst-initorder2b
50387         tst-initorder2c tst-initorder2d.  Add rules to build them.
50388         ($(objpfx)tst-initorder2.out): New rule.
50389         * elf/tst-initorder2.c: New file.
50390         * elf/tst-initorder2.exp: New file.
50391
50392 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50393
50394         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50395
50396         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50397         dependencies back to end of function.
50398
50399         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50400         $(elfobjdir)/ld.so.
50401
50402 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50403
50404         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50405         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50406         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50407         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50408         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50409         of __vdso_gettimeofday.
50410         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50411         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50412         attribute_hidden.
50413         (_libc_vdso_platform_setup): Remove initialization of
50414         __vdso_gettimeofday and __vdso_time.
50415
50416 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50417
50418         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50419         and fgetc_unlocked.
50420         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50421         getc_unlocked.
50422
50423         * elf/dl-open.c (add_to_global): Report additions to the global scope
50424         for LD_DEBUG=scopes.
50425         (dl_open_worker): Also print scope of newly loaded dependencies.
50426         (_dl_show_scope): Indicate if there is no scope.
50427
50428         [BZ #13114]
50429         * stdio-common/Makefile (tests): Add bug24.
50430         * stdio-common/bug24.c: New file.
50431
50432 2011-08-19  Andreas Jaeger  <aj@suse.de>
50433
50434         [BZ #13114]
50435         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50436         non-existant file when using close-on-exec mode.
50437
50438 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50439
50440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50441         the very first instruction.
50442
50443         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50444         the CFI state in the end.
50445         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50446         inclusion of dl-trampoline.h.
50447         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50448
50449 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50450
50451         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50452         expectations for long double.
50453
50454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50455         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50456
50457 2011-08-14  David S. Miller  <davem@davemloft.net>
50458
50459         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50460         artificual limit depends upon the system page size.
50461
50462 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50463
50464         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50465         * resolv/Makefile: Define CFLAGS-libresolv.
50466
50467 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50468
50469         * nss/makedb.c (compute_tables): Make variables used in nested
50470         function static.
50471
50472 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50473
50474         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50475         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50476         if buffer was too small.
50477
50478         * elf/pldd.c (main): Attach to all threads in the process.
50479         Rewrite /proc handling to use *at functions.
50480
50481 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50482
50483         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50484         specifies first scope to show.
50485         (dl_open_worker): Update callers.  Move printing scope of new
50486         object to before the relocation.
50487         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50488         * sysdeps/generic/ldsodefs.h: Update declaration.
50489
50490         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50491         string for the scope number.
50492
50493 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50494
50495         * nscd/servicescache.c (cache_addserv): Make sure written is always
50496         initialized.
50497
50498 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50499
50500         * sysdeps/i386/i486/bits/atomic.h
50501         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50502         statement expression, so as to suppress "set but not used" warning.
50503         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50504
50505         * string/strncat.c (STRNCAT): Use prototype definition.
50506
50507         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50508         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50509         -Iprograms here.
50510         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50511         (localedef-modules): Add localedef.
50512         (locale-modules): Add locale.
50513
50514         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50515         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50516         to avoid a warning.
50517
50518 2011-08-14  David S. Miller  <davem@davemloft.net>
50519
50520         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50521         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50522
50523 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50524
50525         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50526         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50527         * elf/rtld.c (dl_main): Set l_name of vDSO.
50528         Call _dl_show_scope when DL_DEBUG_SCOPES.
50529         (process_dl_debug): Recognize scopes flag and also set it for all.
50530         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50531         Declare _dl_show_scope.
50532
50533         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50534         (do_dlopen): Pass caller_dlopen to dl_open.
50535         (__libc_dlopen_mode): Initialize caller_dlopen.
50536
50537         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50538         of libc.  Make tolower call locale-independent.  Optimize a bit by
50539         using isdigit instead of isalnum.
50540         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50541
50542 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50543
50544         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50545         was a dependency or dynamically loaded.
50546
50547 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50548
50549         * intl/l10nflist.c: Allow architecture-specific pop function.
50550         * sysdeps/x86_64/l10nflist.c: New file.
50551
50552         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50553         classification.
50554
50555 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50556
50557         * include/dirent.h: Add libc_hidden_proto for scandirat and
50558         scandirat64.  Don't declare __scandirat64.
50559         * dirent/scandirat.c: Add libc_hidden_def.
50560         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50561         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50562
50563 2011-08-10  David S. Miller  <davem@davemloft.net>
50564
50565         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50566         enum.
50567         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50568         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50569         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50570
50571 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50572
50573         * Versions.def [libc]: Add GLIBC_2.15.
50574         * dirent/Makefile (routines): Add scandirat and scandirat64.
50575         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50576         GLIBC_2.15.
50577         * dirent/dirent.h: Declare scandirat and scandirat64.
50578         * dirent/scandirat.c: New file.
50579         * dirent/scandirat64.c: New file.
50580         * sysdeps/wordsize-64/scandirat.c: New file.
50581         * sysdeps/wordsize-64/scandirat64.c: New file.
50582         * dirent/opendir.c: Define opendirat.
50583         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50584         using scandirat.
50585         * dirent/scandir64.c: Adjust for scandir.c change.
50586         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50587         __scandirat64, and __scandir_cancel_handler.
50588         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50589         additional parameter and use openat instead of open (outside of ld.so).
50590         Add new __opendir as wrapper around __opendirat.
50591         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50592         here without requiring old scandirat implementation.
50593
50594 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50595
50596         * dirent/scandir.c (cancel_handler): Renamed to
50597         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50598         defined.  Adjust users.
50599         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50600         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50601
50602 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50603
50604         * string/test-string.h (IMPL): Use __STRING to expand name and then
50605         stringify it.
50606
50607         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50608         of cleanups.
50609
50610 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50611
50612         * string/Makefile: Update.
50613         (strop-tests): Append strncat.
50614         * string/test-wcscmp.c: New file.
50615         New comprehensive test for wcscmp.
50616         * string/test-strcmp.c: Update.
50617         (WIDE): New define.
50618
50619 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50620
50621         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50622         line.
50623
50624 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50625
50626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50627         encoding to ACE if AI_IDN.
50628
50629 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50630
50631         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50632         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50633
50634 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50635
50636         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50637         Fix overflow bug in strncat.
50638         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50639
50640         * string/test-strncat.c: Update.
50641         Add new tests for checking overflow bugs.
50642
50643 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50644
50645         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50646         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50647         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50648         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50649         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50650         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50651         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50652         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50653         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50654
50655         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50656         (USE_AS_STRCAT): Define.
50657         Add strcat and strncat support.
50658         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50659
50660 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50661
50662         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50663         __n bigger than INT_MAX+1.
50664         (__strncmp_g): Likewise.
50665
50666 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50667
50668         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50669         * libio/stido.h: Likewise.
50670
50671         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50672         (AF_NFC): Define.
50673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50674         (AF_NFC): Define.
50675
50676         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50677         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50678         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50679         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50680         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50681
50682         [BZ #13021]
50683         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50684         installed.
50685
50686         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50687         typo.
50688         (_dl_x86_64_save_sse): Likewise.
50689
50690 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50691
50692         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50693         OSXSAVE.
50694         (_dl_x86_64_save_sse): Likewise.
50695
50696         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50697
50698         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50699
50700 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50701
50702         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50703         change.
50704         (_dl_x86_64_save_sse): Use correct AVX check.
50705
50706 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50707
50708         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50709         bug in strncpy/strncat.
50710         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50711
50712 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50713
50714         * string/tester.c (test_strcat): Add tests for different alignments
50715         of source and destination.
50716         (test_strncat): Likewise.
50717
50718 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50719
50720         [BZ #12852]
50721         * posix/glob.c (glob): Check passed in values before using them in
50722         expressions to avoid some overflows.
50723         (glob_in_dir): Likewise.
50724
50725         [BZ #13007]
50726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50727         check for AVX enablement so that we don't crash with old kernels and
50728         new hardware.
50729         * elf/tst-audit4.c: Add same checks here.
50730         * elf/tst-audit6.c: Likewise.
50731
50732         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50733
50734 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50735
50736         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50737
50738 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50739
50740         * po/cs.po: Update from translation team.
50741         * po/bg.po: Likewise.
50742
50743 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50744
50745         * misc/sys/cdefs.h: Add support for const attribute.
50746         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50747         to gnu_dev_{major,minor,makedev} functions.
50748
50749 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50750
50751         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50752
50753 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50754
50755         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50756         strlen results.
50757
50758 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50759
50760         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50761         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50762         register in order to avoid conflicts with the soft frame pointer
50763         being held in r11 when necessary.
50764         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50765         (INTERNAL_VSYSCALL_NCS): Likewise.
50766
50767 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50768
50769         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50770         * elf/dl-fini.c (_dl_fini): Adjust caller.
50771         * elf/dl-close.c (_dl_close_worker): Likewise.
50772         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50773
50774 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50775
50776         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50777         "aux_cache->nlibs < 0".
50778
50779         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50780         in the reload-count case.
50781
50782 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50783
50784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50785         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50786         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50787         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50788         * sysdeps/x86_64/multiarch/strcat.S: New file.
50789         * sysdeps/x86_64/multiarch/strncat.S: New file.
50790         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50791         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50792         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50793         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50794         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50795         (USE_AS_STRCAT): Define.
50796         Add strcat and strncat support.
50797         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50798         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50799         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50800         * string/strncat.c: Update.
50801         (USE_AS_STRNCAT): Define.
50802         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50803         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50804         and i7.
50805         * sysdeps/x86_64/multiarch/init-arch.h
50806         (bit_Prefer_PMINUB_for_stringop): New.
50807         (index_Prefer_PMINUB_for_stringop): Likewise.
50808         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50809         bit_Prefer_PMINUB_for_stringop.
50810
50811 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50812
50813         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50814         buffer64.
50815         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50816         of casting of buffer.
50817         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50818         buffer32 and buffer64.
50819         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50820         writes instead of casting of buffer.
50821         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50822         buffer32.
50823         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50824         casting of buffer.
50825
50826 2011-07-19  Andreas Schwab  <schwab@redhat.com>
50827
50828         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50829
50830 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50831
50832         * nscd/nscd.c (termination_handler): Don't do anything for a database
50833         if it has not yet been initialized.
50834
50835 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50836
50837         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50838
50839 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50840
50841         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50842
50843 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50844
50845         * po/nl.po: Update from translation team.
50846         * po/sv.po: Likewise.
50847
50848 2011-07-16  Roland McGrath  <roland@hack.frob.com>
50849
50850         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50851         now disallowed by GCC.
50852
50853         * configure.in (use-default-link): Default to yes if a test -shared
50854         link meets our qualifications.
50855         * configure: Regenerated.
50856
50857         * config.make.in (output-format): New variable.
50858         * configure.in: Check for ld --print-output-format support.
50859         * configure: Regenerated.
50860         * Makerules ($(common-objpfx)format.lds)
50861         [$(output-format) != unknown]: Just use $(output-format),
50862         instead of the linker-script munging.
50863
50864 2011-07-14  Roland McGrath  <roland@hack.frob.com>
50865
50866         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50867         of $(common-objpfx)shlib.lds.
50868         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50869
50870         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50871         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50872
50873         * configure.in (-z relro check): Adjust test code to add a large
50874         writable data section after it.
50875         * configure: Regenerated.
50876
50877 2011-07-11  Roland McGrath  <roland@hack.frob.com>
50878
50879         * configure.in (-z relro check): Fix test code to make the variable
50880         truly const.
50881         * configure: Regenerated.
50882
50883 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
50884
50885         * nscd/nscd.h (struct traced_file): Define.
50886         (struct database_dyn): Remove inotify_descr, reset_res, and filename
50887         elements.  Add traced_files.
50888         (inotify_fd): Declare.
50889         (register_traced_file): Declare.
50890         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50891         (inotify_fd): Export.
50892         (resolv_conf_descr): Remove.
50893         (nscd_init): Move inotify descriptor creation to main.
50894         Don't register files for notification here.
50895         (register_traced_file): New function.
50896         (invalidate_cache): Don't use reset_res to determine whether to call
50897         res_init, go through the list of registered files.
50898         (main_loop_poll): The inotify descriptors are now stored in the
50899         structures for the traced files.
50900         (main_loop_epoll): Likewise
50901         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
50902         to __nss_disable_nscd.
50903         * nscd/cache.c (prune_cache): There is no single inotify descriptor
50904         for a database anymore.  Check the records for all the registered
50905         files instead.
50906         * nss/Makefile (libnss_files-routines): Add files-init.
50907         (libnss_db-routines): Add db-init.
50908         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50909         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50910         * nss/nss_db/db-init.c: New file.
50911         * nss/nss_files/files-init.c: New file.
50912         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
50913         __nss_lookup_function.
50914         (__nss_lookup_function): Call nss_load_library.
50915         (nss_load_all_libraries): New function.
50916         (__nss_disable_nscd): Take parameter with callback function for files
50917         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
50918         used for the cached services.
50919         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50920         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50921         options for features to all the files in nscd.
50922
50923         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50924
50925 2011-07-10  Roland McGrath  <roland@hack.frob.com>
50926
50927         * csu/elf-init.c (__libc_csu_init): Comment typo.
50928
50929 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
50930
50931         * po/pl.po: Update from translation team.
50932         * po/ja.po: Likewise.
50933         * po/ru.po: Likewise.
50934         * po/ko.po: Likewise.
50935         * po/fr.po: Likewise.
50936
50937 2011-07-09  Roland McGrath  <roland@hack.frob.com>
50938
50939         * configure.in (.ctors/.dtors header and trailer check):
50940         Use an empirical test on a built program.
50941         * configure: Regenerated.
50942
50943         * configure.in (-z relro check): Use an empirical test on a built DSO.
50944         Detect, but do not require, on ia64.
50945         * configure: Regenerated.
50946
50947         * configure.in (READELF): Find it with AC_CHECK_TOOL.
50948         Update tests that use readelf to use $READELF instead.
50949         * configure: Regenerated.
50950
50951 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
50952
50953         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50954         if the result is not used.
50955
50956 2011-07-05  Andreas Jaeger  <aj@suse.de>
50957
50958         [BZ#9696]
50959         * stdlib/tst-strtod.c: Add testcase.
50960
50961 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
50962
50963         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50964         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50965         The latter has a higher limit.  Take additional parameter to pass to
50966         the new function.
50967         (__pathconf): Pass file to __statfs_link_max.
50968         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50969         __statfs_link_max.
50970         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50971         __statfs_link_max.
50972
50973         [BZ #12868]
50974         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50975         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50976         Handle Lustre.
50977         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50978         (__statfs_filesize_max): Likewise.
50979         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50980
50981 2011-07-05  Andreas Jaeger  <aj@suse.de>
50982
50983         * resolv/res_comp.c (dn_skipname): Remove unused variable.
50984
50985 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
50986
50987         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50988         `status' variable.
50989         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50990         Likewise.
50991
50992 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
50993
50994         * Makefile (strop-tests): Add strncat.
50995         * string/test-strncat.c: New file.
50996
50997 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
50998
50999         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51000
51001 2011-06-21  Andreas Jaeger  <aj@suse.de>
51002
51003         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51004         Copy rule from iconvdata/Makefile.
51005
51006 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51007
51008         [BZ #12922]
51009         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51010         but no long options are defined, just return 'W'.
51011
51012 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51013
51014         [BZ #9696]
51015         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51016
51017 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51018
51019         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51020         netgroups to read.
51021         (innetgr): Likewise.
51022
51023 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51024
51025         * config.make.in (install_root): Default to $(DESTDIR).
51026
51027 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51028
51029         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51030
51031 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51032
51033         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51034
51035         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51036         containing directory rather than embedding absolute directory names.
51037
51038         * scripts/check-local-headers.sh: Rewritten using awk.
51039         Match by word, not by line.  Print error messages for matches.
51040         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51041
51042         * Makerules [shlib-lds-flags empty]:
51043         ($(common-objpfx)libc_pic.opts): New target.
51044         ($(common-objpfx)libc_pic.os.clean): New target.
51045         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51046
51047         * config.make.in (OBJCOPY): New variable.
51048         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51049         * configure: Regenerated.
51050
51051         * config.make.in (use-default-link): New variable.
51052         * configure.in (use_default_link): Grok --with-default-link to set it.
51053         * configure: Regenerated.
51054         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51055         (shlib-lds, shlib-lds-flags): Define to empty.
51056
51057         * Makerules (shlib-lds): New variable.
51058         (shlib-lds-flags): New variable.
51059         (build-shlib, build-moduile, build-module-asneeded): Use it.
51060         ($(common-objpfx)libc.so): Use $(shlib-lds).
51061         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51062         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51063
51064         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51065         DT_FLAGS/DT_FLAGS_1 with zero flags.
51066
51067         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51068         linker script munging.
51069
51070 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51071
51072         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51073         as 128-bit value.
51074         * crypt/sha512.c (sha512_process_block): Perform total addition using
51075         128-bit if possible.
51076         (__sha512_finish_ctx): Likewise.
51077         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51078         as 64-bit value.
51079         * crypt/sha256.c (SWAP64): Define.
51080         (sha256_process_block): Perform total addition using 64-bit if
51081         possible.
51082         (__sha256_finish_ctx): Likewise.
51083
51084 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51085
51086         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51087         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51088         * nscd/hstcache.c (cache_addhst): Likewise.
51089         * nscd/grpcache.c (cache_addgr): Likewise.
51090         * nscd/aicache.c (addhstaiX): Likewise
51091         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51092
51093 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51094
51095         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51096         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51097         * nscd/hstcache.c (cache_addhst): Likewise.
51098         * nscd/grpcache.c (cache_addgr): Likewise.
51099         * nscd/aicache.c (addhstaiX): Likewise
51100
51101 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51102
51103         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51104         domain only when needed.
51105
51106 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51107
51108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51109         is always restored.
51110
51111 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51112
51113         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51114         are re-adding the entry.
51115         * nscd/servicescache.c (cache_addserv): Likewise.
51116
51117 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51118
51119         * sysdeps/generic/dl-irel.h: fix protection against multiple
51120         inclusions.
51121         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51122
51123 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51124
51125         [BZ #12935]
51126         * malloc/memusage.sh: Fix quoting in message.
51127         * debug/xtrace.sh: Likewise.
51128
51129         * configure.in: Remove support for --experimental-malloc option, make
51130         it the default.
51131         * config.make.in: Likewise.
51132         * malloc/Makefile: Likewise.
51133
51134 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51135
51136         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51137         two-byte characters.
51138
51139 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51140
51141         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51142         AC_CACHE_CHECK invocation.
51143         * configure: Regenerated.
51144
51145         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51146
51147 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51148
51149         [BZ #12350]
51150         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51151         bit from old_res_options.
51152
51153         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51154
51155         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51156         value type for setfct.
51157
51158 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51159
51160         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51161         __gettimeofday instead of gettimeofday.
51162
51163 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51164
51165         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51166
51167 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51168
51169         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51170
51171         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51172         info.
51173
51174 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51175
51176         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51177         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51178         strcpy-sse2-unaligned strncpy-sse2-unaligned
51179         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51180         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51181         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51182         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51183         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51184         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51185         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51186         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51187         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51188         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51189         (STRCPY): Support SSE2 and SSSE3 versions.
51190
51191 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51192
51193         [BZ #12874]
51194         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51195         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51196         kernels which artificially limit size of requests.
51197
51198 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51199
51200         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51201         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51202         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51203         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51204         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51205         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51206         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51207         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51208         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51209         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51210         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51211         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51212         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51213         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51214         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51216         Enable unaligned load optimization for Intel Core i3, i5 and i7
51217         processors.
51218         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51219         Define.
51220         (index_Fast_Unaligned_Load): Define.
51221         (HAS_FAST_UNALIGNED_LOAD): Define.
51222
51223 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51224
51225         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51226
51227 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51228
51229         [BZ #12907]
51230         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51231         until it is clear that the information is realy needed.
51232         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51233
51234 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51235
51236         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51237
51238 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51239
51240         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51241         /sys/devices/system/cpu/online if it is usable.
51242
51243         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51244         reading the information from the /proc filesystem to once a second.
51245
51246 2011-06-21  Andreas Jaeger  <aj@suse.de>
51247
51248         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51249         NULL after inclusion of kernel headers.
51250
51251 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51252
51253         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51254         calls to internal_setent.
51255
51256         [BZ #12885]
51257         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51258         addresses using gethostbyname4_r ignore IPv4 addresses.
51259
51260         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51261         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51262
51263         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51264
51265 2011-06-20  David S. Miller  <davem@davemloft.net>
51266
51267         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51268         inclusions.
51269         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51270
51271         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51272         (elf_irel): Use it.
51273         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51274         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51275         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51276         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51277         * sysdeps/x86_64/dl-irel.h: Likewise.
51278
51279         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51280         * elf/dl-sym.c: Likewise.
51281
51282 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51283
51284         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51285         need to dereference resplen2.
51286
51287 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51288
51289         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51290
51291 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51292
51293         * Makeconfig: Define vardbdir and inst_vardbdir.
51294         * nss/Makefile: Add rules to install db-Makefile.
51295
51296         * nss/nss_db/db-XXX.c: Cleanup.
51297
51298         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51299         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51300         GLIBC_PRIVATE.
51301         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51302         * nss/makedb.c: Implement -g option to specify that value strings
51303         are generated and should not be added to table iterated over for
51304         get*ent calls.
51305         * nss/nss_db/db-initgroups.c: New file.
51306
51307         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51308         interface.
51309
51310         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51311         (internal_getgrouplist): Adjust to name change.
51312         Update use_initgroups_entry if this is not the first call.
51313         * nss/databases.def: Add initgroups entry.
51314
51315         * nss/makedb.c (compute_tables): Check result of multiple hash table
51316         sizes to minimize maximum chain length.
51317
51318 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51319
51320         * Versions.def: Add entry for libnss_db.
51321         * shlib-versions: Likewise.
51322         * nss/Makefile: Add rules to build libnss_db.
51323         * nss/Versions: Add libnss_db information.  Organize libnss_files
51324         entries better.
51325         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51326         makedb progra.  Some minor improvements to generate smaller files.
51327         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51328         here from...
51329         * nss/makedb.c: ...here.
51330         Improve database format to be smaller and require less memory at
51331         runtime.
51332         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51333         db anymore.
51334         * nss/nss_db/db-netgrp.c: Likewise.
51335         * nss/nss_db/db-open.c: Likewise.
51336         * nss/nss_files/flies-XXX.x: Adjust comments.
51337         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51338         * nss/nss_files/files-grp.c: Likewise.
51339         * nss/nss_files/files-hosts.c: Likewise.
51340         * nss/nss_files/files-network.c: Likewise.
51341         * nss/nss_files/files-proto.c: Likewise.
51342         * nss/nss_files/files-pwd.c: Likewise.
51343         * nss/nss_files/files-rpc.c: Likewise.
51344         * nss/nss_files/files-service.c: Likewise.
51345         * nss/nss_files/files-sgrp.c: Likewise.
51346         * nss/nss_files/files-spwd.c: Likewise.
51347         * nss/nss_db/db-alias.c: Removed.
51348         * nss/nss_db/dummy-db.h: Removed.
51349
51350 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51351
51352         * nss/makedb.c: Rewritten to not use database library.
51353         * nss/Makefile: Update to build new makedb program.
51354
51355 2011-06-14  Andreas Jaeger  <aj@suse.de>
51356
51357         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51358         memset declaration.
51359
51360 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51361
51362         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51363         tmpbuf.
51364
51365 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51366
51367         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51368         * elf/Makefile ($(objpfx)ld.so): Likewise.
51369
51370         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51371         Don't list ld.so twice in dependencies.
51372
51373         * posix/bug-regex31.c: Include <stdlib.h>.
51374
51375         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51376
51377         * nis/nss_compat/compat-spwd.c
51378         (getspent_next_nss_netgr): Remove unused variable.
51379         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51380
51381         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51382         nonmembers" output to use the right array.
51383
51384         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51385
51386         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51387
51388         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51389         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51390         * catgets/gencat.c (read_input_file): Likewise.
51391         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51392
51393         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51394         variable definition inside #if's controlling its use.
51395
51396         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51397
51398         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51399
51400         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51401
51402         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51403         unreachable code.
51404
51405         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51406
51407         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51408         * configure: Regenerated.
51409
51410         * Makerules: Revert last change.
51411         * elf/Makefile: Likewise.
51412
51413 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51414
51415         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51416         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51417         (reloc-link): Likewise.
51418
51419 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51420
51421         * elf/Makefile: Add rules to build pldd.
51422         * elf/pldd.c: New file.
51423         * elf/pldd-xx.c: New file.
51424
51425 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51426
51427         * version.h: Update for 2.15 development version.
51428
51429 2011-06-07  David S. Miller  <davem@davemloft.net>
51430
51431         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51432         ifuncs.
51433         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51434         elf_machine_lazy_rel): Likewise.
51435         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51436         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51437         elf_machine_lazy_rel): Likewise.
51438         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51439         dl_hwcap via passed in argument.
51440         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51441         Likewise.
51442
51443 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51444
51445         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51446
51447 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51448
51449         [BZ #12849]
51450         * manual/fdl-1.1.texi: New file, verbatim from:
51451         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51452         * manual/lgpl-2.1.texi: New file, verbatim from:
51453         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51454         * manual/Makefile (licenses): New variable, list those new file names.
51455         (texis): Use it.
51456         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51457
51458         * manual/fdl.texi: File removed.
51459         * manual/lesser.texi: File removed.
51460         * manual/libc.texinfo (Copying, Documentation License):
51461         Use new @include file names, put @appendix directive before @include.
51462
51463 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51464
51465         [BZ #12841]
51466         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51467         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51468         (mq_open): Add __NTH.
51469
51470 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51471
51472         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51473         Assume Intel Core i3/i5/i7 processor if AVX is available.
51474
51475 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51476
51477         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51478         typo.
51479
51480 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51481
51482         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51483         memory.  Use alloca_account.  Fix memory leak when retrying.
51484
51485 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51486
51487         * version.h (RELEASE): Bump for 2.14 release.
51488         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51489
51490         * config.make.in (RANLIB): Remove entry.
51491
51492 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51493
51494         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51495         (libc.pot): Work around missing support for .ksh extension in xgettext.
51496
51497         [BZ #12684]
51498         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51499         if both request failed.
51500         (send_dg): In case of server errors clear resplen or *resplen2.
51501
51502         [BZ #12454]
51503         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51504         when there are multiple maps.
51505         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51506         (_dl_fini): Remove test here.
51507
51508         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51509
51510 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51511
51512         [BZ #12350]
51513         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51514         bit from old_res_options.
51515         (gaih_inet): Likewise.
51516
51517         [BZ #11099]
51518         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51519         as signed.
51520
51521         * resolv/res_init.c (res_setoptions): Make the code more compact.
51522
51523         [BZ #11558]
51524         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51525         set RES_USEVC.
51526
51527         [BZ #11634]
51528         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51529
51530         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51531
51532         [BZ #11781]
51533         * malloc/malloc.h: Declare malloc hook variables as volatile.
51534
51535         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51536         in last patch.
51537
51538         [BZ #11799]
51539         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51540         raise in the comment.
51541         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51542         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51543         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51544
51545 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51546
51547         [BZ #12811]
51548         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51549         grow the buffers more if it already has to be sufficient.
51550         (build_wcs_upper_buffer): Likewise.
51551         * posix/regexec.c (check_matching): Likewise.
51552         (clean_state_log_if_needed): Likewise.
51553         (extend_buffers): Don't enlarge buffers beyond size of the input
51554         buffer.
51555         Patches mostly by Emil Wojak <emil@wojak.eu>.
51556         * posix/bug-regex32.c: New file.
51557         * posix/Makefile (tests): Add bug-regex32.
51558
51559         * locale/findlocale.c (_nl_find_locale): Return right away if
51560         _nl_explode_name failed.
51561         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51562
51563         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51564
51565         * debug/xtrace.sh: Unify messages.
51566         * malloc/memusage.sh: Likewise.
51567
51568         [BZ #12813]
51569         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51570         time symbol from vDSO.  Substitute with vsyscall if not available.
51571         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51572         __vdso_time.
51573
51574         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51575         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51576         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51577         Add sendmmsg and internal_sendmmsg.
51578         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51579         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51580         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51581
51582         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51583         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51584         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51585
51586 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51587
51588         [BZ #12813]
51589         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51590         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51591         available.
51592         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51593         __vdso_getcpu.
51594
51595         [BZ #12814]
51596         * iconvdata/Makefile (tests): Add bug-iconv9.
51597         * iconvdata/bug-iconv9.c: New file.
51598
51599 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51600
51601         [BZ #12814]
51602         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51603
51604 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51605
51606         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51607         (struct user_regs_struct): Change intcs field back to cs.
51608
51609 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51610
51611         * po/ja.po: Update from translation team.
51612
51613 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51614
51615         [BZ #12795]
51616         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51617         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51618
51619 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51620
51621         * stdlib/longlong.h: Update from GCC.
51622
51623 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51624
51625         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51626         parameter name.
51627         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51628         Add parameter name.
51629         (__sysconf): Pass it down.
51630
51631 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51632
51633         [BZ #12671]
51634         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51635         some situations.
51636         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51637         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51638         add in in __libc_use_alloca calls.  Adjust callers.
51639         (glob): Use malloc in some situations.
51640
51641         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51642         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51643         pltexit.
51644
51645 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51646
51647         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51648         and CLOCK_BOOTTIME_ALARM.
51649
51650         [BZ #12782]
51651         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51652         is returned.
51653
51654         * string/_strerror.c (__strerror_r): Print negative errors as signed
51655         numbers.
51656
51657         [BZ #12777]
51658         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51659         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51660         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51661
51662         * configure.in: Fix typo in redirection and correct removal of test
51663         files in two cases.
51664
51665         [BZ #12788]
51666         * locale/setlocale.c (new_composite_name): Fix test to check for
51667         identical name of all categories.
51668
51669         [BZ #12792]
51670         * libio/filedoalloc.c (local_isatty): New function.
51671         (_IO_file_doallocate): Use local_isatty.
51672         * stdio-common/perror.c (perror): In case a new stream is used
51673         forward the stream error.
51674         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51675         error flag.
51676
51677 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51678
51679         [BZ #11869]
51680         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51681         alloca.
51682         * include/alloca.h (extend_alloca_account): Define.
51683
51684         [BZ #11857]
51685         * posix/regex.h: Fix comments with documentation of user-accessible
51686         fields after compilation and describe correct free'ing of pattern
51687         after re_compile_pattern.
51688         Patch by Reuben Thomas <rrt@sc3d.org>.
51689
51690 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51691
51692         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51693         and -mno-altivec to prevent the compiler from using Altivec and/or
51694         VSX instructions when the corresponding registers are not available.
51695
51696 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51697
51698         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51699
51700 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51701
51702         * libio/freopen.c (freopen): Use __dup2, not dup2.
51703         * libio/freopen64.c (freopen64): Likewise.
51704
51705 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51706
51707         [BZ #12775]
51708         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51709         * math/Makefile (tests): Add test-powl.
51710         (CFLAGS-test-powl.c): Define.
51711         * math/test-powl.c: New file.
51712
51713 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51714
51715         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51716
51717 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51718
51719         [BZ #11837]
51720         * iconvdata/gb18030.c: Update to GB18020-2005.
51721
51722 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51723
51724         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51725         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51726         Patch by Aharon Robbins <arnold@skeeve.com>.
51727
51728         [BZ #11892]
51729         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51730         on the stack.
51731
51732         [BZ #11895]
51733         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51734         through underflows.
51735
51736         [BZ #12766]
51737         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51738         point to strings before performing equality test for error_one_per_line
51739         mode.
51740
51741         [BZ #11697]
51742         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51743
51744         [BZ #11820]
51745         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51746         (struct user_fpregs_struct): Avoid __uint*_t types.
51747
51748         [BZ #6420]
51749         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51750         symbol info.  Use it instead of calling _dl_addr locally.
51751         (lock_and_info): New function.
51752         (tr_freehook): Call lock_and_info and pass symbol info as additional
51753         parameter to tr_where.
51754         (tr_mallochook): Likewise.
51755         (tr_reallochook): Likewise.
51756         (tr_memalignhook): Likewise.
51757
51758         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51759         used and couldn't be at all thread-safe.
51760
51761 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51762
51763         * libio/freopen.c (freopen): Don't close old file descriptor
51764         before the new one is opened.  Instead dup the new file descriptor
51765         to the old one after the new stream is created.
51766         * libio/freopen64.c (freopen64): Likewise.
51767         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51768         * libio/fileops.c (_IO_new_file_close_it): Handle new
51769         _IO_FLAGS2_NOCLOSE flag.
51770         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51771         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51772         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51773         _IO_FLAGS2_NOCLOSE flag.
51774         * include/unistd.h: Add hidden_proto for dup3.
51775         Define __have_dup3.
51776         * io/dup3.c: Define hidden symbol.
51777         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51778
51779         [BZ #7101]
51780         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51781         when an incomplete long option is used.
51782         * posix/tst-getopt_long1.c: New file.
51783         * posix/Makefile (tests): Add tst-getopt_long1.
51784
51785         [BZ #10138]
51786         * scripts/config.guess: Update from autoconf-2.68.
51787         * scripts/config.sub: Likewise.
51788
51789         [BZ #10157]
51790         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51791         tests into ...
51792         (has_cpuclock): ...this.  New function.
51793         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51794         macro here based on has_cpuclock code.
51795
51796         [BZ #10149]
51797         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51798         First byte (not low byte) is now always NUL.
51799         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51800
51801         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51802         Use non-cancelable interfaces.
51803
51804         [BZ #9809]
51805         * locale/iso-639.def: Add entry for Sorani.
51806
51807         [BZ #11901]
51808         * include/stdlib.h: Move include protection to the right place.
51809         Define abort_msg_s.  Declare __abort_msg with it.
51810         * stdlib/abort.c (__abort_msg): Adjust type.
51811         * assert/assert.c (__assert_fail_base): New function.  Majority
51812         of code from __assert_fail.  Allocate memory for __abort_msg with
51813         mmap.
51814         (__assert_fail): Now call __assert_fail_base.
51815         * assert/assert-perr.c: Remove bulk of implementation.  Use
51816         __assert_fail_base.
51817         * include/assert.hL Declare __assert_fail_base.
51818         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51819         mmap.
51820         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51821
51822 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
51823
51824         [BZ #11952]
51825         [BZ #12453]
51826         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51827         until all modules are registered in the DTV.
51828         * elf/Makefile: Add rules to build and run tst-tls19.
51829         * elf/tst-tls19.c: New file.
51830         * elf/tst-tls19mod1.c: New file.
51831         * elf/tst-tls19mod2.c: New file.
51832         * elf/tst-tls19mod3.c: New file.
51833         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51834
51835         [BZ #12083]
51836         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51837         correctly.
51838
51839         [BZ #12601]
51840         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51841         two-byte sequence errors.
51842         * iconvdata/Makefile (tests): Add bug-iconv8.
51843         * iconvdata/bug-iconv8.c: New file.
51844
51845         [BZ #12626]
51846         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51847         buf2 definition.
51848
51849         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51850
51851         [BZ #12432]
51852         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51853         (dummy_getcfa): New function.
51854         (init): Get _Unwind_GetCFA address, use dummy if not found.
51855         (backtrace_helper): In recursion check, also check whether CFA changes.
51856         (__backtrace): Completely initialize arg.
51857
51858         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51859         storing incomplete byte sequence in state object.  Avoid testing for
51860         guaranteed too small input if we know there is enough data available.
51861
51862 2011-05-11  Andreas Schwab  <schwab@redhat.com>
51863
51864         * Makeconfig (+link-pie): Indent.
51865         * Rules (binaries-pie): Define if $(have-fpie) and
51866         $(build-shared).
51867         (binaries-shared): Also filter out $(binaries-pie).
51868         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51869         * nscd/Makefile (others-pie): Add nscd.
51870         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51871         ($(objpfx)nscd): Remove command override.
51872         * login/Makefile (others-pie): Add pt_chown.
51873         ($(objpfx)pt_chown): Remove command override.
51874         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51875         remove command overrides.
51876
51877 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
51878
51879         * libio/tst_putwc.c: Fix error messages.
51880
51881         [BZ #12724]
51882         * libio/fileops.c (_IO_new_file_close_it): Always flush when
51883         currently writing and seek to current position when not.
51884         * libio/Makefile (tests): Add bug-fclose1.
51885         * libio/bug-fclose1.c: New file.
51886
51887 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
51888
51889         [BZ #12511]
51890         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51891         don't set DF_1_NODELETE here.
51892         (do_lookup_x): When entering new entry test for copy relocation
51893         and if necessary set DF_1_NODELETE flag.
51894         * elf/tst-unique4.cc: New file.
51895         * elf/tst-unique4.h: New file.
51896         * elf/tst-unique4lib.cc: New file.
51897         * elf/Makefile: Add rules to build and run tst-unique4.
51898         Patch by Piotr Bury <pbury@goahead.com>.
51899
51900 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
51901
51902         [BZ #12052]
51903         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51904
51905         [BZ #12625]
51906         * misc/mntent_r.c (addmntent): Flush the stream after the output
51907
51908         [BZ #12393]
51909         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51910         (is_trusted_path_normalize): Skip initial colon.  Append slash
51911         to empty buffer.  Duplicate is_trusted_path code but allow
51912         constructed patch to be prefix.
51913         (is_dst): Allow $ORIGIN followed by /.
51914         (_dl_dst_substitute): Correct clearing of check_for_trusted.
51915         Correct testing of result of is_trusted_path_normalize
51916         (decompose_rpath): Fix warning.
51917
51918 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
51919
51920         [BZ #11257]
51921         * grp/initgroups.c (internal_getgrouplist): When we found the service
51922         list through the initgroups entry in nsswitch.conf do not always
51923         continue on a successful lookup.  Don't always use the
51924         __nss_group_database value if it is set.
51925         * nss/nsswitch.conf (initgroups): Change action for successful db
51926         lookup to continue for compatibility.
51927
51928 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
51929
51930         [BZ #11532]
51931         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51932         and CP774 modules.
51933         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51934         and CP774 modules.
51935         * iconvdata/tst-tables.sh: Likewise.
51936         * iconvdata/cp770.c: New file.
51937         * iconvdata/cp771.c: New file.
51938         * iconvdata/cp772.c: New file.
51939         * iconvdata/cp773.c: New file.
51940         * iconvdata/cp774.c: New file.
51941         * iconvdata/testdata/CP770: New file.
51942         * iconvdata/testdata/CP770..UTF8: New file.
51943         * iconvdata/testdata/CP771: New file.
51944         * iconvdata/testdata/CP771..UTF8: New file.
51945         * iconvdata/testdata/CP772: New file.
51946         * iconvdata/testdata/CP772..UTF8: New file.
51947         * iconvdata/testdata/CP773: New file.
51948         * iconvdata/testdata/CP773..UTF8: New file.
51949         * iconvdata/testdata/CP774: New file.
51950         * iconvdata/testdata/CP774..UTF8: New file.
51951
51952         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51953         END CHARMAP line.
51954         * iconvdata/gen-8bit-gap.sh: Likewise.
51955         * iconvdata/gen-8bit.sh: Likewise.
51956
51957         * locale/iso-639.def: Add ary entry.
51958
51959         [BZ #11258]
51960         * locale/C-translit.h.in: Add U20A1 transliteration.
51961
51962         [BZ #12178]
51963         * locale/iso-639.def: Add wae entry.
51964         Patch by Kevin Bortis <bortis@translate-wae.ch>.
51965
51966         [BZ #12545]
51967         * locale/programs/localedef.c (construct_output_path): Use ssize_t
51968         for n.
51969
51970         [BZ #12711]
51971         * locale/C-translit.h.in: Add entry for U20B9.
51972         Patch by pravin.d.s@gmail.com.
51973
51974 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
51975
51976         [BZ #12713]
51977         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51978         ENAMETOOLONG use generic getcwd.
51979         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
51980         in rtld.  Use *stat64.
51981         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51982         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51983         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51984         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51985         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51986         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51987         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51988         __fstatat64 macros.
51989         * include/dirent.h: Add libc_hidden_proto for rewinddir.
51990         * dirent/rewinddir.c: Add libc_hidden_def.
51991         * sysdeps/mach/hurd/rewinddir.c: Likewise.
51992         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
51993
51994         * include/dirent.h (__alloc_dir): Add flags parameter.
51995         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51996         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51997         __alloc_dir.
51998         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
51999         from fdopendir if O_CLOEXEC is already set.
52000
52001 2011-03-15  Alan Modra  <amodra@gmail.com>
52002
52003         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52004         l_tls_firstbyte_offset non-zero.  Save padding offset in
52005         l_tls_firstbyte_offset for later use.
52006         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52007         freeing static tls block.
52008
52009 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52010
52011         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52012         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52013         being defined by the kernel headers.
52014
52015 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52016
52017         [BZ #12734]
52018         * resolv/resolv.h: Define RES_NOTLDQUERY.
52019         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52020         no-tld-query and set RES_NOTLDQUERY.
52021         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52022         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52023         modern BIND to search name as TLD unless forbidden.
52024
52025 2011-05-07  Petr Baudis  <pasky@suse.cz>
52026             Ulrich Drepper  <drepper@gmail.com>
52027
52028         [BZ #12393]
52029         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52030         (is_trusted_path): ...to here.
52031         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52032         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52033         using is_trusted_path_normalize() in setuid scripts.
52034
52035 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52036
52037         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52038         __BEGIN/__END_DECLS.
52039
52040 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52041
52042         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52043         NSS_STATUS_NOTFOUND if no record was found.
52044
52045 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52046
52047         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52048         (headers-not-in-tirpc): Remove rpc/netdb.h
52049         * resolv/netdb.h: Revert last change.
52050
52051 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52052
52053         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52054         circular dependency between libgcc.a and libc.a.
52055
52056 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52057
52058         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52059         * nis/Makefile: Don't install rpcsvc/*.
52060         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52061         instead of <rpc/types.h>.
52062         (MAXHOSTNAMELEN): Define.
52063
52064 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52065
52066         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52067
52068 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52069
52070         [BZ #12714]
52071         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52072         gethostbyname4_r when IPv6 results are possible.
52073
52074 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52075
52076         [BZ #12723]
52077         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52078         _PC_PIPE_BUF handling.
52079
52080 2011-04-30  Bruno Haible  <bruno@clisp.org>
52081
52082         [BZ #12717]
52083         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52084         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52085         to 'int'.
52086         * inet/getnameinfo.c (getnameinfo): Likewise.
52087
52088 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52089
52090         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52091         to groups setting in database lookup.
52092         * nss/nsswitch.conf: Add initgroups entry.
52093
52094 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52095
52096         [BZ #12685]
52097         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52098         mode string.
52099         Patch by Eric Blake <eblake@redhat.com>.
52100
52101 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52102
52103         * sunrpc/Makefile (need-export-routines): Add svc_run.
52104         (routines): Remove svc_run.
52105         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52106         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52107         * sunrpc/svc_run.c (svc_run): Likewise.
52108         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52109
52110 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52111
52112         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52113         problem in reallocation in last patch.
52114
52115 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52116
52117         * sunrpc/Makefile: Move inclusion of Rules.
52118
52119 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52120
52121         * nss/nss_files/files-initgroups.c: New file.
52122         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52123         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52124         _nss_files_initgroups_dyn.
52125
52126 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52127
52128         * elf/elf.h (R_ARM_IRELATIVE): Define.
52129
52130 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52131
52132         * po/ru.po: Update from translation team.
52133
52134 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52135
52136         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52137         dependencies.
52138
52139 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52140
52141         [BZ #12653]
52142         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52143         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52144         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52145         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52146         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52147
52148 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52149
52150         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52151         differing bytes.
52152         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52153         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52154         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52155
52156 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52157
52158         [BZ #12420]
52159         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52160         storing it.
52161         * stdlib/bug-getcontext.c: New file.
52162         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52163
52164 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52165
52166         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52167         instructions into .machine "z9-109".
52168         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52169         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52170
52171 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52172
52173         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52174         between environment variables and auxiliary vector.
52175
52176 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52177
52178         * Makefile: Add rules to build linkobj/libc.so.
52179         * include/libc-symbols.h: Define libc_hidden_nolink.
52180         * include/rpc/auth.h: Mark functions which are to be hidden.
52181         * include/rpc/auth_des.h: Likewise.
52182         * include/rpc/auth_unix.h: Likewise.
52183         * include/rpc/clnt.h: Likewise.
52184         * include/rpc/des_crypt.h: Likewise.
52185         * include/rpc/key_prot.h: Likewise.
52186         * include/rpc/pmap_clnt.h: Likewise.
52187         * include/rpc/pmap_prot.h: Likewise.
52188         * include/rpc/pmap_rmt.h: Likewise.
52189         * include/rpc/rpc_msg.h: Likewise.
52190         * include/rpc/svc.h: Likewise.
52191         * include/rpc/svc_auth.h: Likewise.
52192         * include/rpc/xdr.h: Likewise.
52193         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52194         * nss/Makefile: Likewise.
52195         * sunrpc/Makefile: Don't install headers.  Build library with normal
52196         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52197         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52198         for the compat linking library.  Remove use of INTDEF/INTUSE.
52199         * sunrpc/auth_none.c: Likewise.
52200         * sunrpc/auth_unix.c: Likewise.
52201         * sunrpc/authdes_prot.c: Likewise.
52202         * sunrpc/authuxprot.c: Likewise.
52203         * sunrpc/clnt_gen.c: Likewise.
52204         * sunrpc/clnt_perr.c: Likewise.
52205         * sunrpc/clnt_raw.c: Likewise.
52206         * sunrpc/clnt_simp.c: Likewise.
52207         * sunrpc/clnt_tcp.c: Likewise.
52208         * sunrpc/clnt_udp.c: Likewise.
52209         * sunrpc/clnt_unix.c: Likewise.
52210         * sunrpc/des_crypt.c: Likewise.
52211         * sunrpc/des_soft.c: Likewise.
52212         * sunrpc/get_myaddr.c: Likewise.
52213         * sunrpc/key_call.c: Likewise.
52214         * sunrpc/key_prot.c: Likewise.
52215         * sunrpc/netname.c: Likewise.
52216         * sunrpc/pm_getmaps.c: Likewise.
52217         * sunrpc/pm_getport.c: Likewise.
52218         * sunrpc/pmap_clnt.c: Likewise.
52219         * sunrpc/pmap_prot.c: Likewise.
52220         * sunrpc/pmap_prot2.c: Likewise.
52221         * sunrpc/pmap_rmt.c: Likewise.
52222         * sunrpc/publickey.c: Likewise.
52223         * sunrpc/rpc_cmsg.c: Likewise.
52224         * sunrpc/rpc_common.c: Likewise.
52225         * sunrpc/rpc_dtable.c: Likewise.
52226         * sunrpc/rpc_prot.c: Likewise.
52227         * sunrpc/rpc_thread.c: Likewise.
52228         * sunrpc/rtime.c: Likewise.
52229         * sunrpc/svc.c: Likewise.
52230         * sunrpc/svc_auth.c: Likewise.
52231         * sunrpc/svc_authux.c: Likewise.
52232         * sunrpc/svc_raw.c: Likewise.
52233         * sunrpc/svc_run.c: Likewise.
52234         * sunrpc/svc_simple.c: Likewise.
52235         * sunrpc/svc_tcp.c: Likewise.
52236         * sunrpc/svc_udp.c: Likewise.
52237         * sunrpc/svc_unix.c: Likewise.
52238         * sunrpc/svcauth_des.c: Likewise.
52239         * sunrpc/xcrypt.c: Likewise.
52240         * sunrpc/xdr.c: Likewise.
52241         * sunrpc/xdr_array.c: Likewise.
52242         * sunrpc/xdr_float.c: Likewise.
52243         * sunrpc/xdr_intXX_t.c: Likewise.
52244         * sunrpc/xdr_mem.c: Likewise.
52245         * sunrpc/xdr_rec.c: Likewise.
52246         * sunrpc/xdr_ref.c: Likewise.
52247         * sunrpc/xdr_sizeof.c: Likewise.
52248         * sunrpc/xdr_stdio.c: Likewise.
52249
52250 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52251
52252         [BZ #12650]
52253         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52254         * sysdeps/ia64/dl-tls.h: Likewise.
52255         * sysdeps/powerpc/dl-tls.h: Likewise.
52256         * sysdeps/s390/dl-tls.h: Likewise.
52257         * sysdeps/sh/dl-tls.h: Likewise.
52258         * sysdeps/sparc/dl-tls.h: Likewise.
52259         * sysdeps/x86_64/dl-tls.h: Likewise.
52260         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52261
52262 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52263
52264         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52265         rpath element also skip the following colon.
52266         (expand_dynamic_string_token): Add is_path parameter and pass
52267         down to DL_DST_REQUIRED and _dl_dst_substitute.
52268         (decompose_rpath): Call expand_dynamic_string_token with
52269         non-zero is_path.  Ignore empty rpaths.
52270         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52271         with zero is_path.
52272
52273 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52274
52275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52276         Make cancelable.
52277
52278 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52279
52280         [BZ #12655]
52281         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52282         Patch by Filipe David Manana <fdmanana@apache.org>.
52283
52284 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52285
52286         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52287         Maintain aligned stack.
52288         (CHECK_RSP): Remove unused macro.
52289
52290 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52291
52292         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52293         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52294
52295 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52296
52297         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52298
52299         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52300
52301 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52302
52303         [BZ #12518]
52304         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52305         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52306         * sysdeps/x86_64/memmove.c: New file.
52307         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52308         (memcpy): Renamed to ...
52309         (__new_memcpy): This.
52310         (memcpy): Provide GLIBC_2_14 memcpy.
52311         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52312         (memcpy): Provide GLIBC_2_2_5 memcpy.
52313
52314 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52315
52316         [BZ #12631]
52317         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52318
52319 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52320
52321         * misc/syncfs.c: New file.
52322         * misc/Makefile (routines): Add syncfs.
52323         * posix/unistd.h: Declare syncfs.
52324         * sysdeps/unix/syscalls.list: Add syncfs.
52325
52326 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52327
52328         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52329         open_by_handle_at.
52330         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52331         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52332         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52333         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52334         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52335         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52336         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52337
52338 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52339
52340         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52341         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52342         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52344         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52345         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52346         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52347
52348         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52349         sync_file_range.c with -fexceptions.
52350         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52351         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52352         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52353         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52354         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52355         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52356         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52357         sync_file_range as cancellation point
52358         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52359         now a wrapper around __call_sync_file_range with cancellation handling.
52360         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52361         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52362         function name to __call_sync_file_range.
52363         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52364         Add call_sync_file_range.
52365
52366 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52367
52368         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52369         bits/timex.h.
52370
52371 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52372
52373         * iconv/iconv.h: Fix typo in comment.
52374         * io/fcntl.h: Likewise.
52375         * libio/stdio.h: Likewise.
52376         * posix/spawn.h: Likewise.
52377         * posix/unistd.h: Likewise.
52378         * stdlib/stdlib.h: Likewise.
52379         * time/time.h: Likewise.
52380         * wcsmbs/wchar.h: Likewise.
52381
52382         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52383         open_by_handle): Add.
52384         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52385         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52386         Augment a few comments.
52387         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52388         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52389         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52390         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52391         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52392         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52393         open_by_handle.
52394
52395         * io/fcntl.h (AT_EMPTY_PATH): Define.
52396
52397 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52398
52399         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52400         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52401         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52402         to...
52403         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52404         * Versions.def: Add GLIBC_2.14.
52405         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52406         Export.
52407
52408 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52409
52410         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52411         round counter.
52412         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52413
52414 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52415
52416         [BZ #12597]
52417         * string/test-strncmp.c (do_page_test): New function.
52418         (check2): Likewise.
52419         (test_main): Call check2.
52420         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52421
52422 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52423
52424         [BZ #12587]
52425         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52426         Handle cache information in CPU leaf 4.
52427         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52428
52429 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52430
52431         [BZ #12583]
52432         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52433         character representation.
52434         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52435
52436 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52437
52438         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52439         END(__isnan) to END(__isnanf) to match function entry point/label
52440         EALIGN(__isnanf,...).
52441
52442 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52443
52444         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52445
52446 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52447
52448         [BZ #12510]
52449         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52450         copy from the symbol referenced in the relocation to initialize the
52451         used variable.
52452         Patch by Piotr Bury <pbury@goahead.com>.
52453         * elf/Makefile: Add rules to build and tst-unique3.
52454         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52455         * elf/tst-unique3.cc: New file.
52456         * elf/tst-unique3.h: New file.
52457         * elf/tst-unique3lib.cc: New file.
52458         * elf/tst-unique3lib2.cc: New file.
52459
52460         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52461
52462 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52463
52464         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52465         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52466         to _start.
52467
52468 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52469
52470         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52471         to-be-loaded object along a path to loader is ld.so.
52472
52473 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52474             Ulrich Drepper  <drepper@gmail.com>
52475
52476         * sysdeps/x86_64/memset.S: After aligning destination, code
52477         branches to different locations depending on the value of
52478         misalignment, when multiarch is enabled. Fix this.
52479
52480 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52481
52482         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52483         Set _x86_64_preferred_memory_instruction for AMD processsors.
52484         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52485         Set bit_Prefer_SSE_for_memop for AMD processors.
52486
52487 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52488
52489         * libio/fmemopen.c (fmemopen): Optimize a bit.
52490
52491 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52492
52493         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52494
52495 2011-03-03  Roland McGrath  <roland@redhat.com>
52496
52497         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52498
52499 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52500
52501         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52502         __bzero_ultra1 instead of __memset_ultra1.
52503
52504 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52505             Ulrich Drepper  <drepper@gmail.com>
52506
52507         [BZ #12509]
52508         * include/link.h (struct link_map): Add l_orig_initfini.
52509         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52510         returning unsuccessfully.
52511         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52512         close of a file loaded at startup, restore the original l_initfini
52513         list.
52514         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52515         list, store the pointer.
52516         * elf/Makefile ($(objpfx)noload-mem): New rule.
52517         (noload-ENV): Define.
52518         (tests): Add $(objpfx)noload-mem.
52519         * elf/noload.c: Include <memcheck.h>.
52520         (main): Call mtrace.  Close all opened handles.
52521
52522 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52523
52524         [BZ #12454]
52525         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52526         dependencies are missing.
52527
52528 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52529
52530         Fix __if_freereq crash: Unlike the generic version which uses free,
52531         Hurd needs munmap.
52532         * sysdeps/mach/hurd/ifreq.h: New file.
52533
52534 2011-01-27  Petr Baudis  <pasky@suse.cz>
52535             Ulrich Drepper  <drepper@gmail.com>
52536
52537         [BZ 12445]#
52538         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52539         to extend_alloca().
52540         * stdio-common/bug23.c: New file.
52541         * stdio-common/Makefile (tests): Add bug23.
52542
52543 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52544             Ulrich Drepper  <drepper@gmail.com>
52545
52546         [BZ #12489]
52547         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52548         before performing relro protection.  At old place add assertion
52549         to make sure nothing changed.
52550
52551 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52552             Glauber de Oliveira Costa  <glommer@gmail.com>
52553
52554         * elf/elf.h: Add new ARM TLS relocs.
52555
52556 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52557
52558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52559         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52560         cast from r3.
52561         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52562         'tests' variable.
52563         * sysdeps/wordsize-64/tst-writev.c: New file.
52564
52565 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52566
52567         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52568         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52569         insns in _dl_start to prevent a TOC reference before relocs are
52570         resolved.
52571
52572 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52573
52574         [BZ #12469]
52575         * Makeconfig: Remove RANLIB definition.
52576         * Makerules: Don't use RANLIB.
52577         * aclocal.m4: Remove ranlib test.
52578         * configure.in: No need to check for ranlib.
52579         * elf/rtld-Rules: Don't use RANLIB.
52580
52581 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52582
52583         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52584         protection macro.
52585         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52586         inclusion protection macro.
52587
52588         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52589         SIGRTMIN and SIGRTMAX and print information in that case only when
52590         SIGRTMIN is defined.
52591
52592 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52593
52594         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52595         arginfo fn returning -1.
52596
52597         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52598         and thousands string is zero terminated.
52599
52600 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52601
52602         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52603         sysdeps/unix/sysv/linux/bits/socket.h.
52604
52605 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52606
52607         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52608         (__CPU_COUNT): Remove old macros.
52609         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52610         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52611         (__CPU_ALLOC, __CPU_FREE): Add macros.
52612         (__sched_cpualloc, __sched_cpufree): Add declarations.
52613
52614 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52615
52616         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52617         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52618         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52619         (readdhstai): Return value of addhstaiX call.
52620         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52621         (addgrbyX): Return value returned by cache_addgr.
52622         (readdgrbyname): Return value returned by addgrbyX.
52623         (readdgrbygid): Likewise.
52624         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52625         (addpwbyX): Return value returned by cache_addpw.
52626         (readdpwbyname): Return value returned by addhstbyX.
52627         (readdpwbyuid): Likewise.
52628         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52629         (addservbyX): Return value returned by cache_addserv.
52630         (readdservbyname): Return value returned by addservbyX:
52631         (readdservbyport): Likewise.
52632         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52633         (addhstbyX): Return value returned by cache_addhst.
52634         (readdhstbyname): Return value returned by addhstbyX.
52635         (readdhstbyaddr): Likewise.
52636         (readdhstbynamev6): Likewise.
52637         (readdhstbyaddrv6): Likewise.
52638         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52639         (readdinitgroups): Return value returned by addinitgroupsX.
52640         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52641         (prune_cache): Keep track of timeout value of re-added entries.
52642         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52643         * nscd/nscd.h: Adjust prototypes of readd* functions.
52644
52645 2011-02-04  Roland McGrath  <roland@redhat.com>
52646
52647         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52648         (nis_stats): Likewise.
52649         * nis/nis_modify.c (nis_modify): Likewise.
52650         * nis/nis_remove.c (nis_remove): Likewise.
52651         * nis/nis_add.c (nis_add): Likewise.
52652
52653         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52654
52655         * posix/fnmatch_loop.c: Add some consts.
52656
52657         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52658
52659 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52660
52661         [BZ #12460]
52662         * config.make.in (config-cflags-novzeroupper): Define.
52663         * configure.in: Substitute libc_cv_cc_novzeroupper.
52664         * elf/Makefile (AVX-CFLAGS): Define.
52665         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52666         (CFLAGS-tst-auditmod4a.c): Likewise.
52667         (CFLAGS-tst-auditmod4b.c): Likewise.
52668         (CFLAGS-tst-auditmod6b.c): Likewise.
52669         (CFLAGS-tst-auditmod6c.c): Likewise.
52670         (CFLAGS-tst-auditmod7b.c): Likewise.
52671         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52672
52673 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52674
52675         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52676         function to the callback.
52677         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52678
52679 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52680
52681         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52682         of errno.
52683
52684 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52685
52686         [BZ #11724]
52687         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52688         of constructors.
52689         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52690         of destructors.
52691         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52692
52693         [BZ #11724]
52694         * elf/Makefile: Add rules to build and run new test.
52695         * elf/tst-initorder.c: New file.
52696         * elf/tst-initorder.exp: New file.
52697         * elf/tst-initordera1.c: New file.
52698         * elf/tst-initordera2.c: New file.
52699         * elf/tst-initordera3.c: New file.
52700         * elf/tst-initordera4.c: New file.
52701         * elf/tst-initorderb1.c: New file.
52702         * elf/tst-initorderb2.c: New file.
52703         * elf/tst-order-a1.c: New file.
52704         * elf/tst-order-a2.c: New file.
52705         * elf/tst-order-a3.c: New file.
52706         * elf/tst-order-a4.c: New file.
52707         * elf/tst-order-b1.c: New file.
52708         * elf/tst-order-b2.c: New file.
52709         * elf/tst-order-main.c: New file.
52710         New test case by George Gensure <werkt0@gmail.com>.
52711
52712 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52713
52714         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52715         decoding ACE if AI_CANONIDN.
52716
52717 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52718
52719         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52720
52721 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52722
52723         * version.h (RELEASE): Bump for 2.13 release.
52724         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52725
52726         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52727
52728         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52729         MADV_NOHUGEPAGE.
52730         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52731         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52732         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52733         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52734         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52735         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52736
52737         * posix/getconf.c: Update copyright year.
52738         * catgets/gencat.c: Likewise.
52739         * csu/version.c: Likewise.
52740         * debug/catchsegv.sh: Likewise.
52741         * debug/xtrace.sh: Likewise.
52742         * elf/ldconfig.c: Likewise.
52743         * elf/ldd.bash.in: Likewise.
52744         * elf/sprof.c (print_version): Likewise.
52745         * iconv/iconv_prog.c: Likewise.
52746         * iconv/iconvconfig.c: Likewise.
52747         * locale/programs/locale.c: Likewise.
52748         * locale/programs/localedef.c: Likewise.
52749         * malloc/memusage.sh: Likewise.
52750         * malloc/mtrace.pl: Likewise.
52751         * nscd/nscd.c (print_version): Likewise.
52752         * nss/getent.c: Likewise.
52753
52754         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52755         PF_CAIF, and PF_ALG.
52756         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52757
52758 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52759
52760         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52761         (modules-names): Use them.
52762         (ifunc-test-modules, ifunc-pie-tests): Define.
52763         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52764         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52765         (test-extras): Likewise.
52766         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52767         $(compile-command.c).
52768         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52769         (all-built-dso): Define.
52770         (check-textrel.out, check-execstack.out): Depend on it.
52771
52772         * configure.in: Don't override --enable-multi-arch.
52773
52774 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52775
52776         [BZ #6812]
52777         * nscd/hstcache.c (tryagain): Define.
52778         (cache_addhst): Return tryagain not notfound for temporary errors.
52779         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52780         failed.
52781
52782 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52783
52784         [BZ #10563]
52785         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52786         to make the syscall.
52787         * sysdeps/unix/sysv/linux/setgroups.c: New file.
52788
52789         [BZ #12378]
52790         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52791         and fall back to matching as normal character if the string ends before
52792         the matching ']' is found.  This is what POSIX requires.
52793         * posix/testfnm.c: Adjust test result.
52794         * posix/globtest.sh: Adjust test result.  Add new test.
52795         * posix/tst-fnmatch.input: Likewise.
52796         * posix/tst-fnmatch2.c: Add new test.
52797
52798 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
52799
52800         * elf/Makefile (check-execstack): Revert last change.  Depend on
52801         check-execstack.h.
52802         (check-execstack.h): New target.
52803         (generated): Add check-execstack.h.
52804         * elf/check-execstack.c: Include "check-execstack.h".
52805         (main): Revert last change.
52806         (handle_file): Return zero if GNU_STACK is absent and
52807         DEFAULT_STACK_PERMS doesn't include PF_X.
52808
52809 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
52810
52811         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52812         in child fails because the descriptor is already closed.
52813         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52814         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52815         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52816
52817         [BZ #12397]
52818         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52819         syscall.
52820
52821         [BZ #10484]
52822         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52823         temporary buffer used to handle multi lookups locally.
52824         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52825
52826 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52827
52828         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52829         loader is ld.so.
52830
52831 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
52832
52833         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52834         alignment for SSE2.
52835
52836 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52837
52838         [BZ #12394]
52839         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52840         characters.  When rounding increased number of integer digits recompute
52841         number of groups.
52842         * stdio-common/tst-grouping.c: New file.
52843         * stdio-common/Makefile: Add rules to build and run tst-grouping.
52844
52845 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
52846
52847         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52848         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
52849
52850         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52851         void.
52852         * bits/select.h: Likewise.
52853
52854 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
52855
52856         * po/ja.po: Update from translation team.
52857
52858 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
52859
52860         [BZ #11155]
52861         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52862         implementation just like for lxstat, fxstatat, et al.
52863
52864 2010-12-27  Jim Meyering  <meyering@redhat.com>
52865
52866         [BZ #12348]
52867         * posix/regexec.c (build_trtable): Return failure indication upon
52868         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
52869
52870 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
52871
52872         [BZ #12201]
52873         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52874         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52875         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52876         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52877
52878         [BZ #12207]
52879         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52880
52881         [BZ #12204]
52882         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52883         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52884
52885 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
52886
52887         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52888         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52889         script has SORT_BY_INIT_PRIORITY.
52890         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52891         NO_CTORS_DTORS_SECTIONS is defined.
52892         * elf/soinit.c: Likewise.
52893         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52894         NO_CTORS_DTORS_SECTIONS is defined.
52895         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52896         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52897         * sysdeps/sh/init-first.c: Likewise.
52898         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52899
52900 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
52901
52902         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52903         always use the slow path.
52904
52905 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
52906
52907         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52908         similar rule which adds the sysdep directories to the header search in
52909         order to pick up the correct platform stackinfo.h.
52910         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52911         perform test if it is, otherwise return successfully without testing.
52912         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52913         DEFAULT_STACK_PERMS define in stackinfo.h.
52914         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52915         defined in stackinfo.h.
52916         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52917         DEFAULT_STACK_PERMS defined in stackinfo.h.
52918         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52919         * sysdeps/ia64/stackinfo.h: Likewise.
52920         * sysdeps/s390/stackinfo.h: Likewise.
52921         * sysdeps/sh/stackinfo.h: Likewise.
52922         * sysdeps/sparc/stackinfo.h: Likewise.
52923         * sysdeps/x86_64/stackinfo.h: Likewise.
52924         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52925         PF_X for powerpc64.  Retain PF_X for powerpc32.
52926
52927 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
52928
52929         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52930         accurately.
52931         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52932         GETDENTS_64BIT_ALIGNED.
52933
52934 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
52935
52936         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52937
52938 2010-12-10  Andreas Schwab  <schwab@redhat.com>
52939
52940         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52941         _GNU_SOURCE.
52942
52943         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52944         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52945         Remove __restrict.
52946         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52947         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52948
52949 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
52950
52951         [BZ #11655]
52952         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52953         are initialized.
52954
52955 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
52956
52957         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52958
52959 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
52960
52961         * po/it.po: Update from translation team.
52962
52963 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
52964
52965         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52966         unused codes.
52967
52968 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
52969
52970         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52971
52972 2010-11-24  Andreas Schwab  <schwab@redhat.com>
52973
52974         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52975         specially.
52976         (gaih_getanswer_slice): Likewise.
52977
52978 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
52979
52980         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52981
52982 2010-05-31  Petr Baudis  <pasky@suse.cz>
52983
52984         [BZ #11149]
52985         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52986         silently even in the chroot mode.
52987
52988 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
52989
52990         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52991         last patch a bit.  Pretty printing
52992
52993 2010-05-31  Petr Baudis <pasky@suse.cz>
52994
52995         [BZ #10085]
52996         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52997         initialization of skip_initgroups_dyn.
52998
52999 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53000
53001         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53002         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53003
53004 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53005
53006         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53007
53008 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53009
53010         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53011         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53012         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53013         ($(objpfx)tst-fnmatch-mem): New rule.
53014         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53015         * posix/tst-fnmatch.c (main): Call mtrace.
53016
53017 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53018
53019         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53020         Support Intel processor model 6 and model 0x2c.
53021
53022 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53023
53024         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53025           signed comparison.
53026
53027 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53028
53029         [BZ #12205]
53030         * string/test-strncasecmp.c (check_result): New function.
53031         (do_one_test): Use it.
53032         (check1): New function.
53033         (test_main): Use it.
53034         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53035         Support strcasecmp and strncasecmp.
53036
53037 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53038
53039         [BZ #12194]
53040         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53041         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53042
53043 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53044
53045         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53046         IFUNC support.
53047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53048         memset-x86-64.
53049         * sysdeps/x86_64/multiarch/bzero.S: New file.
53050         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53051         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53052         * sysdeps/x86_64/multiarch/memset.S: New file.
53053         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53054         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53055         Set bit_Prefer_SSE_for_memop for Intel processors.
53056         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53057         Define.
53058         (index_Prefer_SSE_for_memop): Define.
53059         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53060
53061 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53062
53063         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53064         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53065
53066 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53067
53068         [BZ #12191]
53069         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53070         (__x86_64_raw_data_cache_size_half): Likewise.
53071         (__x86_64_raw_shared_cache_size): Likewise.
53072         (__x86_64_raw_shared_cache_size_half): Likewise.
53073
53074         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53075         (__x86_64_raw_data_cache_size_half): Likewise.
53076         (__x86_64_raw_shared_cache_size): Likewise.
53077         (__x86_64_raw_shared_cache_size_half): Likewise.
53078         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53079         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53080         and __x86_64_raw_shared_cache_size_half.  Round
53081         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53082         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53083         to multiple of 256 bytes.
53084
53085 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53086
53087         [BZ #12167]
53088         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53089         of inacessible symlinks.  Verify result of symlink before returning it.
53090         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53091         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53092
53093 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53094
53095         * math/math.h (isinf): Fix typo in comment.
53096
53097 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53098
53099         * po/da.po: Update from translation team.
53100
53101 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53102
53103         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53104         is added to the list.
53105
53106 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53107             Ulrich Drepper  <drepper@gmail.com>
53108
53109         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53110         the global list here.  Move code to...
53111         (_dl_add_to_namespace_list): ...here.  New function.
53112         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53113         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53114         * elf/dl-load.c (lose): Don't remove the element from the list.
53115         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53116         (_dl_map_object): Likewise.
53117
53118 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53119
53120         [BZ #12159]
53121         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53122         into all bytes of SSE register.
53123         Patch by Richard Li <richardpku@gmail.com>.
53124
53125 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53126
53127         [BZ #12140]
53128         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53129         perturbing.
53130
53131 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53132
53133         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53134         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53135         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53136         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53138         submachine.
53139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53140
53141 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53142
53143         * include/dlfcn.h (__RTLD_SECURE): Define.
53144         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53145         mode & __RTLD_SECURE instead.
53146         (open_path): Rename preloaded parameter to secure.
53147         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53148         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53149         * elf/dl-deps.c (openaux): Likewise.
53150         * elf/rtld.c (struct map_args): Remove is_preloaded.
53151         (map_doit): Don't use it.
53152         (dl_main): Likewise.
53153         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53154         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53155
53156 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53157
53158         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53159         (sysd-rules-targets): Remove duplicates.
53160         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53161         rtld-%.$o dependency.
53162
53163 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53164
53165         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53166         _dl_map_object do it.
53167
53168 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53169
53170         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53171         fast fma builtins, define the macros in the C99 standard.
53172         (FP_FAST_FMAF): Likewise.
53173         (FP_FAST_FMAL): Likewise.
53174         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53175
53176         * bits/mathdef.h: Update copyright year.
53177         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53178
53179 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53180
53181         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53182         builtins, define the macros in the C99 standard.
53183         (FP_FAST_FMAF): Likewise.
53184         (FP_FAST_FMAL): Likewise.
53185         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53186         multiply/add.
53187         (FP_FAST_FMAF): Likewise.
53188
53189 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53190
53191         [BZ #3268]
53192         * math/libm-test.inc (fma_test): Some new testcases.
53193         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53194         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53195         y and infinite z.  Do multiplication by C already in long double.
53196         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53197         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53198         y and infinite z.  Do bitwise or of inexact bit into u.d.
53199         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53200         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53201         * sysdeps/i386/fpu/s_fma.S: Removed.
53202         * sysdeps/i386/fpu/s_fmal.S: Removed.
53203
53204 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53205
53206         [BZ #3268]
53207         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53209         computation is not scheduled after fetestexcept.  Fix value
53210         of minimum denormal long double.
53211
53212 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53213
53214         [BZ #3268]
53215         * math/libm-test.inc (fma_test): Add some more tests.
53216         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53217         correctly.
53218
53219 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53220
53221         * scripts/data/localplt-s390-linux-gnu.data: New file.
53222         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53223
53224 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53225
53226         [BZ #3268]
53227         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53228         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53229         instead of dbl-64.
53230         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53231         inlines.
53232         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53234         if one of x and y is very large and the other is subnormal.
53235         * sysdeps/s390/fpu/s_fmaf.c: New file.
53236         * sysdeps/s390/fpu/s_fma.c: New file.
53237         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53238         * sysdeps/powerpc/fpu/s_fma.S: New file.
53239         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53240         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53241         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53242
53243 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53244
53245         [BZ #3268]
53246         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53247         fma tests.
53248         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53249         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53250         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53251         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53252         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53253         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53254         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53255
53256 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53257
53258         [BZ #12078]
53259         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53260         * posix/bug-regex31.input: Add test case.
53261
53262 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53263
53264         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53265         * posix/bug-regex31.input: New file.
53266
53267         [BZ #12078]
53268         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53269         (parse_sub_exp): Fix last change, use postorder.
53270
53271         * posix/bug-regex31.c: New file.
53272         * posix/Makefile: Add rules to build and run bug-regex31.
53273
53274         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53275
53276         [BZ #12078]
53277         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53278
53279         [BZ #12108]
53280         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53281         to have entries in sys_siglist.
53282
53283         [BZ #12093]
53284         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53285         be NULL.
53286
53287 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53288
53289         [BZ #3268]
53290         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53291         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53292         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53293         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53294         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53295         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53296         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53297         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53298         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53299         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53300         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53301         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53302         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53303         * math/ftestexcept.c (fetestexcept): Likewise.
53304         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53305         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53306         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53307         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53308         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53309         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53310         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53311
53312 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53313
53314         [BZ #12107]
53315         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53316         newline.
53317
53318 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53319
53320         * string/bug-strstr1.c: New file.
53321         * string/Makefile: Add rules to build and run bug-strstr1.
53322
53323 2010-10-05  Eric Blake  <eblake@redhat.com>
53324
53325         [BZ #12092]
53326         * string/str-two-way.h (two_way_long_needle): Always clear memory
53327         when skipping input due to the shift table.
53328
53329 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53330
53331         [BZ #12005]
53332         * malloc/mcheck.c: Handle large requests.
53333
53334         [BZ #12077]
53335         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53336         for strncmp and strncasecmp.
53337         * string/stratcliff.c: Add tests for strcmp and strncmp.
53338         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53339
53340 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53341
53342         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53343         __set_fpscr.
53344
53345 2010-09-30  Andreas Jaeger  <aj@suse.de>
53346
53347         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53348         (CGROUP_SUPER_MAGIC): Define.
53349         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53350         Handle btrfs and cgroup file systems.
53351         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53352         Likewise.
53353
53354 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53355
53356         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53357         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53358
53359 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53360
53361         [BZ #12067]
53362         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53363         trying to locate the ELF header.
53364
53365 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53366
53367         [BZ #11611]
53368         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53369         Mask out sign-bit copies when constructing f_fsid.
53370
53371 2010-09-24  Petr Baudis <pasky@suse.cz>
53372
53373         * debug/stack_chk_fail_local.c: Add missing licence exception.
53374         * debug/warning-nop.c: Likewise.
53375
53376 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53377
53378         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53379         implementing getdents64 using getdents syscall, set d_type if
53380         __ASSUME_GETDENTS32_D_TYPE.
53381
53382 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53383
53384         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53385         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53386
53387 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53388
53389         [BZ #12037]
53390         * posix/unistd.h: Undo change of feature selection for ftruncate from
53391         2010-01-11.
53392
53393 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53394
53395         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53396         detection.
53397
53398 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53399
53400         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53401         fanotify_mark.
53402         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53403
53404 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53405
53406         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53407         variables after CHECK_SP call.
53408         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53409
53410 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53411             Ulrich Drepper  <drepper@redhat.com>
53412
53413         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53414         re-relocationg ld.so.
53415         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53416         _dl_init_paths call.
53417         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53418         here anymore.
53419
53420 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53421
53422         * resolv/res_init.c (__res_vinit): Count the default server we added.
53423
53424 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53425             Ulrich Drepper  <drepper@redhat.com>
53426
53427         [BZ #11968]
53428         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53429         (____longjmp_chk): Use %ebx for saving value across system call.
53430         Add unwind info.
53431
53432 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53433
53434         * manual/Makefile: Don't mix pattern rules with normal rules.
53435
53436 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53437
53438         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53439         operation.
53440         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53441         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53442         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53443         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53444         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53445         Likewise.
53446
53447 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53448
53449         [BZ #11979]
53450         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53451         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53452
53453 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53454
53455         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53456         * sysdeps/x86_64/addmul_1.S: Likewise.
53457         * sysdeps/x86_64/lshift.S: Likewise.
53458         * sysdeps/x86_64/mul_1.S: Likewise.
53459         * sysdeps/x86_64/rshift.S: Likewise.
53460         * sysdeps/x86_64/sub_n.S: Likewise.
53461         * sysdeps/x86_64/submul_1.S: Likewise.
53462
53463 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53464
53465         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53466         Define __sched_param instead of SCHED_* and sched_param when
53467         <bits/sched.h> is included with __need_schedparam defined.
53468         * bits/sched.h [__need_schedparam]
53469         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53470         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53471         (__defined_schedparam): Define to 1.
53472         (__sched_param): New structure, identical to sched_param.
53473         (__need_schedparam): Undefine.
53474
53475 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53476
53477         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53478         (epoll_create1): Declare.
53479
53480         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53481
53482 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53483
53484         [BZ #7066]
53485         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53486         shifting retval into place.
53487
53488 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53489
53490         * nis/rpcsvc/nis.h: Update copyright notice.
53491         * nis/rpcsvc/nis.x: Likewise.
53492         * nis/rpcsvc/nis_callback.h: Likewise.
53493         * nis/rpcsvc/nis_callback.x: Likewise.
53494         * nis/rpcsvc/nis_object.x: Likewise.
53495         * nis/rpcsvc/nis_tags.h: Likewise.
53496         * nis/rpcsvc/yp.h: Likewise.
53497         * nis/rpcsvc/yp.x: Likewise.
53498         * nis/rpcsvc/ypupd.h: Likewise.
53499         * nis/yp_xdr.c: Likewise.
53500         * nis/ypupdate_xdr.c: Likewise.
53501
53502         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53503         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53504         (pmap_getport): Use __libc_rpc_getport.
53505         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53506         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53507         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53508
53509 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53510
53511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53512         fanotify_mark.
53513
53514 2010-08-27  Roland McGrath  <roland@redhat.com>
53515
53516         * sysdeps/i386/i686/multiarch/Makefile
53517         (CFLAGS-varshift.c): New variable.
53518
53519 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53520
53521         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53522         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53523
53524         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53525
53526         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53527
53528 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53529
53530         * sysdeps/x86_64/strlen.S: Unroll the loop.
53531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53532         strlen-sse2 strlen-sse2-bsf.
53533         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53534         __strlen_no_bsf if bit_Slow_BSF is set.
53535         (__strlen_sse42): Removed.
53536         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53537         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53538
53539 2010-08-25  Roland McGrath  <roland@redhat.com>
53540
53541         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53542         * sysdeps/x86_64/multiarch/varshift.c: New file.
53543         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53544         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53545         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53546         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53547
53548 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53549
53550         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53551         strlen-sse2 strlen-sse2-bsf.
53552         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53553         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53554         (__strlen_sse2): Removed.
53555         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53556         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53557         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53558         bit_Slow_BSF for Atom.
53559         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53560         (index_Slow_BSF): Define.
53561         (HAS_SLOW_BSF): Define.
53562
53563 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53564
53565         [BZ #10851]
53566         * resolv/res_init.c (__res_vinit): When no server address at all
53567         is given default to loopback.
53568
53569 2010-08-24  Roland McGrath  <roland@redhat.com>
53570
53571         * configure.in: Remove config-name.h generation.
53572         * configure: Regenerated.
53573         * config-name.in: File removed.
53574         * scripts/config-uname.sh: New file.
53575         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53576         ($(objdir)config-name.h): New target.
53577
53578         * sunrpc/rpc_parse.h: Avoid nested comment.
53579
53580 2010-08-24  Richard Henderson  <rth@redhat.com>
53581             Ulrich Drepper  <drepper@redhat.com>
53582             H.J. Lu  <hongjiu.lu@intel.com>
53583
53584         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53586         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53587         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53588         _mm_alignr_epi8 with _mm_loadu_si128.
53589         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53590         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53591         (__m128i_shift_right): Removed.
53592         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53593         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53594         * sysdeps/x86_64/multiarch/varshift.h: New file.
53595         * sysdeps/x86_64/multiarch/varshift.S: New file.
53596
53597 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53598
53599         * configure.in: Move assembler checks to before sysdep dir checking.
53600
53601 2010-08-20  Petr Baudis  <pasky@suse.cz>
53602
53603         * LICENSES: Sync the sunrpc license.
53604
53605 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53606
53607         * sunrpc/auth_des.c: Update copyright notice once again.
53608         * sunrpc/auth_none.c: Likewise.
53609         * sunrpc/auth_unix.c: Likewise.
53610         * sunrpc/authdes_prot.c: Likewise.
53611         * sunrpc/authuxprot.c: Likewise.
53612         * sunrpc/bindrsvprt.c: Likewise.
53613         * sunrpc/clnt_gen.c: Likewise.
53614         * sunrpc/clnt_perr.c: Likewise.
53615         * sunrpc/clnt_raw.c: Likewise.
53616         * sunrpc/clnt_simp.c: Likewise.
53617         * sunrpc/clnt_tcp.c: Likewise.
53618         * sunrpc/clnt_udp.c: Likewise.
53619         * sunrpc/clnt_unix.c: Likewise.
53620         * sunrpc/des_crypt.c: Likewise.
53621         * sunrpc/des_soft.c: Likewise.
53622         * sunrpc/get_myaddr.c: Likewise.
53623         * sunrpc/getrpcport.c: Likewise.
53624         * sunrpc/key_call.c: Likewise.
53625         * sunrpc/key_prot.c: Likewise.
53626         * sunrpc/openchild.c: Likewise.
53627         * sunrpc/pm_getmaps.c: Likewise.
53628         * sunrpc/pm_getport.c: Likewise.
53629         * sunrpc/pmap_clnt.c: Likewise.
53630         * sunrpc/pmap_prot.c: Likewise.
53631         * sunrpc/pmap_prot2.c: Likewise.
53632         * sunrpc/pmap_rmt.c: Likewise.
53633         * sunrpc/rpc/auth.h: Likewise.
53634         * sunrpc/rpc/auth_unix.h: Likewise.
53635         * sunrpc/rpc/clnt.h: Likewise.
53636         * sunrpc/rpc/des_crypt.h: Likewise.
53637         * sunrpc/rpc/key_prot.h: Likewise.
53638         * sunrpc/rpc/netdb.h: Likewise.
53639         * sunrpc/rpc/pmap_clnt.h: Likewise.
53640         * sunrpc/rpc/pmap_prot.h: Likewise.
53641         * sunrpc/rpc/pmap_rmt.h: Likewise.
53642         * sunrpc/rpc/rpc.h: Likewise.
53643         * sunrpc/rpc/rpc_des.h: Likewise.
53644         * sunrpc/rpc/rpc_msg.h: Likewise.
53645         * sunrpc/rpc/svc.h: Likewise.
53646         * sunrpc/rpc/svc_auth.h: Likewise.
53647         * sunrpc/rpc/types.h: Likewise.
53648         * sunrpc/rpc/xdr.h: Likewise.
53649         * sunrpc/rpc_clntout.c: Likewise.
53650         * sunrpc/rpc_cmsg.c: Likewise.
53651         * sunrpc/rpc_common.c: Likewise.
53652         * sunrpc/rpc_cout.c: Likewise.
53653         * sunrpc/rpc_dtable.c: Likewise.
53654         * sunrpc/rpc_hout.c: Likewise.
53655         * sunrpc/rpc_main.c: Likewise.
53656         * sunrpc/rpc_parse.c: Likewise.
53657         * sunrpc/rpc_parse.h: Likewise.
53658         * sunrpc/rpc_prot.c: Likewise.
53659         * sunrpc/rpc_sample.c: Likewise.
53660         * sunrpc/rpc_scan.c: Likewise.
53661         * sunrpc/rpc_scan.h: Likewise.
53662         * sunrpc/rpc_svcout.c: Likewise.
53663         * sunrpc/rpc_tblout.c: Likewise.
53664         * sunrpc/rpc_util.c: Likewise.
53665         * sunrpc/rpc_util.h: Likewise.
53666         * sunrpc/rpcinfo.c: Likewise.
53667         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53668         * sunrpc/rpcsvc/key_prot.x: Likewise.
53669         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53670         * sunrpc/rpcsvc/mount.x: Likewise.
53671         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53672         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53673         * sunrpc/rpcsvc/rex.x: Likewise.
53674         * sunrpc/rpcsvc/rstat.x: Likewise.
53675         * sunrpc/rpcsvc/rusers.x: Likewise.
53676         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53677         * sunrpc/rpcsvc/spray.x: Likewise.
53678         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53679         * sunrpc/rtime.c: Likewise.
53680         * sunrpc/svc.c: Likewise.
53681         * sunrpc/svc_auth.c: Likewise.
53682         * sunrpc/svc_authux.c: Likewise.
53683         * sunrpc/svc_raw.c: Likewise.
53684         * sunrpc/svc_run.c: Likewise.
53685         * sunrpc/svc_simple.c: Likewise.
53686         * sunrpc/svc_tcp.c: Likewise.
53687         * sunrpc/svc_udp.c: Likewise.
53688         * sunrpc/svc_unix.c: Likewise.
53689         * sunrpc/svcauth_des.c: Likewise.
53690         * sunrpc/xcrypt.c: Likewise.
53691         * sunrpc/xdr.c: Likewise.
53692         * sunrpc/xdr_array.c: Likewise.
53693         * sunrpc/xdr_float.c: Likewise.
53694         * sunrpc/xdr_mem.c: Likewise.
53695         * sunrpc/xdr_rec.c: Likewise.
53696         * sunrpc/xdr_ref.c: Likewise.
53697         * sunrpc/xdr_sizeof.c: Likewise.
53698         * sunrpc/xdr_stdio.c: Likewise.
53699
53700         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53701         handling.
53702
53703 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53704
53705         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53706
53707 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53708
53709         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53710         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53711         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53712         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53713         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53714         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53715         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53716         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53717         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53718         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53719         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53720         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53721         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53722         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53723
53724 2010-07-26  Anton Blanchard  <anton@samba.org>
53725
53726         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53727         * malloc/arena.c (heap_trim): Likewise.
53728
53729 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53730
53731         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53732         here.  Not...
53733         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53734         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53735
53736 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53737
53738         * sysdeps/i386/elf/Makefile: New file.
53739
53740 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53741
53742         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53743         from fanotify_init.
53744         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53745         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53746
53747 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53748
53749         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53750         of strncasecmp_l.
53751         * sysdeps/multiarch/strcmp.S: Likewise.
53752
53753 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53754
53755         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53756         strncase_l-nonascii.
53757         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53758         Add strncase_l-ssse3.
53759         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53760         * sysdeps/x86_64/strcmp.S: Likewise.
53761         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53762         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53763         * sysdeps/x86_64/strncase.S: New file.
53764         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53765         * sysdeps/x86_64/strncase_l.S: New file.
53766         * string/Makefile (strop-tests): Add strncasecmp.
53767         * string/test-strncasecmp.c: New file.
53768
53769         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53770         warning.
53771
53772         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53773         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53774
53775 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53776
53777         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53778
53779 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53780
53781         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53782         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53783         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53784
53785 2010-05-01  Alan Modra  <amodra@gmail.com>
53786
53787         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53788         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53789         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53790         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53791         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53792         tidying.  Don't tail-call __sigjmp_save for static lib.
53793         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53794         save location.
53795         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53796         (CALL_MCOUNT): Add eh info, and nop after bl.
53797         (TAIL_CALL_SYSCALL_ERROR): New macro.
53798         (PSEUDO_RET): Use it.
53799         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53800         Correct save location of integer regs and cr.
53801         (_dl_profile_resolve): Correct cr save location.  Delete nops
53802         after bl when SHARED.  Reduce cfi size a little by better
53803         placement of cfi directives.
53804         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53805         make a stack frame.  Instead use parm save area as a temp.
53806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53807         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
53808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53809         Don't make a stack frame for parent, use parm save area.
53810         Increase child stack frame to 112 bytes.  Don't save unused reg,
53811         and adjust reg usage.  Set up cfi on error recovery and
53812         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53814         (__makecontext): Add dummy nop after jump to exit.
53815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53816         Use correct parm save area and cr save, reduce stack frame.
53817         Correct cfi for possible PSEUDO_RET frame setup.
53818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53819         Branch to local label emitted by PSEUDO_RET rather than
53820         __syscall_error.
53821
53822 2010-08-12  Andreas Schwab  <schwab@redhat.com>
53823
53824         [BZ #11904]
53825         * locale/programs/locale.c (print_assignment): New function.
53826         (show_locale_vars): Use it.
53827
53828 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
53829
53830         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53831         field.
53832         (struct statfs64): Likewise.
53833         (_STATFS_F_FLAGS): Define.
53834         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53835         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53836         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53837         (ST_VALID): Define locally.
53838         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53839         __statvfs_getflags, use the provided value.
53840         * sysdeps/unix/sysv/linux/kernel-features.h: Define
53841         __ASSUME_STATFS_F_FLAGS.
53842
53843         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53844
53845         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53846         Add sys/fanotify.h.
53847         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53848         fanotify_mask for GLIBC_2.13.
53849         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53850         fanotify_init and fanotify_mark.
53851         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53852         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53853
53854         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53855         Add prlimit.
53856         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53857         prlimit64 for GLIBC_2.13.
53858         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53859         prlimit64.
53860         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53861         syscall.
53862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53863         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53864         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53865         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53866         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
53867         add prlimit alias.
53868         * sysdeps/unix/sysv/linux/prlimit.c: New file.
53869
53870         [BZ #11903]
53871         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53872         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53873
53874         * nss/Makefile: Add rules to build and run tst-nss-test1.
53875         * shlib-versions: Add entry for libnss_test1.
53876         * nss/nss_test1.c: New file.
53877         * nss/tst-nss-test1.c: New file.
53878
53879         * nss/nsswitch.c (__nss_database_custom): Define new variable.
53880         (__nss_configure_lookup): Set appropriate entry in
53881         __nss_configure_lookup to true.
53882         * nss/nsswitch.h: Define enum with indeces of databases in
53883         databases and __nss_database_custom arrays.  Declare
53884         __nss_database_custom.
53885         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53886         to avoid using nscd when custom rules are installed.
53887         * nss/getXXbyYY_r.c: Likewise.
53888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53889
53890         * nss/nss_files/files-parse.c: Whitespace fixes.
53891
53892 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
53893
53894         [BZ #11883]
53895         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53896         * posix/fnmatch_loop.c: Likewise.
53897
53898 2010-07-17  Andi Kleen  <ak@linux.intel.com>
53899
53900         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53901         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53902         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53903         * Versions.def [GLIBC_2.13]: Add.
53904
53905 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
53906
53907         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53908         Also fail if tpwd after pwuid call is NULL.
53909
53910 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53911
53912         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53913         when converting to ms.
53914
53915 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53916
53917         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53918         EOPNOTSUPP errors with ENOTTY.
53919         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53920         EOPNOTSUPP errors with ENOTTY.
53921
53922 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
53923
53924         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53925         Add strcasecmp_l-ssse3.
53926         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53927         strcasecmp.
53928         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53929         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53930         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53931
53932 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
53933
53934         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53935
53936         * string/Makefile (strop-tests): Add strcasecmp.
53937         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53938         strcasecmp_l-nonascii.
53939         (gen-as-const-headers): Add locale-defines.sym.
53940         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53941         * sysdeps/x86_64/strcasecmp.S: New file.
53942         * sysdeps/x86_64/strcasecmp_l.S: New file.
53943         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53944         * sysdeps/x86_64/locale-defines.sym: New file.
53945         * string/test-strcasecmp.c: New file.
53946
53947         * string/test-strcasestr.c: Test both ends of the range of characters.
53948         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53949
53950 2010-07-29  Roland McGrath  <roland@redhat.com>
53951
53952         [BZ #11856]
53953         * manual/locale.texi (Yes-or-No Questions): Fix example code.
53954
53955 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
53956
53957         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53958         for ld.so.
53959
53960 2010-07-27  Andreas Schwab  <schwab@redhat.com>
53961
53962         * manual/memory.texi (Malloc Tunable Parameters): Document
53963         M_PERTURB.
53964
53965 2010-07-26  Roland McGrath  <roland@redhat.com>
53966
53967         [BZ #11840]
53968         * configure.in (-fgnu89-inline check): Set and substitute
53969         gnu89_inline, not libc_cv_gnu89_inline.
53970         * configure: Regenerated.
53971         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53972
53973 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
53974
53975         * string/test-strnlen.c: New file.
53976         * string/Makefile (strop-tests): Add strnlen.
53977         * string/tester.c (test_strnlen): Add a few more test cases.
53978         * string/tst-strlen.c: Better error reporting.
53979
53980         * sysdeps/x86_64/strnlen.S: New file.
53981
53982 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
53983
53984         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53985         lower-latency instructions.
53986
53987 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
53988
53989         * string/test-strcasestr.c: New file.
53990         * string/test-strstr.c: New file.
53991         * string/Makefile (strop-tests): Add strstr and strcasestr.
53992         * string/str-two-way.h: Don't undefine MAX.
53993         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53994
53995 2010-07-21  Andreas Schwab  <schwab@redhat.com>
53996
53997         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53998         strcasestr-nonascii.
53999         (CFLAGS-strcasestr-nonascii.c): Define.
54000         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54001         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54002         Remove unused attribute.
54003
54004 2010-07-20  Roland McGrath  <roland@redhat.com>
54005
54006         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54007         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54008         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54009         like LD_HWCAP_MASK can disable hwcaps.
54010
54011 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54012
54013         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54014
54015 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54016
54017         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54018         call in strcasestr.
54019         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54020         __strcasestr_sse42_nonascii.
54021         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54022         strcasestr-nonascii.c.
54023         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54024
54025 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54026
54027         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54028         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54029         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54030         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54031
54032 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54033
54034         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54035         fcntl.
54036
54037 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54038
54039         [BZ #11577]
54040         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54041         dl_signal_cerror.
54042
54043 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54044
54045         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54046         _PC_PIPE_BUF using F_GETPIPE_SZ.
54047
54048 2010-07-05  Roland McGrath  <roland@redhat.com>
54049
54050         * manual/arith.texi (Rounding Functions): Fix rint description
54051         implicit in round description.
54052
54053 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54054
54055         * elf/Makefile: Fix linking for a few tests to make recent linker
54056         happy.
54057
54058 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54059
54060         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54061         $(common-objpfx)libc_nonshared.a.
54062
54063 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54064
54065         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54066         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54067         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54068         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54069         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54070         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54071         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54072         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54087         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54088         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54089         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54090         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54091         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54092         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54093         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54094         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54095         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54096         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54097         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54098         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54113
54114 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54115
54116         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54117         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54118         * string/memmove.c (memmove): Renamed to ...
54119         (MEMMOVE): ...this.  Default to memmove.
54120         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54121         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54122         (END_CHK): Define.
54123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54124         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54125         mempcpy-ssse3-back memmove-ssse3-back.
54126         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54127         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54128         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54129         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54130         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54131         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54132         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54133         * sysdeps/x86_64/multiarch/memmove.c: New file.
54134         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54135         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54136         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54137         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54138         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54139         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54140         Define.
54141         (index_Fast_Copy_Backward): Define.
54142         (HAS_ARCH_FEATURE): Define.
54143         (HAS_FAST_REP_STRING): Define.
54144         (HAS_FAST_COPY_BACKWARD): Define.
54145
54146 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54147
54148         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54149         Restore proper fallback handling.
54150
54151 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54152
54153         [BZ #11701]
54154         * posix/group_member.c (__group_member): Correct checking loop.
54155
54156         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54157         OOM in getpwuid_r correctly.  Return error number when the caller
54158         should return, otherwise -1.
54159         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54160         call returning > 0 value.
54161         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54162
54163 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54164
54165         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54166         libc_nonshared.a from targets in modules-names.
54167
54168 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54169
54170         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54171         requires it.
54172
54173 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54174
54175         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54176         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54177         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54178         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54179
54180 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54181
54182         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54183
54184 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54185
54186         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54187         and F_GETPIPE_SZ.
54188         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54189         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54190         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54191         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54192         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54193         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54194
54195 2010-06-14  Roland McGrath  <roland@redhat.com>
54196
54197         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54198
54199 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54200
54201         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54202         __REDIRECT followed by __THROW.
54203         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54204         * posix/getopt.h (getopt): Likewise.
54205
54206 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54207
54208         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54209         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54210         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54211         in AT_FLAGS.
54212         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54213         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54214
54215 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54216
54217         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54218
54219 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54220
54221         [BZ #11640]
54222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54223         Properly check family and model.
54224
54225 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54226
54227         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54228
54229 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54230
54231         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54232
54233 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54234
54235         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54236         symbol reference.
54237
54238 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54239
54240         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54241         symbol reference.
54242
54243 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54244
54245         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54246         and internal_recvmmsg.
54247         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54248         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54249         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54250         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54251
54252         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54253         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54254         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54255
54256 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54257
54258         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54259
54260 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54261
54262         POWER7 optimizations.
54263         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54264         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54265
54266 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54267
54268         * version.h: Update for 2.13 development version.
54269
54270 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54271
54272         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54273         exceptions.  Return 0.
54274
54275 2010-05-07  Roland McGrath  <roland@redhat.com>
54276
54277         * elf/ldconfig.c (main): Add a const.
54278
54279 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54280
54281         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54282         (args_options): Add no-idn option.
54283         (ahosts_keys_int): Add idn_flags to ai_flags.
54284         (parse_option): Handle 'i' option to clear idn_flags.
54285
54286         * malloc/malloc.c (_int_free): Possible race in the most recently
54287         added check.  Only act on the data if no current modification
54288         happened.
54289
54290 See ChangeLog.17 for earlier changes.