Add more headers to include/ for conform tests.
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2
3         * include/cpio.h: New file.
4         * include/fmtmsg.h: Likewise.
5
6         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7         corresponding format argument to size_t.
8         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
9         arguments.
10         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
11         corresponding format argument to size_t.
12         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
13         arguments.
14         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
15         corresponding format argument to size_t.
16         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
17         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
18         (CFLAGS-tst-mbswcs2.c): Likewise.
19         (CFLAGS-tst-mbswcs3.c): Likewise.
20         (CFLAGS-tst-mbswcs4.c): Likewise.
21         (CFLAGS-tst-mbswcs5.c): Likewise.
22         (CFLAGS-tst-trans.c): Likewise
23
24 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25
26         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27         rather than assuming they won't contain any '%'s.
28
29 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
30
31         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32         inhibit_loop_to_libcall to avoid recursive calls.
33         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
34         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35
36 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
37
38         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
39         prototype.
40
41 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42
43         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
44         integer value instead of boolean.
45
46 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
47
48         * malloc/malloc.c: Fix powerof2 check.
49
50 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51
52         * locale/programs/locfile.h (maybe_swap_uint32):
53         Remove inline and add unused attribute.
54
55 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
56
57         sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
58         Truncating assembler expression to a .long expression.
59
60 2014-12-11  Andreas Schwab  <schwab@suse.de>
61
62         * elf/rtld.c (struct map_args): Constify str member.
63         (do_preload): Constify fname argument.
64
65 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66
67         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
68         constants definition.
69
70 2014-12-11  Andreas Schwab  <schwab@suse.de>
71
72         [BZ #16657]
73         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
74         FORCE_ELISION instead of DO_ELISION.
75         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
76         Remove.
77         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
78         Likewise.
79
80         * iconvdata/gconv-modules: Remove duplicate entry.
81
82 2014-12-11  Will Newton  <will.newton@linaro.org>
83
84         Merge gettext 0.19.3 into intl/.
85
86         This involves a number of cosmetic changes to comments
87         and ANSI function definitions and prototypes throughout
88         all the files. The gettext copyright header is used but
89         with the date ranges taken from the glibc copy.
90
91         * NEWS: Add gettext merge to 2.21.
92         * intl/bindtextdom.c: Switch to gettext copyright.
93         Use ANSI definitions and prototypes.
94         Use gl_* locking primitives rather than __libc_* ones.
95         Use __builtin_expect rather than __glibc_likely/unlikely.
96         * intl/dcgettext.c: Switch to gettext copyright.
97         Use ANSI definitions and prototypes.
98         * intl/dcigettext.c: Switch to gettext copyright.
99         Use ANSI definitions and prototypes.
100         (INTDIV0_RAISES_SIGFPE): New define.
101         Use gl_* locking primitives rather than __libc_* ones.
102         Include eval-plural.h instead of plural-eval.c.
103         Use __builtin_expect rather than __glibc_likely/unlikely.
104         * intl/dcngettext.c: Switch to gettext copyright.
105         Use ANSI definitions and prototypes.
106         * intl/dgettext.c: Likewise.
107         * intl/dngettext.c: Likewise.
108         * intl/plural-eval.c: Renamed to...
109         * intl/eval-plural.h: ...this.
110         * intl/explodename.c: Switch to gettext copyright.
111         Use ANSI definitions and prototypes.
112         (_nl_explode_name): Use strchr instead of __rawmemchr.
113         * intl/finddomain.c: Switch to gettext copyright.
114         Use ANSI definitions and prototypes.
115         Use gl_* locking primitives rather than __libc_* ones.
116         (_nl_find_domain): Use malloc rather than alloca for
117         allocation of temporary locale name.
118         * intl/gettext.c: Switch to gettext copyright.
119         Use ANSI definitions and prototypes.
120         * intl/gettextP.h: Switch to gettext copyright.
121         Use ANSI definitions and prototypes.
122         Use gl_* locking primitives rather than __libc_* ones.
123         * intl/gmo.h: Switch to gettext copyright.
124         (struct sysdep_string): Move struct segment_pair outside of
125         struct definition.
126         * intl/hash-string.c: Use ANSI definitions and prototypes.
127         * intl/hash-string.h: Switch to gettext copyright.
128         Use ANSI definitions and prototypes.
129         * intl/l10nflist.c: Switch to gettext copyright.
130         Use ANSI definitions and prototypes.
131         (_nl_normalize_codeset): Avoid integer overflow.
132         * intl/loadinfo.h: Switch to gettext copyright.
133         Use ANSI definitions and prototypes.
134         (LIBINTL_DLL_EXPORTED): New define.
135         (PATH_SEPARATOR): New define.
136         * intl/loadmsgcat.c: Switch to gettext copyright.
137         * intl/localealias.c: Switch to gettext copyright.
138         Use ANSI definitions and prototypes.
139         (_nl_expand_alias): Use PATH_SEPARATOR.
140         * intl/ngettext.c: Switch to gettext copyright.
141         Use ANSI definitions and prototypes.
142         * intl/plural-exp.c: Likewise.
143         * intl/plural-exp.h: Switch to gettext copyright.
144         Use ANSI definitions and prototypes.
145         (struct expression): Move definition of enum operator outside
146         of struct definition.
147         * intl/plural.c: Regenerate.
148         * intl/plural.y: Switch to gettext copyright.
149         Use ANSI definitions and prototypes.
150         Port to bison 3.0.
151         * intl/textdomain.c: Switch to gettext copyright.
152         Use ANSI definitions and prototypes.
153         Use gl_* locking primitives rather than __libc_* ones.
154
155 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
156
157         * debug/warning-nop.c: Add used atrribute.
158
159 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
160
161         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
162
163         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
164         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
165         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
166
167 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
168             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
169
170         [BZ #17634]
171         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
172         Undefine after defining function.  Define as weak alias of
173         __wcschr.  Use libc_hidden_weak.
174         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
175         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
176         (libc_hidden_def): Also define __GI___wcschr alias.
177         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
178         __wcschr and define as weak alias of __wcschr.
179         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
180         __wcschr.
181         [!WCSCHR] (DEFAULT_WCSCHR): Define.
182         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
183         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
184         libc_hidden_weak.  Do not use libc_hidden_def.
185         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
186         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
187         __GI___wcschr alias.
188         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
189         [IS_IN (libc)] (wcschr): Define as macro expanding to
190         __redirect_wcschr.
191         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
192         [IS_IN (libc)] (__wcschr_power6): Likewise.
193         [IS_IN (libc)] (__wcschr_power7): Likewise.
194         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
195         instead of wcschr.
196         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
197         __libc_wcschr.
198         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
199         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
200         __wcschr and define as weak alias of __wcschr.  Use
201         libc_hidden_builtin_def.
202         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
203         as weak alias of __wcschr.  Use libc_hidden_weak.
204         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
205         wcschr.
206         * time/era.c (_nl_init_era_entries): Likewise.
207         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
208         variable.
209         (test-xfail-XPG3/time.h/linknamespace): Likewise.
210         (test-xfail-XPG4/time.h/linknamespace): Likewise.
211
212 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
213
214         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
215         format for long int variable.
216
217 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
218
219         [BZ #10672]
220         * manual/search.texi: (Array Sort Function): Remove claim how to make
221         qsort stable.
222
223 2014-12-10  Andreas Schwab  <schwab@suse.de>
224
225         [BZ #12847]
226         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
227         user-controlled locks.
228
229 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
230
231         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
232         register.
233
234 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
235
236         * configure.ac (--disable-werror): New configure option.
237         (enable_werror): New AC_SUBST.
238         * configure: Regenerated.
239         * config.make.in (enable-werror): New variable.
240         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
241         -Wno-error=undef.
242         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
243         * manual/install.texi (Configuring and compiling): Document
244         --disable-werror.
245         * INSTALL: Regenerated.
246         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
247         (CFLAGS-tst-chk2.c): Likewise.
248         (CFLAGS-tst-chk3.c): Likewise.
249         (CFLAGS-tst-chk4.cc): Likewise.
250         (CFLAGS-tst-chk5.cc): Likewise.
251         (CFLAGS-tst-chk6.cc): Likewise.
252         (CFLAGS-tst-lfschk1.c): Likewise.
253         (CFLAGS-tst-lfschk2.c): Likewise.
254         (CFLAGS-tst-lfschk3.c): Likewise.
255         (CFLAGS-tst-lfschk4.cc): Likewise.
256         (CFLAGS-tst-lfschk5.cc): Likewise.
257         (CFLAGS-tst-lfschk6.cc): Likewise.
258
259         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
260         (main): Disable -Wdeprecated-declarations around calls to
261         register_printf_function.
262
263         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
264         (do_test): Disable -Wdiv-by-zero around some calls to
265         fwrite_unlocked and fread_unlocked.
266
267         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
268         (DIAG_POP_NEEDS_COMMENT): Likewise.
269         (_DIAG_STR1): Likewise.
270         (_DIAG_STR): Likewise.
271         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
272         * stdio-common/bug21.c: Include <libc-internal.h>.
273         (do_test): Disable -Wformat around call to sscanf.
274         * stdio-common/scanf14.c: Include <libc-internal.h>.
275         (main): Disable -Wformat around some calls to scanf functions.
276
277 2014-12-09  Torvald Riegel  <triegel@redhat.com>
278
279         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
280
281 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
282
283         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
284         stack variable alignment.
285
286 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
287
288         [BZ #17682]
289         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
290         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
291         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
292         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
293         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
294         __getrlimit instead of getrlimit.
295         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
296         __gettimeofday instead of gettimeofday.
297         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
298         Likewise.
299         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
300         Likewise.
301         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
302         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
303         Remove variable.
304         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
305         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
306
307 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
308
309         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
310         for wide-character tests.
311
312 2014-12-04  Roland McGrath  <roland@hack.frob.com>
313
314         * io/openat64.c: #include <libc-internal.h>
315         (__openat64): Prototypify.  Use ignore_value on MODE.
316         * io/openat.c: Likewise.
317         * misc/reboot.c: #include <libc-internal.h>
318         (reboot): Prototypify.  Use ignore_value on HOWTO.
319         * misc/ptrace.c: #include <libc-internal.h>
320         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
321
322 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
323
324         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
325         XPG4, UNIX98 and XOPEN2K.
326         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
327         Remove variable.
328         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
329
330 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
331
332         * libio/fileops.c: Use ISO C style for function definitions.
333         * libio/iofopen.c: Likewise.
334         * libio/wfileops.c: Likewise.
335
336         [BZ #17653]
337         * libio/fileops.c (_IO_new_file_underflow): Unset cached
338         offset on EOF.
339         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
340         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
341         (fgets_func): Function pointer to fgets and fgetws.
342         (do_ftell_test): Add test to verify ftell value after read
343         EOF.
344         (do_test): Set fgets_func.
345
346         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
347         O_TRUNC flag for w and w+ modes.
348         (do_rewind_test): Likewise.
349         (do_ftell_test): Likewise.
350         (do_write_test): Likewise.
351
352         [BZ #17647]
353         * libio/fileops.c (do_ftell): Seek only when there are
354         unflushed writes.
355         * libio/wfileops.c (do_ftell_wide): Likewise.
356         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
357         test case.
358         (do_one_test): Call it.
359
360 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
361
362         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
363         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
364         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
365         Remove variable.
366         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
367         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
368         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
369
370 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
371
372         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
373         Remove variable.
374         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
375
376         [BZ #17668]
377         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
378         as weak alias of __getifaddrs.  Use libc_hidden_weak.
379         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
380         __freeifaddrs.  Use libc_hidden_weak.
381         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
382         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
383         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
384         __freeifaddrs.  Use libc_hidden_weak.
385         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
386         __getifaddrs and define as weak alias of __getifaddrs.  Use
387         libc_hidden_weak.
388         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
389         __freeifaddrs.  Use libc_hidden_weak.
390         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
391         Remove variable.
392         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
393         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
394
395 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
396
397         [BZ #17601]
398         * sysdeps/mips/start.S (__start): Use indirect jump to call
399         __libc_start_main.
400
401 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
402
403         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
404
405         * nptl/tst-mutex1.c: Include <stdbool.h>.
406         [!ATTR] (ATTR_NULL): New macro.
407         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
408         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
409         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
410
411         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
412         to char *.
413
414         [BZ #17665]
415         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
416         Change conditional to [__USE_MISC].
417
418         [BZ #17664]
419         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
420         fgets_unlocked.
421         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
422         __fgets_unlocked.
423         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
424         fgets_unlocked.
425         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
426         Remove variable.
427         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
428         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
429         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
430         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
431         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
432         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
433         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
434         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
435         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
436
437         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
438
439 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
440
441         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
442         Remove strpbrk objects.
443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
444         (__libc_ifunc_impl_list): Remove strpbrk implementation.
445         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
446         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
447         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
448         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
449
450         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
451         Remove strcspn objects.
452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
453         (__libc_ifunc_impl_list): Remove strcspn implementation.
454         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
455         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
456         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
457         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
458
459         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
460         Remove strspn objetcs.
461         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
462         (__libc_ifunc_impl_list): Remove strspn implementation.
463         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
464         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
465         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
466         * sysdeps/powerpc/powerpc64/strspn.S: New file.
467
468 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
469
470         [BZ #17581]
471         * malloc/hooks.c
472         (mem2mem_check): Add a terminator to the chain of checking blocks.
473         (malloc_check_get_size): Use it here.
474         (mem2chunk_check): Ditto.
475
476 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
477
478         * sysdeps/powerpc/powerpc64/strtok.S: New file.
479         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
480
481 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
482
483         * bits/ioctl-types.h: Indent preprocessor directives correctly.
484
485         * nptl/nptl-init.c: Include libc-internal.h.
486         (__pthread_initialize_minimal_internal): Use ROUND_UP.
487
488         * elf/ldconfig.c (search_dir): Expand comment.
489
490 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
491
492         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
493         variable.
494         (linknamespace-symlist-stdlibs-tests): Likewise.
495         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
496         instead of $(objpfx)symlist-stdlibs.
497         (linknamespace-libs-isoc): New variable.
498         (linknamespace-libs): Use $(linknamespace-libs-isoc).
499         (linknamespace-libs-ISO): New variable.
500         (linknamespace-libs-ISO99): Likewise.
501         (linknamespace-libs-ISO11): Likewise.
502         (linknamespace-libs-XPG3): Likewise.
503         (linknamespace-libs-XPG4): Likewise.
504         (linknamespace-libs-POSIX): Likewise.
505         (linknamespace-libs-UNIX98): Likewise.
506         (linknamespace-libs-XOPEN2K): Likewise.
507         (linknamespace-libs-POSIX2008): Likewise.
508         (linknamespace-libs-XOPEN2K8): Likewise.
509         ($(objpfx)symlist-stdlibs): Replace by
510         $(linknamespace-symlist-stdlibs-tests).  Use
511         $(linknamespace-libs-$*) as set of libraries.
512         ($(linknamespace-header-tests)): Update dependencies.  Use
513         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
514         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
515         * conform/linknamespace.pl: Remove comment about considering
516         definitions of symbols from irrelevant libraries.
517
518 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
519
520         [BZ #13862]
521         * elf/dl-tls.c: Include <atomic.h>.
522         (oom): Remove #ifdef SHARED/#endif.
523         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
524         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
525         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
526         big enough.
527         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
528         * nptl/Makefile (tests): Add tst-stack4.
529         (modules-names): Add tst-stack4mod.
530         ($(objpfx)tst-stack4): New.
531         (tst-stack4mod.sos): Likewise.
532         ($(objpfx)tst-stack4.out): Likewise.
533         ($(tst-stack4mod.sos)): Likewise.
534         (clean): Likewise.
535         * nptl/tst-stack4.c: New file.
536         * nptl/tst-stack4mod.c: Likewise.
537
538 2014-11-27  J. Brown  <jb999@gmx.de>
539
540         * sysdeps/x86/bits/string.h: Add recent CPUs.
541
542 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
543
544         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
545         sigblock.
546
547         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
548         feof.
549
550         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
551         variable.
552
553 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
554
555         * nscd/connections.c: Include libc-internal.h because of macro
556         usage ignore_value.
557
558 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
559
560         * string/bits/string3.h (__warn_memset_zero_len): Don't
561         declare for gcc newer than 5.0.
562         (memset): Don't test for zero-length __LEN for gcc newer than
563         5.0.
564
565 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
566
567         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
568         size_t for %zu format.
569
570         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
571         difference, not %ju.
572
573 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
574
575         * include/libc-internal.h (ignore_value): New macro.
576         * nscd/connections.c (restart): Wrap calls to setuid and setgid
577         with ignore_value.
578
579         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
580         definition.
581
582         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
583         pthread_cleanup_push to void *.
584
585         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
586         Undefine.
587
588         [BZ #16619]
589         [BZ #16740]
590         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
591         instead of 1L << 52.
592
593         * libio/bug-rewind.c (do_test): Check fwscanf return values.
594         * libio/bug-rewind2.c (do_test): Likewise.
595
596         * debug/test-stpcpy_chk-ifunc.c: Remove file.
597         * debug/test-strcpy_chk-ifunc.c: Likewise.
598         * wcsmbs/test-wcschr-ifunc.c: Likewise.
599         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
600         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
601         * wcsmbs/test-wcslen-ifunc.c: Likewise.
602         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
603         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
604         * Rules [$(multi-arch) = no] (tests): Do not filter out
605         $(tests-ifunc).
606         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
607         * debug/Makefile (tests-ifunc): Remove variable.
608         (tests): Do not add $(tests-ifunc).
609         * wcsmbs/Makefile (tests-ifunc): Remove variable.
610         (tests): Do not add $(tests-ifunc).
611         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
612         [TEST_IFUNC]: Remove conditionals.
613         * string/test-string.h (TEST_IFUNC): Remove macro.
614         [TEST_IFUNC]: Remove conditionals.
615
616         * string/test-strchr.c [!WIDE] (L): New macro.
617         [WIDE] (L): Likewise.
618         (check1): Use CHAR instead of char.  Use L on string and character
619         constants.
620
621 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
622
623         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
624         tests.
625         * sysdeps/powerpc/bits/atomic.h
626         (__arch_atomic_exchange_and_add_32_acq): Add definition.
627         (__arch_atomic_exchange_and_add_32_rel): Likewise.
628         (atomic_exchange_and_add_acq): Likewise.
629         (atomic_exchange_and_add_rel): Likewise.
630         * sysdeps/powerpc/powerpc32/bits/atomic.h
631         (__arch_atomic_exchange_and_add_64_acq): Add definition.
632         (__arch_atomic_exchange_and_add_64_rel): Likewise.
633         * sysdeps/powerpc/powerpc64/bits/atomic.h
634         (__arch_atomic_exchange_and_add_64_acq): Add definition.
635         (__arch_atomic_exchange_and_add_64_rel): Likewise.
636
637 2014-11-26  Torvald Riegel  <triegel@redhat.com>
638
639         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
640         Change synchronization of __sched_fifo_min_prio and
641         __sched_fifo_max_prio.
642         * nptl/pthread_mutexattr_getprioceiling.c
643         (pthread_mutexattr_getprioceiling): Likewise.
644         * nptl/pthread_mutexattr_setprioceiling.c
645         (pthread_mutexattr_setprioceiling): Likewise.
646         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
647         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
648         Likewise.
649
650 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
651
652         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
653         void.
654
655 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
656
657         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
658         third argument const.
659
660 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
661
662         fnmatch: work around GCC compiler warning bug with uninit var
663         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
664         This works around a bug with x86-64 GCC 4.9.2 and earlier
665         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
666         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
667         used uninitialized in this function [-Wmaybe-uninitialized]".
668
669 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
670
671         * posix/bug-regex31.c (main): Return RES not 0.
672
673 2014-11-25  Anton Blanchard <anton@samba.org>
674
675         * sysdeps/powerpc/bits/atomic.h
676         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
677
678 2014-11-24  Sterling Augustine  <saugustine@google.com>
679
680         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
681
682 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
683
684         [BZ #17608]
685         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
686
687 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
688
689         [BZ #17633]
690         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
691         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
692         variable.
693         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
694         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
695
696 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
697
698         * string/strncpy.c (strncpy): Improve performance by using memset.
699
700 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
701
702         * string/strcpy.c (strcpy):
703         Improve performance by using strlen and memcpy.
704
705 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
706
707         * string/strcoll_l.c (get_next_seq): __always_inline.
708         * string/strcoll_l.c (do_compare): __always_inline.
709
710 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
711
712         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
713         defined.
714         * include/mqueue.h: Likewise.
715         * include/stdlib.h: Likewise.
716
717         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
718         (get_null_defines): Adjust.
719         * sunrpc/Makefile: Adjust comment.
720         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
721         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
722         (CFLAGS-interp.c): Likewise.
723         (CFLAGS-ldconfig.c): Likewise.
724         (CPPFLAGS-.os): Likewise.
725         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
726         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
727         * extra-modules.mk (extra-modules.mk): Likewise.
728         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
729         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
730         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
731         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
732         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
733         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
734         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
735         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
736         * iconvdata/Makefile (CPPFLAGS): Likewise.
737         (cpp-srcs-left): Add libof for all iconvdata routines.
738         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
739         * include/assert.h: Likewise.
740         * include/ctype.h: Likewise.
741         * include/errno.h: Likewise.
742         * include/libc-symbols.h: Likewise.
743         * include/math.h: Likewise.
744         * include/netdb.h: Likewise.
745         * include/resolv.h: Likewise.
746         * include/stdio.h: Likewise.
747         * include/stdlib.h: Likewise.
748         * include/string.h: Likewise.
749         * include/sys/stat.h: Likewise.
750         * include/wctype.h: Likewise.
751         * intl/l10nflist.c: Likewise.
752         * libidn/idn-stub.c: Likewise.
753         * libio/libioP.h: Likewise.
754         * nptl/libc_multiple_threads.c: Likewise.
755         * nptl/pthreadP.h: Likewise.
756         * posix/regex_internal.h: Likewise.
757         * resolv/res_hconf.c: Likewise.
758         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
759         * sysdeps/arm/memmove.S: Likewise.
760         * sysdeps/arm/sysdep.h: Likewise.
761         * sysdeps/generic/_itoa.h: Likewise.
762         * sysdeps/generic/symbol-hacks.h: Likewise.
763         * sysdeps/gnu/errlist.awk: Likewise.
764         * sysdeps/gnu/errlist.c: Likewise.
765         * sysdeps/i386/i586/memcpy.S: Likewise.
766         * sysdeps/i386/i586/memset.S: Likewise.
767         * sysdeps/i386/i686/memcpy.S: Likewise.
768         * sysdeps/i386/i686/memmove.S: Likewise.
769         * sysdeps/i386/i686/mempcpy.S: Likewise.
770         * sysdeps/i386/i686/memset.S: Likewise.
771         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
772         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
773         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
774         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
775         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
776         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
777         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
778         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
779         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
780         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
781         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
782         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
783         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
784         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
785         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
786         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
787         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
788         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
789         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
790         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
791         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
792         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
793         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
794         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
795         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
796         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
797         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
798         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
799         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
800         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
801         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
802         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
803         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
804         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
805         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
806         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
807         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
808         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
809         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
810         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
811         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
812         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
813         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
814         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
815         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
816         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
817         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
818         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
819         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
820         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
821         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
822         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
823         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
824         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
825         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
826         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
827         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
828         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
829         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
830         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
831         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
832         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
833         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
834         * sysdeps/nptl/bits/libc-lock.h: Likewise.
835         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
836         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
837         * sysdeps/posix/closedir.c: Likewise.
838         * sysdeps/posix/opendir.c: Likewise.
839         * sysdeps/posix/readdir.c: Likewise.
840         * sysdeps/posix/rewinddir.c: Likewise.
841         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
842         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
843         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
844         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
845         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
846         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
847         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
848         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
850         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
851         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
852         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
853         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
854         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
855         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
856         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
857         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
858         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
859         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
860         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
861         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
862         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
863         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
864         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
865         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
866         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
867         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
868         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
869         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
870         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
872         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
874         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
876         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
877         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
878         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
879         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
880         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
881         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
882         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
883         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
884         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
885         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
886         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
887         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
888         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
889         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
890         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
891         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
892         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
893         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
894         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
895         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
896         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
897         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
898         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
899         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
900         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
901         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
902         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
903         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
904         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
905         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
906         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
907         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
908         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
909         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
910         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
911         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
912         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
913         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
914         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
915         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
916         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
917         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
918         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
919         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
920         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
921         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
922         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
923         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
924         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
925         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
926         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
927         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
928         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
929         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
930         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
931         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
932         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
933         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
934         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
935         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
936         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
937         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
938         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
939         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
940         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
941         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
942         * sysdeps/unix/alpha/sysdep.S: Likewise.
943         * sysdeps/unix/alpha/sysdep.h: Likewise.
944         * sysdeps/unix/make-syscalls.sh: Likewise.
945         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
946         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
947         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
948         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
949         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
950         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
951         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
952         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
953         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
954         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
955         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
956         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
957         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
958         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
959         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
960         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
961         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
962         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
963         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
964         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
965         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
966         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
967         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
968         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
969         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
970         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
971         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
974         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
975         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
976         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
978         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
979         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
980         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
983         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
984         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
985         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
986         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
987         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
988         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
989         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
990         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
991         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
992         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
993         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
994         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
995         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
996         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
997         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
998         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
999         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1000         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1001         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1003         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1004         * sysdeps/x86_64/memcpy.S: Likewise.
1005         * sysdeps/x86_64/memmove.c: Likewise.
1006         * sysdeps/x86_64/memset.S: Likewise.
1007         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1008         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1009         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1010         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1011         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1012         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1013         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1014         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1015         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1016         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1017         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1018         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1019         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1020         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1021         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1022         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1023         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1024         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1025         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1026         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1027         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1028         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1029         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1030         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1031         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1032         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1033         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1034         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1035         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1036         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1037         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1038         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1039         * sysdeps/x86_64/strcmp.S: Likewise.
1040
1041         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1042
1043         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1044         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1045         * elf/rtld-Rules: Likewise.
1046         * elf/setup-vdso.h: Likewise.
1047         * include/assert.h: Likewise.
1048         * include/bits/stdlib-float.h: Likewise.
1049         * include/errno.h: Likewise.
1050         * include/sys/stat.h: Likewise.
1051         * include/unistd.h: Likewise.
1052         * sysdeps/aarch64/setjmp.S: Likewise.
1053         * sysdeps/alpha/setjmp.S: Likewise.
1054         * sysdeps/arm/__longjmp.S: Likewise.
1055         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1056         * sysdeps/arm/setjmp.S: Likewise.
1057         * sysdeps/arm/sysdep.h: Likewise.
1058         * sysdeps/generic/_itoa.h: Likewise.
1059         * sysdeps/generic/dl-sysdep.h: Likewise.
1060         * sysdeps/generic/ldsodefs.h: Likewise.
1061         * sysdeps/i386/dl-tls.h: Likewise.
1062         * sysdeps/i386/setjmp.S: Likewise.
1063         * sysdeps/m68k/setjmp.c: Likewise.
1064         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1065         * sysdeps/mach/hurd/opendir.c: Likewise.
1066         * sysdeps/posix/getcwd.c: Likewise.
1067         * sysdeps/posix/opendir.c: Likewise.
1068         * sysdeps/posix/profil.c: Likewise.
1069         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1070         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1071         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1072         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1073         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1074         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1075         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1076         * sysdeps/s390/dl-tls.h: Likewise.
1077         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1078         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1079         * sysdeps/sh/sh3/setjmp.S: Likewise.
1080         * sysdeps/sh/sh4/setjmp.S: Likewise.
1081         * sysdeps/unix/alpha/sysdep.h: Likewise.
1082         * sysdeps/unix/arm/sysdep.S: Likewise.
1083         * sysdeps/unix/i386/sysdep.S: Likewise.
1084         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1085         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1086         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1087         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1089         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1090         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1091         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1092         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1093         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1094         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1095         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1096         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1099         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1100         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1101         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1102         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1103         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1104         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1105         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1106         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1107         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1108         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1109         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1110         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1111         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1112         * sysdeps/x86_64/setjmp.S: Likewise.
1113
1114         * include/math.h: Use IS_IN instead of IS_IN_libm.
1115         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1116         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1117         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1118         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1119         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1120         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1121         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1122         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1123         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1124         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1125         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1126         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1127         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1128         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1129         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1130         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1131         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1132         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1133         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1134         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1135         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1136         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1137         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1138         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1139         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1140         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1141         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1142         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1143         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1144         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1145         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1146         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1147         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1149         Likewise.
1150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1151         Likewise.
1152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1153         Likewise.
1154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1155         Likewise.
1156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1157         Likewise.
1158         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1159         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1160         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1161         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1162         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1163         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1169         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1170         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1171         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1172         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1173         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1174         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1175         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1176         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1177         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1178         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1179         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1180         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1181         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1182         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1183         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
1184         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
1185
1186         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
1187         * nptl/pthreadP.h: Likewise.
1188         * nptl_db/structs.def: Likewise.
1189         * sysdeps/arm/sysdep.h: Likewise.
1190         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1191         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1192         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
1193         * sysdeps/unix/alpha/sysdep.h: Likewise.
1194         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1195         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1196         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1197         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1198         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1199         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1200         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1201         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1202         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1203         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1204         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1205         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1206         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1207         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1210         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1211         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1212         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1213         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1215         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1216         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1217         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1218         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
1219         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1220
1221         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
1222         * nptl/pthreadP.h: Likewise.
1223         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1224         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1225         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1226         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1227         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1228         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1229         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1230         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1231         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1232         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1233         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1234         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1236         Likewise.
1237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1238         Likewise.
1239         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1240         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1241         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1242         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1243         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1244         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1245         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1246         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1247
1248         * dlfcn/dladdr.c: Use IS_IN.
1249         * dlfcn/dladdr1.c: Likewise.
1250         * dlfcn/dlclose.c: Likewise.
1251         * dlfcn/dlerror.c: Likewise.
1252         * dlfcn/dlinfo.c: Likewise.
1253         * dlfcn/dlmopen.c: Likewise.
1254         * dlfcn/dlopen.c: Likewise.
1255         * dlfcn/dlsym.c: Likewise.
1256         * dlfcn/dlvsym.c: Likewise.
1257
1258         * include/ifaddrs.h: Use IS_IN.
1259         * inet/check_pf.c: Likewise.
1260         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
1261         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
1262
1263         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
1264         IS_IN_ldconfig.
1265         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
1266         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
1267
1268         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
1269         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
1270         IS_IN (libc).
1271
1272         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
1273
1274         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
1275         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1276         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1277         * include/libc-symbols.h (IS_IN_LIB): New macro.
1278         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
1279         * include/netdb.h: Likewise.
1280         * include/stap-probe.h: Remove all uses of IN_LIB.
1281
1282         * Makeconfig (module-cppflags-real): Define MODULE_NAME
1283         instead of IN_MODULE.
1284         * include/libc-symbols.h (IN_MODULE): Define using
1285         MODULE_NAME.
1286         (PASTE_NAME, PASTE_NAME1): New macros.
1287         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
1288         of IN_LIB.
1289         (STAP_PROBE_ASM): Likewise.
1290
1291 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1292
1293         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
1294         __mach_init in dlopened libc.
1295
1296 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
1297
1298         * sysdeps/arm/preconfigure.ac: Delete EABI check.
1299         * sysdeps/arm/preconfigure: Regenerate.
1300
1301 2014-11-21  Roland McGrath  <roland@hack.frob.com>
1302
1303         * nptl/pthread_create.c (__pthread_create_2_1): Set
1304         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
1305         when copying values from IATTR into PD.
1306
1307 2014-11-21  Will Newton  <will.newton@linaro.org>
1308             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
1309
1310         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
1311         Refactor inline-asm.  Also add comment.
1312
1313         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
1314         ElfW macro instead of hardcoded Elf64 types.
1315         (la_aarch64_gnu_pltenter): Likewise.
1316         * sysdeps/aarch64/dl-machine.h
1317         (elf_machine_runtime_setup): Use ElfW(Addr).
1318
1319         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
1320         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
1321         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
1322         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
1323         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
1324         (R_AARCH64_TLS_DTPMOD64): Rename to ..
1325         (R_AARCH64_TLS_DTPMOD): This.
1326         (R_AARCH64_TLS_DTPREL64): Rename to ...
1327         (R_AARCH64_TLS_DTPREL): This.
1328         (R_AARCH64_TLS_TPREL64): Rename to ...
1329         (R_AARCH64_TLS_TPREL): This.
1330         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
1331         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
1332         R_AARCH64_TLS_TPREL64.
1333         (elf_machine_rela): Likewise.
1334
1335 2014-11-21  Torvald Riegel  <triegel@redhat.com>
1336
1337         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
1338         by setting it to 0.  64b atomics are not supported currently.
1339
1340 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1341
1342         [BZ #16469]
1343         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
1344         search domain names.
1345
1346 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1347
1348         [BZ #16469]
1349         * NEWS: Update.
1350         * resolv/res_query.c (__libc_res_nquerydomain): Retain
1351         trailing dot.
1352         * posix/tst-getaddrinfo5.c: New.
1353         * posix/Makefile (tests): Add it.
1354
1355 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1356
1357         [BZ #14498]
1358         * NEWS: Fixed.
1359         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
1360         after parsing line but before break_if_match.
1361         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
1362         if there is a protocol mismatch.
1363
1364 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
1365
1366         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
1367         because the potential race is on the user-supplied stream.
1368
1369 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1370
1371         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
1372         string literal if not passed a buffer.
1373         * manual/job.texi (ctermid): Update reasoning, note deviation
1374         from posix, suggest mtasurace when not passed a buffer, for
1375         future non-preliminary safety notes.
1376
1377 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1378
1379         * manual/users.texi (cuserid): Fix MT-Safety note for the case
1380         of not passing it a buffer.
1381         Reported by Peng Haitao.
1382
1383 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
1384
1385         * manual/Makefile ($(objpfx)stamp-summary): Require
1386         check-safety.sh to pass.
1387         * manual/check-safety.sh: Wish for verification that every
1388         @deftypefn and @deftypefun is followed by a @safety remark.
1389
1390 2014-11-20  Roland McGrath  <roland@hack.frob.com>
1391
1392         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
1393
1394         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
1395         PTHREAD_CANCEL_ASYNCHRONOUS.
1396         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
1397         send SIGCANCEL.
1398
1399         * nptl/default-sched.h: New file.
1400         * sysdeps/unix/sysv/linux/default-sched.h: New file.
1401         * nptl/pthread_create.c: Include it.
1402         (__pthread_create_2_1): Use collect_default_sched instead of making
1403         Linux syscalls here directly.
1404
1405 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1406
1407         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
1408         __pthread_once): Use C11 atomics.
1409
1410 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1411
1412         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
1413
1414 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1415
1416         * include/atomic.h (__atomic_link_error, __atomic_check_size,
1417         atomic_thread_fence_acquire, atomic_thread_fence_release,
1418         atomic_thread_fence_seq_cst, atomic_load_relaxed,
1419         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
1420         atomic_compare_exchange_weak_relaxed,
1421         atomic_compare_exchange_weak_acquire,
1422         atomic_compare_exchange_weak_release,
1423         atomic_exchange_acquire, atomic_exchange_release,
1424         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
1425         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
1426         atomic_fetch_and_acquire,
1427         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
1428
1429 2014-11-20  Torvald Riegel  <triegel@redhat.com>
1430
1431         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
1432         USE_ATOMIC_COMPILER_BUILTINS): Define.
1433         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
1434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1435         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
1436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1437         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
1438         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1439         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
1440         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1441         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
1442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1443         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
1444         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1445         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
1446         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1447         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
1448         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1449         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1450         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1451         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1452         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1453         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
1454         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1455         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
1456         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1457         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
1458         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1459         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
1460         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1461         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
1462         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1463         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
1464         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1465         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
1466         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1467         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1468         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1469         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
1470         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1471         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
1472         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
1473
1474 2014-11-19  Roland McGrath  <roland@hack.frob.com>
1475
1476         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
1477         the sched_priority value here.  It was already checked when the user
1478         called pthread_attr_setschedparam.
1479
1480         * nptl/tst-bad-schedattr.c: New file.
1481         * nptl/Makefile (tests): Add it.
1482
1483 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
1484             Florian Weimer  <fweimer@redhat.com>
1485             Joseph Myers  <joseph@codesourcery.com>
1486             Adam Conrad  <adconrad@0c3.net>
1487             Andreas Schwab  <schwab@suse.de>
1488             Brooks  <bmoses@google.com>
1489
1490         [BZ #17625]
1491         * wordexp-test.c (__dso_handle): Add prototype.
1492         (__register_atfork): Likewise.
1493         (__app_register_atfork): New function.
1494         (registered_forks): New global.
1495         (register_fork): New function.
1496         (test_case): Add 3 new tests for WRDE_CMDSUB.
1497         (main): Call __app_register_atfork.
1498         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
1499         fork count is non-zero fail the test.
1500         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
1501         is set.
1502         (parse_dollars): Remove check for WRDE_NOCMD.
1503         (parse_dquote): Likewise.
1504
1505 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1506
1507         * Makeconfig (built-modules): List non-library modules to be
1508         built.
1509         (module-cppflags): Include libc-modules.h for
1510         everything except shlib-versions.v.i.
1511         (CPPFLAGS): Use it.
1512         (before-compile): Add libc-modules.h.
1513         ($(common-objpfx)libc-modules.h,
1514         $(common-objpfx)libc-modules.stmp): New targets.
1515         (common-generated): Add libc-modules.h and libc-modules.stmp.
1516         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
1517         * include/libc-symbols.h: Don't include libc-modules.h.
1518         * include/libc-modules.h: Remove file.
1519         * scripts/gen-libc-modules.awk: New script to generate
1520         libc-modules.h.
1521         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
1522         Depend on libc-modules.stmp.
1523
1524         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
1525
1526         * Makeconfig (in-module): Get value of libof set for the
1527         translation unit.
1528         (CPPFLAGS): Use $(in-module).
1529         * Makerules: Don't suffix routine names for nonlib.
1530         * include/libc-modules.h: New file.
1531         * include/libc-symbols.h: Include libc-modules.h
1532         (IS_IN): New macro to replace IS_IN_* macros.
1533         * elf/Makefile: Set libof-* for each routine.
1534         * elf/rtld-Rules: Likewise.
1535         * extra-modules.mk: Likewise.
1536         * iconv/Makefile: Likewise.
1537         * iconvdata/Makefile: Likewise.
1538         * locale/Makefile: Likewise.
1539         * malloc/Makefile: Likewise.
1540         * nss/Makefile: Likewise.
1541         * sysdeps/gnu/Makefile: Likewise.
1542         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
1543         * sysdeps/unix/sysv/linux/Makefile: Likewise.
1544         * sysdeps/s390/s390-64/Makefile: Likewise.
1545         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
1546         CPPFLAGS for nscd instead of nonlib.
1547
1548 2014-11-18  Roland McGrath  <roland@hack.frob.com>
1549
1550         * nptl/createthread.c: New file.
1551
1552         * nptl/createthread.c: Moved ...
1553         * sysdeps/unix/sysv/linux/createthread.c: ... here.
1554
1555         * nptl/createthread.c: Add proper top-line comment.
1556         (do_clone): Folded into ...
1557         (create_thread): ... here.  Take new arguments STOPPED_START and
1558         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
1559         increment __nptl_threads, do event-reporting logic, do
1560         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
1561         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
1562         resource cleanup if sched_setaffinity or sched_setscheduler fails,
1563         just send SIGCANCEL.
1564         * nptl/pthread_create.c: Forward-declare create_thread before
1565         including createthread.c.
1566         (start_thread): Use new macro START_THREAD_DEFN to replace defining
1567         declaration, and new macro START_THREAD_SELF to replace argument.
1568         Remove return statement.
1569         (report_thread_creation): New function.
1570         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
1571         synchronization logic, and __nptl_nthreads increment here, around
1572         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
1573         PD->parent_cancelhandling here, before create_thread.  When
1574         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
1575         __deallocate_stack, and ENOMEM translation here.
1576
1577 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
1578
1579         [BZ #17616]
1580         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
1581         (mptwo): Rename to __mptwo.
1582         (__inv): Use __mptwo instead of mptwo.
1583         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
1584         (mptwo): Rename to __mptwo.
1585         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
1586         of mpone and __mptwo instead of mptwo.
1587         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
1588         instead of mpone.
1589         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
1590         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
1591         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
1592         of mpone and __mptwo instead of mptwo.
1593         (__mpranred): Use __mpone instead of mpone.
1594         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
1595         variable.
1596         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1597         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1598         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1599         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1600         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1601         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1602         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1603         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1604         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1605         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1606         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1607         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1608         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1609         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1610         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1611         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1612         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1613         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1614         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1615
1616 2014-11-18  Tom de Vries  <tom@codesoucery.com>
1617
1618         * manual/signal.texi (Primitives Interrupted by Signals): In section,
1619         replace BSD Handler xref with BSD Signal Handling.
1620
1621 2014-11-17  Richard Henderson  <rth@redhat.com>
1622
1623         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1624         (_FP_PACK_RAW_2): Remove.
1625         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1626         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1627         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1628         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1629         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1630         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1631         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1632         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1633         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1634         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1635         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1636         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1637         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1638         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1639         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1640         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1641
1642 2014-11-14  Roland McGrath  <roland@hack.frob.com>
1643
1644         * signal/signal.h [__USE_MISC]
1645         (struct sigvec): Remove type.
1646         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1647         (sigvec): Remove declaration.
1648         * sysdeps/posix/sigvec.c: Moved ...
1649         * signal/sigvec.c: ... here, replacing old file.
1650         (struct sigvec): New type, copied from old signal.h definition.
1651         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1652         (__sigvec): Convert definition to prototype.
1653         (sigvec): Replace weak_alias with compat_symbol.
1654         * signal/Versions (libc: GLIBC_2.21): New version set.
1655         * include/signal.h: Remove __sigvec declaration.
1656         * sysdeps/unix/bsd/sigvec.c: Remove file.
1657         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1658         * manual/signal.texi (BSD Handler): Remove subsection.
1659         Move siginterrupt up to ...
1660         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
1661         (Blocking in BSD): Fold subsection into its parent.
1662         * NEWS: Mention sigvec removal.
1663
1664 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1665
1666         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1667         (DLA_FMS): Make definition conditional only on [__FMA4__].
1668         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1669         definition.
1670
1671         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1672         Make definition conditional only on [PROF].
1673         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1674         definition.
1675         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1676         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1677
1678         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1679         !__GNUC__].
1680         * include/signal.h (__sigpause): Move declaration above call to
1681         libc_hidden_proto.
1682         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1683         variable.
1684         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1685         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1686
1687 2014-11-14  David S. Miller  <davem@davemloft.net>
1688
1689         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1690         Define before including <string/memcpy.c> and <string/mempcpy.c>.
1691
1692 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1693
1694         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1695         * configure: Regenerated.
1696         * manual/install.texi (Tools for Compilation): Document a
1697         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1698         compiler verified to work.
1699         * INSTALL: Regenerated.
1700
1701         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1702         redeclare with asm name.
1703         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1704         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1705         including <string.h>.
1706         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1707         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1708         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1709         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1710         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1711         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1712         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1713
1714 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1715
1716         * stdlib/strtol.c (__strtol): Use prototype definition.
1717
1718         [BZ #17594]
1719         * stdlib/strtol.c (SYM__): New macro.
1720         (SYM__1): Likewise.
1721         (__strtol): Likewise.
1722         (strtol): Rename to __strtol and define as weak alias of
1723         __strtol.  Use libc_hidden_weak.
1724
1725 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1726
1727         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1728         Use numbered labels in inline assembly.
1729
1730 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1731
1732         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1733         Add setjmp LIBC_PROBE.
1734         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1735         Likewise.
1736         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1737         Add longjmp, longjmp_target LIBC_PROBE.
1738         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1739         Likewise.
1740
1741 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1742
1743         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1744         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1745         to get rid of unused variable warning.
1746
1747 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1748
1749         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1750         Check for unwind_backtrace ==  NULL only in SHARED case.
1751         (__backchain_backtrace): Compile only in SHARED case.
1752         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1753         Likewise.
1754         (__backchain_backtrace): Declare as static.
1755
1756 2014-11-12  Roland McGrath  <roland@hack.frob.com>
1757
1758         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1759         (__libc_multiple_threads_ptr): Variable moved ...
1760         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1761
1762 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
1763
1764         * conform/GlibcConform.pm: New file.
1765         * conform/conformtest.pl: Use GlibcConform module.
1766         * conform/linknamespace.pl: New file.
1767         * conform/list-header-symbols.pl: Likewise.
1768         * conform/Makefile (linknamespace-symlists-base): New variable.
1769         (linknamespace-symlists-tests): Likewise.
1770         (linknamespace-header-base): Likewise.
1771         (linknamespace-header-tests): Likewise.
1772         (tests-special): Add new tests.
1773         ($(linknamespace-symlists-tests)): New rule.
1774         (linknamespace-libs): New variable.
1775         ($(objpfx)symlist-stdlibs): New rule.
1776         ($(linknamespace-header-tests)): Likewise.
1777         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1778         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1779         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1780         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1781         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1782         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1783         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1784         (test-xfail-ISO/math.h/linknamespace): Likewise.
1785         (test-xfail-ISO/signal.h/linknamespace): Likewise.
1786         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1787         (test-xfail-ISO/time.h/linknamespace): Likewise.
1788         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1789         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1790         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1791         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1792         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1793         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1794         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1795         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1796         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1797         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1798         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1799         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1800         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1801         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1802         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1803         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1804         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1805         (test-xfail-XPG3/search.h/linknamespace): Likewise.
1806         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1807         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1808         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1809         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1810         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1811         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1812         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1813         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1814         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1815         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1816         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1817         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1818         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1819         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1820         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1821         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1822         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1823         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1824         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1825         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1826         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1827         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1828         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1829         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1830         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1831         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1832         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1833         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1834         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1835         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1836         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1837         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1838         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1839         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1840         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1841         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1842         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1843         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1844         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1845         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1846         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1847         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1848         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1849         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1850         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1851         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1852         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1853         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1854         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1855         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1856         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1857         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1858         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1859         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1860         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1861         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1862         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1863         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1864         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1865         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1866         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1867         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1868         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1869         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1870         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1871         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1872         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1873         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1874         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1875         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1876         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1877         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1878         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1879         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1880         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1881         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1882         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1883         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1884         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1885         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1886         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1887         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1888         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1889         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1890         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1891         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1892         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1893         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1894         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1895         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1896         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1897         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1898         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1899         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1900         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1901         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1902         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1903         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1904         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1905         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1906         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1907         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1908         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1909         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1910         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1911         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1912         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1913         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1914         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1915         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1916         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1917         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1918         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1919         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1920         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1921         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1922         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1923         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1924         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1925         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1926         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1927         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1928         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1929         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1930         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1931         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1932         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1933         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1934         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1935         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1936         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1937         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1938
1939         [BZ #17589]
1940         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1941         of fgets_unlocked.
1942
1943         [BZ #17585]
1944         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1945         (memmem): Rename to __memmem and define as weak alias of
1946         __memmem.  Use libc_hidden_weak.
1947         (__memmem): Use libc_hidden_def.
1948         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
1949         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1950         memmem.
1951
1952         [BZ #17582]
1953         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1954         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
1955         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1956         and define as weak alias of __fgets_unlocked.  Use
1957         libc_hidden_weak.
1958         (__fgets_unlocked): Use libc_hidden_def.
1959         * include/stdio.h (__fgets_unlocked): Declare.  Use
1960         libc_hidden_proto.
1961         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1962         __fgets_unlocked instead of fgets_unlocked.
1963         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1964         (GET_NPROCS_CONF_PARSER): Likewise.
1965         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1966         (GET_NPROCS_CONF_PARSER): Likewise.
1967
1968         [BZ #17574]
1969         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1970         weak alias of __wmemset.  Use libc_hidden_weak.
1971         (__wmemset): Use libc_hidden_def.
1972         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
1973         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1974         of wmemset.
1975
1976         [BZ #17573]
1977         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1978         with asm name __mempcpy.
1979         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1980
1981         [BZ #17572]
1982         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1983         and define as weak alias of __rawmemchr.
1984         (__rawmemchr): Do not define as strong alias of rawmemchr.
1985
1986         [BZ #17571]
1987         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1988         alias of __qsort_r.
1989         (qsort): Call __qsort_r instead of qsort_r.
1990         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1991         (__qsort_r): Declare.  Call libc_hidden_proto.
1992         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1993         instead of qsort_r.
1994         * nscd/gai.c (__qsort_r): Define to qsort_r.
1995         * posix/tst-rfc3484.c (__qsort_r): Likewise.
1996         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1997         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1998
1999         [BZ #17570]
2000         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2001         define as weak alias of __malloc_info.
2002
2003         [BZ #17584]
2004         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2005         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2006         (__rewinddir): Use libc_hidden_def.
2007         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2008         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2009         (__rewinddir): Use libc_hidden_def.
2010         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2011         weak alias of __rewinddir.  Don't use libc_hidden_def.
2012         (__rewinddir): Use libc_hidden_def.
2013         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2014         (__rewinddir): Use libc_hidden_proto.
2015         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2016         rewinddir.
2017         (__getcwd): Use __rewinddir instead of rewinddir.
2018
2019         [BZ #17583]
2020         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2021         alias of __fileno.  Use libc_hidden_weak.
2022         (__fileno): Use libc_hidden_def.
2023         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2024         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2025         alias of __ftello.
2026         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2027         __ftello.
2028         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2029         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2030         libc_hidden_def.
2031         (fread_unlocked): Don't use libc_hidden_ver.
2032         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2033         and define as weak alias of __fread_unlocked.  Don't use
2034         libc_hidden_def.
2035         (__fread_unlocked): Use libc_hidden_def.
2036         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2037         (ftello): Don't use libc_hidden_proto.
2038         (__ftello): Declare.  Use libc_hidden_proto.
2039         (fread_unlocked): Don't use libc_hidden_proto.
2040         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2041         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2042         and __ftello instead of fileno, fread_unlocked and ftello.
2043
2044 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2045
2046         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2047         GOT12.
2048         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2049         Likewise.
2050         (_dl_start_user): Likewise.
2051         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2052
2053 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2054             Siddhesh Poyarekar  <siddhesh@redhat.com>
2055
2056         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2057         Move argv and envp down instead of moving argc up.
2058         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2059
2060 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2061
2062         [BZ #17506]
2063         * test-skeleton.c (main): Return successful if one of
2064         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2065         * string/tst-strcoll-overflow.c: Define expected status.
2066
2067 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2068
2069         [BZ #17475]
2070         * locale/iso-639.def: Define Bhili and Tulu language codes.
2071
2072 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2073
2074         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2075
2076 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2077
2078         [BZ #17555]
2079         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2080
2081 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2082
2083         * configure.ac: Updated check of minimal required version to
2084         2.22.
2085         * manual/install.texi (Tools for Compilation): Updated version
2086         number.
2087         * configure: Regenerated.
2088         * INSTALL: Likewise.
2089
2090 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2091
2092         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2093         __tls_get_addr.
2094
2095 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2096
2097         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2098         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2099         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2100         libc_hidden_weak.
2101         (waitpid): Define as alias of __waitpid.
2102         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2103         __waitpid.
2104         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2105         libc_hidden_weak.
2106         (waitpid): Define as alias of __waitpid.
2107         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2108         __libc_waitpid alias.
2109         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2110         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2111         Likewise.
2112         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2113         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2114         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2115         alias.
2116         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2117         __waitpid.
2118         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2119         libc_hidden_weak.
2120         (waitpid): Define as alias of __waitpid.
2121
2122 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2123
2124         * manual/llio.texi: Add comment that write safety has been
2125         fixed in Linux.
2126
2127         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2128         (localplt-build-dso): Add elf/ld.so.
2129         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2130         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2131         and free for ld.so.
2132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2133         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2135         Likewise.
2136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2137         Likewise.
2138         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2139         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2140         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2141         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2142         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2143         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2144         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2145         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2146         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2147         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2148         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2149
2150 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2151
2152         [BZ #14132]
2153         * include/libc-symbols.h (INTUSE): Remove macro.
2154         (INTDEF): Likewise.
2155         (INTVARDEF): Likewise.
2156         (_INTVARDEF): Likewise.
2157         (INTDEF2): Likewise.
2158         (INTVARDEF2): Likewise.
2159         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2160         rtld_hidden_def instead of INTVARDEF.
2161         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2162         (_dl_starting_up_internal): Remove declaration.
2163         (_dl_starting_up): Use rtld_hidden_proto.
2164         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2165         declaration.
2166         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2167         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2168         _dl_starting_up.
2169         * elf/dl-writev.h (_dl_writev): Likewise.
2170         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2171         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2172         _dl_starting_up_internal.
2173
2174 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2175
2176         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2177         test-skeleton.c.
2178
2179 2014-11-05  Will Newton  <will.newton@linaro.org>
2180
2181         * benchtests/Makefile: (bench-malloc): Add malloc thread
2182         scalability benchmark.
2183         * benchtests/bench-malloc-threads.c: New file.
2184
2185 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
2186
2187         * sysdeps/aarch64/strchrnul.S: New file.
2188
2189 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2190
2191         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
2192         definition.
2193         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2194         Likwise.
2195         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2196         Likewise.
2197         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2198         Likewise.
2199         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2200         Likewise.
2201         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2202         Likewise.
2203
2204 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
2205
2206         * catgets/test-gencat.c: Use test-skeleton.c.
2207         * catgets/tst-catgets.c: Likewise.
2208         * csu/tst-empty.c: Likewise.
2209         * elf/tst-audit2.c: Likewise.
2210         * elf/tst-global1.c: Likewise.
2211         * elf/tst-pathopt.c: Likewise.
2212         * elf/tst-piemod1.c: Likewise.
2213         * elf/tst-tls10.c: Likewise.
2214         * elf/tst-tls11.c: Likewise.
2215         * elf/tst-tls12.c: Likewise.
2216         * gnulib/tst-gcc.c: Likewise.
2217         * iconvdata/tst-e2big.c: Likewise.
2218         * iconvdata/tst-loading.c: Likewise.
2219         * iconv/tst-iconv1.c: Likewise.
2220         * iconv/tst-iconv2.c: Likewise.
2221         * inet/test-inet6_opt.c: Likewise.
2222         * inet/tst-gethnm.c: Likewise.
2223         * inet/tst-network.c: Likewise.
2224         * inet/tst-ntoa.c: Likewise.
2225         * intl/tst-codeset.c: Likewise.
2226         * intl/tst-gettext2.c: Likewise.
2227         * intl/tst-gettext3.c: Likewise.
2228         * intl/tst-ngettext.c: Likewise.
2229         * intl/tst-translit.c: Likewise.
2230         * io/test-stat.c: Likewise.
2231         * libio/test-fmemopen.c: Likewise.
2232         * libio/tst-freopen.c: Likewise.
2233         * libio/tst-sscanf.c: Likewise.
2234         * libio/tst-ungetwc1.c: Likewise.
2235         * libio/tst-ungetwc2.c: Likewise.
2236         * libio/tst-widetext.c: Likewise.
2237         * localedata/tst-ctype.c: Likewise.
2238         * localedata/tst-digits.c: Likewise.
2239         * localedata/tst-leaks.c: Likewise.
2240         * localedata/tst-mbswcs1.c: Likewise.
2241         * localedata/tst-mbswcs2.c: Likewise.
2242         * localedata/tst-mbswcs3.c: Likewise.
2243         * localedata/tst-mbswcs4.c: Likewise.
2244         * localedata/tst-mbswcs5.c: Likewise.
2245         * localedata/tst-setlocale.c: Likewise.
2246         * localedata/tst-trans.c: Likewise.
2247         * localedata/tst-wctype.c: Likewise.
2248         * localedata/tst-xlocale1.c: Likewise.
2249         * login/tst-grantpt.c: Likewise.
2250         * malloc/tst-calloc.c: Likewise.
2251         * malloc/tst-malloc.c: Likewise.
2252         * malloc/tst-mallocstate.c: Likewise.
2253         * malloc/tst-mcheck.c: Likewise.
2254         * malloc/tst-mtrace.c: Likewise.
2255         * malloc/tst-obstack.c: Likewise.
2256         * math/atest-exp2.c: Likewise.
2257         * math/atest-exp.c: Likewise.
2258         * math/atest-sincos.c: Likewise.
2259         * math/test-matherr.c: Likewise.
2260         * math/test-misc.c: Likewise.
2261         * math/test-powl.c: Likewise.
2262         * math/tst-definitions.c: Likewise.
2263         * misc/tst-dirname.c: Likewise.
2264         * misc/tst-efgcvt.c: Likewise.
2265         * misc/tst-fdset.c: Likewise.
2266         * misc/tst-hsearch.c: Likewise.
2267         * misc/tst-mntent2.c: Likewise.
2268         * nptl/tst-sem7.c: Likewise.
2269         * nptl/tst-sem8.c: Likewise.
2270         * nptl/tst-sem9.c: Likewise.
2271         * nss/test-netdb.c: Likewise.
2272         * posix/tst-fnmatch.c: Likewise.
2273         * posix/tst-getlogin.c: Likewise.
2274         * posix/tst-gnuglob.c: Likewise.
2275         * posix/tst-mmap.c: Likewise.
2276         * pwd/tst-getpw.c: Likewise.
2277         * resolv/tst-inet_ntop.c: Likewise.
2278         * rt/tst-timer.c: Likewise.
2279         * stdio-common/test-fseek.c: Likewise.
2280         * stdio-common/test-popen.c: Likewise.
2281         * stdio-common/test-vfprintf.c: Likewise.
2282         * stdio-common/tst-cookie.c: Likewise.
2283         * stdio-common/tst-fileno.c: Likewise.
2284         * stdio-common/tst-gets.c: Likewise.
2285         * stdio-common/tst-obprintf.c: Likewise.
2286         * stdio-common/tst-perror.c: Likewise.
2287         * stdio-common/tst-sprintf2.c: Likewise.
2288         * stdio-common/tst-sprintf3.c: Likewise.
2289         * stdio-common/tst-sprintf.c: Likewise.
2290         * stdio-common/tst-swprintf.c: Likewise.
2291         * stdio-common/tst-tmpnam.c: Likewise.
2292         * stdio-common/tst-unbputc.c: Likewise.
2293         * stdio-common/tst-wc-printf.c: Likewise.
2294         * stdlib/tst-environ.c: Likewise.
2295         * stdlib/tst-fmtmsg.c: Likewise.
2296         * stdlib/tst-limits.c: Likewise.
2297         * stdlib/tst-rand48-2.c: Likewise.
2298         * stdlib/tst-rand48.c: Likewise.
2299         * stdlib/tst-random2.c: Likewise.
2300         * stdlib/tst-random.c: Likewise.
2301         * stdlib/tst-strtol.c: Likewise.
2302         * stdlib/tst-strtoll.c: Likewise.
2303         * stdlib/tst-tls-atexit.c: Likewise.
2304         * stdlib/tst-xpg-basename.c: Likewise.
2305         * string/test-ffs.c: Likewise.
2306         * string/tst-bswap.c: Likewise.
2307         * string/tst-inlcall.c: Likewise.
2308         * string/tst-strtok.c: Likewise.
2309         * string/tst-strxfrm.c: Likewise.
2310         * sysdeps/x86_64/tst-audit10.c: Likewise.
2311         * sysdeps/x86_64/tst-audit3.c: Likewise.
2312         * sysdeps/x86_64/tst-audit4.c: Likewise.
2313         * sysdeps/x86_64/tst-audit5.c: Likewise.
2314         * time/tst-ftime_l.c: Likewise.
2315         * time/tst-getdate.c: Likewise.
2316         * time/tst-mktime3.c: Likewise.
2317         * time/tst-mktime.c: Likewise.
2318         * time/tst-posixtz.c: Likewise.
2319         * time/tst-strptime2.c: Likewise.
2320         * time/tst-strptime3.c: Likewise.
2321         * wcsmbs/tst-btowc.c: Likewise.
2322         * wcsmbs/tst-mbrtowc.c: Likewise.
2323         * wcsmbs/tst-mbsrtowcs.c: Likewise.
2324         * wcsmbs/tst-wchar-h.c: Likewise.
2325         * wcsmbs/tst-wcpncpy.c: Likewise.
2326         * wcsmbs/tst-wcrtomb.c: Likewise.
2327         * wcsmbs/tst-wcsnlen.c: Likewise.
2328         * wcsmbs/tst-wcstof.c: Likewise.
2329
2330 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
2331
2332         [BZ #14132]
2333         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
2334         INTDEF.
2335         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
2336         declaration.
2337         (_dl_mcount): Use rtld_hidden_proto.
2338         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
2339         _dl_mcount.
2340         * elf/rtld.c (_rtld_global_ro): Likewise.
2341
2342         [BZ #14132]
2343         * elf/dl-init.c (_dl_init): Don't use INTDEF.
2344         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
2345         of _dl_init_internal.
2346         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
2347         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
2348         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
2349         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
2350         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
2351         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
2352         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
2353         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
2354         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
2355         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
2356         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
2357         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
2358         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2359         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2360         * sysdeps/tile/dl-start.S (_start): Likewise.
2361         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
2362         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
2363
2364         [BZ #14132]
2365         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
2366         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
2367         (rtld_progname): Make macro definition unconditional.
2368         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
2369         INTDEF.
2370         (dlmopen_doit): Do not use INTUSE with _dl_argv.
2371         (dl_main): Likewise.
2372         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
2373         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
2374         instead of _dl_argv_internal.
2375         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2376         __GI__dl_argv instead of INTUSE(_dl_argv).
2377         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
2378         __GI__dl_argv instead of _dl_argv_internal.
2379
2380         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
2381         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
2382         macro.
2383         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
2384         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
2385         New macro.
2386         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
2387         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
2388         macro.
2389         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
2390         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
2391
2392 2014-11-04  Andreas Schwab  <schwab@suse.de>
2393
2394         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
2395
2396 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2397
2398         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
2399         mtvsrd instruction in binary form.
2400
2401 2014-11-03  Andreas Schwab  <schwab@suse.de>
2402
2403         [BZ #17522]
2404         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
2405         for less than MB_LEN_MAX use a local buffer of that size.
2406         * libio/tst-fputws.c: New file.
2407         * libio/Makefile (tests): Add tst-fputws.
2408
2409 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
2410
2411         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
2412         the size of the fpu_fr.fpu_dregs[] array.
2413
2414 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
2415
2416         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
2417         (__nanosleep): Do not define as alias.
2418         (nanosleep): Define as alias of __nanosleep.
2419         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
2420         __libc_nanosleep name.
2421
2422 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2423
2424         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
2425         install.texi in comment.
2426
2427 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2428
2429         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
2430         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
2431         ... add here and use lwsync or sync ...
2432         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
2433         ... and add here using lwsync.
2434
2435 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2436
2437         * elf/dl-machine-reject-phdr.h: New file.
2438         * elf/dl-load.c: #include that.
2439         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
2440         if that returned true.
2441
2442 2014-10-31  Roland McGrath  <roland@hack.frob.com>
2443
2444         [BZ #17496]
2445         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
2446         gen-as-const-headers chunk.  Add a big scare comment after the last
2447         safe place to touch before-compile.
2448
2449 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
2450
2451         * manual/install.texi (Tools for Compilation): Update autoconf
2452         version requirements.
2453         * INSTALL: Regenerated.
2454
2455         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
2456         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
2457         (__libc_pselect): Likewise.
2458
2459         [BZ #14138]
2460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
2461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2464
2465 2014-10-31  Torvald Riegel  <triegel@redhat.com>
2466
2467         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
2468         correct barrier instruction.
2469         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
2470         Likewise.
2471         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
2472         Likewise.
2473
2474 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2475
2476         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
2477         after defining inlines.  Instead, just use parens to defeat macro
2478         expansion of __isctype in its declaration.
2479
2480 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2481
2482         * include/sys/uio.h (__libc_readv): Remove declaration.
2483         (__libc_writev): Likewise.
2484         * misc/readv.c (__libc_readv): Rename to __readv.
2485         (__readv): Do not define as alias.
2486         (readv): Define as alias of __readv.
2487         * misc/writev.c (__libc_writev): Rename to __writev.
2488         (__writev): Do not define as alias.
2489         (writev): Define as alias of __writev.
2490         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
2491         (__readv): Do not define as alias.
2492         (readv): Define unconditionally as alias of __readv.
2493         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
2494         (__writev): Do not define as alias.
2495         (writev): Define unconditionally as alias of __writev.
2496         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
2497         name.
2498         (writev): Do not define __libc_writev name.
2499
2500 2014-10-30  Roland McGrath  <roland@hack.frob.com>
2501
2502         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
2503         (convert_charseq): New function, broken out of ...
2504         (use_from_charmap): ... here.  Call it.
2505         (use_to_charmap): Use convert_charseq and free instead of duplicating
2506         its code with a variable-length stack struct.
2507
2508 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
2509
2510         * include/fcntl.h (__libc_creat): Remove declaration.
2511         * io/creat.c (__libc_creat): Rename to creat.
2512         (creat): Do not define as alias.
2513         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
2514         of creat instead of __libc_creat.
2515         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
2516         to creat.
2517         (creat): Do not define as alias.
2518         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
2519         __libc_creat.
2520         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
2521         __libc_creat name.
2522         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
2523         Likewise.
2524
2525 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
2526
2527         * manual/llio.texi: Add comments discussing why write() may be
2528         considered MT-unsafe on Linux.
2529
2530 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
2531
2532         * dl-load.c (local_strdup): Remove.
2533         (expand_dynamic_string_token): Use __strdup.
2534         (decompose_rpath): Likewise.
2535         (_dl_map_object): Likewise.
2536
2537 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
2538
2539         [BZ #14132]
2540         * sysdeps/generic/unwind-dw2-fde.c
2541         (__register_frame_info_bases_internal): Do not declare.
2542         (__register_frame_info_table_bases_internal): Likewise.
2543         (__deregister_frame_info_bases_internal): Likewise.
2544         (__register_frame_info_bases): Declare and use hidden_proto before
2545         definition.  Use hidden_def instead of INTDEF.
2546         (__register_frame_info_table_bases): Likewise.
2547         (__deregister_frame_info_bases): Likewise.
2548         (__register_frame_info): Do not use INTUSE.
2549         (__register_frame): Likewise.
2550         (__register_frame_info_table): Likewise.
2551         (__register_frame_table): Likewise.
2552         (__deregister_frame_info): Likewise.
2553         (__deregister_frame): Likewise.
2554
2555 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
2556
2557         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2558         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
2559         not undefine.
2560         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
2561         Likewise.
2562         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
2563         Likewise.
2564
2565 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
2566
2567         [BZ #14138]
2568         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
2569         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
2570         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
2571         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
2572         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
2573         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
2574         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
2575         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
2576         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
2577         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
2578         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
2579         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
2580         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
2581         syscall.
2582         (setfsuid): Likewise.
2583         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
2584         (setfsuid): Likewise.
2585         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
2586         (setfsuid): Likewise.
2587         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
2588         Likewise.
2589         (setfsuid): Likewise.
2590         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
2591         (setfsuid): Likewise.
2592         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
2593         Likewise.
2594         (setfsuid): Likewise.
2595
2596 2014-10-27  Andreas Schwab  <schwab@suse.de>
2597
2598         [BZ #17501]
2599         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
2600         check for Slow_SSE4_2 feature bit.
2601         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
2602         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2603         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
2604         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
2605
2606 2014-10-24  Roland McGrath  <roland@hack.frob.com>
2607
2608         * configure.ac: Validate compiler version with a empirical test of
2609         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
2610         $CC -v output.
2611         * configure: Regenerated.
2612
2613         * inet/htons.c (htons): Prototypify.
2614         * inet/htonl.c (htonl): Likewise.
2615
2616 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2617
2618         * string/strncat.c (strncat): Improve performance by using strlen.
2619
2620 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2621
2622         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2623
2624 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2625
2626         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2627         Call libc_fetestexcept_aarch64.
2628
2629 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2630
2631         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2632         Call libc_feholdexcept_aarch64.
2633
2634 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2635
2636         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2637         Call get_rounding_mode.
2638
2639 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2640
2641         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2642         Simplify logic.
2643
2644 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2645
2646         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2647         Simplify logic.
2648
2649 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
2650
2651         [BZ #14138]
2652         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2653         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2654         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2655         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2656         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2657         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2658         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2659         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2660         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2661         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2662         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2663         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2664         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2665         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2666         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2667         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2668         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2669         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2670         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2671         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2672         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2673         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2674         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2675         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2676         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2677         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2678         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2679         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2680         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2681         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2682         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2683         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2684         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2685         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2686         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2687         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2688         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2689         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2690         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2691         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2692         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2693         syscall.
2694         (geteuid): Likewise.
2695         (getgid): Likewise.
2696         (getuid): Likewise.
2697         (getresgid): Likewise.
2698         (getresuid): Likewise.
2699         (getgroups): Likewise.
2700         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2701         (geteuid): Likewise.
2702         (getgid): Likewise.
2703         (getuid): Likewise.
2704         (getresgid): Likewise.
2705         (getresuid): Likewise.
2706         (getgroups): Likewise.
2707         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2708         (geteuid): Likewise.
2709         (getgid): Likewise.
2710         (getuid): Likewise.
2711         (getresgid): Likewise.
2712         (getresuid): Likewise.
2713         (getgroups): Likewise.
2714         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2715         Likewise.
2716         (geteuid): Likewise.
2717         (getgid): Likewise.
2718         (getuid): Likewise.
2719         (getresgid): Likewise.
2720         (getresuid): Likewise.
2721         (getgroups): Likewise.
2722         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2723         (geteuid): Likewise.
2724         (getgid): Likewise.
2725         (getuid): Likewise.
2726         (getresgid): Likewise.
2727         (getresuid): Likewise.
2728         (getgroups): Likewise.
2729         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2730         Likewise.
2731         (geteuid): Likewise.
2732         (getgid): Likewise.
2733         (getuid): Likewise.
2734         (getgroups): Likewise.
2735
2736         [BZ #14138]
2737         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2738         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2739         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2740         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2741         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2742         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2743         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2744         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2745         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2746         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2747         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2748         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2749         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2750         __chown.
2751         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2752         (lchown): Likewise.
2753         (fchown): Likewise.
2754         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2755         Likewise.
2756         (lchown): Likewise.
2757         (fchown): Likewise.
2758         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2759         (lchown): Likewise.
2760         (fchown): Likewise.
2761         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2762         Likewise.
2763         (lchown): Likewise.
2764         (fchown): Likewise.
2765
2766 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2767
2768         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2769         Simplify logic.
2770
2771 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2772
2773         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2774         Cleanup logic.
2775
2776 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2777
2778         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2779         Remove unused include.
2780
2781 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2782
2783         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2784         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2785         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2786         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2787
2788 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
2789             Helge Deller <deller@gmx.de>
2790
2791         [BZ #17508]
2792         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2793         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2794         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2795
2796 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
2797
2798         [BZ #14132]
2799         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2800         Remove macro definition.
2801         (__ashrdi3_v_glibc20): Likewise.
2802         (__lshrdi3_v_glibc20): Likewise.
2803         (__cmpdi2_v_glibc20): Likewise.
2804         (__ucmpdi2_v_glibc20): Likewise.
2805         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2806         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2807         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2808         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2809         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2810         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2811
2812 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2813
2814         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2815         old GNU extension [0] syntax.
2816         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2817         alloca rather than an array member with variable length.
2818         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2819         * nscd/nscd.c (invalidate_db): New function, broken out of ...
2820         (parse_opt): ... here.  Likewise use alloca there.
2821         Validate the -i argument before checking for rootness.
2822         (send_shutdown): New function, broken out of ...
2823         (parse_opt): ... here.
2824
2825 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2826
2827         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2828         macro to get at the _rt_local_ro field.
2829         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2830         ([PIC] case) or _dl_hwcap ([!PIC] case).
2831         * sysdeps/arm/setjmp.S: Likewise.
2832
2833         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2834         * sysdeps/arm/configure.ac: New check to define it.
2835         * sysdeps/arm/configure: Regenerated.
2836         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2837         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2838         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2839         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2840         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2841         Use move/movt pair instead of a load.
2842         (LDST_GLOBAL): Macro removed.
2843         (LDR_GLOBAL): New macro replaces it.
2844         (LDR_HIDDEN): New macro.
2845         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2846         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2847
2848         * setjmp/tst-setjmp-static.c: New file.
2849         * setjmp/Makefile (tests): Add it.
2850         (tests-static): New variable.
2851
2852 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
2853
2854         [BZ #17485]
2855         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2856
2857 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
2858
2859         [BZ #14132]
2860         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2861
2862 2014-10-21  Roland McGrath  <roland@hack.frob.com>
2863
2864         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2865
2866 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2867
2868         * io/fts.c (dirent_not_directory): New function.
2869         (fts_build): Call it.
2870
2871 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2872
2873         * nptl/version.c (__nptl_main): Use normal __write rather than
2874         INTERNAL_SYSCALL.
2875         (banner): Update copyright years.
2876
2877         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2878         gettimeofday.
2879         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2880         * nptl/pthread_cond_timedwait.c: Likewise.
2881         * nptl/pthread_mutex_timedlock.c: Likewise.
2882         * nptl/sem_timedwait.c: Likewise.
2883
2884         * sysdeps/nptl/bits/libc-lock.h
2885         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2886         (__libc_lock_init_recursive): Return void, not 0.
2887         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2888         (__libc_rwlock_init): Likewise.
2889         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2890
2891 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2892
2893         [BZ #15215]
2894         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2895         (__pthread_once_slow): ... here.
2896         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2897         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2898
2899 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2900
2901         [BZ #15215]
2902         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2903         __PTHREAD_ONCE_FORK_GEN_INCR): New.
2904         * sysdeps/nptl/fork.c (__libc_fork): Use them.
2905         * nptl/pthread_once.c (__pthread_once): Likewise.
2906         Update comments.
2907
2908 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
2909
2910         [BZ #14138]
2911         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2912         name.
2913         (writev): Use __libc_writev as strong name.
2914         * sysdeps/unix/sysv/linux/readv.c: Remove file.
2915         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2916
2917 2014-10-17  Roland McGrath  <roland@hack.frob.com>
2918
2919         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2920
2921         * sysdeps/i386/nptl/tls.h
2922         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2923         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2924         New macros.
2925         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2926         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2927         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2928         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2929         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2930         Call CHECK_THREAD_SYSINFO instead of doing an assert.
2931
2932         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2933         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2934         on [__NR_futex].
2935         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2936         broken out of ...
2937         (__pthread_mutex_init): ... here.  Call it.
2938         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2939         Conditionalize PI cases on [__NR_futex].
2940         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2941         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2942         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2943
2944         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2945         conditional on [SIGSETXID].
2946         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2947         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2948         is defined.  Likewise for SIGSETXID.
2949         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2950         Conditionalize definitions on [SIGSETXID].
2951         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2952         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2953         unblocking on [SIGCANCEL].
2954
2955         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2956         [__NR_set_robust_list].
2957
2958 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2959
2960         * string/strcoll_l.c (get_next_seq): Fix up formatting.
2961         (do_compare): Likewise.
2962
2963 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
2964
2965         [BZ #15884]
2966         * string/strcoll_l.c: Don't include stdio.h.
2967         (coll_seq): Remove members idxarr and rulearr.
2968         (get_next_seq_cached): Remove function.
2969         (get_next_seq): Likewise.
2970         (get_next_seq_nocache): Rename to get_next_seq.
2971         (do_compare): Remove function.
2972         (do_compare_nocache): Rename to do_compare.
2973         (STRCOLL): Remove weight and rules cache.
2974
2975 2014-10-16  Roland McGrath  <roland@hack.frob.com>
2976
2977         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2978         * sysdeps/arm/sfp-machine.h: ... to here.
2979         * sysdeps/arm/Implies: Remove arm/soft-fp.
2980
2981 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
2982
2983         * conform/data/sys/utsname.h-data (*_t): Allow.
2984         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2985         [POSIX] (WEXITED): Do not expect constant.
2986         [POSIX] (WSTOPPED): Likewise.
2987         [POSIX] (WNOHANG): Likewise.
2988         [POSIX] (WNOWAIT): Likewise.
2989         [POSIX] (siginfo_t): Do not expect type or elements.
2990         [POSIX] (pid_t): Do not expect type.
2991         [POSIX] (signal.h): Do not allow header.
2992         [POSIX] (sys/resource.h): Likewise.
2993         [POSIX] (si_*): Do not allow pattern.
2994         [POSIX] (W*): Likewise.
2995         [POSIX] (P_*): Likewise.
2996         [POSIX] (BUS_*): Likewise.
2997         [POSIX] (CLD_*): Likewise.
2998         [POSIX] (FPE_*): Likewise.
2999         [POSIX] (ILL_*): Likewise.
3000         [POSIX] (POLL_*): Likewise.
3001         [POSIX] (SEGV_*): Likewise.
3002         [POSIX] (SI_*): Likewise.
3003         [POSIX] (TRAP_*): Likewise.
3004         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3005         variable.
3006
3007 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3008
3009         [BZ #12926]
3010         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3011         infinite loop when __recvmsg returns 0.
3012
3013 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3014
3015         * CANCEL-FCT-WAIVE: Remove file.
3016         * CANCEL-FILE-WAIVE: Likewise.
3017
3018         [BZ #14132]
3019         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3020         instead of INTVARDEF.
3021         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3022         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3023         rtld_hidden_data_def instead of INTVARDEF.
3024         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3025         * elf/dl-deps.c (expand_dst): Likewise.
3026         * elf/dl-load.c (_dl_dst_count): Likewise.
3027         (_dl_dst_substitute): Likewise.
3028         (decompose_rpath): Likewise.
3029         (_dl_init_paths): Likewise.
3030         (open_path): Likewise.
3031         (_dl_map_object): Likewise.
3032         * elf/rtld.c (dl_main): Likewise.
3033         (process_dl_audit): Likewise.
3034         (process_envvars): Likewise.
3035         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3036         Remove declaration.
3037         (__libc_enable_secure): Use rtld_hidden_proto.
3038
3039 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3040
3041         * elf/dl-load.c
3042         (add_path): New function broken out of _dl_rtld_di_serinfo.
3043         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3044
3045 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3046
3047         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3048         parentheses around macro arguments.
3049         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3050         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3051         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3052         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3054         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3055         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3056         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3057         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3058         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3059         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3060         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3061         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3062         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3063         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3064         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3065         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3066         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3067         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3068         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3069         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3070         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3072         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3073         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3074         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3075         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3076         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3077         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3078         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3079         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3080         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3081         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3082         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3083         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3084         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3085         Likewise.
3086         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3087         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3088         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3089         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3090         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3091         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3092         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3093         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3094         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3095         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3096         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3097         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3098         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3099         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3100         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3101         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3102         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3103         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3104         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3105         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3106         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3107         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3108         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3109         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3110         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3111         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3112         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3113         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3114         (_FP_FRAC_SRS_1): Likewise.
3115         (_FP_FRAC_CLZ_1): Likewise.
3116         (_FP_MUL_MEAT_1_imm): Likewise.
3117         (_FP_MUL_MEAT_1_wide): Likewise.
3118         (_FP_MUL_MEAT_1_hard): Likewise.
3119         (_FP_SQRT_MEAT_1): Likewise.
3120         (_FP_FRAC_ASSEMBLE_1): Likewise.
3121         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3122         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3123         (__FP_CLZ_2): Likewise.
3124         (_FP_MUL_MEAT_2_wide): Likewise.
3125         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3126         (_FP_MUL_MEAT_2_gmp): Likewise.
3127         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3128         (_FP_SQRT_MEAT_2): Likewise.
3129         (_FP_FRAC_ASSEMBLE_2): Likewise.
3130         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3131         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3132         (_FP_FRAC_CLZ_4): Likewise.
3133         (_FP_MUL_MEAT_4_wide): Likewise.
3134         (_FP_MUL_MEAT_4_gmp): Likewise.
3135         (_FP_SQRT_MEAT_4): Likewise.
3136         (_FP_FRAC_ASSEMBLE_4): Likewise.
3137         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3138         * soft-fp/op-common.h (_FP_CMP): Likewise.
3139         (_FP_CMP_EQ): Likewise.
3140         (_FP_CMP_UNORD): Likewise.
3141         (_FP_TO_INT): Likewise.
3142         (_FP_FROM_INT): Likewise.
3143         [!__FP_CLZ] (__FP_CLZ): Likewise.
3144         (_FP_DIV_HELP_imm): Likewise.
3145         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3146         Likewise.
3147         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3148         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3149         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3150         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3152         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3153         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3154         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3155         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3156         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3157         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3158         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3159         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3160         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3161         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3162         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3163         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3164         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3165         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3166         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3167         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3168         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3170         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3171         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3172         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3173         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3174         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3175         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3176         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3177         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3178         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3179         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3180         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3181         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3182         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3183         (FP_UNPACK_RAW_SP): Likewise.
3184         (FP_PACK_RAW_S): Likewise.
3185         (FP_PACK_RAW_SP): Likewise.
3186         (FP_UNPACK_S): Likewise.
3187         (FP_UNPACK_SP): Likewise.
3188         (FP_UNPACK_SEMIRAW_S): Likewise.
3189         (FP_UNPACK_SEMIRAW_SP): Likewise.
3190         (FP_PACK_S): Likewise.
3191         (FP_PACK_SP): Likewise.
3192         (FP_PACK_SEMIRAW_S): Likewise.
3193         (FP_PACK_SEMIRAW_SP): Likewise.
3194         (_FP_SQRT_MEAT_S): Likewise.
3195         (FP_CMP_S): Likewise.
3196         (FP_CMP_EQ_S): Likewise.
3197         (FP_CMP_UNORD_S): Likewise.
3198         (FP_TO_INT_S): Likewise.
3199         (FP_FROM_INT_S): Likewise.
3200
3201         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
3202
3203         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
3204         (FP_EX_INVALID_IMZ): Likewise.
3205         (FP_EX_INVALID_IMZ_FMA): Likewise.
3206         (FP_EX_INVALID_ISI): Likewise.
3207         (FP_EX_INVALID_ZDZ): Likewise.
3208         (FP_EX_INVALID_IDI): Likewise.
3209         (FP_EX_INVALID_SQRT): Likewise.
3210         (FP_EX_INVALID_CVI): Likewise.
3211         (FP_EX_INVALID_VC): Likewise.
3212         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
3213         "invalid" exceptions.
3214         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
3215         (_FP_ADD_INTERNAL): Likewise.
3216         (_FP_MUL): Likewise.
3217         (_FP_FMA): Likewise.
3218         (_FP_DIV): Likewise.
3219         (_FP_CMP_CHECK_NAN): Likewise.
3220         (_FP_SQRT): Likewise.
3221         (_FP_TO_INT): Likewise.
3222         (FP_EXTEND): Likewise.
3223
3224 2014-10-09  Allan McRae  <allan@archlinux.org>
3225
3226         * po/fr.po: Update French translation from translation project.
3227
3228 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3229
3230         [BZ #14132]
3231         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
3232         of INTDEF.
3233         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
3234         (__cxa_atexit): Use libc_hidden_proto.
3235         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
3236
3237         [BZ #14132]
3238         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
3239         declaration.
3240         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
3241         [!_ISOMAC] (__iswspace_l_internal): Likewise.
3242         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
3243         [!_ISOMAC] (__iswctype_internal): Likewise.
3244         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
3245         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
3246         alias.
3247         (fcntl): Remove __fcntl_internal alias.
3248         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
3249         __connect_internal alias.
3250         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
3251         Likewise.
3252
3253         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
3254         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
3255         FP_DENORM_ZERO.
3256         (_FP_CHECK_FLUSH_ZERO): New macro.
3257         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
3258         (_FP_CMP): Likewise.
3259         (_FP_CMP_EQ): Likewise.
3260         (_FP_TO_INT): Do not set inexact for subnormal arguments if
3261         FP_DENORM_ZERO.
3262         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
3263         (FP_TRUNC): Likewise.
3264
3265         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
3266         treated as invalid conversion, not as normal exponent.
3267
3268         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
3269         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
3270         (_FP_CMP_EQ): Likewise.
3271         (_FP_CMP_UNORD): Likewise.
3272         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
3273         (FP_CMP_EQ_D): Likewise.
3274         (FP_CMP_UNORD_D): Likewise.
3275         * soft-fp/extended.h (FP_CMP_E): Likewise.
3276         (FP_CMP_EQ_E): Likewise.
3277         (FP_CMP_UNORD_E): Likewise.
3278         * soft-fp/quad.h (FP_CMP_Q): Likewise.
3279         (FP_CMP_EQ_Q): Likewise.
3280         (FP_CMP_UNORD_Q): Likewise.
3281         * soft-fp/single.h (FP_CMP_S): Likewise.
3282         (FP_CMP_EQ_S): Likewise.
3283         (FP_CMP_UNORD_S): Likewise.
3284         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
3285         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
3286         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
3287         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
3288         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
3289         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
3290         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
3291         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
3292         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
3293         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
3294         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
3295         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
3296         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
3297         to FP_CMP_Q.
3298         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
3299         FP_CMP_Q.
3300         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
3301         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
3302         FP_CMP_EQ_Q.
3303         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
3304         FP_CMP_Q.
3305         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
3306         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
3307         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
3308         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
3309         FP_CMP_EQ_Q.
3310         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
3311         FP_CMP_Q.
3312         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
3313         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
3314         FP_CMP_EQ_Q.
3315         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
3316         FP_CMP_Q.
3317         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
3318         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
3319         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
3320         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
3321         FP_CMP_EQ_Q.
3322
3323         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
3324         a subnormal result, set the underflow exception if trapping on
3325         underflow is enabled.
3326         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
3327         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
3328         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
3329         redefine to 0.
3330         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
3331         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3332         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
3333         * soft-fp/extendxftf2.c (__extendxftf2): Use
3334         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
3335
3336         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
3337         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
3338         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3339         FP_HANDLE_EXCEPTIONS.
3340         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
3341         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3342         FP_HANDLE_EXCEPTIONS.
3343         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
3344         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3345         FP_HANDLE_EXCEPTIONS.
3346         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
3347         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
3348         FP_HANDLE_EXCEPTIONS.
3349
3350 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
3351
3352         [BZ #14132]
3353         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
3354         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
3355         use INTUSE.
3356         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
3357         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
3358         Remove alias.
3359         (__adjtimex): Define using libc_hidden_ver.
3360         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
3361         Remove declaration.
3362         (ntp_gettime): Call __adjtimex directly.
3363         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
3364         Remove declaration.
3365         (ntp_gettimex): Call __adjtimex directly.
3366         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
3367         __adjtimex_internal alias.
3368
3369 2014-10-08  Roland McGrath  <roland@hack.frob.com>
3370
3371         [BZ #17460]
3372         * nscd/nscd.c (more_help): Rewrite list of tables collection
3373         using xstrdup and asprintf.
3374
3375         * nscd/nscd_conf.c: Remove local xstrdup declaration.
3376
3377 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3378             Roland McGrath  <roland@hack.frob.com>
3379
3380         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
3381         (do_lookup_unique): ... local function 'enter' here; update callers.
3382
3383 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
3384
3385         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
3386         compat_symbol calls on [SHARED].
3387         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
3388         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
3389         Remove.
3390         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3391         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
3392         (oldsetrlimit): Remove.
3393         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3395         (lchown): New syscall entry.
3396         (oldsetrlimit): Remove.
3397         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3398         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
3399         (oldsetrlimit): Remove.
3400         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
3401
3402         [BZ #14138]
3403         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
3404         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
3405         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
3406         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
3407         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
3408         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
3409         (fchown): Likewise.
3410         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
3411         (fchown): Likewise.
3412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
3413         Likewise.
3414
3415 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3416
3417         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
3418         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
3419         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
3420         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
3421         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
3422         Likewise.
3423         (__old_sem_post): Likewise.
3424
3425 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
3426
3427         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
3428         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
3429         HAVE_CLOCK_GETTIME_VSYSCALL macros.
3430         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
3431         Use INLINE_VSYSCALL macro.
3432         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
3433         __vdso_clock_gettime.
3434         * sysdeps/unix/sysv/linux/tile/init-first.c
3435         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
3436         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
3437         __vdso_clock_gettime.
3438
3439         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
3440         to set up frame more cleanly.
3441
3442         * sysdeps/tile/memcmp.c: New file.
3443
3444         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
3445
3446         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
3447         * sysdeps/tile/tilegx/strcasestr.c: New file.
3448         * sysdeps/tile/tilegx/strnlen.c: New file.
3449         * sysdeps/tile/tilegx/strstr.c: New file.
3450
3451         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
3452
3453 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
3454
3455         * nptl/tst-setuid3.c: Write errors to stdout.
3456
3457 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3458
3459         * elf/dl-deps.c
3460         (preload): New functions broken out of _dl_map_object_deps.
3461         (_dl_map_object_deps):  Remove a nested function. Update call sites.
3462
3463 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
3464
3465         [BZ #14138]
3466         * sysdeps/unix/sysv/linux/execve.c: Remove file.
3467         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
3468
3469 2014-10-01  Steve Ellcey  <sellcey@mips.com>
3470
3471         * sysdeps/mips/strcmp.S: New.
3472
3473 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
3474
3475         [BZ #14138]
3476         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
3477         (linkat): Likewise.
3478         (mkdirat): Likewise.
3479         (readlinkat): Likewise.
3480         (renameat): Likewise.
3481         (symlinkat): Likewise.
3482         (unlinkat): Likewise.
3483         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
3484         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
3485         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
3486         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
3487         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
3488         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
3489         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
3490
3491 2014-09-30  Will Newton  <will.newton@linaro.org>
3492
3493         * math/math.h: Define long double math functions if
3494         _LIBC_TEST is defined.
3495         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
3496
3497         * localedata/Makefile: Move assignment to tests-special
3498         into an ifdef testing run-built-tests.
3499         * timezone/Makefile: Likewise.
3500
3501 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
3502
3503         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
3504         with $(BASH) not $(SHELL).
3505
3506 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
3507             Matthew LeGendre  <legendre1@llnl.gov>
3508
3509         [BZ #17411]
3510         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
3511         l_reloc_result.
3512
3513 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3514
3515         * stdio-common/printf_fp.c
3516         (hack_digit): New function, broken out of ...
3517         (__printf_fp): ... local function here.  Update call sites.
3518         hack_digit now takes an additional parameter that is a pointer
3519         to a struct of the referenced locals.  Those locals moved inside
3520         the struct and references updated.
3521
3522 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
3523
3524         * aclocal.m4: Require autoconf 2.69.
3525         * configure: Regenerated.
3526         * sysdeps/aarch64/configure: Likewise.
3527         * sysdeps/alpha/configure: Likewise.
3528         * sysdeps/arm/armv7/configure: Likewise.
3529         * sysdeps/arm/configure: Likewise.
3530         * sysdeps/ia64/configure: Likewise.
3531         * sysdeps/mach/configure: Likewise.
3532         * sysdeps/mips/configure: Likewise.
3533         * sysdeps/s390/configure: Likewise.
3534         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
3535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
3536
3537         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
3538         file.
3539         * sysdeps/ia64/configure.ac: Likewise.
3540
3541 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
3542
3543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
3544         specify symbol version for ld.so.  Do not include entry for
3545         libpthread.
3546         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3547         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3548         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3549
3550         [BZ #14171]
3551         * Makeconfig [$(build-shared) = yes]
3552         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
3553         makefiles.
3554         [$(build-shared) = yes && $(soversions.mk-done) = t]
3555         ($(common-objpfx)gnu/lib-names.h): Remove rule.
3556         [$(build-shared) = yes && $(soversions.mk-done) = t]
3557         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
3558         to Makerules.
3559         [$(build-shared) = yes && $(soversions.mk-done) = t]
3560         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
3561         here.
3562         [$(build-shared) = yes && $(soversions.mk-done) = t]
3563         (common-generated): Don't append gnu/lib-names.h and
3564         gnu/lib-names.stmp here.
3565         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
3566         (lib-names-h-abi): New variable.
3567         [$(build-shared) = yes && $(soversions.mk-done) = t]
3568         (lib-names-stmp-abi): Likewise.
3569         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3570         abi-variants] (before-compile): Append
3571         $(common-objpfx)$(lib-names-h-abi).
3572         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3573         abi-variants] (common-generated): Append gnu/lib-names.h.
3574         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3575         abi-variants] (install-others-nosubdir): Depend on
3576         $(inst_includedir)/$(lib-names-h-abi).
3577         [$(build-shared) = yes && $(soversions.mk-done) = t &&
3578         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
3579         [$(build-shared) = yes && $(soversions.mk-done) = t]
3580         ($(common-objpfx)$(lib-names-h-abi)): New rule.
3581         [$(build-shared) = yes && $(soversions.mk-done) = t]
3582         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
3583         [$(build-shared) = yes && $(soversions.mk-done) = t]
3584         (common-generated): Append $(lib-names-h-abi) and
3585         $(lib-names-stmp-abi).
3586         * scripts/lib-names.awk: Do not handle multi being set.
3587         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
3588         Remove variable.
3589         (abi-lp64_be-ld-soname): Likewise.
3590         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
3591         Likewise.
3592         (abi-hard-ld-soname): Likewise.
3593         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
3594         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
3595         Remove variable.
3596         (abi-o32_hard-ld-soname): Likewise.
3597         (abi-o32_soft_2008-ld-soname): Likewise.
3598         (abi-o32_hard_2008-ld-soname): Likewise.
3599         (abi-n32_soft-ld-soname): Likewise.
3600         (abi-n32_hard-ld-soname): Likewise.
3601         (abi-n32_soft_2008-ld-soname): Likewise.
3602         (abi-n32_hard_2008-ld-soname): Likewise.
3603         (abi-n64_soft-ld-soname): Likewise.
3604         (abi-n64_hard-ld-soname): Likewise.
3605         (abi-n64_soft_2008-ld-soname): Likewise.
3606         (abi-n64_hard_2008-ld-soname): Likewise.
3607         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
3608         Likewise.
3609         (abi-64-v2-ld-soname): Likewise.
3610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
3611         ld.so entries.
3612         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3613         variable.
3614         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3615         entry.
3616         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3617         variable.
3618         (abi-64-ld-soname): Likewise.
3619         (abi-x32-ld-soname): Likewise.
3620         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3621         entry.
3622         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3623
3624 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
3625
3626         [BZ #14138]
3627         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3628         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3629         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3630         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3631         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3632         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3633         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3634         syscall entry for GLIBC_2.2 symbol version.
3635         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3636         Likewise.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3638         (setrlimit): Likewise.
3639         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3640         Likewise.
3641
3642 2014-09-23  Will Newton  <will.newton@linaro.org>
3643
3644         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3645         _LINUX_ARM_SYSDEP_H include guard too.
3646         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3647         define.
3648
3649 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3650
3651         * sysdeps/unix/sysv/linux/eventfd.c:
3652         Make first argument unsigned.
3653         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3654         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3655
3656 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
3657
3658         * socket/recvmmsg.c (recvmmsg): Drop const argument.
3659         * socket/sys/socket.h: Likewise
3660         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3661
3662 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3663
3664         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3665
3666 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
3667
3668         * time/tst-ftime.c: New test.
3669         * time/Makefile (tests): Add tst-ftime.
3670
3671 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
3672
3673         * soft-fp/extended.h: Fix comment formatting.
3674         * soft-fp/op-1.h: Likewise.
3675         * soft-fp/op-2.h: Likewise.
3676         * soft-fp/op-4.h: Likewise.
3677         * soft-fp/op-8.h: Likewise.
3678         * soft-fp/op-common.h: Likewise.
3679         * soft-fp/soft-fp.h: Likewise.
3680
3681         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3682
3683 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
3684
3685         [BZ #6652]
3686         * Makeconfig (soversions-default-setname): Remove variable.
3687         ($(common-objpfx)soversions.i): Don't pass default_setname to
3688         soversions.awk.
3689         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3690         oldest_abi to abi-versions.awk.
3691         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3692         * config.make.in (oldest-abi): Remove variable.
3693         * configure.ac (--enable-oldest-abi): Remove configure option.
3694         * configure: Regenerated.
3695         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3696         text.
3697         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3698         * scripts/soversions.awk: Do not handle default_setname variable.
3699         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3700         variable.
3701         * sysdeps/mach/hurd/configure: Regenerated.
3702         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3703         variable.
3704         * sysdeps/unix/sysv/linux/configure: Regenerated.
3705
3706 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3707
3708         * elf/Makefile (CFLAGS-interp.c): Remove.
3709         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3710         path string.
3711         * elf/interp.c: Include generated runtime-linker.h
3712
3713         * Makerules (lib%.so): Don't include $(+interp) in
3714         prerequisites.
3715         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3716         * dlfcn/eval.c: Remove file.
3717
3718         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3719         macros.
3720
3721         [BZ #17266]
3722         * misc/sys/cdefs.h: Define __extern_always_inline for clang
3723         4.2 and newer.
3724
3725         [BZ #17370]
3726         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3727
3728 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3729             Jakub Jelinek  <jakub@redhat.com>
3730
3731         [BZ #17266]
3732         * libio/stdio.h: Check definition of __fortify_function
3733         instead of __extern_always_inline to include bits/stdio2.h.
3734         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3735         check if __extern_always_inline is defined.
3736         [__USE_MISC || __USE_XOPEN]: Likewise.
3737         [__USE_ISOC99] Likewise.
3738         * misc/sys/cdefs.h (__fortify_function): Define only if
3739         __extern_always_inline is defined.
3740         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3741         __extern_always_inline and __extern_inline only for g++-4.3
3742         and newer or a compatible gcc.
3743
3744 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
3745
3746         [BZ #17371]
3747         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3748         last change to handle zero prefix length.
3749
3750 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3751
3752         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3753         _SC_REGEX_VERSION.
3754
3755         * posix/getconf.c (vars): Add _POSIX_IPV6 and
3756         _POSIX_RAW_SOCKETS.
3757
3758 2014-09-13  Allan McRae  <allan@archlinux.org>
3759
3760         * po/ru.po: Update Russian translation from translation project.
3761
3762 2014-09-12  Roland McGrath  <roland@hack.frob.com>
3763
3764         * locale/programs/locale.c (show_locale_vars): Inline local function
3765         into its sole call site.  Clean up some style nits.
3766         (print_item): New function, broken out of ...
3767         (show_info): ... local function here.  Clean up style nits.
3768
3769         * locale/programs/ld-ctype.c (set_one_default): New function, broken
3770         out of ...
3771         (set_class_defaults): ... local function set_default here.
3772         Define set_default as a macro locally to pass constant parameters.
3773         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3774         rather than a shared local.
3775
3776         * stdlib/rpmatch.c (try): New function, broken out of ...
3777         (rpmatch): ... local function here.  Also, prototypify definition.
3778
3779 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3780
3781         * scripts/soversions.awk: Do not handle configuration names.
3782         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3783         vendor and os variables to soversions.awk.
3784         * configure.ac: Do not modify gnu-* host_os.
3785         * configure: Regenerated
3786         * shlib-versions: Remove first column with configuration names.
3787         * nptl/shlib-versions: Likewise.
3788         * nptl_db/shlib-versions: Likewise.
3789         * sysdeps/hppa/shlib-versions: Likewise.
3790         * sysdeps/m68k/shlib-versions: Likewise.
3791         * sysdeps/mach/hurd/shlib-versions: Likewise.
3792         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3793         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3794         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3795         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3796         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3797         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3798         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3799         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3801         Likewise.
3802         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3803         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3804         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3805         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3806         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3807         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3808         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3809         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3810
3811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3812         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3814         Regenerated.
3815         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3817         Condition symbol version definitions on [HAVE_ELFV2_ABI].
3818
3819         * shlib-versions: Remove OS-specific entries.  Moved to files in
3820         sysdeps.
3821         * sysdeps/mach/hurd/shlib-versions: New file.
3822         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3823
3824         * nptl/shlib-versions: Remove architecture-specific entries.
3825         Moved to files in sysdeps.
3826         * shlib-versions: Likewise.
3827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3828         file.
3829         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3830         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3831         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3832         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3833
3834         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3835         (UDP_NO_CHECK6_RX): Likewise.
3836
3837 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3838
3839         * sysdeps/posix/sysconf.c (__sysconf): Spell
3840         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3841
3842 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3843
3844         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3845         loading.
3846         * iconv/Versions (__gconv_transliterate): Export for use from
3847         gconv modules.
3848         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3849         (struct __gconv_trans_data, __gconv_trans_fct,
3850         __gconv_trans_context_fct, __gconv_trans_query_fct,
3851         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3852         definitions.
3853         (struct __gconv_step_data): Remove __trans member.
3854         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
3855         longer hidden.  Remove unused trans_data argument.
3856         * iconv/gconv_int.h (struct trans_struct): Remove definition.
3857         (__gconv_translit_find): Remove declaration.
3858         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
3859         prototype.
3860         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3861         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3862         trans_data argument.  Add hidden definition.
3863         (__gconv_translit_find): Remove.
3864         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3865         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3866         * iconv/skeleton.c: Remove transliteration initialization.
3867         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3868         __gconv_step_data initialization.
3869         * libio/iofwide.c (__libio_translit_): Remove.
3870         (_IO_fwide): Adjust struct __gconv_step_data initialization.
3871         * wcsmbs/btowc.c (__btowc): Likewise.
3872         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3873         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3874         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3875         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3876         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3877         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3878         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3879         * wcsmbs/wctob.c (wctob): Likewise.
3880
3881 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3882
3883         [BZ #16194]
3884         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3885         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
3886         register usage.
3887         * sysdeps/x86/Makefile: Adjust.
3888
3889 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3890             Roland McGrath  <roland@hack.frob.com>
3891
3892         * locale/weight.h: Add include guard.
3893         (findidx): Make static rather than auto; take new parameters
3894         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3895         * locale/weightwc.h: Likewise.
3896         * posix/fnmatch_loop.c
3897         (FCT): Change type of EXTRA from int32_t to wint_t.
3898         Don't include either header inside the function.
3899         Call FINDIDX rather than findidx, and pass new arguments.
3900         #undef FINDIDX at the end of the file.
3901         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3902         FINDIDX before including fnmatch_loop.c for the non-wide version.
3903         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3904         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3905         for the wide version.
3906         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3907         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3908         Pass new arguments to findidx.
3909         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3910         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3911         Don't #include it inside the function.  Pass new arguments to findidx.
3912         * posix/regex_internal.h
3913         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3914         (re_string_elem_size_at): Don't #include it inside the function.
3915         Pass new arguments to findidx.
3916         * string/strcoll_l.c: #include WEIGHT_H at top level.
3917         (get_next_seq): Don't #include it inside the function.
3918         Pass new arguments to findidx.
3919         (get_next_seq_nocache): Likewise.
3920         * string/strxfrm_l.c: #include WEIGHT_H at top level.
3921         (STRXFRM): Don't #include it inside the function.
3922         Pass new arguments to findidx.
3923
3924 2014-09-11  Florian Weimer  <fweimer@redhat.com>
3925
3926         [BZ #17344]
3927         * malloc/malloc.c (unlink): Turn asserts into a call to
3928         malloc_printerr.
3929
3930 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
3931
3932         [BZ #17370]
3933         * libio/wfileops (do_ftell_wide): Free OUT.
3934
3935 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
3936
3937         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3938
3939 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3940
3941         [BZ #17363]
3942         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3943         group if the current group is empty.
3944
3945 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3946
3947         * benchtests/bench-memset.c (test_main): Add more test from size
3948         from 32 to 512 bytes.
3949         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3950         Add POWER8 memset object.
3951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3952         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3953         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3954         implementation.
3955         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3956         Likewise.
3957         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3958         multiarch POWER8 memset optimization.
3959         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3960         POWER8 memset optimization.
3961
3962         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3963         Remove bzero multiarch objects.
3964         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3965         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3966         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3967         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3968         Remove define.
3969         [__bzero]: Redefine to specific name.
3970         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3971         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3972         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3973         define.
3974         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3975         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3976
3977 2014-09-10  Florian Weimer  <fweimer@redhat.com>
3978
3979         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3980         warnings into errors.
3981
3982         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3983         __cxa_thread_atexit_impl prototype.
3984
3985 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3986
3987         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3988         Fix capitalization of error message.
3989
3990 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3991
3992         * sysdeps/mips/preconfigure: Modify ABI tests.
3993
3994 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
3995
3996         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3997
3998 2014-09-07  Roland McGrath  <roland@hack.frob.com>
3999             Carlos O'Donell  <carlos@systemhalted.org>
4000
4001         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4002         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4003         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4004         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4005         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4006         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4007         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4008         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4009         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4010         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4011         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4012         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4013         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4014         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4015         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4016         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4017         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4018         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4019         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4020         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4021         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4022         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4023         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4024         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4025         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4026         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4027         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4028         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4029         Deconditionalize the code that was previously under [RESET_PID].
4030         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4031         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4032         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4033         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4034         include sysdep.h.
4035
4036 2014-09-08  Allan McRae  <allan@archlinux.org>
4037
4038         * version.h (RELEASE): Set to "development".
4039         (VERSION): Set to "2.20.90"
4040
4041 2014-09-07  Allan McRae  <allan@archlinux.org
4042
4043         * version.h (RELEASE): Set to "stable".
4044         (VERSION): Set to "2.20"
4045         * include/features.h (__GLIBC_MINOR__): Set to 20.
4046
4047         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4048         Liebler.
4049
4050         * po/ko.po: Update Korean translation from translation project.
4051
4052 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4053
4054         [BZ #17354]
4055         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4056         macro for handling signed relocations.
4057
4058 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4059
4060         [BZ #17325]
4061         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4062         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4063         assert.
4064         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4065         * iconvdata/ibm935.c (BODY): Likewise.
4066         * iconvdata/ibm937.c (BODY): Likewise.
4067         * iconvdata/ibm939.c (BODY): Likewise.
4068         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4069         assert.
4070         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4071         script.
4072         * iconvdata/run-iconv-test.sh: New test loop for checking for
4073         decoder crashers.
4074
4075 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4076
4077         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4078         libm_hidden_ver.
4079
4080 2014-09-01  Allan McRae  <allan@archlinux.org>
4081
4082         * po/eo.po: Update Esperanto translation from translation project.
4083
4084         * po/ca.po: Update Catalan translation from translation project.
4085
4086 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4087
4088         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4089         __proc_dostop call.
4090
4091 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4092
4093         [BZ #17319]
4094         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4095         to call set_thread_area instead of hand written asm.
4096         (__NR_set_thread_area): Removed define.
4097         (TLS_FLAG_WRITABLE): Likewise.
4098         (__ASSUME_SET_THREAD_AREA): Remove check.
4099         (TLS_EBX_ARG): Remove define.
4100         (TLS_LOAD_EBX): Likewise.
4101
4102 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4103
4104         Simplify atomicity of socket creation in bind.
4105
4106         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4107         looking up the name after linking the file.
4108
4109 2014-08-27  Allan McRae  <allan@archlinux.org>
4110
4111         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4112
4113 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4114
4115         [BZ #17187]
4116         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4117         trans_compare, open_translit, __gconv_translit_find):
4118         Remove module loading code.
4119
4120 2014-08-26  Allan McRae  <allan@archlinux.org>
4121
4122         * po/vi.po: Update Vietnamese translation from translation project.
4123
4124         * po/uk.po: Update Ukrainian translation from translation project.
4125
4126         * po/fr.po: Update French translation from translation project.
4127
4128         * po/ru.po: Update Russian translation from translation project.
4129
4130         * po/pl.po: Update Polish translation from translation project.
4131
4132         * po/cs.po: Update Czech translation from translation project.
4133
4134         * po/de.po: Update German translation from translation project.
4135
4136         * po/bg.po: Update Bulgarian translation from translation project.
4137
4138         * po/sv.po: Update Sweedish translation from translation project.
4139
4140         * po/nl.po: Update Dutch translation from translation project.
4141
4142         * po/es.po: Update Spanish translation from translation project.
4143
4144 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4145
4146         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4147
4148         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4149         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4150         (CPPFLAGS-iconvconfig): Likewise.
4151         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4152
4153         * include/libc-symbols.h: Remove unnecessary check for
4154         NOT_IN_libc.
4155         * nptl/pthreadP.h: Likewise.
4156         * sysdeps/aarch64/setjmp.S: Likewise.
4157         * sysdeps/alpha/setjmp.S: Likewise.
4158         * sysdeps/arm/sysdep.h: Likewise.
4159         * sysdeps/i386/setjmp.S: Likewise.
4160         * sysdeps/m68k/setjmp.c: Likewise.
4161         * sysdeps/posix/getcwd.c: Likewise.
4162         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4163         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4164         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4165         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4166         * sysdeps/sh/sh3/setjmp.S: Likewise.
4167         * sysdeps/sh/sh4/setjmp.S: Likewise.
4168         * sysdeps/unix/alpha/sysdep.h: Likewise.
4169         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4170         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4171         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4172         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4175         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4176         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4177         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4178         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4179         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4180         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4181         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4182         * sysdeps/x86_64/setjmp.S: Likewise.
4183
4184 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
4185
4186         [BZ #17263]
4187         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
4188         <stdint.h>.
4189         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
4190         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
4191
4192 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
4193
4194         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
4195
4196         [BZ #17262]
4197         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
4198         and __x86_64__ when disabling x87 inline functions.
4199
4200 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
4201
4202         [BZ #17259]
4203         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
4204         asm statement with __cpuid_count.
4205
4206 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
4207
4208         * configure.ac: Change __ehdr_start code to dereference the struct.
4209         Run readelf on the output to look for relocations.
4210         * configure: Regenerated.
4211
4212 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
4213
4214         [BZ #17261]
4215         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
4216         value to 0.
4217         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
4218
4219 2014-08-12  Roland McGrath  <roland@hack.frob.com>
4220
4221         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
4222
4223 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
4224
4225         [BZ #16892]
4226         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
4227         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
4228
4229 2014-08-12  Sean Anderson  <seanga2@gmail.com>
4230
4231         * malloc/malloc.c: Fix typo in comment.
4232
4233 2014-08-09  Allan McRae  <allan@archlinux.org>
4234
4235         * Regenerate libc.po.
4236
4237 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
4238
4239         * intl/tst-gettext2.sh: Check every lang file for creation.
4240
4241 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4242
4243         * sysdeps/aarch64/fpu/math_private.h
4244         (libc_feholdsetround_noex_aarch64_ctx): New function.
4245
4246 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
4247
4248         * sysdeps/arm/armv6/strcpy.S (strcpy):
4249         Fix performance issue in misaligned cases.
4250
4251 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4252
4253         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
4254         Move definition from termios.h.
4255         (struct termio): Likewise.
4256         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4257         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4258         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4259         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4260         Likewise.
4261         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
4262         Move definition to ioctl-types.h
4263         (struct termio): Likewise.
4264         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
4265         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
4266         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
4267         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
4268         Likewise.
4269
4270 2014-08-05  Richard Henderson  <rth@redhat.com>
4271
4272         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
4273         exceptions.
4274         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
4275         Add fraiseexcpt.
4276         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
4277         Use __feraiseexcept.
4278         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
4279         Protect libm symbols with IS_IN_libm.
4280
4281         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
4282
4283 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
4284
4285         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
4286
4287 2014-08-04  Will Newton  <will.newton@linaro.org>
4288
4289         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
4290         file.
4291
4292 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
4293
4294         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
4295         variants for each function.
4296
4297 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4298
4299         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
4300         appended ...
4301         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
4302         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
4303         appended ...
4304         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
4305         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
4306         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
4307         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
4308         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
4309         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
4310         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
4311         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
4312         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
4313         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
4314         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
4315         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
4316         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
4317         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
4318         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
4319         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
4320         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
4321         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
4322         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
4323         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
4324         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
4325         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
4326         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
4327         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
4328         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
4329         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
4330         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
4331         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
4332         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
4333         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
4334         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
4335         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
4336         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
4337         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
4338         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
4339         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
4340         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
4341         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
4342         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
4343         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
4344         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
4345         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
4346         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
4347         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
4348         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
4349         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
4350         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
4351         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
4352         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
4353         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
4354         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
4355         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
4356         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
4357         Update #include.
4358         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
4359         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
4360
4361 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4362
4363         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
4364         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
4365         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
4366         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
4367         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
4368         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
4369
4370 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4371
4372         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
4373         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
4374         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4375         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
4376
4377 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4378
4379         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
4380         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
4381         (__libc_vfork): Define function under this name.
4382         (__vfork): Define as an alias.
4383         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
4384         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
4385
4386 2014-08-04  Roland McGrath  <roland@hack.frob.com>
4387
4388         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
4389         that was previously under [RESET_PID].
4390         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
4391
4392 2014-08-04  Andreas Schwab  <schwab@suse.de>
4393
4394         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
4395
4396 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
4397
4398         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
4399         (main): Likewise.
4400
4401 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4402
4403         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
4404
4405 2014-08-01  Richard Henderon  <rth@redhat.com>
4406
4407         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
4408         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
4409         typo in exact zero test.
4410         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4411         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4412         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4413
4414 2014-08-01  Roland McGrath  <roland@hack.frob.com>
4415
4416         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
4417         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
4418         * sysdeps/arm/sysdep.h: ... here.
4419         [!__ASSEMBLER__]: Include <stdint.h>.
4420
4421 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4422
4423         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
4424         (HAVE_WCTYPE_H): Likewise.
4425         (HAVE_ISWCTYPE): Likewise.
4426         (ENABLE_NLS): Likewise.
4427         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
4428         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
4429
4430         * posix/regex_internal.c: Check if DEBUG is defined and is
4431         set.
4432
4433         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
4434         (HAVE_MBSRTOWCS): Likewise.
4435         * posix/fnmatch.c: Include string.h unconditionally.
4436
4437 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4438
4439         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
4440         reversal.
4441
4442 2014-07-31  Roland McGrath  <roland@hack.frob.com>
4443
4444         * sysdeps/generic/safe-fatal.h: New file.
4445         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
4446         * nptl/forward.c: Include it.
4447         (__pthread_unwind): Use __safe_fatal as default action, rather
4448         than a bogus use of INTERNAL_SYSCALL that could never work.
4449
4450         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
4451         * configure.ac (libc_cv_builtin_trap): New test.
4452         * configure: Regenerated.
4453         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
4454         (ABORT_INSTRUCTION): Define using __builtin_trap.
4455
4456         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
4457         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
4458         * sysdeps/nptl/nptl-signals.h: New file.
4459         * nptl/pthreadP.h: Include <nptl-signals.h>.
4460
4461 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4462
4463         * sysdeps/s390/s390-64/utf16-utf32-z9.c
4464         (ONE_DIRECTION): Define.
4465         * sysdeps/s390/s390-64/utf8-utf16-z9.c
4466         (ONE_DIRECTION): Define.
4467         * sysdeps/s390/s390-64/utf8-utf32-z9.c
4468         (ONE_DIRECTION): Define.
4469
4470 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4471
4472         * sysdeps/s390/Makefile: Delete file.
4473         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
4474         * sysdeps/s390/__longjmp.c: Delete file.
4475         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
4476         Remove fields __flags and __reserved.
4477         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
4478         and add versioning.
4479         * sysdeps/s390/rtld-__longjmp.c: Delete file.
4480         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
4481         * sysdeps/s390/rtld-setjmp.S: Likewise.
4482         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
4483         * sysdeps/s390/s390-32/__longjmp.c: ... here.
4484         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
4485         * sysdeps/s390/s390-32/setjmp.S: ... here.
4486         Add versioning.
4487         (__sigsetjmp): Remove setting __flags field.
4488         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
4489         * sysdeps/s390/s390-64/__longjmp.c: ... here.
4490         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
4491         * sysdeps/s390/s390-64/setjmp.S: ... here.
4492         Add versioning.
4493         (__sigsetjmp): Remove setting __flags field.
4494         * sysdeps/s390/setjmp.S: Delete file.
4495         * sysdeps/s390/sigjmp.c: Likewise.
4496         * sysdeps/s390/v1-longjmp.c: Likewise.
4497         * sysdeps/s390/v1-setjmp.h: Likewise.
4498         * sysdeps/s390/v1-sigjmp.c: Likewise.
4499         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
4500         Remove v1-longjmp_chk.
4501         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
4502         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
4503         Include debug/longjmp_chk.c and add versioning.
4504         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
4505         Include nptl/pt-longjmp.c and add versioning.
4506         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
4507         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
4508         Include __longjmp.c.
4509         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4510         Move to ...
4511         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
4512         (__getcontext): Remove setting __flags field.
4513         Add versioning.
4514         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
4515         Don't restore upper high grps.
4516         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
4517         Likewise.
4518         (__swapcontext): Remove setting uc_flags field.
4519         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
4520         Delete file.
4521         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4522         Include __longjmp.c.
4523         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4524         Move to ...
4525         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
4526         (__getcontext): Remove setting __flags field.
4527         Add versioning.
4528         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
4529         (__swapcontext): Remove setting uc_flags field.
4530         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
4531         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
4532         Remove fields uc_high_gprs and __reserved.
4533         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
4534         New file with reverted content.
4535         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
4536         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
4537         Regenerated.
4538         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
4539         Regenerated.
4540
4541 2014-07-31  Andreas Schwab  <schwab@suse.de>
4542
4543         * config.h.in (HAVE_IFUNC): Define to 0.
4544         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
4545         definedness.
4546
4547 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
4548
4549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4550         memmove-avx-unaligned, memcpy-avx-unaligned and
4551         mempcpy-avx-unaligned.
4552         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4553         Add tests for AVX memcpy functions.
4554         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
4555         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
4556         memcpy_chk.
4557         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
4558         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
4559         memmove_chk.
4560         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
4561         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
4562         mempcpy_chk.
4563         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
4564         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
4565         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
4566
4567 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4568
4569         [BZ #17213]
4570         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
4571         powerpc64le.
4572
4573 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
4574
4575         [BZ #16839]
4576         * manual/llio.texi: Add section about open file description locks.
4577         * manual/examples/ofdlocks.c: Example of open file description
4578         lock usage.
4579         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
4580         F_OFD_SETLK, and F_OFD_SETLKW.
4581
4582 2014-07-23  Allan McRae  <allan@archlinux.org>
4583
4584         * po/es.po: Update Spanish translation from translation project.
4585
4586 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
4587
4588         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
4589
4590 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
4591
4592         [BZ #17078]
4593         * sysdeps/arm/dl-machine.h (elf_machine_rela)
4594         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
4595         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
4596
4597 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
4598
4599         [BZ #17088]
4600         * math/fesetenv.c (__fesetenv)
4601         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
4602         * math/feupdateenv.c (__feupdateenv)
4603         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
4604
4605         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
4606         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4607         (__ASSUME_SOCKETCALL): Do not define.
4608
4609         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
4610         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
4611         (__ASSUME_SOCKETCALL): Do not define.
4612         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4613         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4614         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4615         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4616         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4617         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4618         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4619         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4620
4621         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4622         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4623         (__ASSUME_SOCKETCALL): Do not define.
4624         (__ASSUME_IPC64): Define unconditionally.
4625         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4626         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4627         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4628         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4629         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4630         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4631         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4632         Likewise.
4633
4634         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4635         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4636         (__ASSUME_SOCKETCALL): Do not define.
4637         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4638         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4639         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4640         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4641         (__ASSUME_REQUEUE_PI): Define unconditionally.
4642         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4643         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4644         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4645         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4646         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4647         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4648
4649         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4650         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4651         (__ASSUME_SOCKETCALL): Do not define.
4652         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4653         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4654         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4655         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4656         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4657         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4658
4659         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4660         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4661         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4662         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4663         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4664         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4665         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4666         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4667         (__ASSUME_GETCPU_SYSCALL): Likewise.
4668
4669         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4670         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
4671         cases for individual architectures.
4672         * sysdeps/gnu/configure: Regenerated.
4673         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4674         LIBC_SLIBDIR_RTLDDIR.
4675         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4676         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4677         LIBC_SLIBDIR_RTLDDIR.
4678         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4680         LIBC_SLIBDIR_RTLDDIR.
4681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4682         Regenerated.
4683         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4684         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4685         file.
4686         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4687         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4688         file.
4689         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4690         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4691         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4692         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4693
4694         * sysdeps/aarch64/shlib-versions: Move to ...
4695         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4696         * sysdeps/alpha/shlib-versions: Move to ...
4697         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4698         * sysdeps/arm/shlib-versions: Move to ...
4699         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4700         * sysdeps/hppa/shlib-versions: Move all contents except for
4701         libgcc_s entry to ...
4702         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4703         entry from ...
4704         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4705         * sysdeps/ia64/shlib-versions: Move to ...
4706         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4707         entry from ...
4708         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4709         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4710         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4711         * sysdeps/microblaze/shlib-versions: Move to ...
4712         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4713         * sysdeps/mips/shlib-versions: Move to ...
4714         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4715         entry from ...
4716         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4717         * sysdeps/tile/shlib-versions: Move to ...
4718         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4719         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4720         from ...
4721         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
4722         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4723         entry from ...
4724         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
4725
4726 2014-07-17  Will Newton  <will.newton@linaro.org>
4727
4728         * sysdeps/arm/bits/atomic.h
4729         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4730         (__arch_compare_and_exchange_bool_16_int): Likewise.
4731         (__arch_compare_and_exchange_bool_64_int): Likewise.
4732
4733         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4734         into an #else block.
4735
4736 2014-07-16  Roland McGrath  <roland@hack.frob.com>
4737
4738         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4739         just Linux configurations.  Test empirically that the compiler sets
4740         __ARM_EABI__, rather than using the tuple to decide.
4741         * sysdeps/arm/preconfigure: Regenerated.
4742         * sysdeps/unix/sysv/linux/arm/configure: File removed.
4743         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4744         contents appended ...
4745         * sysdeps/arm/configure.ac: ... here.
4746         * sysdeps/arm/configure: Regenerated.
4747
4748 2014-07-15  Roland McGrath  <roland@hack.frob.com>
4749
4750         * nptl/pthread_kill.c: New file.
4751         * nptl/pthread_sigmask.c: New file.
4752         * nptl/pthread_sigqueue.c: New file.
4753
4754         * sysdeps/nptl/lowlevellock.h: New file.
4755         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4756         * sysdeps/nptl/lowlevellock-futex.h: New file.
4757
4758         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4759         Remove dead declarations.
4760
4761 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
4762
4763         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4764         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4765         config-cflags-avx2.
4766         * sysdeps/x86_64/configure.ac: Likewise.
4767         * sysdeps/i386/configure: Regenerated.
4768         * sysdeps/x86_64/configure: Likewise.
4769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4770         memset-avx2 only if config-cflags-avx2 is yes.
4771         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4772         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4773         defined.
4774         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4775         only if HAVE_AVX2_SUPPORT is defined.
4776         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4777
4778 2014-07-14  Alan Modra  <amodra@gmail.com>
4779
4780         [BZ #17153]
4781         * elf/elf.h (DT_PPC64_NUM): Correct value.
4782         * NEWS: Add to fixed bug list.
4783
4784 2014-07-13  Jim Meyering  <meyering@fb.com>
4785
4786         [BZ 17150]
4787         regex: don't deref NULL upon heap allocation failure
4788         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4789         failure in one more place.
4790         To trigger the segfault, configure grep -with-included-regex,
4791         build it, and run these commands:
4792         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4793
4794 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4795
4796         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4797
4798 2014-07-11  Richard Henderson  <rth@redhat.com>
4799
4800         * sysdeps/aarch64/libm-test-ulps: Update.
4801
4802 2014-07-10  Florian Weimer  <fweimer@redhat.com>
4803
4804         [BZ #17135]
4805         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4806         * nptl/allocatestack.c (__nptl_setxid_error): New function.
4807         (__nptl_setxid): Initialize error member.  Call
4808         __nptl_setxid_error.
4809         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4810         * nptl/descr.h (struct xid_command): Add error member.
4811         * nptl/tst-setuid3.c: New file.
4812         * nptl/Makefile (tests): Add it.
4813
4814 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4815
4816         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4817         New define.
4818         (__lll_trylock): Use __lll_base_trylock.
4819         (__lll_cond_trylock): Likewise.
4820
4821 2014-07-10  Roland McGrath  <roland@hack.frob.com>
4822
4823         * nptl/pthread_create.c (start_thread): Use atomic_or and
4824         lll_futex_wake directly rather than lll_robust_dead.
4825         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4826         (lll_robust_dead): Macro removed.
4827         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4828         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4829         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4830         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4831         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4832         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4833         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4834         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4835         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4836         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4837         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4838         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4839         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4840         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4841         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4842
4843         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4844         Use atomic_compare_and_exchange_val_acq directly rather than
4845         lll_robust_trylock.
4846         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4847         (__lll_robust_trylock, lll_robust_trylock): Removed.
4848         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4849         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4850         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4851         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4852         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4853         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4854         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4855         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4856         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4857         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4858         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4859         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4860         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4861         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4862
4863 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4864
4865         * manual/locale.texi (Locale Names): New section documenting
4866         locale name syntax.  Adjust menu and node chaining accordingly.
4867         (Choosing Locale): Reference Locale Names, Locale Categories.
4868         Mention setting LC_ALL=C.  Reflect that name syntax is now
4869         documented.
4870         (Locale Categories): New section title.  Reference Locale Names.
4871         LC_ALL is an environment variable, but not a category.
4872         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4873         description, now in Locale Name.  Reference that section.  Locale
4874         name syntax is now documented.
4875
4876 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4877
4878         [BZ #17137]
4879         * locale/findlocale.c (name_present, valid_locale_name): New
4880         functions.
4881         (_nl_find_locale): Use the loc_name variable to store name
4882         candidates.  Call name_present and valid_locale_name to check and
4883         validate locale names.  Return an error if the locale is invalid.
4884
4885 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4886
4887         * locale/setlocale.c (setlocale): Use strdup for allocating
4888         composite name copy.
4889
4890 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4891
4892         Sync up with gnulib.
4893         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4894         [!_LIBC && ENABLE_NLS]: Include gettext.h.
4895         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4896         and _GL_ARG_NONNULL.
4897         [USE_UNLOCKED_IO]: Include unlocked-io.h.
4898         [!_LIBC]: Include code for Windows and Cygwin.
4899         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4900         Include prototype for int strerror_r.
4901         [!_LIBC] (is_open): New function.
4902         (flush_stdout): New function.
4903         (print_errno_message): Use it.
4904         (error): Likewise.
4905         (error_at_line): Likewise.
4906         (error_tail) Add function attribute macros.  Use
4907         __builtin_expect.
4908
4909         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4910
4911         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4912
4913         * io/ftw.c: Include sys/param.h unconditionally.
4914
4915         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4916
4917         [BZ #17125]
4918         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4919         libc_freeres_ptr.
4920         (freecache): New function to free CACHE on exit.
4921
4922         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4923         initialization.
4924
4925 2014-07-09  David S. Miller  <davem@davemloft.net>
4926
4927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4928
4929         * sysdeps/sparc/nptl/internaltypes.h: Delete.
4930         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4931         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4932         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4933         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4934         * sysdeps/sparc/nptl/sem_init.c: Likewise.
4935         * sysdeps/sparc/nptl/sem_post.c: Likewise.
4936         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4937         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4938         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4939         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4940         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4941         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4942
4943 2014-07-09  Andreas Schwab  <schwab@suse.de>
4944
4945         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4946         output.
4947         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4948         (do_test): Likewise.
4949
4950         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4951
4952 2014-07-09  Will Newton  <will.newton@linaro.org>
4953
4954         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4955         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4956         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4957         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4958         * sysdeps/hppa/start.S (_start): Likewise.
4959
4960 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4961
4962         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4963
4964         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4965         defined.
4966
4967 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4968
4969         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4970         after checking that it is non-NULL.
4971
4972         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4973
4974 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4975
4976         * sysdeps/powerpc/memmove.c: Remove file.
4977         * sysdeps/powerpc/powerpc32/power4/memcopy.h
4978         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4979         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4980         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4981         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4982         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4983         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4984         string memmove instead of removed powerpc one.
4985
4986         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4987         [weak_alias]: Fix compiler warning due trailing data.
4988         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4989         [weak_alias]: Likewise.
4990         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4991         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4992
4993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4994         (__libc_ifunc_impl_list): Add memmove functions.
4995
4996 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4997
4998         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4999         Remove code.
5000         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5001         Likewise
5002         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5003         Likewise
5004         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5005         Likewise
5006         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5007         Likewise
5008         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5009         Likewise
5010         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5011         Likewise
5012         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5013         Likewise
5014         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5015         Likewise
5016         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5017         Likewise
5018         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5019         Likewise
5020         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5021         Likewise
5022         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5023         Likewise
5024         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5025         Likewise
5026         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5027         Likewise
5028         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5029         Likewise
5030         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5031         Likewise
5032
5033 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5034
5035         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5036         to avoid alignment traps in non-cacheable memory.
5037         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5038
5039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5040         multiarch objects.
5041         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5042         file: multiarch power7 memmove.
5043         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5044         multiarch default memmove.
5045         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5046         multiarch memove for powerpc32/power4.
5047
5048         * string/bcopy.c: Use full path to include memmove.c.
5049         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5050         multiarch objects.
5051         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5052         bcopy for powerpc64.
5053         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5054         bcopy for powerpc64.
5055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5056         and memmove implementations.
5057         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5058         optimized multiarch memmove for POWER7/powerpc64.
5059         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5060         default multiarch memmove for powerpc64.
5061         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5062         multiarch for powerpc64.
5063         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5064         for POWER7/powerpc64.
5065         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5066         memmove for POWER7/powerpc64.
5067
5068         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5069         glibc default one.
5070
5071         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5072         __ELF_NATIVE_CLASS equal to 64.
5073
5074 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5075
5076         * sysdeps/nptl/lowlevellock.h: File removed.
5077
5078         * NEWS: NPTL is no longer an add-on!
5079         * nptl/internaltypes.h: Moved ...
5080         * sysdeps/nptl/internaltypes.h: ... here.
5081         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5082         * sysdeps/nptl/fork.c: Likewise.
5083         * sysdeps/nptl/gai_misc.h: Likewise.
5084         * sysdeps/nptl/librt-cancellation.c: Likewise.
5085         * sysdeps/nptl/jmp-unwind.c: Likewise.
5086         * sysdeps/nptl/setxid.h: Likewise.
5087         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5088         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5089         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5090         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5091         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5092         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5093         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5094         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5095         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5096         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5097         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5098         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5099         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5100         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5101         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5102         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5103         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5104         * nptl/Makeconfig: Moved ...
5105         * sysdeps/nptl/Makeconfig: ... here.
5106         * nptl/configure: File removed.
5107         * nptl/ANNOUNCE: File removed.
5108         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5109         * sysdeps/unix/sysv/linux/configure: Regenerated.
5110
5111         * nptl/Makefile (routines): Add libc_pthread_init,
5112         libc_multiple_threads, register-atfork and unregister-atfork.
5113         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5114         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5115         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5116         pthread-pi-defines.sym, structsem.sym.
5117         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5118         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5119         [$(subdir) = nptl] (tests): Add tst-setgetname.
5120         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5121         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5122         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5123         [!LIBC_SIGACTION]: Remove aliases.
5124         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5125         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5126         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5127         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5128         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5129         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5130         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5131         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5132         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5133         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5134         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5135         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5136         __libc_allocate_rtsig_private.
5137         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5138         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5139         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5140         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5141         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5142         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5143         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5144         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5145         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5146         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5147         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5148         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5149         * nptl/internaltypes.h: ... here.
5150         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5151         * sysdeps/nptl/jmp-unwind.c: ... here.
5152         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5153         * nptl/libc-lowlevellock.c: ... here.
5154         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5155         * nptl/libc_multiple_threads.c: ... here.
5156         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5157         * nptl/libc_pthread_init.c: ... here.
5158         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5159         * nptl/lowlevelbarrier.sym: ... here.
5160         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5161         * nptl/lowlevelcond.sym: ... here.
5162         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5163         * nptl/lowlevellock.c: ... here.
5164         * nptl/lowlevellock.h: Moved ...
5165         * sysdeps/nptl/lowlevellock.h: ... here.
5166         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5167         * nptl/lowlevelrobustlock.c: ... here.
5168         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5169         * nptl/lowlevelrobustlock.sym: ... here.
5170         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5171         * nptl/lowlevelrwlock.sym: ... here.
5172         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5173         * nptl/pt-fork.c: ... here.
5174         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5175         * nptl/pthread-pi-defines.sym: ... here.
5176         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5177         * nptl/pthread_attr_getaffinity.c: ... here.
5178         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5179         * nptl/pthread_attr_setaffinity.c: ... here.
5180         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5181         * nptl/pthread_mutex_cond_lock.c: ... here.
5182         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5183         Update #include.
5184         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
5185         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
5186         * nptl/pthread_once.c: ... here, replacing old file.
5187         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
5188         * nptl/pthread_yield.c: ... here.
5189         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
5190         * nptl/register-atfork.c: ... here.
5191         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
5192         * nptl/sem_post.c: ... here.
5193         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
5194         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
5195         * nptl/sem_timedwait.c: ... here.
5196         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
5197         * nptl/sem_trywait.c: ... here.
5198         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
5199         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
5200         * nptl/sem_wait.c: ... here.
5201         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
5202         * nptl/structsem.sym: ... here.
5203         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
5204         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
5205         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
5206         * nptl/unregister-atfork.c: ... here.
5207         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
5208         * nptl/unwindbuf.sym: ... here.
5209         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
5210         * sysdeps/nptl/fork.c: ... here.
5211         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
5212         * sysdeps/nptl/fork.h: ... here.
5213         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
5214         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
5215         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
5216         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
5217         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
5218         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
5219         * sysdeps/unix/sysv/linux/getpid.c: ... here.
5220         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
5221         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
5222         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
5223         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
5224         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
5225         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
5226         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
5227         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
5228         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
5229         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
5230         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
5231         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
5232         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
5233         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
5234         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
5235         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
5236         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
5237         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
5238         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
5239         * sysdeps/unix/sysv/linux/raise.c: ... here.
5240         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
5241         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
5242         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
5243         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
5244         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
5245         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
5246         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
5247         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
5248         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
5249         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
5250         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
5251         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
5252         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
5253         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
5254         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
5255
5256 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5257
5258         * sysdeps/generic/memcopy.h: Add comment for
5259         MEMCPY_OK_FOR_FWD_MEMMOVE.
5260
5261 2014-07-04  Will Newton  <will.newton@linaro.org>
5262
5263         * string/memchr.c: Merge from gnulib.
5264         [_LIBC]: Remove conditionals.
5265         (__ptr_t): Remove define.
5266         (LONG_MAX_32_BITS): Likewise.
5267         (LONG_MAX): Likewise.
5268         (MEMCHR): Use ANSI prototype and optimize algorithm.
5269
5270         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
5271
5272 2014-07-03  Roland McGrath  <roland@hack.frob.com>
5273
5274         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
5275         (lll_futex_timed_wait_bitset): Fix syscall argument count.
5276
5277         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
5278         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
5279         in a bare environment with no <stdlib.h> installed.
5280         * sysdeps/nptl/configure: Regenerated.
5281
5282         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
5283
5284         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
5285         AC_EGREP_CPP for kernel header checks, so they only succeed if
5286         including <linux/version.h> actually works right.
5287         * sysdeps/unix/sysv/linux/configure: Regenerated.
5288
5289         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
5290         value so it's not diagnosed as unused.
5291
5292         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
5293         thing) with "ifeq ($(subdir),rt)".
5294
5295 2014-07-03  Richard Henderson  <rth@redhat.com>
5296
5297         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
5298         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
5299         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
5300
5301         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
5302         (math_force_eval): New.
5303
5304         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
5305         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
5306
5307         * sysdeps/alpha/fpu/s_round.c: Remove file.
5308         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
5309
5310         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
5311         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
5312         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
5313         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
5314         (_dl_start, print_statistics): Likewise.
5315         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
5316         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
5317
5318         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5319         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5320         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5321         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5322         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5323         (HP_SMALL_TIMING_AVAIL): Define.
5324         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5325         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5326         (HP_SMALL_TIMING_AVAIL): Define.
5327         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5328         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
5329
5330         * sysdeps/aarch64/hp-timing.h: New file.
5331
5332         * sysdeps/generic/hp-timing.h: Remove dead comment.
5333         * sysdeps/generic/hp-timing-common.h: New file.
5334         * sysdeps/alpha/hp-timing.h: Include it.
5335         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
5336         * sysdeps/i386/i686/hp-timing.h: Likewise.
5337         * sysdeps/ia64/hp-timing.h: Likewise.
5338         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
5339         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
5340         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
5341         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
5342         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
5343         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
5344         (hp_timing_t): New.
5345
5346         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
5347         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
5348         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
5349         * elf/rtld.c (_dl_start_final): Likewise.
5350         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
5351         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5352         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5353         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5354         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5355         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5356         (HP_TIMING_DIFF_INIT): Remove.
5357         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5358         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
5359         (HP_TIMING_DIFF_INIT): Remove.
5360         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
5361         * sysdeps/i386/i686/hp-timing.c: Remove file.
5362         * sysdeps/x86_64/hp-timing.c: Remove file.
5363         * sysdeps/ia64/hp-timing.c: Remove file.
5364         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
5365         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
5366         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
5367         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
5368
5369         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
5370         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
5371         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
5372         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5373         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
5374         (HP_TIMING_ACCUM): Remove.
5375         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5376         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
5377         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
5378
5379         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
5380         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
5381         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
5382         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
5383         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
5384         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5385         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
5386         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
5387
5388         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
5389
5390 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
5391
5392         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
5393
5394 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5395
5396         Sync up with gettext.
5397         * intl/loadmsgcat.c: Define O_BINARY if not defined.
5398         [_MSC_VER]: Include malloc.h
5399         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
5400         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
5401         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
5402         TEMP_FAILURE_RETRY.  Cast return of alloca.
5403         [!_LIBC] Call gl_rwlock_init.
5404         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
5405
5406 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5407
5408         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
5409         before checking its value.
5410
5411 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5412
5413         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
5414
5415         * debug/memcpy_chk.c: Don't include pagecopy.h.
5416         * debug/mempcpy_chk.c: Likewise.
5417         * string/memcpy.c: Likewise.
5418         * string/memmove.c: Likewise.
5419         * sysdeps/powerpc/memmove.c: Likewise.
5420         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
5421         definition of PAGE_COPY_FWD_MAYBE here...
5422         * sysdeps/generic/pagecopy.h: ... from here.
5423         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
5424
5425 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5426             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5427
5428         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
5429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
5430         optimizations.
5431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5432         (__libc_ifunc_impl_list): Likewise.
5433         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
5434         multiarch strcat for PPC64.
5435         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
5436         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
5437
5438 2014-07-02  Roland McGrath  <roland@hack.frob.com>
5439
5440         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
5441
5442 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5443
5444         * intl/loadmsgcat.c: Remove declaration of
5445         get_sysdep_segment_value.
5446         (get_sysdep_segment_value): Use ISO C style.
5447         (_nl_load_domain): Use ISO C style.  Get rid of redundant
5448         semicolon.  Fix typo and formatting in comment.
5449         (_nl_unload_domain): Use ISO C style.
5450
5451         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
5452
5453 2014-07-02  Will Newton  <will.newton@linaro.org>
5454
5455         * malloc/obstack.c: Merge from gnulib master.
5456         [HAVE_CONFIG_H]: Remove conditional code.
5457         [!_LIBC]: Include config.h.
5458         [!ELIDE_CODE]: Don't include inttypes.h, include
5459         stdint.h unconditionally.
5460         (print_and_abort): Mark as _Noreturn.
5461         (_obstack_allocated_p): Mark as __attribute_pure__.
5462         (obstack_free): Rename to __obstack_free.
5463         [!__attribute__]: Remove conditional code.
5464         * malloc/obstack.h: Merge from gnulib master.
5465         [__cplusplus]: Move conditional down.
5466         [!__attribute_pure__]: Define __attribute_pure__ here
5467         if it is not already defined.
5468         (_obstack_memory_used): Mark as __attribute_pure__.
5469         [!__obstack_free]: Define as obstack_free.
5470         [__GNUC__]: Remove check for ancient NeXT gcc.
5471
5472 2014-07-02  Will Newton  <will.newton@linaro.org>
5473             Paul Eggert  <eggert@cs.ucla.edu>
5474
5475         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
5476
5477 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5478
5479         * resolv/gethnamaddr.c: Add comment warning that the file is
5480         not maintained.
5481
5482 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
5483
5484         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
5485         entries.
5486
5487         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
5488         entry for aio_cancel and aio_cancel64.
5489         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
5490         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
5491         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
5492         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
5493         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
5494         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
5495         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
5496         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
5497         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
5498         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
5499         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
5500         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
5501         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
5502
5503 2014-07-01  Roland McGrath  <roland@hack.frob.com>
5504
5505         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
5506         * nptl/pthread_mutex_lock.c: Likewise.
5507         * nptl/pthread_mutex_timedlock.c: Likewise.
5508         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
5509
5510 2014-07-01  Richard henderson  <rth@redhat.com>
5511
5512         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
5513         (__isnan, __isnanl): Remove.
5514         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
5515
5516         * sysdeps/alpha/fpu/libm-test-ulps: Update.
5517
5518 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5519
5520         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5521
5522 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5523
5524         * resolv/nss_dns/dns-host.c (getanswer_r)
5525         [MULTI_PTRS_ARE_ALIASES]: Remove code.
5526
5527 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
5528
5529         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5530         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
5531         undefine.
5532         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
5533         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
5534
5535 2014-07-01  Roland McGrath <roland@hack.frob.com>
5536
5537         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
5538         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
5539
5540         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
5541         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
5542
5543         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
5544         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
5545         ... here.
5546         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
5547         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
5548
5549         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
5550         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
5551         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
5552         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
5553
5554         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
5555         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
5556         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
5557         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
5558         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
5559         Moved ...
5560         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
5561         ... here.
5562         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
5563         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
5564         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
5565         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
5566         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
5567         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
5568         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
5569         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
5570         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
5571         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
5572         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
5573         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
5574         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
5575         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
5576         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
5577         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
5578         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
5579         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
5580         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
5581         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
5582         ... here.
5583         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
5584         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
5585         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
5586         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
5587         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
5588         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
5589         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
5590         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
5591
5592 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
5593
5594         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
5595         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
5596         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
5597         Add sysdep.
5598
5599 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5600
5601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5602
5603 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5604
5605         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5606         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5607
5608         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5609
5610         * sysdeps/arm/libm-test-ulps: Regenerated.
5611
5612 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5613             Roland McGrath <roland@hack.frob.com>
5614
5615         * test-skeleton.c (signal_handler): Kill the whole process group
5616         before killing the child individually.
5617         (main): Report any failure on `setpgid'.
5618
5619 2014-06-30  Roland McGrath  <roland@hack.frob.com>
5620
5621         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5622         from _TLS_H to _ARM_NPTL_TLS_H.
5623         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5624         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5625
5626 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5627
5628         [BZ #16539]
5629         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5630         (__expm1l): Return argument unchanged when small but not
5631         subnormal.
5632
5633         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5634         include macro name.
5635         (_FP_UNPACK_RAW_1_P): Likewise.
5636         (_FP_PACK_RAW_1): Likewise.
5637         (_FP_PACK_RAW_1_P): Likewise.
5638         (_FP_MUL_MEAT_1_wide): Likewise.
5639         (_FP_MUL_MEAT_DW_1_hard): Likewise.
5640         (_FP_MUL_MEAT_1_hard): Likewise.
5641         (_FP_DIV_MEAT_1_imm): Likewise.
5642         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5643         (_FP_DIV_MEAT_1_udiv): Likewise.
5644         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5645         (_FP_UNPACK_RAW_2): Likewise.
5646         (_FP_UNPACK_RAW_2_P): Likewise.
5647         (_FP_PACK_RAW_2): Likewise.
5648         (_FP_PACK_RAW_2_P): Likewise.
5649         (_FP_MUL_MEAT_DW_2_wide): Likewise.
5650         (_FP_MUL_MEAT_2_wide): Likewise.
5651         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5652         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5653         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5654         (_FP_MUL_MEAT_2_gmp): Likewise.
5655         (_FP_DIV_MEAT_2_udiv): Likewise.
5656         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5657         (_FP_FRAC_SRL_4): Likewise.
5658         (_FP_FRAC_SRST_4): Likewise.
5659         (_FP_FRAC_SRS_4): Likewise.
5660         (_FP_UNPACK_RAW_4): Likewise.
5661         (_FP_UNPACK_RAW_4_P): Likewise.
5662         (_FP_PACK_RAW_4): Likewise.
5663         (_FP_PACK_RAW_4_P): Likewise.
5664         (_FP_MUL_MEAT_DW_4_wide): Likewise.
5665         (_FP_MUL_MEAT_4_wide): Likewise.
5666         (_FP_MUL_MEAT_4_gmp): Likewise.
5667         (umul_ppppmnnn): Likewise.
5668         (_FP_DIV_MEAT_4_udiv): Likewise.
5669         (__FP_FRAC_ADD_4): Likewise.
5670         (__FP_FRAC_SUB_3): Likewise.
5671         (__FP_FRAC_SUB_4): Likewise.
5672         (__FP_FRAC_DEC_3): Likewise.
5673         (__FP_FRAC_DEC_4): Likewise.
5674         (__FP_FRAC_ADDI_4): Likewise.
5675         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5676         (_FP_FRAC_SRL_8): Likewise.
5677         (_FP_FRAC_SRS_8): Likewise.
5678
5679         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5680         include macro name.
5681         (FP_UNPACK_RAW_EP): Likewise.
5682         (FP_PACK_RAW_E): Likewise.
5683         (FP_PACK_RAW_EP): Likewise.
5684         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5685         (_FP_ISSIGNAN): Likewise.
5686         (_FP_ADD_INTERNAL): Likewise.
5687         (_FP_FMA): Likewise.
5688         (_FP_CMP): Likewise.
5689         (_FP_SQRT): Likewise.
5690         (_FP_TO_INT): Likewise.
5691         (_FP_FROM_INT): Likewise.
5692         (FP_EXTEND): Likewise.
5693         (_FP_DIV_MEAT_N_loop): Likewise.
5694
5695 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5696
5697         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5698         throughout.
5699
5700 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5701
5702         [BZ #17097]
5703         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5704         result with correct sign in case of exponents that produce
5705         overflow except for X very close to 1.
5706
5707 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5708
5709         mktime: merge #if/#ifdef usage from glibc
5710         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5711         as that works with both Glibc's and Gnulib's style.
5712         See thread starting at Siddhesh Poyarekar's bug report at:
5713         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5714
5715 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5716
5717         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5718         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5719         * sysdeps/tile/tilegx/memmove.c: Remove file.
5720
5721 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5722
5723         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5724         abi-name definition.
5725         * scripts/soversions.awk: Do not handle or generate ABI lines.
5726         * shlib-versions: Remove ABI entries.
5727         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5728         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5729
5730 2014-06-27  Roland McGrath  <roland@hack.frob.com>
5731
5732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5733         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5734         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5735         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5736         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5737         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5738         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5739         Moved ...
5740         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5741         ... here.
5742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5743         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5744         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5745         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5746         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5747         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5748         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5749         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5751         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5753         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5755         Moved ...
5756         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5757         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5758         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5759         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5760         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5761         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5762         Moved ...
5763         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5764         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5765         Moved ...
5766         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5767         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5768         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5769         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5770         Moved ...
5771         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5772         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5773         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5774         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5775         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5776         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5777         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5778         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5779         Moved ...
5780         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5782         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5783         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5784         Moved ...
5785         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5786         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5787         Moved ...
5788         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5789         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5790         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5791         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5792         Moved ...
5793         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5794         ... here.
5795         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5796         Identical file removed.
5797         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5798         Moved ...
5799         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5800         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5801         Identical file removed.
5802         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5803         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5804         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5805         Moved ...
5806         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5807         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5808         Identical file removed.
5809         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5810         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5811         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5812         Identical file removed.
5813         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5814         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5815         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5816         Identical file removed.
5817         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5818         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5819         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5820         Identical file removed.
5821         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5822         Moved ...
5823         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5824         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5825         Identical file removed.
5826         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5827         Moved ...
5828         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5829         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5830         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5831         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5832         Identical file removed.
5833         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5834         Moved ...
5835         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5836         ... here.
5837         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5838         Identical file removed.
5839         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5840         Moved ...
5841         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5842         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5843         Identical file removed.
5844         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5845         Moved ...
5846         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5847         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5848         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5849         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5850         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5851         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5852         Moved ...
5853         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5854         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5855         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5856
5857         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5858         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5859         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5860         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5861         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5862
5863 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
5864
5865         [BZ #17092]
5866         * nscd/nscd.c (monitor_child): Return exit status of child
5867         instead of return value from wait syscall.
5868
5869 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5870
5871         * configure.ac (libc_commonpagesize): Remove variable.
5872         (libc_relro_required): Likewise.
5873         (libc_cv_z_relro): Remove configure test.
5874         * configure: Regenerated.
5875         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5876         variable.
5877         (libc_relro_required): Likewise.
5878         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5879         (libc_relro_required): Likewise.
5880         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5881         (libc_relro_required): Likewise.
5882         * sysdeps/arm/preconfigure: Regenerated.
5883         * sysdeps/ia64/preconfigure: Remove file.
5884         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5885         variable.
5886         (libc_relro_required): Likewise.
5887
5888         [BZ #16561]
5889         [BZ #16562]
5890         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5891         (__ieee754_yn): Set FE_TONEAREST mode internally and then
5892         recompute overflowing results in original rounding mode.
5893         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5894         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5895         recompute overflowing results in original rounding mode.
5896         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5897         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5898         recompute overflowing results in original rounding mode.
5899         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5900         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5901         recompute overflowing results in original rounding mode.
5902         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5903         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5904         recompute overflowing results in original rounding mode.
5905         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5906         (libc_feholdsetround_ctx): New macro.
5907         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5908         * sysdeps/i386/fpu/libm-test-ulps: Update.
5909         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5910
5911 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5912
5913         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5914         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5915         corresponding .cpsetup call.
5916
5917 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5918
5919         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5920         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5921         * sysdeps/arm/Makefile [$(subdir) = csu]
5922         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5923         (static-only-routines): Add aeabi_read_tp here.
5924         (shared-only-routines): Add libc-aeabi_read_tp here.
5925         (CFLAGS-libc-start.c): Add -fexceptions here.
5926         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5927         (sysdep_routines, static-only-routines, shared-only-routines):
5928         Don't add to these here.
5929         (CFLAGS-libc-start.c): Likewise.
5930
5931         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5932         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5933         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5934         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5935         * sysdeps/arm/Makefile [$(subdir) = rt]
5936         (librt-sysdep_routines, librt-shared-only-routines):
5937         Append rt-aeabi_unwind_cpp_pr1 here.
5938         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5939         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5940         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5941         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5942         Append nptl-aeabi_unwind_cpp_pr1 here.
5943         (tests): Filter out tst-cleanupx4 here.
5944         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5945         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5946         Don't do those here.
5947
5948 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5949
5950         * scripts/list-sources.sh: Do not handle ports specially.
5951
5952 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5953
5954         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5955         * sysdeps/arm/feupdateenv.c: Likewise.
5956
5957         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5958
5959 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5960
5961         * manual/texinfo.tex: Update to version 2014-05-05.10 with
5962         trailing whitespace removed.
5963         * scripts/config.guess: Update to version 2014-03-23.
5964         * scripts/config.sub: Update to version 2014-05-01
5965         * scripts/install-sh: Update to version 2013-12-25.23.
5966         * scripts/move-if-change: Update from gnulib.
5967
5968 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5969
5970         * debug/memmove_chk.c: Remove pagecopy.h include.
5971
5972 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
5973
5974         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
5975         identical to gnulib mktime.
5976
5977 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5978
5979         * configure.ac: Do not test for machine being rs6000.  Do not test
5980         for powerpc*-*soft.
5981         * configure: Regenerated.
5982
5983         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5984         test.
5985         * configure: Regenerated.
5986         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5987         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5988         Remove configure test.
5989         * sysdeps/arm/configure: Regenerated.
5990         * sysdeps/nptl/configure.ac: Do not check
5991         libc_cv_asm_cfi_directives.
5992         * sysdeps/nptl/configure: Regenerated.
5993         * sysdeps/x86_64/nptl/configure.ac: Remove file.
5994         * sysdeps/x86_64/nptl/configure: Remove generated file.
5995         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5996         unconditional.
5997         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5998
5999 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6000
6001         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6002         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6003         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6004         it is defined.
6005
6006         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6007         instead of whether it is defined.
6008         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6009         * sysdeps/hppa/dl-machine.h: Likewise.
6010         * sysdeps/ia64/dl-machine.h: Likewise.
6011         * sysdeps/m68k/dl-machine.h: Likewise.
6012         * sysdeps/microblaze/dl-machine.h: Likewise.
6013         * sysdeps/mips/dl-machine.: Likewise.
6014         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6015         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6016         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6017         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6018         * sysdeps/sh/dl-machine.h: Likewise.
6019         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6020         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6021         * sysdeps/tile/dl-machine.h: Likewise.
6022         * sysdeps/x86_64/dl-machine.h: Likewise.
6023
6024         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6025         code.
6026         (verify_persistent_db): Likewise.
6027
6028 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6029
6030         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6031         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6032         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6033         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6035         Moved ...
6036         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6037         ... here.
6038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6039         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6041         Identical file removed.
6042         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6043         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6045         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6047         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6048         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6049         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6051         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6052         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6053         Moved ...
6054         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6056         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6057         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6058         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6059         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6060         Moved ...
6061         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6063         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6064         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6065         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6066         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6067         Identical file removed.
6068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6069         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6070         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6071         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6073         Moved ...
6074         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6075         ... here.
6076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6077         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6079         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6081         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6082         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6083         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6084         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6085         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6086         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6087         Moved ...
6088         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6089         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6090         Moved ...
6091         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6092         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6093         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6094         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6095         Moved ...
6096         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6097         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6098         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6099
6100         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6101         folded into ...
6102         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6103         * sysdeps/unix/sysv/linux/s390/Versions
6104         (libpthread: GLIBC_2.19): New version set.
6105         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6106         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6107         (librt: GLIBC_2.3.3): New version set.
6108         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6109         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6110         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6111         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6112         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6113         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6114         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6115         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6116         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6117         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6118         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6119         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6120         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6121         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6122         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6123         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6124         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6125         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6126         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6127         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6128         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6129         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6130         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6131         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6132         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6134         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6136         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6137         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6138         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6139         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6140         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6141         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6142         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6143         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6144         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6145         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6146         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6147         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6148         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6149         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6150         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6151         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6152         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6153
6154         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6155         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6156         (__libc_vfork): Define the function under this name.
6157         [!NOT_IN_libc] (__vfork): Make this an alias.
6158         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6159         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6160         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6161         (__libc_vfork): Define the function under this name.
6162         [!NOT_IN_libc] (__vfork): Make this an alias.
6163         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6164         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6165         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6166         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6167         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6168         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6169
6170         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6171         code that was previously under [RESET_PID].
6172         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6173         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6175
6176         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6177         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6178         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6179         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6180         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6181         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6182         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6183         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
6184         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
6185         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
6186         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
6187         Moved ...
6188         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
6189         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
6190         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
6191         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
6192         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
6193         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
6194         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
6195         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
6196         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
6197         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
6198         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
6199         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
6200         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
6201         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
6202         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
6203         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
6204         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
6205         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
6206         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
6207         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
6208         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
6209         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
6210         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
6211         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
6212         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
6213         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
6214         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
6215         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
6216         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
6217
6218 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6219
6220         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
6221         that was previously under [RESET_PID].
6222         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
6223
6224 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6225
6226         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
6227         not undefine and redefine.
6228         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
6229         [O_CLOEXEC]: Make code unconditional.
6230         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
6231         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
6232         <kernel-features.h>.
6233         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
6234         conditional variable definition.
6235         (shm_open) [O_CLOEXEC]: Make code unconditional.
6236         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
6237         code.
6238
6239         * configure.ac (USE_REGPARMS): Don't define here.
6240         * configure: Regenerated.
6241         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
6242         * sysdeps/i386/configure: Regenerated.
6243
6244         * nptl/createthread.c: Don't include kernel-features.h.
6245         * nptl/pthread_cancel.c: Likewise.
6246         * nptl/pthread_condattr_setclock.c: Likewise.
6247         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
6248         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
6249         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
6250         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
6251         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
6252         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
6253         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6254         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
6255         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6256         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
6257         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
6258         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
6259         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
6260         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
6261         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
6262         * nscd/gai.c: Likewise.
6263         * nss/nss_db/db-open.c: Likewise.
6264         * sysdeps/generic/ldsodefs.h: Likewise.
6265         * sysdeps/sh/nptl/tls.h: Likewise.
6266         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6267         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
6268         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
6269         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
6270         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
6271         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6272         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
6273         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6275         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6276         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6277         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6278         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
6279         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
6280         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
6281         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
6282         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
6283         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
6284         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
6285         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6286         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6287         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6288         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
6289         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
6290         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
6291         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
6292         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
6293         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
6294         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
6295         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
6296         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
6297         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
6298         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
6299         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6300         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6301         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6302         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6303         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
6304         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
6305         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
6306         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
6307         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
6308         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
6309         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6310         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6311         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
6312         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
6313         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
6314         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
6315         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6316         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6317         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
6318         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
6319         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6320         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
6321         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6322         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6323         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
6324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
6326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
6327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
6328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
6329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
6331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
6332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
6336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
6337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
6338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
6340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
6344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
6345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6346         * sysdeps/unix/sysv/linux/pread.c: Likewise.
6347         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
6348         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
6349         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
6350         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
6351         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6352         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6353         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6354         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
6355         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6356         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
6357         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6358         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
6359         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
6360         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
6361         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
6362         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6363         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6364         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
6365         * sysdeps/unix/sysv/linux/system.c: Likewise.
6366         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
6367         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
6368         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6369         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6370         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6371         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6372         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
6373
6374         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
6375         * configure: Regenerated.
6376         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
6377
6378         * configure.ac (base_machine): Do not set specially for particular
6379         machines here.
6380         * configure: Regenerated.
6381         * sysdeps/powerpc/preconfigure: Move machine and base_machine
6382         settings from configure.ac.
6383         * sysdeps/i386/preconfigure: New file.
6384         * sysdeps/s390/preconfigure: Likewise.
6385         * sysdeps/sh/preconfigure: Likewise.
6386         * sysdeps/sparc/preconfigure: Likewise.
6387
6388 2014-06-25  Roland McGrath  <roland@hack.frob.com>
6389
6390         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
6391         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
6392         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
6393         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
6394         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
6395         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
6396         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
6397         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
6398         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
6399         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
6400         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
6401         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
6402         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
6403         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
6404         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
6405         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
6406         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
6407         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
6408         * sysdeps/sparc/sparc64/Makefile: ... appended here.
6409
6410         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
6411         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
6412         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
6413         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
6414         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
6415         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
6416         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
6417         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
6418         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
6419         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
6420         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
6421         * sysdeps/sparc/sparc32/sem_post.c: ... here.
6422         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
6423         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
6424         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
6425         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
6426         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
6427         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
6428         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
6429         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
6430         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
6431         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
6432         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
6433         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
6434         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
6435         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
6436         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
6437         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
6438         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
6439         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
6440         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
6441         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
6442         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
6443         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
6444         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
6445         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
6446         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
6447         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
6448
6449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
6450         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
6451         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
6452         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
6453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
6454         Moved ...
6455         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
6456         ... here.
6457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
6458         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
6459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
6460         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
6461         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
6462         Moved ...
6463         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
6464         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
6465         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
6466         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
6467         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
6468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
6469         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
6470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
6471         Moved ...
6472         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
6473         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
6474         Moved ...
6475         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
6476         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
6477         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
6478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
6479         Moved ...
6480         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
6481         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
6482         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
6483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
6484         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
6485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
6486         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
6487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
6488         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
6489         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
6490         Moved ...
6491         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
6492         ... here.
6493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
6494         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
6495         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
6496         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
6497         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
6498         Moved ...
6499         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
6500         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
6501         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
6502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
6503         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
6504         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
6505         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
6506         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
6507         Moved ...
6508         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
6509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
6510         Moved ...
6511         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
6512         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
6513         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
6514         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
6515         Moved ...
6516         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
6517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
6518         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
6519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
6520         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
6521
6522 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6523
6524         * timezone/checktab.awk: Update from tzcode 2014e.
6525         * timezone/private.h: Likewise.
6526         * timezone/tzfile.h: Likewise.
6527         * timezone/zdump.c: Likewise.
6528         * timezone/zic.c: Likewise.
6529
6530         * sysdeps/unix/sysv/linux/kernel-features.h
6531         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
6532         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
6533         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
6534         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
6535         Remove conditional code.
6536
6537 2014-06-25  Will Newton  <will.newton@linaro.org>
6538
6539         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
6540         (_dl_arm_cap_flags): Add HWCAP2 values.
6541         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
6542         (_DL_HWCAP_COUNT): Increase to 37.
6543         (_DL_HWCAP_LAST): New define.
6544         (_DL_HWCAP2_LAST): New define.
6545         (_dl_procinfo): Add support for printing
6546         AT_HWCAP2 entries.
6547         (_dl_string_hwcap): Use _dl_hwcap_string.
6548
6549 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6550
6551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6552
6553 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
6554
6555         * README: Do not mention ports directory.
6556
6557         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
6558         Remove macro.
6559         * sysdeps/unix/sysv/linux/futimes.c: Do not include
6560         <kernel-features.h>.
6561         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
6562         conditional variable definition.
6563         (__futimes): Update comment.
6564         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
6565         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
6566
6567         [BZ #16560]
6568         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
6569         arguments close to 0.
6570         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
6571         Likewise.
6572         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
6573         Likewise.
6574         * math/auto-libm-test-in: Add more tests of exp10.
6575         * math/auto-libm-test-out: Regenerated.
6576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6577
6578         * sysdeps/unix/sysv/linux/kernel-features.h
6579         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
6580         * sysdeps/unix/sysv/linux/readv.c: Do not include
6581         <kernel-features.h>.
6582         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6583         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6584         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6585         unconditional.
6586         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6587         conditional code.
6588         * sysdeps/unix/sysv/linux/writev.c: Do not include
6589         <kernel-features.h>.
6590         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
6591         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
6592         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
6593         unconditional.
6594         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
6595         conditional code.
6596
6597 2014-06-25  Will Newton  <will.newton@linaro.org>
6598
6599         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
6600         comment changes throughout the file.  Remove checks
6601         for HAVE_*_H definitions that are not required.
6602         (__gen_tempname): Call abort if an unknown kind value is
6603         passed.
6604
6605 2014-06-25  Andreas Schwab  <schwab@suse.de>
6606
6607         [BZ #17086]
6608         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
6609         scalbln, scalblnf, scalblnl in libc.
6610
6611 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6612
6613         [BZ #17086]
6614         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6615         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6616         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6617
6618 2014-06-24  Roland McGrath  <roland@hack.frob.com>
6619
6620         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6621         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6622         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6623         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6624         Update #include.
6625         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6626         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6627         Update #include.
6628         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6629         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6630         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6631         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6632         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6633         * sysdeps/x86/bits/pthreadtypes.h: ... here.
6634         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6635         * sysdeps/x86/bits/semaphore.h: ... here.
6636         * sysdeps/x86/nptl/elide.h: Moved ...
6637         * sysdeps/x86/elide.h: ... here.
6638         * sysdeps/x86_64/nptl/Implies: File removed.
6639         * sysdeps/i386/nptl/Implies: File removed.
6640
6641 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
6642
6643         [BZ #16539]
6644         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6645         return the argument for normal arguments with exponent below -64.
6646         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6647         Likewise.
6648         * math/auto-libm-test-in: Add another test of expm1.
6649         * math/auto-libm-test-out: Regenerated.
6650
6651         [BZ #16287]
6652         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6653         calling __erfcl for arguments at least 16.
6654         * math/auto-libm-test-in: Add more tests of erf.
6655         * math/auto-libm-test-out: Regenerated.
6656
6657         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6658         individual architectures.
6659         * sysdeps/unix/sysv/linux/configure: Regenerated.
6660         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6661         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6662         * sysdeps/unix/sysv/linux/powerpc/configure.ac
6663         (ldd_rewrite_script): Define variable.
6664         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6666         file.
6667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6668         generated file.
6669         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6670         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6671         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6672         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6673         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6674         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6675         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6676         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6677
6678 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6679
6680         [BZ #17084]
6681         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6682         Rename member __data.d to __data.__elision_data.
6683
6684 2014-06-24  Wilco  <wdijkstr@arm.com>
6685
6686         * NEWS: Add 16918 to fixed bug list.
6687
6688 2014-06-24  Wilco  <wdijkstr@arm.com>
6689
6690         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6691
6692 2014-06-24  Wilco  <wdijkstr@arm.com>
6693
6694         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6695         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6696         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6697         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6698         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6699         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6700         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6701         Use _FPU_MASK_RM.
6702
6703 2014-06-24  Wilco  <wdijkstr@arm.com>
6704
6705         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6706
6707 2014-06-24  Wilco  <wdijkstr@arm.com>
6708
6709         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6710         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6711         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6712         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6713
6714 2014-06-24  Wilco  <wdijkstr@arm.com>
6715
6716         [BZ #16918]
6717         * sysdeps/arm/feupdateenv.c (feupdateenv):
6718         Rewrite to reduce FPSCR accesses and fix return value.
6719
6720 2014-06-24  Wilco  <wdijkstr@arm.com>
6721
6722         * sysdeps/arm/fclrexcpt.c (feclearexcept):
6723         Optimize to avoid unnecessary FPSCR writes.
6724         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6725         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6726         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6727         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6728
6729 2014-06-24  Wilco  <wdijkstr@arm.com>
6730
6731         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6732         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6733         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6734         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6735         Call libc_fetestexcept_vfp.
6736         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6737         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6738         __SOFTFP__ ifdef so that they can be built for softfp.
6739
6740 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6741
6742         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6743         argument type signed char.
6744
6745         * Makerules (check-abi): Dump diff of symlist if the test
6746         fails.
6747
6748 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6749
6750         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6751         using abort.
6752
6753         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6754         Remove unused variable ST.
6755
6756 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6757
6758         [BZ #16354]
6759         [BZ #17061]
6760         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6761         small arguments before calling __expm1.
6762         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6763         small arguments before calling __expm1f.
6764         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6765         small arguments before calling __expm1l.
6766         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6767         Likewise.
6768         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6769         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
6770         spurious underflow for some cosh tests.
6771         * math/auto-libm-test-out: Regenerated.
6772         * sysdeps/i386/fpu/libm-test-ulps: Update.
6773
6774         [BZ #17050]
6775         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6776         (__ieee754_y1): Set errno if return value overflows.
6777         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6778         (__ieee754_y1f): Set errno if return value overflows.
6779         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6780         (__ieee754_y1l): Set errno if return value overflows.
6781         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6782         (__ieee754_y1l): Set errno if return value overflows.
6783         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6784         * math/auto-libm-test-out: Regenerated.
6785
6786         * math/gen-auto-libm-tests.c: Document use of
6787         ignore-zero-inf-sign.
6788         (input_flag_type): Add value flag_ignore_zero_inf_sign.
6789         (input_flags): Add ignore-zero-inf-sign.
6790         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6791         * math/gen-libm-test.pl (generate_testfile): Handle
6792         ignore-zero-inf-sign.
6793         * math/auto-libm-test-in: Mark some cpow tests with
6794         ignore-zero-inf-sign and some with xfail-rounding.
6795         * math/auto-libm-test-out: Regenerated.
6796         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6797         * sysdeps/i386/fpu/libm-test-ulps: Update.
6798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6799
6800         [BZ #16315]
6801         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6802         overflowing or underflowing operations take place with sign of
6803         result.
6804         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6805         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6806         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6807         (__ieee754_pow): Recompute overflowing and underflowing results in
6808         original rounding mode.
6809         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6810         (__powl_helper): Allow negative argument X and scale negated value
6811         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
6812         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6813         overflowing or underflowing operations take place with sign of
6814         result.
6815         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6816         Include <math.h>.
6817         * math/auto-libm-test-in: Add more tests of pow.
6818         * math/auto-libm-test-out: Regenerated.
6819         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6820         (pow_tonearest_test_data): Remove.
6821         (pow_test_tonearest): Likewise.
6822         (pow_towardzero_test_data): Likewise.
6823         (pow_test_towardzero): Likewise.
6824         (pow_downward_test_data): Likewise.
6825         (pow_test_downward): Likewise.
6826         (pow_upward_test_data): Likewise.
6827         (pow_test_upward): Likewise.
6828         (main): Don't call removed functions.
6829         * sysdeps/i386/fpu/libm-test-ulps: Update.
6830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6831
6832 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6833
6834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6835         Moved ...
6836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6838         Moved ...
6839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6841         Moved ...
6842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6844         Moved ...
6845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6847         File removed.
6848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6849         File removed.
6850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6851         File removed.
6852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6853         File removed.
6854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6855         File removed.
6856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6857         File removed.
6858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6859         File removed.
6860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6861         File removed.
6862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6863         File removed.
6864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6865         File removed.
6866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6867         File removed.
6868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6869         File removed.
6870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6871         Moved ...
6872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6874         Moved ...
6875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6876         ... here.
6877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6878         Moved ...
6879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6881         Moved ...
6882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6884         Moved ...
6885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6887         Moved ...
6888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6890         Moved ...
6891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6893         Moved ...
6894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6896         Moved ...
6897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6900         ... here.
6901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6902         Moved ...
6903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6905         Moved ...
6906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6907         ... here.
6908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6909         Moved ...
6910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6911         ... here.
6912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6913         Moved ...
6914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6915         ... here.
6916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6917         Moved ...
6918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6920         Moved ...
6921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6925         Moved ...
6926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6927         ... here.
6928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6929         Moved ...
6930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6931         ... here.
6932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6933         Moved ...
6934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6936         Moved ...
6937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6939         Moved ...
6940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6942         Moved ...
6943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6945         Moved ...
6946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6947         ... here.
6948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6949         Moved ...
6950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6952         Moved ...
6953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6955         Moved ...
6956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6958         Moved ...
6959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6963         Moved ...
6964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6966         Moved ...
6967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6969         Moved ...
6970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6971         ... here.
6972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6973         Moved ...
6974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6975         ... here.
6976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6977         Moved ...
6978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6979         ... here.
6980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6981         Moved ...
6982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6984         Moved ...
6985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6987         Moved ...
6988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6990         Moved ...
6991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6992         ... here.
6993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6994         Moved ...
6995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6996         ... here.
6997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6998         Moved ...
6999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7000         ... here.
7001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7002         Moved ...
7003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7005         Moved ...
7006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7007
7008 2014-06-23  Will Newton  <will.newton@linaro.org>
7009             Wilco  <wdijkstr@arm.com>
7010
7011         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7012         implementation.  Include get-rounding-mode.h.
7013         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7014         [!libc_feholdsetround_noex_ctx]: Define
7015         libc_feholdsetround_noex_ctx.
7016         [!libc_feholdsetround_noexf_ctx]: Define
7017         libc_feholdsetround_noexf_ctx.
7018         [!libc_feholdsetround_noexl_ctx]: Define
7019         libc_feholdsetround_noexl_ctx.
7020         (libc_feholdsetround_ctx): New function.
7021         (libc_feresetround_ctx): New function.
7022         (libc_feholdsetround_noex_ctx): New function.
7023         (libc_feresetround_noex_ctx): New function.
7024
7025 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7026
7027         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7028         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7029         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7030         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7031         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7032         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7033
7034         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7035         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7036         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7037         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7038         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7039         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7040         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7041         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7042         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7043         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7044         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7045         Moved ...
7046         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7047         ... here.
7048         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7049         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7050         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7051         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7052         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7053         Moved ...
7054         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7055         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7056         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7057         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7058         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7059         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7060         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7061         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7062         Moved ...
7063         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7064         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7065         Moved ...
7066         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7067         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7068         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7069         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7070         Moved ...
7071         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7072         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7073         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7074         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7075         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7076         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7077         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7078         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7079         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7080         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7081         Moved ...
7082         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7083         ... here.
7084         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7085         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7086         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7087         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7088         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7089         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7090         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7091         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7092         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7093         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7094         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7095         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7096         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7097         Moved ...
7098         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7099         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7100         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7101         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7102         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7103         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7104         Moved ...
7105         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7106         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7107         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7108         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7109         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7110
7111         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7112         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7113         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7114         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7115         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7116         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7117         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7118         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7119         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7120         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7121         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7122         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7123         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7124         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7125         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7126         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7127         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7128         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7129         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7130         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7131         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7132         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7133         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7134         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7135         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7136         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7137         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7138         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7139
7140 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7141
7142         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7143         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7144         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7145         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7146         (IPV6_PMTUDISC_INTERFACE): Likewise.
7147         (IPV6_PMTUDISC_OMIT): Likewise.
7148
7149 2014-06-23  Andreas Schwab  <schwab@suse.de>
7150
7151         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7152         Remove unused errout label.
7153
7154 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7155
7156         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7157         macro: hardware supports Vector Crypto instructions.
7158
7159 2014-06-23  Will Newton  <will.newton@linaro.org>
7160
7161         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7162         rather than __builtin_expect.
7163
7164         * elf/dl-lookup.c (undefined_msg): Remove variable.
7165         (_dl_lookup_symbol_x): Replace undefined_msg with string
7166         literal.
7167
7168         * elf/dl-lookup.c (do_lookup_unique): New function.
7169         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7170         to a separate function.
7171
7172 2014-06-23  Andreas Schwab  <schwab@suse.de>
7173
7174         [BZ #17079]
7175         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7176         before reading the next line.
7177
7178 2014-06-23  Will Newton  <will.newton@linaro.org>
7179
7180         * test-skeleton.c (signal_handler): Use printf and %m
7181         rather than perror.  Use printf rather than fprintf to
7182         stderr.  Use puts rather than fputs to stderr.
7183         (main): Likewise.
7184
7185 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
7186
7187         * nscd/nscd.c (thread_info_t): Remove typedef.
7188         (thread_info): Remove variable.
7189
7190 2014-06-21  Allan McRae  <allan@archlinux.org>
7191
7192         * NEWS: Mention CVE-2014-4043.
7193
7194 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7195
7196         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
7197         * nptl/smp.h: ... here.
7198
7199         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
7200
7201         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
7202         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
7203         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
7204         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
7205
7206         * nptl/allocatestack.c: Include <stack-aliasing.h>.
7207         * nptl/stack-aliasing.h: New file.
7208         * sysdeps/i386/i686/stack-aliasing.h: New file.
7209         * sysdeps/i386/i686/nptl/Makefile: File removed.
7210         * sysdeps/x86_64/stack-aliasing.h: New file.
7211         * sysdeps/x86_64/nptl/Makefile
7212         (CFLAGS-pthread_create.c): Variable removed.
7213
7214         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
7215         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
7216         old file.
7217         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
7218         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
7219         old file.
7220
7221 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
7222
7223         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7224         (__ASSUME_SIGFRAME_V2): Remove macro.
7225         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
7226         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
7227         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
7228         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
7229         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
7230         Declare as function.  Remove conditional macro definitions.
7231         (__default_rt_sa_restorer): Likewise.
7232         (__default_sa_restorer_v1): Remove declaration.
7233         (__default_sa_restorer_v2): Likewise.
7234         (__default_rt_sa_restorer_v1): Likewise.
7235         (__default_rt_sa_restorer_v2): Likewise.
7236         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
7237         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
7238         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
7239
7240 2014-06-20  Roland McGrath  <roland@hack.frob.com>
7241
7242         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
7243         (libpthread-routines): Add sysdep.
7244         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
7245         * sysdeps/unix/sysv/linux/sparc/Versions
7246         (libpthread: GLIBC_2.3.3): New version set.
7247         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
7248         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
7249         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
7250         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
7251         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
7252         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
7253         Moved ...
7254         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
7255         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
7256         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
7257         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
7258         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
7259         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
7260         * sysdeps/sparc/nptl/sem_init.c: ... here.
7261         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
7262         * sysdeps/sparc/nptl/sem_post.c: ... here.
7263         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
7264         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
7265         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
7266         * sysdeps/sparc/nptl/sem_wait.c: ... here.
7267         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
7268         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
7269         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
7270         (libpthread-routines): Add cpu_relax.
7271         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
7272         File removed.
7273         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
7274         (librt: GLIBC_2.3.3): New version set.
7275         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
7276         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
7277         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
7278         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
7279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
7280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
7281         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
7282         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
7283         Moved ...
7284         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
7285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
7286         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
7287         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
7288         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
7289         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
7290         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
7291         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
7292         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
7293         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
7294         Moved ...
7295         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
7296         Update #include.
7297         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
7298         Moved ...
7299         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
7300         Update #include.
7301         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
7302         Moved ...
7303         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
7304         Update #include.
7305         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
7306         Moved ...
7307         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
7308         Update #include.
7309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
7310         Moved ...
7311         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
7312         Update #include.
7313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
7314         Moved ...
7315         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
7316         Update #include.
7317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
7318         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
7319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
7320         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
7321         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
7322         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
7323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
7324         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
7325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
7326         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
7327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
7328         Moved ...
7329         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
7330         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
7331         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
7332         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
7333         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
7334
7335 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7336
7337         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
7338         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
7339         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7340         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
7341         * nscd/nscd.c: Likewise.
7342         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
7343         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
7344         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
7345         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
7346
7347         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
7348         <kernel-features.h>.
7349         (init_mq_netlink): Remove conditional have_sock_cloexec
7350         definitions.  Remove code conditional on have_sock_cloexec < 0.
7351         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
7352         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
7353         * sysdeps/unix/sysv/linux/opensock.c: Do not include
7354         <kernel-features.h>.
7355         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
7356         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
7357
7358 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7359
7360         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7361         Add tests for memset_chk and memset.
7362
7363         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
7364         with AVX2_Usable.
7365
7366 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7367
7368         [BZ #16046]
7369         * elf/tst-dl-iter-static.c: New file.
7370         * elf/Makefile (tests-static): Add tst-dl-iter-static.
7371
7372         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
7373         error.
7374
7375 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7376
7377         * sysdeps/unix/sysv/linux/kernel-features.h
7378         (__ASSUME_F_GETOWN_EX): Remove macro.
7379         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
7380         <kernel-features.h>.
7381         (miss_F_GETOWN_EX): Remove variable or macro.
7382         (do_fcntl): Do not check miss_F_GETOWN_EX.
7383         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
7384
7385         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
7386         Remove macro.
7387         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
7388         [!__ASSUME_AT_RANDOM]: Remove conditional code.
7389         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
7390
7391         * sysdeps/unix/sysv/linux/kernel-features.h
7392         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
7393         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
7394         [ADJ_OFFSET_SS_READ]: Make code unconditional.
7395         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
7396
7397 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
7398
7399         [BZ #17075]
7400         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
7401         Fix calculation of the symbol's value.
7402         * sysdeps/arm/tst-armtlsdescloc.c: New file.
7403         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
7404         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
7405         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
7406         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
7407         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
7408         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
7409         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
7410         (modules-names): Add `tst-armtlsdescmod',
7411         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
7412         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
7413         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7414         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
7415         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
7416         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
7417         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
7418         ($(objpfx)tst-armtlsdescloc): New dependency.
7419         ($(objpfx)tst-armtlsdescextnow): Likewise.
7420         ($(objpfx)tst-armtlsdescextlazy): Likewise.
7421         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
7422         TLS scheme support.
7423         * sysdeps/arm/configure: Regenerate.
7424
7425 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
7426
7427         * include/fcntl.h (__atfct_seterrno): Remove prototype.
7428         (__atfct_seterrno_2): Likewise.
7429         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
7430         <kernel-features.h>.
7431         (__ASSUME_ATFCTS): Do not undefine and redefine.
7432         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
7433         (__have_atfcts): Remove conditional definition.
7434         (__fxstatat([__NR_fstatat64]: Make code unconditional.
7435         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
7436         unreachable if [__ASSUME_ATFCTS].
7437         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
7438         not undefine and redefine.
7439         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
7440         <kernel-features.h>.
7441         (faccessat) [__NR_faccessat]: Make code unconditional.
7442         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
7443         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
7444         <kernel-features.h>.
7445         (fchmodat) [__NR_fchmodat]: Make code unconditional.
7446         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7447         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
7448         <kernel-features.h>.
7449         (fchownat) [__NR_fchownat]: Make code unconditional.
7450         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
7451         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
7452         <kernel-features.h>.
7453         (futimesat) [__NR_futimesat]: Make code unconditional.
7454         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
7455         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7456         <kernel-features.h>.
7457         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7458         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7459         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7460         <kernel-features.h>.
7461         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
7462         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7463         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
7464         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7465         <kernel-features.h>.
7466         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
7467         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7468         * sysdeps/unix/sysv/linux/linkat.c: Do not include
7469         <kernel-features.h>.
7470         (linkat) [__NR_linkat]: Make code unconditional.
7471         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7472         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
7473         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
7474         <kernel-features.h>.
7475         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
7476         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
7477         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
7478         <kernel-features.h>.
7479         (mkdirat) [__NR_mkdirat]: Make code unconditional.
7480         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
7481         * sysdeps/unix/sysv/linux/openat.c: Do not include
7482         <kernel-features.h>.
7483         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
7484         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
7485         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
7486         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
7487         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
7488         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
7489         <kernel-features.h>.
7490         (readlinkat) [__NR_readlinkat]: Make code unconditional.
7491         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
7492         result of INLINE_SYSCALL directly, not via int variable.
7493         * sysdeps/unix/sysv/linux/renameat.c: Do not include
7494         <kernel-features.h>.
7495         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
7496         (renameat) [__NR_renameat]: Make code unconditional.
7497         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
7498         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
7499         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
7500         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
7501         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
7502         (__ASSUME_ATFCTS): Do not undefine and redefine.
7503         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
7504         <kernel-features.h>.
7505         (symlinkat) [__NR_symlinkat]: Make code unconditional.
7506         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7507         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
7508         <kernel-features.h>.
7509         (unlinkat) [__NR_unlinkat]: Make code unconditional.
7510         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
7511         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
7512         (__ASSUME_ATFCTS): Do not undefine and redefine.
7513         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7514         <kernel-features.h>.
7515         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
7516         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
7517         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7518         <kernel-features.h>.
7519         (__xmknodat) [__NR_mknodat]: Make code unconditional.
7520         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
7521
7522 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
7523
7524         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
7525
7526 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
7527
7528         [BZ #17069]
7529         * posix/regcomp.c (parse_reg_exp): Deallocate partially
7530         constructed tree before returning error.
7531         * posix/bug-regexp36.c: Expand test case.
7532
7533 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7534
7535         [BZ #6803]
7536         * math/libm-test.inc (scalbln_test_date):
7537         Add errno expectations.
7538         * math/w_scalblnf.c: New File.
7539         Add wrapper which checks for setting errno to ERANGE.
7540         Add weak_alias for corresponding scalbln function.
7541         * math/w_scalbln.c: Likewise.
7542         * math/w_scalblnl.c: Likewise.
7543         * math/Makefile (libm-calls): Add w_scalbln.
7544         * sysdeps/ieee754/flt-32/s_scalblnf.c:
7545         Remove weak_alias for corresponding scalbln function.
7546         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7547         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7548         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7549         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7550         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
7551         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7552         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
7553         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7554         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
7555         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
7556         Remove long_double_symbol for scalblnl function in libm, libc.
7557         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
7558         Add wrapper which checks for setting errno to ERANGE.
7559         Add long_double_symbol for scalblnl function in libm, libc.
7560         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
7561         Remove long_double_symbol for scalblnl in libm.
7562         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
7563         Add wrapper which checks for setting errno to ERANGE.
7564         Add long_double_symbol for scalblnl function in libm.
7565         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
7566         Do not use wrapper because of own implementation.
7567
7568 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
7569
7570         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
7571         3 bytes for __pad1 for x32.
7572         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
7573
7574 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
7575             H.J. Lu  <hongjiu.lu@intel.com>
7576
7577         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
7578         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
7579         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7580         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7581         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
7582
7583 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
7584
7585         [BZ #17069]
7586         * posix/regcomp.c (parse_expression): Deallocate partially
7587         constructed tree before returning error.
7588         * posix/Makefile.c (tests): Add bug-regex36.
7589         (generated): Add bug-regex36.mtrace.
7590         (tests-special): Add $(objpfx)bug-regex36-mem.out
7591         (bug-regex36-ENV): New variable.
7592         ($(objpfx)bug-regex36-mem.out): New rule.
7593         * posix/bug-regex36.c: New file.
7594
7595 2014-06-19  Will Newton  <will.newton@linaro.org>
7596
7597         * malloc/malloc.c (systrim): If extra is zero then return
7598         early.
7599
7600 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
7601
7602         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
7603
7604 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
7605
7606         * sysdeps/aarch64/strchr.S: New file.
7607
7608 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7609
7610         [BZ #17022]
7611         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
7612         from arguments -2 or below.
7613         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7614         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7615
7616 2014-06-18  Andreas Schwab  <schwab@suse.de>
7617
7618         [BZ #17062]
7619         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7620         of a bracket expr not to run off the end of the string.
7621         * posix/Makefile (tests): Add tst-fnmatch3.
7622         * posix/tst-fnmatch3.c: New file.
7623
7624 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7625
7626         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7627         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7628         [$(cross-compiling) = no]: Likewise.
7629         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7630         [$(cross-compiling) = no]: Likewise.
7631
7632 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7633
7634         [BZ #17031]
7635         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7636         double, adjusted for any remainder from the high double.
7637         * math/libm-test.inc (nearbyint): Add tests.
7638         (rint): Likewise.
7639
7640 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7641
7642         * nptl/sysdeps/powerpc/Makefile: Moved ...
7643         * sysdeps/powerpc/nptl/Makefile: ... here.
7644         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7645         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7646         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7647         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7648         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7649         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7650         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7651         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7652         * nptl/sysdeps/powerpc/tls.h: Moved ...
7653         * sysdeps/powerpc/nptl/tls.h: ... here.
7654
7655 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
7656
7657         [BZ #16681]
7658         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7659         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7660         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7661         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7662         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7663         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7664         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7665         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7666         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7667
7668 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
7669
7670         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7671
7672 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
7673
7674         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7675         defined operator.
7676
7677         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7678         $TIMEOUTFACTOR.
7679
7680 2014-06-16  Florian Weimer  <fweimer@redhat.com>
7681
7682         [BZ #17058]
7683         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7684         non-executed part of the test.
7685
7686 2014-06-16  Andreas Schwab  <schwab@suse.de>
7687
7688         * string/bits/string2.h (strdup, strndup): Update feature guard.
7689
7690 2014-06-14  David S. Miller  <davem@davemloft.net>
7691
7692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7693
7694 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7695
7696         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7697         that was previously under [RESET_PID].
7698         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7699
7700         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7701         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7702         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7703         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7704         (__libc_vfork): New strong alias.
7705         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7706
7707 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7708
7709         * sysdeps/generic/elide.h: New file.
7710
7711 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7712
7713         * Makefile (installed-headers): Adjust path of pthread.h header.
7714
7715 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7716
7717         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7718         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7719         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7720         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7721
7722         * nptl/sysdeps/s390/Makefile: Moved ...
7723         * sysdeps/s390/nptl/Makefile: ... here.
7724         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7725         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7726         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7727         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7728         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7729         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7730         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7731         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7732         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7733         * sysdeps/s390/nptl/pthreaddef.h: ... here.
7734         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7735         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7736         * nptl/sysdeps/s390/tls.h: Moved ...
7737         * sysdeps/s390/nptl/tls.h: ... here.
7738
7739         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7740         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7741
7742 2014-06-13  David S. Miller  <davem@davemloft.net>
7743
7744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7745         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7746         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7747         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7748         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7749         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7750         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7751         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7752         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7753         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7754         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7755         Remove RESET_PID cpp guards.
7756         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7757         Remove RESET_PID cpp guards.
7758         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7759
7760 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
7761
7762         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7763         __sp to uintptr_t.
7764
7765 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7766
7767         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7768         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7769         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7770         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7771         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7772         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7773         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7774         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7775         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7776         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7777         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7778         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7779         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7780         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7781         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7782         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7783         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7784         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7785         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7786         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7787
7788         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7789         (pthread_rwlock_rdlock): Add elision.
7790         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7791         (pthread_rwlock_wrlock): Add elision.
7792         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7793         (pthread_rwlock_trywrlock): Add elision.
7794         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7795         (pthread_rwlock_tryrdlock): Add elision.
7796         * nptl/pthread_rwlock_unlock.c: Include elide.h.
7797         (pthread_rwlock_tryrdlock): Add elision unlock.
7798         * nptl/sysdeps/pthread/pthread.h:
7799         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7800         (PTHREAD_RWLOCK_INITIALIZER,
7801         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7802         Handle new elision field.
7803         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7804         * sysdeps/arm/nptl/bits/pthreadtypes.h
7805         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7806         * sysdeps/sh/nptl/bits/pthreadtypes.h
7807         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7808         * sysdeps/tile/nptl/bits/pthreadtypes.h
7809         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7810         * sysdeps/a/nptl/bits/pthreadtypes.h
7811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7812         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7813         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7814         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7815         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7816         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7817         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7818         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7819         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7820         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7821         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7822         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7823         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7824         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7825         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7826         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7827         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7828         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7829         (elision_init): Set try_xbegin to zero when no RTM.
7830         * sysdeps/x86/nptl/bits/pthreadtypes.h
7831         (pthread_rwlock_t): Change __pad1 to __rwelision.
7832         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7833
7834 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7835
7836         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7837         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7838         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7839         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7840
7841 2014-06-13  Meador Inge  <meadori@codesourcery.com>
7842
7843         [BZ #16996]
7844         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7845         that the cached result has been set before returning it.
7846
7847 2014-06-12  Roland McGrath  <roland@hack.frob.com>
7848
7849         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7850         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7851         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7852         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7853         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7854         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7855
7856         * nptl/sysdeps/sparc/Makefile: Moved ...
7857         * sysdeps/sparc/nptl/Makefile: ... here.
7858         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7859         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7860         * nptl/sysdeps/sparc/tls.h: Moved ...
7861         * sysdeps/sparc/nptl/tls.h: ... here.
7862         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7863         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7864         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7865         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7866         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7867         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7868         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7869         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7870         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7871         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7872         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7873         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7874         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7875         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7876         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7877         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7878         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7879         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7880         Update #include.
7881         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7882         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7883         Update #include.
7884         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7885         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7886         Update #include.
7887         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7888         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7889         Update #include.
7890
7891         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7892
7893         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7894         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7895
7896         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7897         (struct list_links): Type removed.
7898         (struct thread_node, struct timer_node): Replace struct list_links
7899         with struct list_head.
7900         (list_unlink_ip): Likewise.
7901         * sysdeps/pthread/timer_routines.c
7902         (timer_free_list, thread_free_list, thread_active_list): Likewise.
7903         (list_append, list_insbefore): Likewise.
7904         (list_init): Function removed.
7905         (thread_init, init_module): Use INIT_LIST_HEAD instead.
7906         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7907         * sysdeps/pthread/Makefile: ... here, new file.
7908
7909         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7910         * sysdeps/nptl/Implies: ... here.
7911         * sysdeps/unix/sysv/linux/Implies: Add nptl.
7912         * nptl/sysdeps/pthread/list.h: Moved ...
7913         * include/list.h: ... here.
7914         * nptl/sysdeps/pthread/createthread.c: Moved ...
7915         * nptl/createthread.c: ... here.
7916         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7917         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7918         * nptl/pt-longjmp.c: ... here.
7919         * nptl/sysdeps/pthread/Makefile: Moved ...
7920         * sysdeps/nptl/Makefile: ... here.
7921         * nptl/sysdeps/pthread/Subdirs: Moved ...
7922         * sysdeps/nptl/Subdirs: ... here.
7923         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7924         * sysdeps/nptl/aio_misc.h: ... here.
7925         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7926         * sysdeps/nptl/bits/libc-lock.h: ... here.
7927         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7928         * sysdeps/nptl/bits/libc-lockP.h: ... here.
7929         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7930         * sysdeps/nptl/bits/stdio-lock.h: ... here.
7931         * nptl/sysdeps/pthread/configure: Moved ...
7932         * sysdeps/nptl/configure: ... here.
7933         * nptl/sysdeps/pthread/configure.ac: Moved ...
7934         * sysdeps/nptl/configure.ac: ... here.
7935         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7936         * sysdeps/nptl/gai_misc.h: ... here.
7937         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7938         * sysdeps/nptl/librt-cancellation.c: ... here.
7939         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7940         * sysdeps/nptl/malloc-machine.h: ... here.
7941         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7942         * sysdeps/nptl/pthread-functions.h: ... here.
7943         * nptl/sysdeps/pthread/pthread.h: Moved ...
7944         * sysdeps/nptl/pthread.h: ... here.
7945         * nptl/sysdeps/pthread/setxid.h: Moved ...
7946         * sysdeps/nptl/setxid.h: ... here.
7947         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7948         * sysdeps/nptl/sigfillset.c: ... here.
7949         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7950         * sysdeps/nptl/tcb-offsets.h: ... here.
7951         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7952         * sysdeps/nptl/tst-mqueue8x.c: ... here.
7953         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7954         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7955         * nptl/sysdeps/pthread/allocalim.h: Moved ...
7956         * sysdeps/pthread/allocalim.h: ... here.
7957         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7958         * sysdeps/pthread/bits/sigthread.h: ... here.
7959         * nptl/sysdeps/pthread/flockfile.c: Moved ...
7960         * sysdeps/pthread/flockfile.c: ... here.
7961         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7962         * sysdeps/pthread/ftrylockfile.c: ... here.
7963         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7964         * sysdeps/pthread/funlockfile.c: ... here.
7965         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7966         * sysdeps/pthread/posix-timer.h: ... here.
7967         * nptl/sysdeps/pthread/timer_create.c: Moved ...
7968         * sysdeps/pthread/timer_create.c: ... here.
7969         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7970         * sysdeps/pthread/timer_delete.c: ... here.
7971         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7972         * sysdeps/pthread/timer_getoverr.c: ... here.
7973         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7974         * sysdeps/pthread/timer_gettime.c: ... here.
7975         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7976         * sysdeps/pthread/timer_routines.c: ... here.
7977         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7978         * sysdeps/pthread/timer_settime.c: ... here.
7979         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7980         * sysdeps/pthread/tst-timer.c: ... here.
7981         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7982         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7983
7984         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7985         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7986
7987         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7988         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7989         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7990         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7991         Update #include target.
7992         * nptl/sysdeps/i386/i686/Makefile: Moved ...
7993         * sysdeps/i386/i686/nptl/Makefile: ... here.
7994         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7995         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7996         Update #include target.
7997         * nptl/sysdeps/i386/i686/tls.h: Moved ...
7998         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
7999         * nptl/sysdeps/i386/Makefile: Moved ...
8000         * sysdeps/i386/nptl/Makefile: ... here.
8001         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8002         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8003         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8004         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8005         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8006         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8007         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8008         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8009         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8010         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8011         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8012         * nptl/sysdeps/i386/tls.h: Moved ...
8013         * sysdeps/i386/nptl/tls.h: ... here.
8014
8015         * sysdeps/sh/Makefile [$(subdir) = csu]
8016         (gen-as-const-headers): Add tcb-offsets.sym.
8017         * nptl/sysdeps/sh/Makefile: File removed.
8018         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8019         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8020         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8021         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8022         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8023         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8024         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8025         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8026         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8027         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8028         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8029         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8030         * nptl/sysdeps/sh/tls.h: Moved ...
8031         * sysdeps/sh/nptl/tls.h: ... here.
8032         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8033         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8034         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8035         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8036         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8037         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8038         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8039         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8040         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8041         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8042         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8043         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8044         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8045         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8046         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8047         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8048         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8049         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8050         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8051         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8052         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8053         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8054         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8055         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8056         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8057         Moved ...
8058         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8059         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8060         Moved ...
8061         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8062         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8063         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8064         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8065         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8066         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8067         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8068         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8069         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8070         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8071         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8072         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8073         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8074         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8075         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8076         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8077         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8078         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8079         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8080
8081 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8082
8083         * posix/spawn_faction_addopen.c: Include string.h.
8084
8085 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8086
8087         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8088         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8089         * nptl/sysdeps/x86_64/Makefile: Moved ...
8090         * sysdeps/x86_64/nptl/Makefile: ... here.
8091         * nptl/sysdeps/x86_64/configure: Moved ...
8092         * sysdeps/x86_64/nptl/configure: ... here.
8093         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8094         * sysdeps/x86_64/nptl/configure.ac: ... here.
8095         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8096         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8097         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8098         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8099         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8100         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8101         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8102         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8103         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8104         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8105         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8106         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8107         * nptl/sysdeps/x86_64/tls.h: Moved ...
8108         * sysdeps/x86_64/nptl/tls.h: ... here.
8109         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8110         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8111         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8112         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8113
8114         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8115
8116 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8117
8118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8119
8120 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8121
8122         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8123         type.
8124         [POSIX] (off_t): Likewise.
8125         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8126         [POSIX] (S_ISBLK): Require macro.
8127         [POSIX] (S_ISCHR): Likewise.
8128         [POSIX] (S_ISDIR): Likewise.
8129         [POSIX] (S_ISFIFO): Likewise.
8130         [POSIX] (S_ISREG): Likewise.
8131         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8132         optional-macro.
8133         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8134         type.
8135         [POSIX] (time_t): Likewise.
8136         [POSIX] (timer_t): Likewise.
8137
8138 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8139
8140         [BZ #17048]
8141         * posix/spawn_int.h (struct __spawn_action): Make the path string
8142         non-const to support deallocation.
8143         * posix/spawn_faction_addopen.c
8144         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8145         * posix/spawn_faction_destroy.c
8146         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8147         path in all spawn_do_open actions.
8148         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8149         posix_spawn_file_actions_addopen.
8150
8151 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8152
8153         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8154         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8155         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8156         conditional code always true.
8157         (__libc_vfork): New alias.
8158
8159 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8160
8161         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8162         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8163
8164         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8165
8166         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8167         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8168
8169         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8170         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8171
8172         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8173         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8174
8175 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8176
8177         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8178         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8179         multiarch strcmp for PPC64.
8180         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8181         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8182         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8183         multiarch optimizations.
8184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8185         (__libc_ifunc_impl_list): Likewise.
8186
8187 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8188
8189         * benchtests/scripts/validate_benchout.py: New script.
8190         * benchtests/Makefile (bench-func): Call it.
8191         * benchtests/scripts/benchout.schema.json: New file.
8192
8193 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
8194
8195         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
8196         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
8197         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
8198         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
8199         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
8200         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
8201         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
8202         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
8203         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
8204         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
8205         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
8206         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
8207         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
8208         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
8209         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
8210         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
8211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
8212         Moved ...
8213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
8214         ... here.
8215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
8216         Moved ...
8217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
8218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
8219         Moved ...
8220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
8221         ... here.
8222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
8223         Moved ...
8224         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
8225         ... here.
8226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
8227         Moved ...
8228         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
8229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
8230         Moved ...
8231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
8232         ... here.
8233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
8234         Moved ...
8235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
8236         ... here.
8237         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
8238         Moved ...
8239         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
8240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
8241         Moved ...
8242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
8243         ... here.
8244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
8245         Moved ...
8246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
8247         ... here.
8248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
8249         Moved ...
8250         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
8251         ... here.
8252         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
8253         Moved ...
8254         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
8255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
8256         Moved ...
8257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
8258         ... here.
8259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
8260         Moved ...
8261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
8262         ... here.
8263         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
8264         Moved ...
8265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
8266         ... here.
8267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
8268         Moved ...
8269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
8270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
8271         Moved ...
8272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
8273         ... here.
8274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
8275         Moved ...
8276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
8277         ... here.
8278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
8279         Moved ...
8280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
8281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
8282         Moved ...
8283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
8284         ... here.
8285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
8286         Moved ...
8287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
8288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
8289         Moved ...
8290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
8291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
8292         Moved ...
8293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
8294         ... here.
8295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
8296         Moved ...
8297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
8298         ... here.
8299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
8300         Moved ...
8301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
8302         ... here.
8303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
8304         Moved ...
8305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
8306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
8307         Moved ...
8308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
8309         ... here.
8310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
8311         Moved ...
8312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
8313         ... here.
8314         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
8315         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
8316         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
8317         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
8318         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
8319         Moved ...
8320         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
8321         ... here.
8322         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
8323         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
8324         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
8325         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
8326         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
8327         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
8328         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
8329         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
8330         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
8331         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
8332         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
8333         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
8334         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
8335         Moved ...
8336         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
8337         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
8338         Moved ...
8339         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
8340         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
8341         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
8342         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
8343         Moved ...
8344         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
8345         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
8346         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
8347         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
8348         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
8349         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
8350         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
8351
8352 2014-06-10  Wilco  <wdijkstr@arm.com>
8353
8354         * math/test-fenv-return.c: New file.
8355         * math/Makefile: Add new test test-fenv-return.
8356
8357 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
8358
8359         [BZ #17042]
8360         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
8361         when x - 1 is zero.
8362         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
8363         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
8364         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
8365         0.0L for an argument of 1.0L.
8366         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
8367         Likewise.
8368         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
8369         value when x - 1 is zero.
8370         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
8371         * sysdeps/i386/fpu/libm-test-ulps: Update.
8372         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8373
8374 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
8375
8376         [BZ #15119]
8377         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
8378
8379 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8380
8381         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
8382         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
8383
8384 2014-06-09  Roland McGrath  <roland@hack.frob.com>
8385
8386         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8387         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
8388
8389         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8390         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
8391
8392         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8393         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
8394
8395         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8396         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
8397
8398         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
8399         if not already defined.
8400         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
8401         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
8402         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
8403         (TLS_INIT_TP): Use it.
8404         (TLS_DEFINE_INIT_TP): New macro.
8405         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
8406
8407 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
8408
8409         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
8410         constant.
8411         [POSIX] (IXANY): Likewise.
8412         [POSIX] (OLCUC): Likewise.
8413         [POSIX || POSIX2008] (CBAUD): Do not allow.
8414         [POSIX || POSIX2008] (DEFECHO): Likewise.
8415         [POSIX || POSIX2008] (ECHOCTL): Likewise.
8416         [POSIX || POSIX2008] (ECHOKE): Likewise.
8417         [POSIX || POSIX2008] (ECHOPRT): Likewise.
8418         [POSIX || POSIX2008] (EXTA): Likewise.
8419         [POSIX || POSIX2008] (EXTB): Likewise.
8420         [POSIX || POSIX2008] (FLUSHO): Likewise.
8421         [POSIX || POSIX2008] (LOBLK): Likewise.
8422         [POSIX || POSIX2008] (PENDIN): Likewise.
8423         [POSIX || POSIX2008] (SWTCH): Likewise.
8424         [POSIX || POSIX2008] (VDISCARD): Likewise.
8425         [POSIX || POSIX2008] (VDSUSP): Likewise.
8426         [POSIX || POSIX2008] (VLNEXT): Likewise.
8427         [POSIX || POSIX2008] (VREPRINT): Likewise.
8428         [POSIX || POSIX2008] (VSTATUS): Likewise.
8429         [POSIX || POSIX2008] (VWERASE): Likewise.
8430         (B*): Change to B[0123456789]*.
8431         * conform/data/time.h-data [POSIX || UNIX98]
8432         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
8433         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
8434         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
8435         [POSIX] (tm_*): Do not allow.
8436
8437 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
8438
8439         * Makefile (install): Don't set LANGUAGE.
8440         * Makefile.in (install): Likewise.
8441         * assert/Makefile (test-assert-ENV): Remove variable.
8442         (test-assert-perr-ENV): Likewise.
8443         * elf/Makefile (neededtest4-ENV): Likewise.
8444         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8445         [$(cross-compiling) = no]: Don't set LANGUAGE.
8446         * io/ftwtest-sh (LANG): Remove variable.
8447         * libio/Makefile (tst-widetext-ENV): Likewise.
8448         * manual/install.texi (Running make install): Don't refer to
8449         environment settings for make install.
8450         * INSTALL: Regenerated.
8451         * nptl/tst-tls6.sh: Don't set LANG.
8452         * posix/globtest.sh (LANG): Remove variable.
8453         * string/Makefile (tester-ENV): Likewise.
8454         (inl-tester-ENV): Likewise.
8455         (noinl-tester-ENV): Likewise.
8456         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8457         [$(cross-compiling) = no]: Don't set LANGUAGE.
8458         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
8459         without explicit environment settings.
8460
8461 2014-06-06  Roland McGrath  <roland@hack.frob.com>
8462
8463         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
8464         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
8465         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
8466         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
8467
8468 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
8469
8470         * crypt/crypt-private.h [DOS]: Add some includes taken from the
8471         other files in the crypt directory.
8472         * crypt/crypt.c: Remove duplicate includes.
8473         * crypt/crypt-entry.c: Likewise.
8474         * crypt/crypt_util.c: Likewise.
8475
8476 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
8477
8478         * Makeconfig (run-program-env): New variable.
8479         (run-program-prefix-before-env): Likewise.
8480         (run-program-prefix-after-env): Likewise.
8481         (run-program-prefix): Define in terms of new variables.
8482         (built-program-cmd-before-env): New variable.
8483         (built-program-cmd-after-env): Likewise.
8484         (built-program-cmd): Define in terms of new variables.
8485         (test-program-prefix-before-env): New variable.
8486         (test-program-prefix-after-env): Likewise.
8487         (test-program-prefix): Define in terms of new variables.
8488         (test-program-cmd-before-env): New variable.
8489         (test-program-cmd-after-env): Likewise.
8490         (test-program-cmd): Define in terms of new variables.
8491         * Rules (make-test-out): Use $(run-program-env).
8492         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
8493         (help): Do not mention environment variables.  Mention
8494         --timeoutfactor option.
8495         (timeoutfactor): New variable.
8496         (blacklist_exports): Remove function.
8497         (exports): Remove variable.
8498         (command): Do not include ${exports}.
8499         * manual/install.texi (Configuring and compiling): Do not mention
8500         test wrappers preserving environment variables.  Mention that last
8501         assignment to a variable must take precedence.
8502         * INSTALL: Regenerated.
8503         * benchtests/Makefile (run-bench): Use $(run-program-env).
8504         * catgets/Makefile ($(objpfx)test1.cat): Use
8505         $(built-program-cmd-before-env), $(run-program-env) and
8506         $(built-program-cmd-after-env).
8507         ($(objpfx)test2.cat): Do not specify environment variables
8508         explicitly.
8509         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
8510         $(run-program-env) and $(built-program-cmd-after-env).
8511         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
8512         $(run-program-env) and $(test-program-cmd-after-env).
8513         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
8514         explicitly.
8515         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
8516         run_program_env and test_program_cmd_after_env arguments.
8517         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
8518         * elf/tst-pathopt.sh: Use run_program_env argument.
8519         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
8520         $(test-wrapper-env) and $(run-program-env).
8521         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
8522         run_program_env arguments.
8523         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
8524         * intl/Makefile ($(objpfx)tst-gettext.out): Use
8525         $(test-program-prefix-before-env), $(run-program-env) and
8526         $(test-program-prefix-after-env).
8527         ($(objpfx)tst-gettext2.out): Likewise.
8528         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
8529         run_program_env and test_program_prefix_after_env arguments.
8530         * intl/tst-gettext2.sh: Likewise.
8531         * intl/tst-gettext4.sh: Do not set environment variables
8532         explicitly.
8533         * intl/tst-gettext6.sh: Likewise.
8534         * intl/tst-translit.sh: Likewise.
8535         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
8536         $(test-program-prefix-before-env), $(run-program-env) and
8537         $(test-program-prefix-after-env).
8538         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
8539         run_program_env and test_program_prefix_after_env arguments.
8540         * math/Makefile (run-regen-ulps): Use $(run-program-env).
8541         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
8542         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
8543         explicitly with each use of ${test_wrapper_env}.
8544         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
8545         $(test-program-prefix-before-env), $(run-program-env) and
8546         $(test-program-prefix-after-env).
8547         * posix/tst-getconf.sh: Do not set environment variables
8548         explicitly.
8549         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
8550         run_program_env and test_program_prefix_after_env arguments.
8551         * stdio-common/tst-printf.sh: Do not set environment variables
8552         explicitly.
8553         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
8554         $(test-program-prefix-before-env), $(run-program-env) and
8555         $(test-program-prefix-after-env).
8556         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
8557         run_program_env and test_program_prefix_after_env arguments.
8558         Split $test calls into $test_pre and $test.
8559         * timezone/Makefile (build-testdata): Use
8560         $(built-program-cmd-before-env), $(run-program-env) and
8561         $(built-program-cmd-after-env).
8562
8563 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8564
8565         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
8566         strlen for non SHARED builds.
8567
8568 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8569
8570         * nptl/allocatestack.c (check_list): Inlined function...
8571         (__reclaim_stacks): ... here.
8572
8573 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8574
8575         [BZ #15698]
8576         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8577         memory overrun.
8578
8579 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
8580
8581         * Rules (make-test-out): Include
8582         LOCPATH=$(common-objpfx)localedata in default environment.
8583         * debug/Makefile (tst-chk1-ENV): Remove variable.
8584         (tst-chk2-ENV): Likewise.
8585         (tst-chk3-ENV): Likewise.
8586         (tst-chk4-ENV): Likewise.
8587         (tst-chk5-ENV): Likewise.
8588         (tst-chk6-ENV): Likewise.
8589         (tst-lfschk1-ENV): Likewise.
8590         (tst-lfschk2-ENV): Likewise.
8591         (tst-lfschk3-ENV): Likewise.
8592         (tst-lfschk4-ENV): Likewise.
8593         (tst-lfschk5-ENV): Likewise.
8594         (tst-lfschk6-ENV): Likewise.
8595         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
8596         (tst-iconv7-ENV): Likewise.
8597         * intl/Makefile (LOCPATH-ENV): Likewise.
8598         (tst-codeset-ENV): Likewise.
8599         (tst-gettext3-ENV): Likewise.
8600         (tst-gettext5-ENV): Likewise.
8601         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
8602         (tst-fopenloc-ENV): Likewise.
8603         (tst-fgetws-ENV): Remove variable.
8604         (tst-ungetwc1-ENV): Likewise.
8605         (tst-ungetwc2-ENV): Likewise.
8606         (bug-ungetwc2-ENV): Likewise.
8607         (tst-swscanf-ENV): Likewise.
8608         (bug-ftell-ENV): Likewise.
8609         (tst-fgetwc-ENV): Likewise.
8610         (tst-fseek-ENV): Likewise.
8611         (tst-ftell-partial-wide-ENV): Likewise.
8612         (tst-ftell-active-handler-ENV): Likewise.
8613         (tst-ftell-append-ENV): Likewise.
8614         * posix/Makefile (tst-fnmatch-ENV): Likewise.
8615         (tst-regexloc-ENV): Likewise.
8616         (bug-regex1-ENV): Likewise.
8617         (tst-regex-ENV): Likewise.
8618         (tst-regex2-ENV): Likewise.
8619         (bug-regex5-ENV): Likewise.
8620         (bug-regex6-ENV): Likewise.
8621         (bug-regex17-ENV): Likewise.
8622         (bug-regex18-ENV): Likewise.
8623         (bug-regex19-ENV): Likewise.
8624         (bug-regex20-ENV): Likewise.
8625         (bug-regex22-ENV): Likewise.
8626         (bug-regex23-ENV): Likewise.
8627         (bug-regex25-ENV): Likewise.
8628         (bug-regex26-ENV): Likewise.
8629         (bug-regex30-ENV): Likewise.
8630         (bug-regex32-ENV): Likewise.
8631         (bug-regex33-ENV): Likewise.
8632         (bug-regex34-ENV): Likewise.
8633         (bug-regex35-ENV): Likewise.
8634         (tst-rxspencer-ENV): Likewise.
8635         (tst-rxspencer-no-utf8-ENV): Likewise.
8636         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8637         (tst-sscanf-ENV): Likewise.
8638         (tst-swprintf-ENV): Likewise.
8639         (tst-swscanf-ENV): Likewise.
8640         (test-vfprintf-ENV): Likewise.
8641         (scanf13-ENV): Likewise.
8642         (bug14-ENV): Likewise.
8643         (tst-grouping-ENV): Likewise.
8644         * stdlib/Makefile (tst-strtod-ENV): Likewise.
8645         (tst-strtod3-ENV): Likewise.
8646         (tst-strtod4-ENV): Likewise.
8647         (tst-strtod5-ENV): Likewise.
8648         (testmb2-ENV): Likewise./
8649         * string/Makefile (tst-strxfrm-ENV): Likewise.
8650         (tst-strxfrm2-ENV): Likewise.
8651         (bug-strcoll1-ENV): Likewise.
8652         (test-strcasecmp-ENV): Likewise.
8653         (test-strncasecmp-ENV): Likewise.
8654         * time/Makefile (tst-strptime-ENV): Likewise.
8655         (tst-ftime_l-ENV): Likewise.
8656         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8657         (tst-mbrtowc-ENV): Likewise.
8658         (tst-wcrtomb-ENV): Likewise.
8659         (tst-mbrtowc2-ENV): Likewise.
8660         (tst-c16c32-1-ENV): Likewise.
8661         (tst-mbsnrtowcs-ENV): Likewise.
8662
8663 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8664
8665         * manual/resource.texi (How to get information about the memory
8666         subsystem?): Fix typo.
8667         Reported by Peon de la Parra Ivan <peon@keba.com>
8668
8669 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
8670
8671         [BZ #16882]
8672         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8673         (pthread_spin_lock): Branch out of spin loop to proper location.
8674         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8675         (pthread_spin_lock): Likewise.
8676
8677         * nptl/tst-spin4.c: New test.
8678         * nptl/Makefile (tests): Add tst-spin4.
8679
8680 2014-06-03  Andreas Schwab  <schwab@suse.de>
8681
8682         [BZ #15946]
8683         * resolv/res_send.c (send_dg): Reload file descriptor after
8684         calling reopen.
8685
8686 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
8687
8688         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8689
8690 2014-06-03  Richard Henderson  <rth@redhat.com>
8691
8692         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8693         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8694         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8695         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
8696         in the SAVE_PID block.
8697         (__libc_vfork): New alias.
8698         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8699
8700         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8701         child in registers, not on the stack.  Remove RESET_PID conditionals.
8702         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8703
8704 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8705
8706         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8707
8708 2014-06-03  Wilco  <wdijkstr@arm.com>
8709
8710         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8711         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8712         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8713         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8714         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8715         Likewise.
8716
8717 2014-06-03  Wilco  <wdijkstr@arm.com>
8718
8719         * sysdeps/aarch64/fpu/math_private.h
8720         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8721         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8722         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8723         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8724         Fix declarations.
8725
8726 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8727
8728         * crypt/crypt-private.h: Include ufc-crypt.h.
8729         (__b64_from_24bit): Declare extern.
8730         * crypt/crypt_util.c(__b64_from_24bit): New function.
8731         (b64t): New static const variable.
8732         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8733         (b64t): Remove variable.
8734         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8735         * crypt/sha256-crypt.c: Include crypt-private.h.
8736         (b64t): Remove variable.
8737         (__sha256_crypt_r): Remove b64_from_24bit and replace
8738         with __b64_from_24bit.
8739         * crypt/sha512-crypt.c: Likewise.
8740
8741 2014-06-02  Roland McGrath  <roland@hack.frob.com>
8742
8743         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8744         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8745         Label the code __libc_vfork rather than __vfork.
8746         [!NOT_IN_libc] (vfork): Define as weak alias.
8747         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8748         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8749         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8750
8751 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8752
8753         * malloc/malloc.c (malloc_info): Fix format specifier for
8754         n_mmaps.
8755
8756 2014-06-02  Wilco  <wdijkstr@arm.com>
8757
8758         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8759         FPCR write.
8760
8761 2014-06-02  Wilco  <wdijkstr@arm.com>
8762
8763         [BZ #17009]
8764         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8765         Rewrite to reduce FPCR/FPSR accesses.
8766
8767 2014-06-01  David S. Miller  <davem@davemloft.net>
8768
8769         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8770
8771 2014-05-31  David S. Miller  <davem@davemloft.net>
8772
8773         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8774         to occur in round to nearest mode when |x| >= 2.0
8775
8776 2014-05-30  Richard Henderson  <rth@twiddle.net>
8777
8778         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8779         (PSEUDO_RET_NOERRNO): Remove.
8780         (ret): Don't redefine.
8781         (ret_NOERRNO): Define in terms of ret.
8782         (ret_ERRVAL): Likewise.
8783
8784         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8785         use of PSEUDO_RET; perform the error check directly.
8786
8787 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
8788
8789         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8790         with __int128_t.
8791
8792 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8793
8794         * malloc/malloc (malloc_info): Fix formatting.
8795
8796 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8797             Roland McGrath  <roland@hack.frob.com>
8798
8799         * malloc/malloc (malloc_info): Also print mmapped statistics.
8800
8801 2014-05-30  Roland McGrath  <roland@hack.frob.com>
8802
8803         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8804         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8805
8806 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
8807
8808         * malloc/malloc.c (malloc_info): Inline mi_arena.
8809
8810 2014-05-29  Richard Henderson  <rth@twiddle.net>
8811
8812         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8813         Remove comma before expanding ASM_ARGS_##nr.
8814         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8815         Make _x0 a strict output; make _x8 a strict input; adjust expansion
8816         of ASM_ARGS_##nr.
8817         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8818         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8819         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8820         (ASM_ARGS_1): Add leading comma.
8821
8822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8823         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8824         to __errno_location.
8825         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8826         Remove the expected plt for __errno_location.
8827
8828         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8829         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8830         call to __read_tp.
8831
8832         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8833         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
8834         it and break it down.
8835         (DOCARGS_0, DOCARGS_1): Do nothing.
8836         (DOCARGS_2): Update to store into the new stack frame.
8837         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8838         (UNDOCARGS_1): Update to restore from the new stack frame.
8839         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8840         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8841
8842         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8843         (SINGLE_THREAD_P): New parameter for result regno.
8844         (PSEUDO): Update to match; use cbz instead of beq.
8845
8846         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8847         Use ENTRY to define the _nocancel entry point.  Share the syscall
8848         and syscall error check paths with the cancel path.
8849         (PSEUDO_END): New.
8850
8851         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8852         whitespace; tabs before and after asm mnemonics.
8853
8854 2014-05-29  Eric Wong  <normalperson@yhbt.net>
8855
8856         [BZ #15132]
8857         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8858         Call fstat64 or stat64 internally, depending on arguments passed.
8859         Replace stat buffer argument with file descriptor argument.
8860         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8861         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8862         Pass fd to __internal_statvfs instead of calling fstat64.
8863         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8864         Pass fd to __internal_statvfs64 instead of calling fstat64.
8865         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8866         Pass -1 to __internal_statvfs instead of calling stat64.
8867         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8868         Pass -1 to __internal_statvfs64 instead of calling stat64.
8869
8870 2014-05-28  Roland McGrath  <roland@hack.frob.com>
8871
8872         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8873         that was previously under [RESET_PID].
8874         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8875
8876         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8877         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8878
8879 2014-05-27  Roland McGrath  <roland@hack.frob.com>
8880
8881         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8882
8883         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8884         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8885
8886 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
8887
8888         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8889
8890 2014-05-27  Andreas Schwab  <schwab@suse.de>
8891
8892         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8893         TLS_INIT_TP macro.
8894         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8895         * elf/rtld.c (init_tls, dl_main): Likewise.
8896         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8897         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8898         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8899         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8900         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8901         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8902         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8903         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8904         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8905         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8906         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8907         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8908         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8909         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8910         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8911         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8912         * sysdeps/generic/tls.h: Update description.
8913
8914 2014-05-27  Will Newton  <will.newton@linaro.org>
8915
8916         [BZ #16990]
8917         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8918         and restore r2 rather than just restoring.
8919
8920 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8921
8922         [BZ #16724]
8923         * libio/tst-ftell-append.c: New test case.
8924         * libio/Makefile (tests): Add test case.
8925         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8926         append mode.
8927         * libio/wfileops.c (do_ftell_wide): Likewise.
8928
8929 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8930
8931         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8932
8933         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8934         ...
8935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8937         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8938         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8939         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8940         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8941         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8942         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8943         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8944         Moved ...
8945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8946         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8947         Moved ...
8948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8949         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8950         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8951         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8952         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8953         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8954         ...
8955         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8956         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8957         Moved ...
8958         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8959         here.
8960         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8961         ...
8962         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8963         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8964         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8965
8966         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8967         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8968         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8969         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8970
8971         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8972         merge into ...
8973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8974         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8975         ...
8976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8977         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8978         ...
8979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8980         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8981         Moved ...
8982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8983         here.
8984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8985         Moved ...
8986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8988         Moved ...
8989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8990
8991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8992         conditional [RESET_PID].
8993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8994         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8995         removed.
8996         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8997         removed.
8998
8999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9000         <tcb-offsets.h>.
9001         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9002         (__libc_vfork): New strong alias.
9003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9004         removed.
9005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9006         Removed.
9007
9008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9009         <tcb-offsets.h>.
9010         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9011         (__libc_vfork): New strong alias.
9012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9013         removed.
9014         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9015         removed.
9016
9017 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9018
9019         * malloc/malloc.c (mi_arena): New function.
9020         (malloc_info): Remove nested function mi_arena. Call non-nosted
9021         function mi_arena.
9022
9023 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9024
9025         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9026         by insrwi.
9027         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9028         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9029         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9030         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9031         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9032         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9033         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9034
9035 2014-05-26  Andreas Schwab  <schwab@suse.de>
9036
9037         [BZ #16984]
9038         * locale/programs/repertoire.c (repertoire_read): Add slash
9039         between I18NPATH element and file name.
9040         * locale/programs/locfile.c (locfile_read): Likewise.
9041
9042 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9043
9044         * nptl/pthread_mutexattr_settype.c
9045         (__pthread_mutexattr_settype):
9046         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9047
9048 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9049
9050         * nptl/tst-mutex5 (do_test):
9051         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9052
9053 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9054
9055         * benchtests/README: Document 'init' directive.
9056         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9057         BENCH_INIT.
9058         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9059         (parse_file): Recognize 'init' directive.
9060
9061 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9062
9063         [BZ #16796]
9064         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9065         alignment of struct pthread.
9066
9067 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9068
9069         [BZ #16878]
9070         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9071         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9072         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9073         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9074
9075 2014-05-25  Richard Henderson  <rth@twiddle.net>
9076
9077         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9078         (SINGLE_THREAD_P_PIC): Remove.
9079         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9080         (SINGLE_THREAD_P_PIC): Remove.
9081
9082         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9083         branch to syscall error ...
9084         (PSEUDO): ... here.
9085         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9086         from __local_syscall_error to .Lsyscall_error.
9087         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9088         (SYSCALL_ERROR): Update label name.
9089
9090         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9091         Do not use DOARGS/UNDOARGS.
9092         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9093         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9094         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9095         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9096         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9097
9098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9099         block comment.
9100
9101         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9102         define if !NOT_IN_libc.
9103         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9104         define with non-default symbol versions.
9105
9106 2014-05-23  Richard Henderson  <rth@twiddle.net>
9107
9108         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9109         (vfork, __vfork): Define via compat_symbol.
9110
9111         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9112         [!HAVE_IFUNC] (vfork_compat): Remove.
9113         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9114
9115 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9116
9117         [BZ #16978]
9118         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9119         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9120         variable.
9121
9122 2014-05-23  Richard Henderson  <rth@twiddle.net>
9123
9124         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9125         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9126         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9127         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9128
9129         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9130         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9131         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9132         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9133         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9134         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9135         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9136         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9137         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9138         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9139         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9140         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9141         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9142         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9143         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9144         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9145         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9146         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9147         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9148         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9149         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9150         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9151         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9152         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9153         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9154         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9155         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9156         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9157         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9158         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9159         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9160         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9161         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9162         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9163         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9164         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9165         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9166         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9167         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9168         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9169         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9170         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9171         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9172         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9173         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9174         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9175         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9176         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9177         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9178         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9179         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9180         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9181         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9182         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9183         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
9184         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
9185
9186         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
9187         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
9188         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
9189         before exiting on error.
9190         (__libc_vfork): New strong alias.
9191         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
9192         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
9193
9194         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
9195         that was previously under [RESET_PID].
9196         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
9197
9198         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
9199
9200 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9201
9202         [BZ #16977]
9203         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9204         value when x - 1 is zero.
9205         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
9206         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9207         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
9208         0.0L for an argument of 1.0L.
9209         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
9210         Likewise.
9211         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
9212         value when x - 1 is zero.
9213         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
9214         * sysdeps/i386/fpu/libm-test-ulps: Update.
9215         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9216
9217 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
9218
9219         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
9220         alphasort and versionsort.
9221
9222 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9223
9224         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
9225         macro.
9226         [copysignf]: Likewise.
9227
9228 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9229
9230         * crypt/md5-crypt.c: Fix formatting.
9231
9232 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9233
9234         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
9235         (b64_from_24bit): New function.
9236
9237 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9238
9239         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
9240         libc_hidden_builtin_def to ifunc.
9241         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9242         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
9243
9244 2014-05-21  Roland McGrath  <roland@hack.frob.com>
9245
9246         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
9247         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
9248
9249 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
9250
9251         * nscd/Depend (linuxthreads): Remove.
9252         (nptl): Add.
9253         * resolv/Depend (linuxthreads): Remove.
9254         * rt/Depend (linuxthreads): Remove.
9255
9256         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
9257         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
9258         $(common-objpfx)elf/.
9259         (link-libc-before-gnulib): Likewise.
9260         (elfobjdir): Remove variable.
9261         * Makefile (install): Use $(elf-objpfx) instead of
9262         $(common-objpfx)elf/.
9263         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
9264         $(elfobjdir)/.
9265         (link-libc-deps): Likewise.
9266         ($(common-objpfx)libc.so): Likewise.
9267         ($(common-objpfx)linkobj/libc.so): Likewise.
9268         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
9269         instead of $(common-objpfx)elf/.
9270         (symbolic-link-list): Likewise.
9271         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9272         [$(cross-compiling) = no]: Likewise.
9273         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
9274         $(elfobjdir)/.
9275         (static-gnulib-arch): Likewise.
9276         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9277         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
9278         $(common-objpfx)elf/.
9279
9280 2014-05-21  Richard Henderson  <rth@redhat.com>
9281
9282         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9283         (SINGLE_THREAD_P): Use the correct width load.  Fold
9284         into the ldr offset.
9285
9286         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
9287         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
9288
9289 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
9290
9291         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
9292         (libgcc_s_resume): Use __attribute_used__.
9293         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
9294         Likewise.
9295
9296 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9297
9298         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
9299         optimization when used with float constants.
9300
9301         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9302
9303 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
9304
9305         [BZ #16915]
9306         * locale/nl_langinfo_l.c: Make direct reference to every
9307         _nl_current_CATEGORY symbol.
9308         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
9309         (tests-static): Add tst-langinfo-static.
9310         (tests-special): Add tst-langinfo-static.out.
9311         ($(objpfx)tst-langinfo.out): Redirect output.
9312         ($(objpfx)tst-langinfo-static.out): New.
9313         * localedata/tst-langinfo.sh: Send output to stdout.
9314         * localedata/tst-langinfo-static.c: New file.
9315
9316         [BZ #16965]
9317         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
9318         when the shift amount is modulo the limb size.
9319
9320 2014-05-20  Richard Henderson  <rth@redhat.com>
9321
9322         [BZ #16967]
9323         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
9324         Change type of sa_flags from unsigned int to int.
9325
9326         [BZ #16966]
9327         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
9328
9329         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
9330
9331 2014-05-20  Will Newton  <will.newton@linaro.org>
9332
9333         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9334         Test the return value of the system call in the nocancel case.
9335
9336 2014-05-20  Will Newton  <will.newton@linaro.org>
9337             Yvan Roux  <yvan.roux@linaro.org>
9338
9339         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
9340         #include of asm/ptrace.h.
9341         (PTRACE_GET_THREAD_AREA): Remove #undef.
9342         (PTRACE_GETHBPREGS): Likewise.
9343         (PTRACE_SETHBPREGS): Likewise.
9344         (struct user_regs_struct): New structure.
9345         (struct user_fpsimd_struct): New structure.
9346         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
9347         #include of asm/ptrace.h and second #include of sys/user.h.
9348         (PTRACE_GET_THREAD_AREA): Remove #undef.
9349         (PTRACE_GETHBPREGS): Likewise.
9350         (PTRACE_SETHBPREGS): Likewise.
9351         (ELF_NGREG): Use new struct user_regs_struct.
9352         (elf_fpregset_t): Use new struct user_fpsimd_struct.
9353
9354 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9355
9356         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
9357         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
9358
9359 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
9360
9361         [BZ #16958]
9362         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
9363         membar to avoid block loads/stores to overlap previous stores.
9364
9365 2014-05-17  Richard Henderson  <rth@redhat.com>
9366
9367         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
9368         Create the __##syscall_name##_nocancel entry point.
9369         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
9370         Remove; let the sysdep-cancel.h code create it.
9371
9372 2014-05-17  David S. Miller  <davem@davemloft.net>
9373
9374         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
9375         Protect with __USE_GNU.
9376         (TIOCSET_TEMPT): Likewise.
9377         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
9378         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
9379         these are already provided in bits/ioctl-types.h
9380
9381 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9382
9383         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
9384         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
9385
9386         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
9387         Use wait4 regardless of [__NR_waitpid].
9388
9389 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
9390
9391         PR libgcc/60166
9392         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9393         (_FP_NANSIGN_Q): Set the quiet bit.
9394
9395 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
9396
9397         * benchtests/Makefile
9398         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
9399         not $(common-objpfx)math/libm.so.
9400         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
9401         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
9402         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
9403         $(common-objpfx)dlfcn/libdl.so.
9404         ($(objpfx)tst-audit8): Depend on $(libm), not
9405         $(common-objpfx)math/libm.so.
9406         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
9407         not $(common-objpfx)dlfcn/libdl.so.
9408         * math/Makefile
9409         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9410         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
9411         [$(build-shared) = yes].
9412         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
9413         $(common-objpfx)nptl/libpthread.so.
9414         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
9415         $(common-objpfx)math/libm.so$(libm.so-version) or
9416         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
9417         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
9418         $(common-objpfx)dlfcn/libdl.so.
9419         * setjmp/Makefile (link-libm): Remove variable.
9420         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
9421         * stdio-common/Makefile (link-libm): Remove variable.
9422         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
9423         * stdlib/Makefile (link-libm): Remove variable.
9424         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
9425         ($(objpfx)tst-strtod-round): Likewise.
9426         ($(objpfx)tst-tininess): Likewise.
9427         ($(objpfx)tst-strtod-underflow): Likewise.
9428         ($(objpfx)tst-strtod6): Likewise.
9429         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
9430         $(libdl), not $(common-objpfx)nptl/libpthread.so and
9431         $(common-objpfx)dlfcn/libdl.so.
9432
9433 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9434
9435         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
9436         BSD terminal modes definitions.
9437
9438 2014-05-16  Roland McGrath  <roland@hack.frob.com>
9439
9440         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
9441         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
9442
9443         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
9444         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
9445         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
9446         Don't do #include_next.
9447         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
9448         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
9449         Don't do #include_next.
9450         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
9451         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
9452         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
9453         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
9454
9455 2014-05-16  Allan McRae  <allan@archlinux.org>
9456
9457         * po/sv.po: Update Swedish translation from translation project.
9458
9459         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
9460         in sed expression.
9461
9462 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
9463
9464         [BZ #16917]
9465         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
9466         errno if the TIOCGPTN ioctl fails with an error different than
9467         EINVAL.
9468         * login/tst-ptsname.c: New file.
9469         * login/Makefile (tests): Add tst-ptsname.
9470
9471         [BZ #16943]
9472         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
9473         and prlimit64.
9474
9475 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9476
9477         [BZ #16849]
9478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
9479         herrno to return EAI_AGAIN.
9480
9481 2014-05-14  Roland McGrath  <roland@hack.frob.com>
9482
9483         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
9484         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
9485         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
9486         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
9487         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
9488         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
9489         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
9490         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
9491         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
9492         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
9493         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
9494         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
9495         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
9496         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
9497         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
9498         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
9499         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
9500         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
9501         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
9502         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
9503         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
9504         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
9505         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
9506         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
9507         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
9508         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
9509         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
9510         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
9511         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
9512         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
9513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
9514         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
9515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
9516         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
9517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
9518         Moved ...
9519         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
9520         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
9521         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
9522         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
9523         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
9524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
9525         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
9526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
9527         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
9528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
9529         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
9530         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
9531         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
9532         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
9533         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
9534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
9535         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
9536         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
9537         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
9538         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
9539         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
9540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
9541         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
9542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
9543         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
9544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
9545         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
9546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
9547         Moved ...
9548         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
9549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
9550         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
9551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
9552         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
9553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
9554         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
9555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
9556         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
9557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
9558         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
9559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
9560         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
9561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
9562         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
9563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
9564         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
9565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
9566         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
9567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
9568         Moved ...
9569         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
9570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
9571         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
9572
9573         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
9574         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
9575         (libpthread-sysdep_routines): Add elision-related stuff here instead.
9576         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
9577         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
9578         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
9579         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
9580         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
9581         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
9582         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
9583         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
9584         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
9585         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
9586         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
9587         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
9588         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
9589         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
9590         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
9591         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
9592         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
9593         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
9594         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
9595         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
9596         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
9597         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
9598         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
9599         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
9600         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
9601         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
9602         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
9603         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
9604
9605         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
9606         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
9607
9608         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
9609         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
9610         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
9611         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
9612         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9613         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9614         Moved ...
9615         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9616         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9617         Moved ...
9618         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9619         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9620         Moved ...
9621         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9622         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9623         Moved ...
9624         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9625         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9626         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9627         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9628         Moved ...
9629         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9630         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9631         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9632         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9633         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9634         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9635         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9636         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9637         Moved ...
9638         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9639         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9640         Moved ...
9641         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9642         ... here.
9643         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9644         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9645         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9646         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9647         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9648         Moved ...
9649         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9650         ... here.
9651         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9652         Moved ...
9653         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9654         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9655         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9656         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9657         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9658         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9659         Moved ...
9660         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9661         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9662         Moved ...
9663         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9664         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9665         Moved ...
9666         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9667         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9668         Moved ...
9669         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9670         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9671         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9672         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9673         Moved ...
9674         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9675         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9676         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9677         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9678         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9679         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9680         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9681         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9682         Moved ...
9683         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9684         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9685         Moved ...
9686         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9687         ... here.
9688         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9689         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9690         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9691         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9692         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9693         Moved ...
9694         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9695         ... here.
9696         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9697         Moved ...
9698         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9699         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9700         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9701         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9702         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9703         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9704         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9705         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9706         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9707         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9708         Moved ...
9709         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9710         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9711         Moved ...
9712         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9713         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9714         Moved ...
9715         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9716         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9717         Moved ...
9718         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9719         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9720         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9721         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9722         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9723         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9724         Moved ...
9725         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9726         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9727         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9728         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9729         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9730         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9731         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9732         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9733         Moved ...
9734         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9735         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9736         Moved ...
9737         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9738         ... here.
9739         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9740         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9741         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9742         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9743         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9744         Moved ...
9745         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9746         ... here.
9747         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9748         Moved ...
9749         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9750         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9751         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9752         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9753         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9754         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9755         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9756         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9757         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9758         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9759         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9760
9761         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9762         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9763
9764         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9765         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9766
9767         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9768         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9769         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9770         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9771         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9772         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9773         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9774         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9775         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9776         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9777         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9778         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9779         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9780         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9781         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9782         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9783         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9784         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9785         Moved ...
9786         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9787         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9788         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9789         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9790         Moved ...
9791         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9792         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9793         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9794         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9795         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9796         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9797         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9798         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9799         Moved ...
9800         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9801         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9802         Moved ...
9803         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9804         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9805         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9806         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9807         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9808         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9809         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9810         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9811         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9812         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9813         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9814         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9815         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9816         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9817         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9818         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9819         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9820
9821         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9822         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9823         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9824         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9825         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9826
9827         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9828         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9829         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9830         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9831         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9832         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9833         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9834         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9835         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9836         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9837
9838         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9840
9841         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9842         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9843         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9844         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9845         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9846         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9847         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9848         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9849         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9850         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9851         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9852         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9853         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9854         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9855         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9856         Update #include.
9857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9858         Likewise.
9859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9860         Likewise.
9861         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9862         Likewise.
9863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9864         Likewise.
9865         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9866         Likewise.
9867         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9868         Likewise.
9869         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9870         Likewise.
9871         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9872         Likewise.
9873         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9874         Likewise.
9875         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9877         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9879         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9880         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9881         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9882         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9883         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9884         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9885         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9886         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9887         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9888         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
9889         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
9890
9891         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9892         that was previously under [RESET_PID].
9893         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9894         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9895         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9896
9897         * sysdeps/i386/nptl/Implies: New file.
9898         * sysdeps/x86_64/nptl/Implies: New file.
9899         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9900         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9901         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9902         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9903
9904         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9905         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9906         (__libc_vfork): New strong alias.
9907         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9908         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9909
9910         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9911         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9912         (__libc_vfork): New strong alias.
9913         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9914         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9915
9916         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9917         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9918         (__libc_vfork): New strong alias.
9919         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9920         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9921         * nptl/pt-vfork.c: New file.
9922         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9923         (libpthread: GLIBC_2.20): New version set (empty).
9924
9925 2014-05-14  Will Newton  <will.newton@linaro.org>
9926
9927         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9928         rather than #if.
9929
9930 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9931
9932         [BZ #16564]
9933         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9934         arguments with exponent 65 or above.
9935         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9936         arguments 0x1p113L or above.
9937         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9938         to arguments 0x1p107L or above.
9939         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9940         positive arguments with exponent 65 or above.
9941         * math/auto-libm-test-in: Add more tests of log1p.
9942         * math/auto-libm-test-out: Regenerated.
9943
9944         [BZ #16928]
9945         * math/s_cacos.c (__cacos): Ensure zero real part of result from
9946         non-finite arguments is +0.
9947         * math/s_cacosf.c (__cacosf): Likewise.
9948         * math/s_cacosl.c (__cacosl): Likewise.
9949         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9950         * sysdeps/i386/fpu/libm-test-ulps: Update.
9951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9952
9953         [BZ #16927]
9954         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9955         value.
9956         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9957         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9958         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9959         for explicit high bit of mantissa when testing for argument equal
9960         to 1.
9961         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9962         * sysdeps/i386/fpu/libm-test-ulps: Update.
9963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9964
9965         [BZ #16516]
9966         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9967         (__erf): Scale by 16 instead of 8 in potentially underflowing
9968         case.  Ensure exception if result actually underflows.
9969         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9970         (__erff): Scale by 16 instead of 8 in potentially underflowing
9971         case.  Ensure exception if result actually underflows.
9972         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9973         (efx8): Remove variable.
9974         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9975         case.  Ensure exception if result actually underflows.
9976         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9977         (efx8): Remove variable.
9978         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9979         case.  Ensure exception if result actually underflows.
9980         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9981         (efx8): Remove variable.
9982         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9983         case.  Ensure exception if result actually underflows.
9984         * math/auto-libm-test-in: Add more tests of erf.
9985         * math/auto-libm-test-out: Regenerated.
9986
9987 2014-05-14  Andreas Schwab  <schwab@suse.de>
9988
9989         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9990         Remove code conditionalized on USE___THREAD.
9991
9992         * config.h.in (HAVE_PT_CHOWN): Define as 0.
9993         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9994         not definedness.
9995
9996 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9997
9998         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9999         Define unconditionally.
10000         (__ASSUME_O_CLOEXEC): Likewise.
10001         (__ASSUME_SOCK_CLOEXEC): Likewise.
10002         (__ASSUME_IN_NONBLOCK): Likewise.
10003         (__ASSUME_PIPE2): Likewise.
10004         (__ASSUME_EVENTFD2): Likewise.
10005         (__ASSUME_SIGNALFD4): Likewise.
10006         (__ASSUME_DUP3): Likewise.
10007         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10008         (__ASSUME_DUP3): Do not define.
10009         (__ASSUME_EVENTFD2): Likewise.
10010         (__ASSUME_IN_NONBLOCK): Likewise.
10011         (__ASSUME_O_CLOEXEC): Likewise.
10012         (__ASSUME_PIPE2): Likewise.
10013         (__ASSUME_SIGNALFD4): Likewise.
10014         (__ASSUME_SOCK_CLOEXEC): Likewise.
10015         (__ASSUME_UTIMES): Undefine.
10016         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10017         (__ASSUME_UTIMES): Do not define.
10018         (__ASSUME_O_CLOEXEC): Likewise.
10019         (__ASSUME_SOCK_CLOEXEC): Likewise.
10020         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10021         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10022         0x020621].
10023         (__ASSUME_PIPE2): Likewise.
10024         (__ASSUME_EVENTFD2): Likewise.
10025         (__ASSUME_SIGNALFD4): Likewise.
10026         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10027         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10028         Do not define.
10029         (__ASSUME_EVENTFD2): Likewise.
10030         (__ASSUME_SIGNALFD4): Likewise.
10031         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10032         (__ASSUME_32BITUIDS): Likewise.
10033         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10034         (__ASSUME_IPC64): Likewise.
10035         (__ASSUME_ST_INO_64_BIT): Likewise.
10036         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10037         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10038         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10039         (__ASSUME_UTIMES): Do not define.
10040         (__ASSUME_PSELECT): Likewise.
10041         (__ASSUME_PPOLL): Likewise.
10042         (__ASSUME_O_CLOEXEC): Likewise.
10043         (__ASSUME_SOCK_CLOEXEC): Likewise.
10044         (__ASSUME_IN_NONBLOCK): Likewise.
10045         (__ASSUME_PIPE2): Likewise.
10046         (__ASSUME_EVENTFD2): Likewise.
10047         (__ASSUME_SIGNALFD4): Likewise.
10048         (__ASSUME_DUP3): Likewise.
10049         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10050         (__ASSUME_UTIMES): Likewise.
10051         (__ASSUME_O_CLOEXEC): Likewise.
10052         (__ASSUME_SOCK_CLOEXEC): Likewise.
10053         (__ASSUME_IN_NONBLOCK): Likewise.
10054         (__ASSUME_PIPE2): Likewise.
10055         (__ASSUME_EVENTFD2): Likewise.
10056         (__ASSUME_SIGNALFD4): Likewise.
10057         (__ASSUME_DUP3): Likewise.
10058         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10059         (__ASSUME_UTIMES): Likewise.
10060         (__ASSUME_O_CLOEXEC): Likewise.
10061         (__ASSUME_SOCK_CLOEXEC): Likewise.
10062         (__ASSUME_IN_NONBLOCK): Likewise.
10063         (__ASSUME_PIPE2): Likewise.
10064         (__ASSUME_EVENTFD2): Likewise.
10065         (__ASSUME_SIGNALFD4): Likewise.
10066         (__ASSUME_DUP3): Likewise.
10067         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10068         Likewise.
10069         (__ASSUME_UTIMES): Likewise.
10070         (__ASSUME_EVENTFD2): Likewise.
10071         (__ASSUME_SIGNALFD4): Likewise.
10072         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10073         (__ASSUME_O_CLOEXEC): Likewise.
10074         (__ASSUME_SOCK_CLOEXEC): Likewise.
10075         (__ASSUME_IN_NONBLOCK): Likewise.
10076         (__ASSUME_PIPE2): Likewise.
10077         (__ASSUME_EVENTFD2): Likewise.
10078         (__ASSUME_SIGNALFD4): Likewise.
10079         (__ASSUME_DUP3): Likewise.
10080         (__ASSUME_UTIMES): Undefine.
10081
10082         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10083         feclearexcept.  Remove symbol versioning code.
10084         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10085         symbol versioning code.
10086         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10087         symbol versioning code.
10088         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10089         feupdateenv.  Remove symbol versioning code.
10090         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10091         fegetexceptflag.  Remove symbol versioning code.
10092         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10093         fesetexceptflag.  Remove symbol versioning code.
10094         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10095         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10096         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10097         (__posix_fadvise64_l32): Remove prototype.
10098         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10099         code.
10100
10101 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10102
10103         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10104         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10105         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10106         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10107
10108 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10109
10110         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10111         current working directory
10112
10113 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10114
10115         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10116         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10117         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10118         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10119         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10120         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10121         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10122         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10123         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10124         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10125         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10126         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10127         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10128         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10129         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10130         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10131         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10132         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10133         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10134         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10135         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10136         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10137         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10138         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10139         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10140         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10141         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10142         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10143         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10144         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10145         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10146         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10147         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10148         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10149         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10150         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10151         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10152         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10153         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10154         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10155         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10156         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10157
10158         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10159         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10160
10161         * sysdeps/unix/sysv/linux/arm/Makefile
10162         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10163         Add rt-aeabi_unwind_cpp_pr1.
10164         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10165         Add nptl-aeabi_unwind_cpp_pr1.
10166         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10167         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10168         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10169         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10170         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10171         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10172
10173         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10174         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10175         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10176         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10177
10178         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10179         Deconditionalize the code that was previously under [RESET_PID].
10180         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10181
10182         * sysdeps/generic/exit-thread.h: New file.
10183         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
10184         * include/unistd.h (__exit_thread): Remove declaration.
10185         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
10186         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
10187         * csu/libc-start.c: Include <exit-thread.h>.
10188         (LIBC_START_MAIN): Pass no argument to __exit_thread.
10189         * nptl/pthread_create.c: Include <exit-thread.h>.
10190         (start_thread): Call __exit_thread in place of __exit_thread_inline.
10191         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
10192         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
10193         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
10194         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
10195         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
10196         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
10197         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
10198         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
10199         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
10200         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
10201         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
10202         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
10203         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
10204         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
10205         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
10206         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
10207
10208 2014-05-13  Andreas Schwab  <schwab@suse.de>
10209
10210         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
10211
10212 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
10213
10214         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10215         (__ASSUME_UTIMES): Do not condition on kernel version.
10216         (__ASSUME_PSELECT): Define unconditionally.
10217         (__ASSUME_PPOLL): Likewise.
10218         (__ASSUME_ATFCTS): Likewise.
10219         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
10220         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
10221         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
10222         (__ASSUME_UTIMENSAT): Define unconditionally.
10223         (__ASSUME_PRIVATE_FUTEX): Likewise.
10224         (__ASSUME_FALLOCATE): Likewise.
10225         (__ASSUME_O_CLOEXEC): Likewise.
10226         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
10227         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
10228         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
10229         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
10230         (__ASSUME_IN_NONBLOCK): Likewise.
10231         (__ASSUME_PIPE2): Likewise.
10232         (__ASSUME_EVENTFD2): Likewise.
10233         (__ASSUME_SIGNALFD4): Likewise.
10234         (__ASSUME_DUP3): Likewise.
10235         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10236         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
10237         (__ASSUME_AT_RANDOM): Likewise.
10238         (__ASSUME_PREADV): Likewise.
10239         (__ASSUME_PWRITEV): Likewise.
10240         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
10241         (__ASSUME_F_GETOWN_EX): Define unconditionally.
10242         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
10243         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
10244         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
10245         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10246         (__ASSUME_O_CLOEXEC): Define unconditionally.
10247         (__ASSUME_PSELECT): Do not undefine conditionally.
10248         (__ASSUME_PPOLL): Likewise.
10249         (__ASSUME_ATFCTS): Likewise.
10250         (__ASSUME_SET_ROBUST_LIST): Likewise.
10251         (__ASSUME_UTIMENSAT): Likewise.
10252         (__ASSUME_FDATASYNC): Define unconditionally.
10253         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10254         (__ASSUME_SIGFRAME_V2): Likewise.
10255         )__ASSUME_EVENTFD2): Likewise.
10256         (__ASSUME_SIGNALFD4): Likewise.
10257         (__ASSUME_PSELECT): Do not undefine conditionally.
10258         (__ASSUME_PPOLL): Likewise.
10259         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10260         (__ASSUME_PSELECT): Define unconditionally.
10261         (__ASSUME_PPOLL): Likewise.
10262         (__ASSUME_O_CLOEXEC): Likewise.
10263         (__ASSUME_SOCK_CLOEXEC): Likewise.
10264         (__ASSUME_IN_NONBLOCK): Likewise.
10265         (__ASSUME_PIPE2): Likewise.
10266         (__ASSUME_EVENTFD2): Likewise.
10267         (__ASSUME_SIGNALFD4): Likewise.
10268         (__ASSUME_DUP3): Likewise.
10269         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10270         (__ASSUME_O_CLOEXEC): Likewise.
10271         (__ASSUME_SOCK_CLOEXEC): Likewise.
10272         (__ASSUME_IN_NONBLOCK): Likewise.
10273         (__ASSUME_PIPE2): Likewise.
10274         (__ASSUME_EVENTFD2): Likewise.
10275         (__ASSUME_SIGNALFD4): Likewise.
10276         (__ASSUME_DUP3): Likewise.
10277         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10278         (__ASSUME_EVENTFD2): Likewise.
10279         (__ASSUME_SIGNALFD4): Likewise.
10280         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10281
10282 2014-05-12  Andreas Schwab  <schwab@suse.de>
10283
10284         [BZ #16932]
10285         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
10286         (_nss_nis_gethostbyname4_r): Return error if item length is larger
10287         than maximum RPC packet size.
10288         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
10289         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
10290         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
10291         (_nss_nis_getservbyport_r): Likewise.
10292
10293 2014-05-12  Will Newton  <will.newton@linaro.org>
10294
10295         * malloc/Makefile (tests): Add tst-mallopt.
10296         * malloc/tst-mallopt.c: New file.
10297
10298 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10299
10300         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
10301         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
10302
10303 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10304
10305         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
10306         (tst-tlsmod6.so): Likewise.
10307
10308 2014-05-09  Roland McGrath  <roland@hack.frob.com>
10309
10310         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
10311
10312 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
10313
10314         [BZ #16064]
10315         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
10316         and <dl-procinfo.h>.
10317         (__fegetenv): Save SSE state in envp->__eip if supported.
10318         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
10319         envp->__eip if supported.
10320         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
10321         and <dl-procinfo.h>.
10322         (__fesetenv): Always set __eip, __cs_selector, __opcode,
10323         __data_offset and __data_selector in environment to 0.  Set SSE
10324         state if supported.
10325         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10326         test-fenv-sse.
10327         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
10328         -mfpmath=sse.
10329         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
10330
10331 2014-05-09  Will Newton  <will.newton@linaro.org>
10332
10333         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
10334         and libc_relro_required for ARM.
10335         * sysdeps/arm/preconfigure: Regenerate.
10336
10337 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
10338             Stefan Liebler  <stli@linux.vnet.ibm.com>
10339
10340         * config.make.in (enable-lock-elision): New Makefile variable.
10341         * configure.ac: Likewise.
10342         * configure: Regenerate.
10343         * sysdeps/s390/configure.ac:
10344         Add check for gcc transactions support.
10345         * sysdeps/s390/configure: Regenerate.
10346         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
10347         Build elision files if enabled.
10348         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
10349         Add lock elision support for s390.
10350         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
10351         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
10352         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
10353         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
10354         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10355         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
10356         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
10357         Likewise.
10358         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
10359         Likewise.
10360         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
10361         Likewise.
10362         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
10363         Likewise.
10364         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
10365         (__lll_timedlock_elision, __lll_lock_elision)
10366         (__lll_unlock_elision, __lll_trylock_elision)
10367         (lll_timedlock_elision, lll_lock_elision)
10368         (lll_unlock_elision, lll_trylock_elision): Add.
10369         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10370         (pthread_mutex_t): Add lock elision support for s390.
10371
10372 2014-05-14  Wilco  <wdijkstr@arm.com>
10373
10374         * sysdeps/arm/fclrexcpt.c: Cleanup.
10375         * sysdeps/arm/fedisblxcpt.c: Cleanup.
10376         * sysdeps/arm/feenablxcpt.c: Cleanup.
10377         * sysdeps/arm/fegetenv.c: Cleanup.
10378         * sysdeps/arm/fegetexcept.c: Cleanup.
10379         * sysdeps/arm/fegetround.c: Cleanup.
10380         * sysdeps/arm/feholdexcpt.c: Cleanup.
10381         * sysdeps/arm/fesetenv.c: Cleanup.
10382         * sysdeps/arm/fesetround.c: Cleanup.
10383         * sysdeps/arm/feupdateenv.c: Cleanup.
10384         * sysdeps/arm/fgetexcptflg.c: Cleanup.
10385         * sysdeps/arm/fraiseexcpt.c: Cleanup.
10386         * sysdeps/arm/fsetexcptflg.c: Cleanup.
10387         * sysdeps/arm/ftestexcept.c: Cleanup.
10388         * sysdeps/arm/get-rounding-mode.h: Cleanup.
10389         * sysdeps/arm/setfpucw.c: Cleanup.
10390
10391 2014-05-09  Will Newton  <will.newton@linaro.org>
10392
10393         * sysdeps/arm/armv7/strcmp.S: New file.
10394         * NEWS: Mention addition of ARMv7 optimized strcmp.
10395
10396 2014-05-08  Roland McGrath  <roland@hack.frob.com>
10397
10398         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
10399         look for %.ac rather than %.in.
10400
10401         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
10402         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
10403         * sysdeps/mach/hurd/configure: Regenerated.
10404         * sysdeps/unix/sysv/linux/configure: Regenerated.
10405
10406         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
10407
10408 2014-05-07  Steve Ellcey  <sellcey@mips.com>
10409
10410         [BZ# 16922]
10411         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
10412         (LONG_SUB): Ditto.
10413         (PTR_SUB): Ditto.
10414
10415 2014-05-07  Andreas Schwab  <schwab@suse.de>
10416
10417         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
10418         when skipping over non-matching result from nscd.
10419
10420 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
10421
10422         [BZ #16876]
10423         * nptl/sockperf.c (client): Check socket return value.
10424
10425         [BZ #16877]
10426         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
10427         nscd security class.
10428
10429 2014-05-06  Roland McGrath  <roland@hack.frob.com>
10430
10431         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
10432         * sysdeps/arm/unwind.h: ... here.
10433
10434 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
10435
10436         [BZ# 16916]
10437         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
10438         Define.
10439
10440 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10441
10442         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
10443         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
10444         multiarch strncpy for PPC64.
10445         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
10446         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
10447         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
10448         multiarch optimizations.
10449         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10450         (__libc_ifunc_impl_list): Likewise.
10451         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
10452         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
10453         multiarch stpncpy for PPC64.
10454         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
10455         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
10456
10457 2014-05-06  Andreas Schwab  <schwab@suse.de>
10458
10459         [BZ #16912]
10460         * gmon/mcount.c (_MCOUNT_DECL): Use
10461         atomic_compare_and_exchange_bool_acq instead of
10462         catomic_compare_and_exchange_bool_acq.
10463
10464 2014-05-05  Roland McGrath  <roland@hack.frob.com>
10465
10466         * elf/Makefile (others, install-bin): Remove pldd.
10467         (pldd-modules): Variable removed.
10468         ($(objpfx)pldd): Target removed.
10469         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
10470         (others, install-bin): Append pldd here.
10471         ($(objpfx)pldd): New target.
10472
10473         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
10474         to 0, so the first #if test emitted later doesn't see it undefined.
10475         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
10476         * sysdeps/gnu/errlist.c: Regenerated.
10477
10478 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10479
10480         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10481         [libc_hidden_builtin_def]: Define to empty value.
10482         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
10483         [libc_hidden_builtin_def]: Likewise.
10484         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
10485         [libc_hidden_builtin_def]: Likewise.
10486         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
10487         [libc_hidden_builtin_def]: Likewise.
10488         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
10489         __redirect_memcpy and define ifunc as default hidden symbol.
10490         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
10491         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
10492
10493 2014-05-04  Adam Conrad  <adconrad@0c3.net>
10494
10495         * locale/iso-4217.def: Reintroduce XDR currency.
10496
10497 2014-05-04  Allan McRae  <allan@archlinux.org>
10498
10499         * po/eo.po: Update Esperanto translation from translation project.
10500
10501 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
10502
10503         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
10504         and FEATURE_INDEX_MAX to 1.
10505         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
10506
10507 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10508
10509         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
10510         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
10511         * iconvdata/big5.c (ONE_DIRECTION): Define.
10512         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
10513         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
10514         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
10515         * iconvdata/cp932.c (ONE_DIRECTION): Define.
10516         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
10517         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
10518         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
10519         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
10520         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
10521         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
10522         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
10523         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
10524         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
10525         * iconvdata/gbk.c (ONE_DIRECTION): Define.
10526         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
10527         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
10528         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
10529         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
10530         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
10531         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
10532         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
10533         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
10534         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
10535         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
10536         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
10537         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
10538         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
10539         * iconvdata/iso646.c (ONE_DIRECTION): Define.
10540         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
10541         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
10542         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
10543         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
10544         * iconvdata/johab.c (ONE_DIRECTION): Define.
10545         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
10546         * iconvdata/sjis.c (ONE_DIRECTION): Define.
10547         * iconvdata/t.61.c (ONE_DIRECTION): Define.
10548         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
10549         * iconvdata/tscii.c (ONE_DIRECTION): Define.
10550         * iconvdata/uhc.c (ONE_DIRECTION): Define.
10551         * iconvdata/unicode.c (ONE_DIRECTION): Define.
10552         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
10553         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
10554         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
10555
10556 2014-05-01  Roland McGrath  <roland@hack.frob.com>
10557
10558         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
10559         (_IO_JUMPS_OFFSET): Define to 0.
10560
10561         * nptl/sysdeps/pthread/bits/libc-lock.h
10562         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10563         (__libc_lock_define_initialized_recursive): Always define using
10564         initializer.  Modern compilers treat uninitialized (implicit zero) and
10565         explicit zero initializers the same (i.e. put the datum in bss).
10566
10567 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10568
10569         * nscd/nscd-client.h: Include <string.h>.
10570
10571 2014-05-01  David S. Miller  <davem@davemloft.net>
10572
10573         [BZ #16885]
10574         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
10575         multiple zero bytes exist at the end of a string.
10576         Reported by Aurelien Jarno <aurelien@aurel32.net>
10577
10578         * string/test-strcmp.c (check): Add explicit test for situations where
10579         there are multiple zero bytes after the first.
10580
10581 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
10582
10583         [BZ #16890]
10584         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
10585         when compiling wprintf.
10586         * stdio-common/tstdiomisc.c (t3): New function.
10587         (main): Call it.
10588
10589 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10590
10591         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
10592         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
10593         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
10594         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
10595
10596 2014-05-01  Steve Ellcey  <sellcey@mips.com>
10597
10598         * stdlib/longlong.h: Updated from GCC.
10599
10600 2014-05-01  Will Newton  <will.newton@linaro.org>
10601             Bernard Ogden  <bernie.ogden@linaro.org>
10602
10603         * NEWS: Update fixed bug list.
10604
10605         [BZ #15119]
10606         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
10607
10608 2014-04-30  David S. Miller  <davem@davemloft.net>
10609
10610         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
10611         (libc_feholdexcept_setround_sparc_ctx): New function.
10612         (libc_fesetenv_sparc_ctx): Likewise.
10613         (libc_feupdateenv_sparc_ctx): Likewise.
10614         (libc_feholdsetround_sparc_ctx): Likewise.
10615         (libc_feholdexcept_setround_ctx): Define.
10616         (libc_feholdexcept_setroundf_ctx): Likewise.
10617         (libc_feholdexcept_setroundl_ctx): Likewise.
10618         (libc_fesetenv_ctx): Likewise.
10619         (libc_fesetenvf_ctx): Likewise.
10620         (libc_fesetenvl_ctx): Likewise.
10621         (libc_feupdateenv_ctx): Likewise.
10622         (libc_feupdateenvf_ctx): Likewise.
10623         (libc_feupdateenvl_ctx): Likewise.
10624         (libc_feresetround_ctx): Likewise.
10625         (libc_feresetroundf_ctx): Likewise.
10626         (libc_feresetroundl_ctx): Likewise.
10627         (libc_feholdsetround_ctx): Likewise.
10628         (libc_feholdsetroundf_ctx): Likewise.
10629         (libc_feholdsetroundl_ctx): Likewise.
10630
10631         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10632         with __USE_GNU instead of XOPEN cpp guards.
10633
10634         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10635         0.
10636
10637         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10638         with XOPEN cpp guards.
10639
10640 2014-04-30  Julian Brown  <julian@codesourcery.com>
10641
10642         [BZ #16888]
10643         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10644         handling.
10645
10646 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
10647
10648         [BZ #9894]
10649         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10650         Change to 2.6.32.
10651         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10652         * sysdeps/unix/sysv/linux/configure: Regenerated.
10653         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10654         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10655         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10656         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10657         * README: Update reference to required Linux kernel version.
10658         * manual/install.texi (Linux): Update reference to required Linux
10659         kernel headers version.
10660         * INSTALL: Regenerated.
10661
10662         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10663         header inclusion.
10664         [POSIX] (limits.h): Likewise.
10665         [POSIX] (math.h): Likewise.
10666         [POSIX] (sys/wait.h): Likewise.
10667         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10668         function.
10669         [POSIX] (stddef.h): Do not allow header inclusion.
10670
10671 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10672
10673         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10674
10675 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
10676
10677         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10678         Return immediately after lll_futex_wake.
10679
10680 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10681
10682         [BZ #16791]
10683         * nscd/nscd-client.h (datahead_init_common): Initialize entire
10684         structure.
10685         (datahead_init_pos): Call datahead_init_common early.
10686         (datahead_init_neg): Likewise.
10687
10688         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10689         datahead_init_neg): New functions.
10690         * nscd/aicache.c (addhstaiX): Use them.
10691         * nscd/grpcache.c (cache_addgr): Likewise.
10692         * nscd/hstcache.c (cache_addhst): Likewise.
10693         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10694         * nscd/netgroupcache.c (do_notfound): Likewise.
10695         (addgetnetgrentX): Likewise.
10696         (addinnetgrX): Likewise.
10697         * nscd/pwdcache.c (cache_addpw): Likewise.
10698         * nscd/servicescache.c (cache_addserv): Likewise.
10699
10700 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10701             Atsushi Onoe  <atsushi@onoe.org>
10702
10703         [BZ #14308]
10704         [BZ #12994]
10705         [BZ #13651]
10706         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10707         one response is valid.
10708         * resolv/res_send.c (send_dg): Check for validity of other
10709         response if the current response is a referral.
10710
10711 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10712
10713         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10714
10715 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10716
10717         [BZ #16823]
10718         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10719         Always divide by positive zero when computing -Inf result.
10720         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10721         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10722
10723 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10724
10725         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10726         FPSCR if value do not change.
10727         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10728         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10729         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10730         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10731         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10732         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10733         function.
10734
10735 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
10736
10737         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10738         * sysdeps/unix/sysv/linux/hppa: Move directory from
10739         ports/systeps/unix/sysv/linux/hppa.
10740         * README: Update listing for hppa-*-linux-gnu.
10741
10742 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
10743
10744         [BZ #16754]
10745         * manual/stdio.texi (Hook functions): Fix types of stream hook
10746         functions.
10747         [BZ #16854]
10748         * socket/sys/socket.h: Fix typo in comment.
10749
10750 2014-04-28  Wilco  <wdijkstr@arm.com>
10751
10752         * sysdeps/arm/fenv_private.h: New file.
10753         * sysdeps/arm/math_private.h: New file.
10754         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10755
10756 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
10757
10758         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10759         with __int128_t.
10760         (La_x86_64_retval): Likewise.
10761
10762 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
10763
10764         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10765         fpsr if value didn't change.
10766         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10767         to fpcr if value didn't change.
10768         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10769         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10770         fpsr or fpcr if value didn't change.
10771         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10772         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10773         fpcr if value didn't change.
10774         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10775         to fpsr if value didn't change.
10776
10777 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10778
10779         * nptl/tst-sem3.c: Use test-skeleton.c
10780         (main): Rename to do_test.  Use return instead of
10781         exit.
10782         * nptl/tst-sem4.c: Use test-skeleton.c
10783         (main): Rename to do_test.
10784
10785 2014-04-22  David S. Miller  <davem@davemloft.net>
10786
10787         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10788         (struct sigaction): New struct member __glibc_reserved0, change
10789         type of sa_flags to int.
10790
10791 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
10792
10793         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10794         (COUNT_LEADING_ZEROS_0): Define for AArch64.
10795
10796 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10797
10798         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10799         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10800
10801 2014-04-22  Will Newton  <will.newton@linaro.org>
10802             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
10803
10804         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10805         (__longjmp): Add longjmp and longjmp_target SystemTap
10806         probes.
10807         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10808         (__sigsetjmp): Add setjmp SystemTap probe.
10809
10810 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
10811
10812         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10813         match manual order.
10814
10815 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10816
10817         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10818
10819         * sysdeps/powerpc/fpu/fenv_private.h
10820         (libc_feholdexcept_setroundl_ctx): Define to
10821         libc_feholdexcept_setround_ppc_ctx.
10822         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10823         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10824         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10825         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10826
10827 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10828
10829         * sysdeps/aarch64/math-tests.h: New file.
10830
10831 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
10832
10833         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10834         New.
10835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10836         Check and set bit_AVX2_Usable.
10837         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10838         macro.
10839         (bit_AVX2): Likewise.
10840         (index_AVX2_Usable): Likewise.
10841         (CPUID_AVX2): Likewise.
10842         (HAS_AVX2): Likewise.
10843
10844 2014-04-17  Will Newton  <will.newton@linaro.org>
10845
10846         * manual/setjmp.texi (System V contexts): Add note that
10847         calling setcontext on a context created by a call to a
10848         signal handler is undefined.  Update text to note that
10849         setcontext from a signal handler is possible but not
10850         recommended.
10851
10852         [BZ #16629]
10853         * stdlib/tst-setcontext.c: Include signal.h.
10854         (main): Check that the signal stack before and
10855         after swapcontext is the same.
10856
10857         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10858         Re-implement to restore registers in user code and avoid
10859         rt_sigreturn system call.
10860
10861 2014-04-17  Wilco  <wdijkstr@arm.com>
10862
10863         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10864         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10865         * math/test-fenv.c: Skip exception trap tests on targets which only
10866         support non-stop mode.
10867
10868 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10869             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10870
10871         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10872         (libc_feholdsetround_aarch64_ctx)
10873         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10874         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10875         (libc_feresetround_ctx, libc_feresetroundf_ctx)
10876         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10877         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10878         (libc_feresetround_noexl_ctx): Define.
10879
10880 2014-04-16  Richard Henderson  <rth@redhat.com>
10881
10882         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10883
10884         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10885         unwind tables.
10886
10887         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10888         const from the non-libc, non-ldso copy.
10889
10890         * sysdeps/alpha/libm-test-ulps: Regenerate.
10891
10892 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
10893             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10894
10895         * sysdeps/aarch64/fpu/math_private.h: New file.
10896
10897 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10898
10899         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10900
10901 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
10902
10903         [BZ #16275]
10904         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10905         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10906         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10907         Intel MPX bound registers before _dl_profile_fixup.
10908         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10909         registers after _dl_profile_fixup.  Save and restore bound
10910         registers bnd0/bnd1 when calling _dl_call_pltexit.
10911         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10912         (LR_BND_OFFSET): Likewise.
10913         (LRV_BND0_OFFSET): Likewise.
10914         (LRV_BND1_OFFSET): Likewise.
10915
10916 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10917
10918         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10919         to...
10920         * sysdeps/mach/hurd/i386/tls.h: ... here.
10921         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10922         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10923         fields.
10924
10925 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10926
10927         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10928
10929 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10930
10931         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10932
10933 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10934
10935         [BZ #14770]
10936         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10937         * sysdeps/s390/configure: Regenerate.
10938
10939         [BZ #16824]
10940         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10941         Set round-to-nearest internally to reduce error accumulation.
10942
10943 2014-04-16  Alan Modra  <amodra@gmail.com>
10944
10945         [BZ #16740]
10946         [BZ #16619]
10947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10948         * math/libm-test.inc (frexp_test_data): Add tests.
10949         * NEWS: Update fixed bug list.
10950
10951 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10952
10953         * benchtests/Makefile: Depend on libraries in build directory.
10954         (bench-math): Separate out math tests.
10955         (bench-pthread): Separate out pthread tests.
10956         (bench): Include math and pthread tests.
10957
10958 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
10959
10960         [BZ #16831]
10961         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10962         _dl_debug_initialize.
10963
10964         * configure.ac: Remove SELinux header check.
10965         * configure: Regenerate.
10966         * nscd/selinux.c (perms): Array of const char* to permission names.
10967         (nscd_request_avc_has_perm): Call security_deny_unknown to find
10968         default policy. Call string_to_security_class and string_to_av_perm to
10969         translate strings. Enforce default policy and call avs_has_perm with
10970         results of translated strings.
10971
10972 2014-04-13  David S. Miller  <davem@davemloft.net>
10973
10974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10975
10976 2014-04-12  Allan McRae  <allan@archlinux.org>
10977
10978         [BZ #16838]
10979         * manual/string.texi (Collation Functions): Fix qsort argument
10980         order in example.
10981         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10982
10983 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
10984
10985         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10986         Make the test a no-op if there are no exceptions defined.
10987
10988 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10989
10990         * elf/Makefile (tests): make tst-dlopen-aout conditional on
10991         enable-hardcoded-path-in-tests
10992
10993 2014-04-11  Will Newton  <will.newton@linaro.org>
10994
10995         * benchtests/Makefile (extra-objs): Add json-lib.o.
10996         (bench-func): Tidy up JSON output.
10997         * benchtests/bench-skeleton.c: Include json-lib.h.
10998         (main): Use JSON library functions to do output of
10999         benchmark results.
11000         * benchtests/bench-timing-type.c (main): Output the
11001         timing type simply, leaving formatting to the user.
11002         * benchtests/json-lib.c: New file.
11003         * benchtests/json-lib.h: Likewise.
11004
11005 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11006
11007         [BZ #15215]
11008         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11009         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11010         memory barriers.  Add comments.
11011         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11012         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11013         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11014         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11015         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11016         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11017
11018 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11019
11020         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11021         * sysdeps/s390/s390-64/configure.ac: ... this ...
11022         * sysdeps/s390/configure.ac: ... to here.
11023         * sysdeps/s390/s390-32/configure: Delete file.
11024         * sysdeps/s390/s390-64/configure: Delete file.
11025         * sysdeps/s390/configure: Regenerate.
11026
11027 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11028
11029         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11030
11031 2014-04-11  Will Newton  <will.newton@linaro.org>
11032
11033         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11034         to zero if it is not defined elsewhere.  (mtrim): Test
11035         the value of MALLOC_DEBUG with #if rather than #ifdef.
11036
11037 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11038
11039         * benchtests/pthread_once-inputs: New file.
11040         * benchtests/pthread_once-source.c: New file.
11041         * benchtests/README: Update documentation.
11042
11043 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11044             H.J. Lu  <hongjiu.lu@intel.com>
11045
11046         [BZ #16275]
11047         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11048         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11049         * sysdeps/x86_64/configure: Regenerated.
11050         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11051         macro.
11052         (REGISTER_SAVE_RAX): Likewise.
11053         (REGISTER_SAVE_RCX): Likewise.
11054         (REGISTER_SAVE_RDX): Likewise.
11055         (REGISTER_SAVE_RSI): Likewise.
11056         (REGISTER_SAVE_RDI): Likewise.
11057         (REGISTER_SAVE_R8): Likewise.
11058         (REGISTER_SAVE_R9): Likewise.
11059         (REGISTER_SAVE_BND0): Likewise.
11060         (REGISTER_SAVE_BND1): Likewise.
11061         (REGISTER_SAVE_BND2): Likewise.
11062         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11063         bound registers when calling _dl_fixup.
11064
11065 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11066
11067         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11068         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11069         of its definition.
11070         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11071         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11072         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11073         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11074         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11075         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11076         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11077
11078 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11079
11080         [BZ #15514]
11081         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11082         pathconf(_PC_NAME_MAX).
11083
11084 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11085
11086         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11087         Remove macro usage.
11088         (__PTHREAD_SPINS): Move definition to ...
11089         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11090         (__PTHREAD_SPINS): ... here.
11091         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11092         (__PTHREAD_SPIN): Likewise.
11093         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11094         (__PTHREAD_SPIN): Likewise.
11095         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11096         (__PTHREAD_SPIN): Likewise.
11097         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11098         (__PTHREAD_SPIN): Likewise.
11099         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11100         (__PTHREAD_SPIN): Likewise.
11101         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11102         (__PTHREAD_SPIN): Likewise.
11103         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11104         (__PTHREAD_SPIN): Likewise.
11105         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11106         (__PTHREAD_SPIN): Likewise.
11107         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11108         (__PTHREAD_SPIN): Likewise.
11109         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11110         (__PTHREAD_SPIN): Likewise.
11111         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11112         (__PTHREAD_SPIN): Likewise.
11113         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11114         (__PTHREAD_SPIN): Likewise.
11115
11116         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11117         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11118         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11119         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11120         imply folder.
11121         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11122         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11123         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11124         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11125         correct imply path.
11126         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11127         strlen symbol for non multi-arch builds.
11128         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11129         missing hidden_def and weak_alias.
11130
11131 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11132
11133         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11134
11135 2014-04-07  Will Newton  <will.newton@linaro.org>
11136
11137         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11138         and contents.  [!_LIBC] Remove #ifndef and contents.
11139         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11140         * string/memccpy.c (__memccpy): Use ANSI prototype.
11141         * string/memfrob.c (memfrob): Likewise.
11142         * string/strcoll.c (STRCOLL): Likewise.
11143         * string/strlen.c (strlen): Likewise.
11144         * string/strtok.c (STRTOK): Likewise.
11145         * string/strcat.c: Remove unused #include of memcopy.h.
11146         (strcat): Use ANSI prototype.
11147         * string/strchr.c: Remove unused #include of memcopy.h.
11148         (strchr): Use ANSI prototype.
11149         * string/strcmp.c: Remove unused #include of memcopy.h.
11150         (strcmp): Use ANSI prototype.
11151         * string/strcpy.c: Remove unused #include of memcopy.h.
11152         (strcpy): Use ANSI prototype.
11153
11154 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11155
11156         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11157         * config.make.in (config-extra-cppflags): Set it from
11158         libc_extra_cppflags.
11159         * configure.ac (libc_extra_cflags): Make it accumulate over
11160         configure fragments.
11161         (libc_extra_cppflags): New flag.
11162         * configure. Regenerate.
11163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11164         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11165         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11167
11168         [BZ #16815]
11169         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11170         result for FE_DOWNWARD rounding mode.
11171         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11172         Likewise.
11173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11174
11175 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11176
11177         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11178         in function argument name.
11179
11180 2014-04-03  David Svoboda  <svoboda@cert.org>
11181
11182         [BZ #5666]
11183         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
11184         explicitly.
11185
11186 2014-04-03  Roland McGrath  <roland@hack.frob.com>
11187
11188         * elf/dl-unmap-segments.h: New file.
11189         * sysdeps/generic/ldsodefs.h
11190         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
11191         * elf/dl-close.c: Include <dl-unmap-segments.h>.
11192         * elf/dl-fptr.c: Likewise.
11193         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
11194         * sysdeps/aarch64/tlsdesc.c: Likewise.
11195         * sysdeps/arm/tlsdesc.c: Likewise.
11196         * sysdeps/i386/tlsdesc.c: Likewise.
11197         * sysdeps/tile/dl-runtime.c: Likewise.
11198         * sysdeps/x86_64/tlsdesc.c: Likewise.
11199         * elf/dl-load.h: New file.
11200         * elf/dl-load.c: Include it.
11201         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
11202         Macros moved to dl-load.h.
11203         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
11204         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
11205         Use _dl_unmap_segments in place of __munmap.
11206         Break out segment-mapping loop into ...
11207         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
11208
11209 2014-04-03  Will Newton  <will.newton@linaro.org>
11210
11211         * elf/dl-lookup.c (do_lookup_x): Remove comment
11212         referring to nested function and move variable
11213         declarations down to before first use.
11214
11215 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
11216
11217         [BZ #16799]
11218         [BZ #16800]
11219         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
11220         with 0 numerator.
11221         * math/s_catanf.c (__catanf): Likewise.
11222         * math/s_catanh.c (__catanh): Likewise.
11223         * math/s_catanhf.c (__catanhf): Likewise.
11224         * math/s_catanhl.c (__catanhl): Likewise.
11225         * math/s_catanl.c (__catanl): Likewise.
11226         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
11227         by positive zero when computing -Inf result.
11228         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
11229         (catanh_test): Likewise.
11230         * sysdeps/i386/fpu/libm-test-ulps: Update.
11231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11232
11233         [BZ #16789]
11234         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
11235         instead of using underflowing value in computing result.
11236         * math/s_clog10.c (__clog10): Likewise.
11237         * math/s_clog10f.c (__clog10f): Likewise.
11238         * math/s_clog10l.c (__clog10l): Likewise.
11239         * math/s_clogf.c (__clogf): Likewise.
11240         * math/s_clogl.c (__clogl): Likewise.
11241         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
11242         (clog10_test): Likewise.
11243         * sysdeps/i386/fpu/libm-test-ulps: Update.
11244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11245
11246 2014-04-02  Alan Modra  <amodra@gmail.com>
11247
11248         [BZ #16739]
11249         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
11250         output when value is near a power of two.  Use int64_t for lx and
11251         remove casts.  Use decimal rather than hex exponent constants.
11252         Don't use long double multiplication when double will suffice.
11253         * math/libm-test.inc (nextafter_test_data): Add tests.
11254         * NEWS: Add 16739 and 16786 to bug list.
11255
11256         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
11257
11258         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
11259
11260 2014-04-01  Will Newton  <will.newton@linaro.org>
11261
11262         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
11263         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
11264
11265 2014-04-01  Florian Weimer  <fweimer@redhat.com>
11266
11267         [BZ #13347]
11268         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
11269         * nptl/tst-setuid2.c: New file.
11270         * nptl/Makefile (xtests): Add tst-setuid2.
11271
11272 2014-04-01  Alan Modra  <amodra@gmail.com>
11273
11274         [BZ #16786]
11275         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
11276
11277 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11278
11279         [BZ #6803]
11280         [BZ #6804]
11281         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
11282         set errno as appropriate.
11283         * math/w_scalbf.c (__scalbf): Likewise.
11284         * math/w_scalbl.c (__scalbl): Likewise.
11285         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
11286         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
11287         * math/libm-test.inc (scalb_test_data): Add errno expectations.
11288         Add more NaN tests.
11289
11290         [BZ #16349]
11291         * math/w_atan2.c: Include <errno.h>.
11292         (__atan2): Set errno for result underflowing to zero.
11293         * math/w_atan2f.c: Include <errno.h>.
11294         (__atan2f): Set errno for result underflowing to zero.
11295         * math/w_atan2l.c: Include <errno.h>.
11296         (__atan2l): Set errno for result underflowing to zero.
11297         * math/auto-libm-test-in: Don't allow missing errno for some atan2
11298         tests.
11299         * math/auto-libm-test-out: Regenerated.
11300
11301 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11302
11303         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
11304         Encode instruction correctly in little endian.
11305         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
11306         Likewise.
11307         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
11308         Likewise.
11309         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
11310         Likewise.
11311         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
11312         Likewise.
11313
11314 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
11315
11316         [BZ #9894]
11317         * sysdeps/unix/sysv/linux/kernel-features.h
11318         [__sparc__ && !__arch64__ && !__sparc_v9__]
11319         (__ASSUME_SET_ROBUST_LIST): Do not define.
11320         [__sparc__ && !__arch64__ && !__sparc_v9__]
11321         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11322         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
11323         Likewise.
11324         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11325         (__ASSUME_FUTEX_LOCK_PI): Undefine.
11326         (__ASSUME_REQUEUE_PI): Likewise.
11327         (__ASSUME_SET_ROBUST_LIST): Likewise.
11328         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11329         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
11330         Undefine.
11331         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11332         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
11333         Likewise.
11334         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
11335         Likewise.
11336         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
11337         Likewise.
11338         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11339         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
11340         Undefine.
11341         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
11342         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
11343         Likewise.
11344
11345         [BZ #16648]
11346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11347         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
11348         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
11349
11350 2014-03-31  Will Newton  <will.newton@linaro.org>
11351
11352         * benchtests/Makefile (bench): Add ffs and ffsll to list
11353         of tests.
11354         * benchtests/ffs-inputs: New file.
11355         * benchtests/ffsll-inputs: Likewise.
11356
11357 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
11358
11359         [BZ #16770]
11360         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
11361         too large before casting to int.
11362         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
11363         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
11364         * math/libm-test.inc (scalb_test_data): Add more tests.
11365
11366 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11367
11368         * benchtests/Makefile (DETAILED_OPT): New make option.
11369         (bench-func): Run benchmark program with -d if DETAILED_OPT is
11370         set.
11371         * benchtests/bench-skeleton.c: Include stdbool.h.
11372         (main): Store and print timings per input.
11373         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
11374         member to each argument value.
11375         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
11376         (_print_arg_data): Initialize per-input timing to 0.
11377
11378         * benchtests/Makefile (timing-type): New binary.
11379         (bench-clean): Also remove bench-timing-type.
11380         (bench): New target for timing-type.
11381         (bench-func): Print output in JSON format.
11382         * benchtests/bench-skeleton.c (main): Print output in JSON
11383         format.
11384         * benchtests/bench-timing-type.c: New file.
11385         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
11386         (TIMING_PRINT_STATS): Remove.
11387         * benchtests/scripts/bench.py (_print_arg_data): Store variant
11388         name separately.
11389
11390         * benchtests/bench-modf.c: Remove.
11391         * benchtests/modf-inputs: New inputs file.
11392
11393 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
11394
11395         [BZ #16362]
11396         * math/s_clog10.c (M_PI_LOG10E): New macro.
11397         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
11398         imaginary parts are 0.
11399         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
11400         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
11401         imaginary parts are 0.
11402         * math/s_clog10l.c (M_PI_LOG10El): New macro.
11403         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
11404         imaginary parts are 0.
11405         * math/libm-test.inc (clog10_test_data): Update expected results
11406         for when real and imaginary parts are 0.
11407
11408 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
11409
11410         * elf/dl-load.c: Finish conversion of __builtin_expect into
11411         __glibc_{un}likely.
11412
11413 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
11414
11415         [BZ #16348]
11416         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
11417         1+x for argument with exponent below -67.
11418         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
11419         Likewise.
11420         * math/auto-libm-test-in: Add more tests of exp.
11421         * math/auto-libm-test-out: Regenerated.
11422
11423 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11424
11425         [BZ #16759]
11426         * inet/getnetgrent_r.c (get_nonempty_val): New function.
11427         (nscd_getnetgrent): Use it.
11428
11429         [BZ #16760]
11430         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
11431         of stpcpy.
11432
11433 2014-03-27  Andi Kleen  <ak@linux.intel.com>
11434
11435         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
11436         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11437         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11438         (lll_robust_unlock): Remove out of line section. Use cfi
11439         intrinsics.
11440         (LLL_STUB_UNWIND_INFO*): Remove.
11441         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
11442         (lll_robust_lock, lll_cond_lock, lll_timedlock)
11443         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
11444         (lll_robust_unlock): Remove out of line section. Use cfi
11445         intrinsics.
11446         (LLL_STUB_UNWIND_INFO*): Remove.
11447
11448 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11449
11450         [BZ #16758]
11451         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
11452         blank values.
11453
11454 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
11455
11456         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
11457
11458 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
11459
11460         [BZ #16198]
11461         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
11462         fnstenv.
11463         * math/test-fenv-preserve.c: New file.
11464         * math/Makefile (tests): Add test-fenv-preserve.
11465
11466 2014-03-26  Will Newton <will.newton@linaro.org>
11467
11468         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
11469
11470 2014-03-25  Roland McGrath  <roland@hack.frob.com>
11471
11472         * scripts/versionlist.awk: Partition the version sets and emit all
11473         GLIBC_* (sorted) before all others (sorted).
11474
11475 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11476
11477         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
11478         GLIBC_2.2.5 version.
11479
11480 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11481
11482         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
11483         calls.
11484
11485         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
11486         previous change.
11487
11488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11489
11490 2014-03-25  Andreas Schwab  <schwab@suse.de>
11491
11492         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
11493         label to be used after in6ailist is initialized.
11494
11495 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11496
11497         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11498         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11499
11500 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
11501
11502         [BZ #16357]
11503         [BZ #16599]
11504         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
11505         min_plus_half.
11506         (fp_formats): Update initializers.
11507         (init_fp_formats): Initialize new field.
11508         (output_for_one_input_case): Allow underflow for results up to
11509         min_plus_half.
11510         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
11511         * math/auto-libm-test-in: Don't mark some underflows from asin and
11512         atanh as spurious.
11513         * math/auto-libm-test-out: Regenerated.
11514         * sysdeps/i386/fpu/libm-test-ulps: Update.
11515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11516
11517 2014-03-25  Andreas Schwab  <schwab@suse.de>
11518
11519         * libio/Makefile (tst-ftell-partial-wide-ENV)
11520         (tst-ftell-active-handler-ENV): Define.
11521
11522 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
11523
11524         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
11525
11526 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11527
11528         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
11529
11530 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11531
11532         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
11533         * sysdeps/x86_64/fpu/multiarch/e_exp.c
11534         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
11535
11536 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
11537
11538         [BZ #16634]
11539         * elf/dl-load.c (open_verify): Add mode parameter.
11540         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
11541         (open_path): Change from boolean 'secure' to complete flag 'mode'
11542         (_dl_map_object): Adjust.
11543         * elf/Makefile (tests): Add tst-dlopen-aout.
11544         * elf/tst-dlopen-aout.c: New test.
11545
11546 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
11547
11548         [BZ #16714]
11549         * sysdeps/unix/sysv/linux/s390/bits/stat.h
11550         (struct stat): Rename member pad0 to __glibc_reserved0.
11551
11552         [BZ #16712]
11553         * sysdeps/s390/s390-32/bits/wordsize.h
11554         (__WORDSIZE32_SIZE_ULONG): New define.
11555         * sysdeps/s390/s390-64/bits/wordsize.h
11556         (__WORDSIZE32_SIZE_ULONG): Likewise.
11557         * sysdeps/generic/stdint.h (SIZE_MAX):
11558         Define as UL if __WORDSIZE32_SIZE_ULONG.
11559
11560         [BZ #16713]
11561         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
11562         (__glibc_reserved0): New variable.
11563         (sa_flags): Change type to int.
11564
11565         * posix/Makefile (before-compile): Use += before-compile instead
11566         of a :=.
11567
11568         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11569         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
11570
11571 2014-03-20  Andreas Schwab  <schwab@suse.de>
11572
11573         [BZ #16743]
11574         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
11575         non-matching result from nscd.
11576
11577 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11578
11579         * scripts/bench.py: Moved to ...
11580         * benchtests/scripts/bench.py: ... here.
11581         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
11582
11583 2014-03-24  Andreas Schwab  <schwab@suse.de>
11584
11585         [BZ #16002]
11586         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
11587         alloca_account and account alloca use for struct in6ailist.
11588
11589 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
11590
11591         [BZ #16284]
11592         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
11593         rounding mode to recompute results that overflow to infinity or
11594         underflow to zero.
11595         * math/auto-libm-test-in: Don't mark tests as expected to fail for
11596         bug 16284.
11597         * math/auto-libm-test-out: Regenerated.
11598         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
11599         (ccosh_test): Likewise.
11600         (csin_test_data): Use plus_oflow.
11601         (csin_test): Use ALL_RM_TEST.
11602         (csinh_test_data): Use plus_oflow.
11603         (csinh_test): Use ALL_RM_TEST.
11604         * sysdeps/i386/fpu/libm-test-ulps: Update.
11605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11606
11607 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
11608
11609         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
11610         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
11611         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11612
11613         [BZ #16731]
11614         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11615         when x - 1 is zero.
11616         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11617         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11618         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11619         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11620         argument is 1.
11621         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11622         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11623         zero.
11624         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11625         * sysdeps/i386/fpu/libm-test-ulps: Update.
11626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11627
11628 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11629
11630         * scripts/bench.pl: Remove file.
11631         * scripts/bench.py: New benchmark script.
11632         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11633         * benchtests/README: Mention python dependency.
11634         * scripts/pylintrc: New file.
11635         * scripts/pylint: New file.
11636
11637         * bits/mathdef.h: Use #ifdef instead of #if.
11638         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11639         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11640         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11641         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11642         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11643         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11644
11645 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11646             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11647
11648         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11649         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11650         and strpbrk-ppc64 objects.
11651         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11652         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11653         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11654         multiarch strpbrk for POWER7.
11655         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11656         multiarch strpbrk for PPC64.
11657         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11658         ifunc selector.
11659         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11660         strpbrk for POWER7.
11661
11662 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11663
11664         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11665         (atan_test): Likewise.
11666         (atanh_test_data): Use NO_TEST_INLINE for two tests.
11667         (atanh_test): Use ALL_RM_TEST.
11668         (atan2_test_data): Likewise.
11669         (cabs_test): Likewise.
11670         (cacosh_test): Likewise.
11671         (carg_test): Likewise.
11672         (casin_test): Likewise.
11673         (casinh_test): Likewise.
11674         (cbrt_test): Likewise.
11675         (csqrt_test): Likewise.
11676         (erf_test): Likewise.
11677         (erfc_test): Likewise.
11678         (pow10_test): Likewise.
11679         (exp2_test): Likewise.
11680         (hypot_test): Likewise.
11681         (j0_test): Likewise.
11682         (j1_test): Likewise.
11683         (lgamma_test): Likewise.
11684         (gamma_test): Likewise.
11685         (sincos_test): Likewise.
11686         (tanh_test): Likewise.
11687         (y0_test): Likewise.
11688         (y1_test): Likewise.
11689         * sysdeps/i386/fpu/libm-test-ulps: Update.
11690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11691
11692 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11693
11694         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11696         and strcspn-ppc64 objects.
11697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11698         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11699         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11700         multiarch strcspn for POWER7.
11701         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11702         multiarch strcspn for PPC64.
11703         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11704         ifunc selector.
11705         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11706         strcspn for POWER7.
11707
11708 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11709
11710         * math/gen-libm-test.pl (generate_testfile): Expect only function
11711         name as argument to AUTO_TESTS_* and pass results for all rounding
11712         modes to parse_args.
11713         (parse_auto_input): Separate inputs of automatic tests from
11714         outputs before storing in %auto_tests.
11715         * math/libm-test.inc (acos_test_data): Update call to
11716         AUTO_TESTS_f_f.
11717         (acos_test): Use ALL_RM_TEST.
11718         (acos_tonearest_test_data): Remove.
11719         (acos_test_tonearest): Likewise.
11720         (acos_towardzero_test_data): Likewise.
11721         (acos_test_towardzero): Likewise.
11722         (acos_downward_test_data): Likewise.
11723         (acos_test_downward): Likewise.
11724         (acos_upward_test_data): Likewise.
11725         (acos_test_upward): Likewise.
11726         (acosh_test_data): Update call to AUTO_TESTS_f_f.
11727         (asin_test_data): Likewise.
11728         (asin_test): Use ALL_RM_TEST.
11729         (asin_tonearest_test_data): Remove.
11730         (asin_test_tonearest): Likewise.
11731         (asin_towardzero_test_data): Likewise.
11732         (asin_test_towardzero): Likewise.
11733         (asin_downward_test_data): Likewise.
11734         (asin_test_downward): Likewise.
11735         (asin_upward_test_data): Likewise.
11736         (asin_test_upward): Likewise.
11737         (asinh_test_data): Update call to AUTO_TESTS_f_f.
11738         (atan_test_data): Likewise.
11739         (atanh_test_data): Likewise.
11740         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11741         (cabs_test_data): Update call to AUTO_TESTS_c_f.
11742         (carg_test_data): Likewise.
11743         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11744         (ccos_test_data): Update call to AUTO_TESTS_c_c.
11745         (ccosh_test_data): Likewise.
11746         (cexp_test_data): Likewise.
11747         (clog_test_data): Likewise.
11748         (clog10_test_data): Likewise.
11749         (cos_test_data): Update call to AUTO_TESTS_f_f.
11750         (cos_test): Use ALL_RM_TEST.
11751         (cos_tonearest_test_data): Remove.
11752         (cos_test_tonearest): Likewise.
11753         (cos_towardzero_test_data): Likewise.
11754         (cos_test_towardzero): Likewise.
11755         (cos_downward_test_data): Likewise.
11756         (cos_test_downward): Likewise.
11757         (cos_upward_test_data): Likewise.
11758         (cos_test_upward): Likewise.
11759         (cosh_test_data): Update call to AUTO_TESTS_f_f.
11760         (cosh_test): Use ALL_RM_TEST.
11761         (cosh_tonearest_test_data): Remove.
11762         (cosh_test_tonearest): Likewise.
11763         (cosh_towardzero_test_data): Likewise.
11764         (cosh_test_towardzero): Likewise.
11765         (cosh_downward_test_data): Likewise.
11766         (cosh_test_downward): Likewise.
11767         (cosh_upward_test_data): Likewise.
11768         (cosh_test_upward): Likewise.
11769         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11770         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11771         (ctan_test_data): Likewise.
11772         (ctan_test): Use ALL_RM_TEST.
11773         (ctan_tonearest_test_data): Remove.
11774         (ctan_test_tonearest): Likewise.
11775         (ctan_towardzero_test_data): Likewise.
11776         (ctan_test_towardzero): Likewise.
11777         (ctan_downward_test_data): Likewise.
11778         (ctan_test_downward): Likewise.
11779         (ctan_upward_test_data): Likewise.
11780         (ctan_test_upward): Likewise.
11781         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11782         (ctanh_test): Use ALL_RM_TEST.
11783         (ctanh_tonearest_test_data): Remove.
11784         (ctanh_test_tonearest): Likewise.
11785         (ctanh_towardzero_test_data): Likewise.
11786         (ctanh_test_towardzero): Likewise.
11787         (ctanh_downward_test_data): Likewise.
11788         (ctanh_test_downward): Likewise.
11789         (ctanh_upward_test_data): Likewise.
11790         (ctanh_test_upward): Likewise.
11791         (erf_test_data): Update call to AUTO_TESTS_f_f.
11792         (erfc_test_data): Likewise.
11793         (exp_test_data): Likewise.
11794         (exp_test): Use ALL_RM_TEST.
11795         (exp_tonearest_test_data): Remove.
11796         (exp_test_tonearest): Likewise.
11797         (exp_towardzero_test_data): Likewise.
11798         (exp_test_towardzero): Likewise.
11799         (exp_downward_test_data): Likewise.
11800         (exp_test_downward): Likewise.
11801         (exp_upward_test_data): Likewise.
11802         (exp_test_upward): Likewise.
11803         (exp10_test_data): Update call to AUTO_TESTS_f_f.
11804         (exp10_test): Use ALL_RM_TEST.
11805         (exp10_tonearest_test_data): Remove.
11806         (exp10_test_tonearest): Likewise.
11807         (exp10_towardzero_test_data): Likewise.
11808         (exp10_test_towardzero): Likewise.
11809         (exp10_downward_test_data): Likewise.
11810         (exp10_test_downward): Likewise.
11811         (exp10_upward_test_data): Likewise.
11812         (exp10_test_upward): Likewise.
11813         (exp2_test_data): Update call to AUTO_TESTS_f_f.
11814         (expm1_test_data): Likewise.
11815         (expm1_test): Use ALL_RM_TEST.
11816         (expm1_tonearest_test_data): Remove.
11817         (expm1_test_tonearest): Likewise.
11818         (expm1_towardzero_test_data): Likewise.
11819         (expm1_test_towardzero): Likewise.
11820         (expm1_downward_test_data): Likewise.
11821         (expm1_test_downward): Likewise.
11822         (expm1_upward_test_data): Likewise.
11823         (expm1_test_upward): Likewise.
11824         (fma_test_data): Update call to AUTO_TESTS_fff_f.
11825         (fma_test): Use ALL_RM_TEST.
11826         (fma_towardzero_test_data): Remove.
11827         (fma_test_towardzero): Likewise.
11828         (fma_downward_test_data): Likewise.
11829         (fma_test_downward): Likewise.
11830         (fma_upward_test_data): Likewise.
11831         (fma_test_upward): Likewise.
11832         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11833         (j0_test_data): Update call to AUTO_TESTS_f_f.
11834         (j1_test_data): Likewise.
11835         (jn_test_data): Update call to AUTO_TESTS_if_f.
11836         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11837         (log_test_data): Update call to AUTO_TESTS_f_f.
11838         (log10_test_data): Likewise.
11839         (log1p_test_data): Likewise.
11840         (log2_test_data): Likewise.
11841         (pow_test_data): Update call to AUTO_TESTS_ff_f.
11842         (pow_tonearest_test_data): Likewise.
11843         (sin_test_data): Update call to AUTO_TESTS_f_f.
11844         (sin_test): Use ALL_RM_TEST.
11845         (sin_tonearest_test_data): Remove.
11846         (sin_test_tonearest): Likewise.
11847         (sin_towardzero_test_data): Likewise.
11848         (sin_test_towardzero): Likewise.
11849         (sin_downward_test_data): Likewise.
11850         (sin_test_downward): Likewise.
11851         (sin_upward_test_data): Likewise.
11852         (sin_test_upward): Likewise.
11853         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11854         (sinh_test_data): Update call to AUTO_TESTS_f_f.
11855         (sinh_test): Use ALL_RM_TEST.
11856         (sinh_tonearest_test_data): Remove.
11857         (sinh_test_tonearest): Likewise.
11858         (sinh_towardzero_test_data): Likewise.
11859         (sinh_test_towardzero): Likewise.
11860         (sinh_downward_test_data): Likewise.
11861         (sinh_test_downward): Likewise.
11862         (sinh_upward_test_data): Likewise.
11863         (sinh_test_upward): Likewise.
11864         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11865         (sqrt_test): Use ALL_RM_TEST.
11866         (sqrt_tonearest_test_data): Remove.
11867         (sqrt_test_tonearest): Likewise.
11868         (sqrt_towardzero_test_data): Likewise.
11869         (sqrt_test_towardzero): Likewise.
11870         (sqrt_downward_test_data): Likewise.
11871         (sqrt_test_downward): Likewise.
11872         (sqrt_upward_test_data): Likewise.
11873         (sqrt_test_upward): Likewise.
11874         (tan_test_data): Update call to AUTO_TESTS_f_f.
11875         (tan_test): Use ALL_RM_TEST.
11876         (tan_tonearest_test_data): Remove.
11877         (tan_test_tonearest): Likewise.
11878         (tan_towardzero_test_data): Likewise.
11879         (tan_test_towardzero): Likewise.
11880         (tan_downward_test_data): Likewise.
11881         (tan_test_downward): Likewise.
11882         (tan_upward_test_data): Likewise.
11883         (tan_test_upward): Likewise.
11884         (tanh_test_data): Update call to AUTO_TESTS_f_f.
11885         (tgamma_test_data): Likewise.
11886         (y0_test_data): Likewise.
11887         (y1_test_data): Likewise.
11888         (yn_test_data): Update call to AUTO_TESTS_if_f.
11889         (main): Do not call removed functions.
11890
11891 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11892
11893         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11894         (ldexp_test_data): Remove.
11895         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
11896         scalbn_test_data.
11897         (scalb_test): Use ALL_RM_TEST.
11898
11899 2014-03-19  Andreas Schwab  <schwab@suse.de>
11900
11901         * nscd/nscd.service: Also invalidate netgroup cache on reload.
11902
11903 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11904
11905         [BZ #16649]
11906         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11907         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11908         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11910         (__ASSUME_PREADV): Undefine.
11911         (__ASSUME_PWRITEV): Likewise.
11912
11913 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11914
11915         * bits/mman-linux.h: Add comment about non-Linux use.
11916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11917         bits/mman-linux.h resting place.
11918
11919         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11920         * bits/mman-linux.h: ... here.
11921
11922 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11923
11924         * conform/conformtest.pl: Add standard definition when calling C
11925         preprocessor on data files.
11926         (checknamespace): Remove unused variable.
11927
11928 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11929
11930         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11931         minus_oflow, plus_uflow and minus_uflow in expected results.
11932         * math/libm-test.inc (scalbn_test_data): Add more tests of
11933         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
11934         minus_uflow.
11935         (scalbn_test): Use ALL_RM_TEST.
11936         (scalbln_test_data): Add more tests of negative arguments.  Use
11937         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11938         (scalbln_test): Use ALL_RM_TEST.
11939
11940 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11941
11942         * scripts/abilist.awk: Ignore symbols marked with .hidden.
11943
11944 2014-03-18  Will Newton  <will.newton@linaro.org>
11945
11946         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11947         inaccurate comment.
11948
11949 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11950
11951         * Makerules [!subdir] (check-abi): Exit with error status if a
11952         test failed.
11953
11954 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11955
11956         * math/libm-test.inc (nearbyint_test_data): Include all tests used
11957         for rint.  Include results for all rounding modes.
11958         (nearbyint_test): Use ALL_RM_TEST.
11959         (rint_test_data): Include all tests used for nearbyint.
11960
11961 2014-03-17  Will Newton  <will.newton@linaro.org>
11962
11963         * nptl/sysdeps/pthread/pthread.h: Revert previous
11964         change.
11965
11966         * sysdeps/generic/ldsodefs.h: Revert previous
11967         change.
11968
11969         * libio/genops.c: Revert previous change.
11970         * libio/libioP.h: Likewise.
11971         * stdio-common/vfprintf.c: Likewise.
11972
11973         * sysdeps/generic/math_private.h: Revert previous
11974         change.
11975
11976         * sysdeps/generic/math_private.h: Check whether
11977         HAVE_RM_CTX is defined with #ifdef rather
11978         than #if.
11979
11980         * argp/argp-fmtstream.h: Check whether
11981         __STRICT_ANSI__ is defined with #ifdef rather
11982         than #if.
11983         * argp/argp.h: Likewise.
11984
11985         * libio/genops.c: Check whether
11986         _IO_JUMPS_OFFSET is defined with #ifdef rather
11987         than #if.
11988         * libio/libioP.h: Likewise.
11989         * stdio-common/vfprintf.c: Likewise.
11990
11991         * sysdeps/generic/ldsodefs.h: Check whether
11992         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11993         than #if.
11994
11995         * nptl/sysdeps/pthread/pthread.h: Check
11996         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11997         its value.
11998
11999 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12000
12001         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12002         setting O_APPEND.
12003         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12004         test case.
12005
12006         [BZ #16680]
12007         * libio/fileops.c (_IO_file_open): Seek to end of file but
12008         don't cache the offset.
12009         (get_file_offset): Remove function.
12010         (do_ftell): Use cached offset when available.
12011         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12012         don't cache the offset.
12013         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12014         case.
12015         (do_one_test): Call it.
12016         (do_ftell_test): Fix up expected old offset for a+ mode.
12017         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12018         available.
12019
12020         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12021         up test status with function return status.
12022         (do_write_test): Likewise.
12023         (do_append_test): Likewise.
12024
12025         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12026         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12027         Remove.
12028
12029 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12030
12031         * math/gen-libm-test.pl (parse_args): Handle results specified for
12032         each rounding mode separately.
12033         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12034         tests and results from lrint_tonearest_test_data,
12035         lrint_towardzero_test_data, lrint_downward_test_data and
12036         lrint_upward_test_data.
12037         (lrint_test): Use ALL_RM_TEST.
12038         (lrint_tonearest_test_data): Remove.
12039         (lrint_test_tonearest): Likewise.
12040         (lrint_towardzero_test_data): Likewise.
12041         (lrint_test_towardzero): Likewise.
12042         (lrint_downward_test_data): Likewise.
12043         (lrint_test_downward): Likewise.
12044         (lrint_upward_test_data): Likewise.
12045         (lrint_test_upward): Likewise.
12046         (llrint_test_data): Merge in per-rounding-mode tests and results
12047         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12048         llrint_downward_test_data and llrint_upward_test_data.
12049         (llrint_test): Use ALL_RM_TEST.
12050         (llrint_tonearest_test_data): Remove.
12051         (llrint_test_tonearest): Likewise.
12052         (llrint_towardzero_test_data): Likewise.
12053         (llrint_test_towardzero): Likewise.
12054         (llrint_downward_test_data): Likewise.
12055         (llrint_test_downward): Likewise.
12056         (llrint_upward_test_data): Likewise.
12057         (llrint_test_upward): Likewise.
12058         (rint_test_data): Merge in per-rounding-mode tests and results
12059         from rint_tonearest_test_data, rint_towardzero_test_data,
12060         rint_downward_test_data and rint_upward_test_data.  Add
12061         per-rounding-mode results for tests not in those arrays.
12062         (rint_test): Use ALL_RM_TEST.
12063         (rint_tonearest_test_data): Remove.
12064         (rint_test_tonearest): Likewise.
12065         (rint_towardzero_test_data): Likewise.
12066         (rint_test_towardzero): Likewise.
12067         (rint_downward_test_data): Likewise.
12068         (rint_test_downward): Likewise.
12069         (rint_upward_test_data): Likewise.
12070         (rint_test_upward): Likewise.
12071         (main): Don't call removed functions.
12072
12073 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12074
12075         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12076         "Compiled on ..." crapola.  It is anti-useful.
12077
12078 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12079
12080         * scripts/evaluate-test.sh: Handle fourth argument to determine
12081         whether test run should stop on failure.
12082         * Makeconfig (stop-on-test-failure): New variable.
12083         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12084         $(stop-on-test-failure).
12085         * Makefile (tests): Give a summary of results from testing and
12086         exit with failure status if they include an ERROR or FAIL.
12087         (xtests): Likewise.
12088         * manual/install.texi (Configuring and compiling): Mention
12089         stop-on-test-failure=y.
12090         * INSTALL: Regenerated.
12091
12092 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12093
12094         * scripts/versionlist.awk: New file.
12095         * Makerules [$(build-shared) = yes]
12096         (postclean-generated): Add Versions.def, not Versions.def.v and
12097         Versions.def.v.i.
12098         ($(common-objpfx)Versions.def.v.i): Target removed.
12099         ($(common-objpfx)Versions.def): New target.
12100         ($(common-objpfx)Versions.all): Depend on that rather that
12101         $(common-objpfx)Versions.def.v.
12102         * Versions.def: File removed.
12103
12104         * Makeconfig (+gccwarn): Add -Wundef.
12105         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12106         a dl-sysdep.h breaking its contract.
12107         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12108         * include/stackinfo.h: New file.
12109         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12110         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12111         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12112         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12113         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12114         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12115         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12116         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12117         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12118         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12119         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12120         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12121         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12122         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12123         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12124
12125 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12126
12127         [BZ #16707]
12128         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12129         implementation.
12130         * math/libm-test.inc (round_test_data): Add more tests.
12131
12132         [BZ #16706]
12133         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12134         implementation.
12135         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12136
12137         [BZ #16701]
12138         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12139         implementation.
12140         * math/libm-test.inc (ceil_test_data): Add more tests.
12141
12142         * math/libm-test.inc (trunc_test_data): Add more tests related to
12143         BZ#16414.
12144
12145 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12146
12147         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12148         with #if rather than #ifdef.
12149         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12150
12151 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12152
12153         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12154         first.  Disable AVX-512 GCC support if assembler doesn't support
12155         it.
12156         * sysdeps/x86_64/configure: Regenerated.
12157
12158 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12159
12160         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12161         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12162         (__old_pthread_attr_setstack): Likewise.
12163         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12164         [!_STACK_GROWS_DOWN]: Likewise.
12165
12166 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12167
12168         * config.make.in (have-bash2): Delete.
12169         * configure.ac (libc_cv_have_bash2): Delete.
12170         * configure: Regenerate.
12171         * elf/Makefile (common-ldd-rewrite): Rename to ...
12172         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12173         (sh-ldd-rewrite): Delete.
12174         (bash-ldd-rewrite): Delete.
12175         (have-bash2): Delete checks.
12176         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12177         ldd-rewrite.
12178
12179         * config.make.in (have-ksh): Delete.
12180         (KSH): Delete.
12181         * configure.ac (libc_cv_have_ksh): Delete.
12182         * configure: Regenerate.
12183
12184         * elf/Makefile: Delete $(have-ksh) check.
12185         ($(objpfx)sotruss): Change KSH to BASH.
12186         * elf/sotruss.ksh: Rename to ...
12187         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
12188         function style to match POSIX.  Drop ksh vim mode setting.
12189
12190         * manual/time.texi (Specifying the Time Zone with TZ): Change
12191         Tuesday to Thursday.
12192
12193         * debug/tst-longjmp_chk2.c: Update header comment.
12194         (stackoverflow_handler): Add comment.  Call assert on pass value.
12195
12196 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
12197
12198         [BZ #16194]
12199         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
12200         (HAVE_AVX512_ASM_SUPPORT): Likewise.
12201         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
12202         (La_x86_64_vector): Add zmm.
12203         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
12204         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
12205         ($(objpfx)tst-audit10): New target.
12206         ($(objpfx)tst-audit10.out): Likewise.
12207         (tst-audit10-ENV): New.
12208         (AVX512-CFLAGS): Likewise.
12209         (CFLAGS-tst-audit10.c): Likewise.
12210         (CFLAGS-tst-auditmod10a.c): Likewise.
12211         (CFLAGS-tst-auditmod10b.c): Likewise.
12212         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
12213         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
12214         * sysdeps/x86_64/configure: Regenerated.
12215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
12216         AVX-512 zmm register support.
12217         (_dl_x86_64_save_sse): Likewise.
12218         (_dl_x86_64_restore_sse): Likewise.
12219         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
12220         size vector registers.
12221         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
12222         (ZMM_SIZE): Likewise.
12223         * sysdeps/x86_64/tst-audit10.c: New file.
12224         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
12225         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
12226
12227 2014-03-13  Roland McGrath  <roland@hack.frob.com>
12228
12229         * configure.ac (HAVE_EHDR_START): New check.
12230         * configure: Regenerated.
12231         * config.h.in (HAVE_EHDR_START): New #undef.
12232         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
12233         assuming the lowest-addressed segment maps the start of the file.
12234
12235 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
12236
12237         * INSTALL: Regenerated.
12238
12239 2014-03-13  Will Newton  <will.newton@linaro.org>
12240
12241         * manual/setjmp.texi (System V contexts): Improve
12242         clarity and grammar of documentation.
12243
12244 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12245
12246         [BZ #16381]
12247         * elf/Makefile (tests): Add tst-pie2.
12248         (tests-pie): Add tst-pie2.
12249         * elf/tst-pie2.c: New file.
12250         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
12251         for ET_EXEC.
12252         * elf/rtld.c (map_doit): Load executable as lt_executable.
12253         (dl_main): Likewise.
12254
12255 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
12256
12257         [BZ #16642]
12258         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12259         (__ASSUME_PSELECT): Undefine.
12260
12261 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12262
12263         [BZ #16689]
12264         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
12265         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
12266         static build.
12267         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
12268         selector for static builds.
12269
12270 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
12271
12272         [BZ #16695]
12273         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
12274         key in the buffer.
12275
12276 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12277
12278         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
12279         IFUNC selector for static builds.
12280
12281 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
12282
12283         * sysdeps/mips/math_private.h [__mips_hard_float]
12284         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
12285         libc_feresetround_mips_ctx.
12286         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
12287         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
12288         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
12289
12290         [BZ #16677]
12291         * math/s_nextafter.c (__nextafter): Do not return value from
12292         overflowing computation.
12293         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
12294         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
12295         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
12296         Likewise.
12297         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
12298         Likewise.
12299         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
12300         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
12301
12302 2014-03-11  Roland McGrath  <roland@hack.frob.com>
12303
12304         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
12305         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
12306         Move sfi_sp use from the load-multiple (that no longer sets sp) to
12307         the new mov targetting sp.
12308
12309 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12310
12311         [BZ #16683]
12312         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
12313         Define it for static builds as well.
12314         (NO_BZERO_IMPL): Likewise.
12315
12316 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12317
12318         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
12319         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
12320         multiarch strspn for PPC64.
12321         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
12322         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
12323         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12324         (__libc_ifunc_impl_list): Likewise.
12325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
12326         multiarch optimizations
12327         * string/strspn.c (strspn): Using macro to redefine symbol name.
12328
12329 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12330             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12331
12332         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
12333         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
12334         multiarch strncat for PPC64.
12335         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
12336         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
12337         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12338         (__libc_ifunc_impl_list): Likewise.
12339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
12340         multiarch optimizations
12341
12342 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12343
12344         [BZ #16639]
12345         * nscd/nscd.service: Make service type forking.
12346
12347 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12348
12349         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
12350         sign in non default rounding modes.
12351         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
12352
12353 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
12354
12355         * math/libm-test.inc (ALL_RM_TEST): New macro.
12356         (ceil_test): Use ALL_RM_TEST.
12357         (cimag_test): Likewise.
12358         (conj_test): Likewise.
12359         (copysign_test): Likewise.
12360         (cproj_test): Likewise.
12361         (creal_test): Likewise.
12362         (fabs_test): Likewise.
12363         (floor_test): Likewise.
12364         (fmax_test): Likewise.
12365         (fmin_test): Likewise.
12366         (fmod_test): Likewise.
12367         (fpclassify_test): Likewise.
12368         (frexp_test): Likewise.
12369         (ilogb_test): Likewise.
12370         (isfinite_test): Likewise.
12371         (finite_test): Likewise.
12372         (isgreater_test): Likewise.
12373         (isgreaterequal_test): Likewise.
12374         (isinf_test): Likewise.
12375         (isless_test): Likewise.
12376         (islessequal_test): Likewise.
12377         (islessgreater_test): Likewise.
12378         (isnan_test): Likewise.
12379         (isnormal_test): Likewise.
12380         (issignaling_test): Likewise.
12381         (isunordered_test): Likewise.
12382         (logb_test): Likewise.
12383         (logb_downward_test_data): Remove.
12384         (logb_test_downward): Likewise.
12385         (lround_test): Use ALL_RM_TEST.
12386         (llround_test): Likewise.
12387         (modf_test): Likewise.
12388         (nexttoward_test): Likewise.
12389         (remainder_test): Likewise.
12390         (drem_test): Likewise.
12391         (remainder_tonearest_test_data): Likewise.
12392         (remainder_test_tonearest): Likewise.
12393         (drem_test_tonearest): Likewise.
12394         (remainder_towardzero_test_data): Likewise.
12395         (remainder_test_towardzero): Likewise.
12396         (drem_test_towardzero): Likewise.
12397         (remainder_downward_test_data): Likewise.
12398         (remainder_test_downward): Likewise.
12399         (drem_test_downward): Likewise.
12400         (remainder_upward_test_data): Likewise.
12401         (remainder_test_upward): Likewise.
12402         (drem_test_upward): Likewise.
12403         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
12404         (round_test): Use ALL_RM_TEST.
12405         (signbit_test): Likewise.
12406         (trunc_test): Likewise.
12407         (significand_test): Likewise.
12408         (main): Don't call removed functions.
12409
12410 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12411
12412         [BZ #16674]
12413         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
12414         || __USE_XOPEN2K8].
12415         (ILL_ILLOPN): Likewise.
12416         (ILL_ILLADR): Likewise.
12417         (ILL_ILLTRP): Likewise.
12418         (ILL_PRVOPC): Likewise.
12419         (ILL_PRVREG): Likewise.
12420         (ILL_COPROC): Likewise.
12421         (ILL_BADSTK): Likewise.
12422         (FPE_INTDIV): Likewise.
12423         (FPE_INTOVF): Likewise.
12424         (FPE_FLTDIV): Likewise.
12425         (FPE_FLTOVF): Likewise.
12426         (FPE_FLTUND): Likewise.
12427         (FPE_FLTRES): Likewise.
12428         (FPE_FLTINV): Likewise.
12429         (FPE_FLTSUB): Likewise.
12430         (SEGV_MAPERR): Likewise.
12431         (SEGV_ACCERR): Likewise.
12432         (BUS_ADRALN): Likewise.
12433         (BUS_ADRERR): Likewise.
12434         (BUS_OBJERR): Likewise.
12435         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12436         (TRAP_TRACE): Likewise.
12437         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12438         __USE_XOPEN2K8].
12439         (CLD_KILLED): Likewise.
12440         (CLD_DUMPED): Likewise.
12441         (CLD_TRAPPED): Likewise.
12442         (CLD_STOPPED): Likewise.
12443         (CLD_CONTINUED): Likewise.
12444         (POLL_IN): Likewise.
12445         (POLL_OUT): Likewise.
12446         (POLL_MSG): Likewise.
12447         (POLL_ERR): Likewise.
12448         (POLL_PRI): Likewise.
12449         (POLL_HUP): Likewise.
12450         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
12451         Likewise.
12452         (ILL_ILLOPN): Likewise.
12453         (ILL_ILLADR): Likewise.
12454         (ILL_ILLTRP): Likewise.
12455         (ILL_PRVOPC): Likewise.
12456         (ILL_PRVREG): Likewise.
12457         (ILL_COPROC): Likewise.
12458         (ILL_BADSTK): Likewise.
12459         (FPE_INTDIV): Likewise.
12460         (FPE_INTOVF): Likewise.
12461         (FPE_FLTDIV): Likewise.
12462         (FPE_FLTOVF): Likewise.
12463         (FPE_FLTUND): Likewise.
12464         (FPE_FLTRES): Likewise.
12465         (FPE_FLTINV): Likewise.
12466         (FPE_FLTSUB): Likewise.
12467         (SEGV_MAPERR): Likewise.
12468         (SEGV_ACCERR): Likewise.
12469         (BUS_ADRALN): Likewise.
12470         (BUS_ADRERR): Likewise.
12471         (BUS_OBJERR): Likewise.
12472         (BUS_MCEERR_AR): Likewise.
12473         (BUS_MCEERR_AO): Likewise.
12474         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12475         (TRAP_TRACE): Likewise.
12476         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12477         __USE_XOPEN2K8].
12478         (CLD_KILLED): Likewise.
12479         (CLD_DUMPED): Likewise.
12480         (CLD_TRAPPED): Likewise.
12481         (CLD_STOPPED): Likewise.
12482         (CLD_CONTINUED): Likewise.
12483         (POLL_IN): Likewise.
12484         (POLL_OUT): Likewise.
12485         (POLL_MSG): Likewise.
12486         (POLL_ERR): Likewise.
12487         (POLL_PRI): Likewise.
12488         (POLL_HUP): Likewise.
12489         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
12490         (ILL_ILLOPN): Likewise.
12491         (ILL_ILLADR): Likewise.
12492         (ILL_ILLTRP): Likewise.
12493         (ILL_PRVOPC): Likewise.
12494         (ILL_PRVREG): Likewise.
12495         (ILL_COPROC): Likewise.
12496         (ILL_BADSTK): Likewise.
12497         (FPE_INTDIV): Likewise.
12498         (FPE_INTOVF): Likewise.
12499         (FPE_FLTDIV): Likewise.
12500         (FPE_FLTOVF): Likewise.
12501         (FPE_FLTUND): Likewise.
12502         (FPE_FLTRES): Likewise.
12503         (FPE_FLTINV): Likewise.
12504         (FPE_FLTSUB): Likewise.
12505         (SEGV_MAPERR): Likewise.
12506         (SEGV_ACCERR): Likewise.
12507         (BUS_ADRALN): Likewise.
12508         (BUS_ADRERR): Likewise.
12509         (BUS_OBJERR): Likewise.
12510         (BUS_MCEERR_AR): Likewise.
12511         (BUS_MCEERR_AO): Likewise.
12512         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12513         (TRAP_TRACE): Likewise.
12514         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12515         __USE_XOPEN2K8].
12516         (CLD_KILLED): Likewise.
12517         (CLD_DUMPED): Likewise.
12518         (CLD_TRAPPED): Likewise.
12519         (CLD_STOPPED): Likewise.
12520         (CLD_CONTINUED): Likewise.
12521         (POLL_IN): Likewise.
12522         (POLL_OUT): Likewise.
12523         (POLL_MSG): Likewise.
12524         (POLL_ERR): Likewise.
12525         (POLL_PRI): Likewise.
12526         (POLL_HUP): Likewise.
12527         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
12528         Likewise.
12529         (ILL_ILLOPN): Likewise.
12530         (ILL_ILLADR): Likewise.
12531         (ILL_ILLTRP): Likewise.
12532         (ILL_PRVOPC): Likewise.
12533         (ILL_PRVREG): Likewise.
12534         (ILL_COPROC): Likewise.
12535         (ILL_BADSTK): Likewise.
12536         (ILL_BADIADDR): Likewise.
12537         (ILL_BREAK): Likewise.
12538         (FPE_INTDIV): Likewise.
12539         (FPE_INTOVF): Likewise.
12540         (FPE_FLTDIV): Likewise.
12541         (FPE_FLTOVF): Likewise.
12542         (FPE_FLTUND): Likewise.
12543         (FPE_FLTRES): Likewise.
12544         (FPE_FLTINV): Likewise.
12545         (FPE_FLTSUB): Likewise.
12546         (FPE_DECOVF): Likewise.
12547         (FPE_DECDIV): Likewise.
12548         (FPE_DECERR): Likewise.
12549         (FPE_INVASC): Likewise.
12550         (FPE_INVDEC): Likewise.
12551         (SEGV_MAPERR): Likewise.
12552         (SEGV_ACCERR): Likewise.
12553         (SEGV_PSTKOVF): Likewise.
12554         (BUS_ADRALN): Likewise.
12555         (BUS_ADRERR): Likewise.
12556         (BUS_OBJERR): Likewise.
12557         (BUS_MCEERR_AR): Likewise.
12558         (BUS_MCEERR_AO): Likewise.
12559         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12560         (TRAP_TRACE): Likewise.
12561         (TRAP_BRANCH): Likewise.
12562         (TRAP_HWBKPT): Likewise.
12563         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12564         __USE_XOPEN2K8].
12565         (CLD_KILLED): Likewise.
12566         (CLD_DUMPED): Likewise.
12567         (CLD_TRAPPED): Likewise.
12568         (CLD_STOPPED): Likewise.
12569         (CLD_CONTINUED): Likewise.
12570         (POLL_IN): Likewise.
12571         (POLL_OUT): Likewise.
12572         (POLL_MSG): Likewise.
12573         (POLL_ERR): Likewise.
12574         (POLL_PRI): Likewise.
12575         (POLL_HUP): Likewise.
12576         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
12577         (ILL_ILLOPN): Likewise.
12578         (ILL_ILLADR): Likewise.
12579         (ILL_ILLTRP): Likewise.
12580         (ILL_PRVOPC): Likewise.
12581         (ILL_PRVREG): Likewise.
12582         (ILL_COPROC): Likewise.
12583         (ILL_BADSTK): Likewise.
12584         (FPE_INTDIV): Likewise.
12585         (FPE_INTOVF): Likewise.
12586         (FPE_FLTDIV): Likewise.
12587         (FPE_FLTOVF): Likewise.
12588         (FPE_FLTUND): Likewise.
12589         (FPE_FLTRES): Likewise.
12590         (FPE_FLTINV): Likewise.
12591         (FPE_FLTSUB): Likewise.
12592         (SEGV_MAPERR): Likewise.
12593         (SEGV_ACCERR): Likewise.
12594         (BUS_ADRALN): Likewise.
12595         (BUS_ADRERR): Likewise.
12596         (BUS_OBJERR): Likewise.
12597         (BUS_MCEERR_AR): Likewise.
12598         (BUS_MCEERR_AO): Likewise.
12599         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12600         (TRAP_TRACE): Likewise.
12601         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12602         __USE_XOPEN2K8].
12603         (CLD_KILLED): Likewise.
12604         (CLD_DUMPED): Likewise.
12605         (CLD_TRAPPED): Likewise.
12606         (CLD_STOPPED): Likewise.
12607         (CLD_CONTINUED): Likewise.
12608         (POLL_IN): Likewise.
12609         (POLL_OUT): Likewise.
12610         (POLL_MSG): Likewise.
12611         (POLL_ERR): Likewise.
12612         (POLL_PRI): Likewise.
12613         (POLL_HUP): Likewise.
12614         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12615         (ILL_ILLOPN): Likewise.
12616         (ILL_ILLADR): Likewise.
12617         (ILL_ILLTRP): Likewise.
12618         (ILL_PRVOPC): Likewise.
12619         (ILL_PRVREG): Likewise.
12620         (ILL_COPROC): Likewise.
12621         (ILL_BADSTK): Likewise.
12622         (FPE_INTDIV): Likewise.
12623         (FPE_INTOVF): Likewise.
12624         (FPE_FLTDIV): Likewise.
12625         (FPE_FLTOVF): Likewise.
12626         (FPE_FLTUND): Likewise.
12627         (FPE_FLTRES): Likewise.
12628         (FPE_FLTINV): Likewise.
12629         (FPE_FLTSUB): Likewise.
12630         (SEGV_MAPERR): Likewise.
12631         (SEGV_ACCERR): Likewise.
12632         (BUS_ADRALN): Likewise.
12633         (BUS_ADRERR): Likewise.
12634         (BUS_OBJERR): Likewise.
12635         (BUS_MCEERR_AR): Likewise.
12636         (BUS_MCEERR_AO): Likewise.
12637         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12638         (TRAP_TRACE): Likewise.
12639         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12640         __USE_XOPEN2K8].
12641         (CLD_KILLED): Likewise.
12642         (CLD_DUMPED): Likewise.
12643         (CLD_TRAPPED): Likewise.
12644         (CLD_STOPPED): Likewise.
12645         (CLD_CONTINUED): Likewise.
12646         (POLL_IN): Likewise.
12647         (POLL_OUT): Likewise.
12648         (POLL_MSG): Likewise.
12649         (POLL_ERR): Likewise.
12650         (POLL_PRI): Likewise.
12651         (POLL_HUP): Likewise.
12652         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12653         (ILL_ILLOPN): Likewise.
12654         (ILL_ILLADR): Likewise.
12655         (ILL_ILLTRP): Likewise.
12656         (ILL_PRVOPC): Likewise.
12657         (ILL_PRVREG): Likewise.
12658         (ILL_COPROC): Likewise.
12659         (ILL_BADSTK): Likewise.
12660         (FPE_INTDIV): Likewise.
12661         (FPE_INTOVF): Likewise.
12662         (FPE_FLTDIV): Likewise.
12663         (FPE_FLTOVF): Likewise.
12664         (FPE_FLTUND): Likewise.
12665         (FPE_FLTRES): Likewise.
12666         (FPE_FLTINV): Likewise.
12667         (FPE_FLTSUB): Likewise.
12668         (SEGV_MAPERR): Likewise.
12669         (SEGV_ACCERR): Likewise.
12670         (BUS_ADRALN): Likewise.
12671         (BUS_ADRERR): Likewise.
12672         (BUS_OBJERR): Likewise.
12673         (BUS_MCEERR_AR): Likewise.
12674         (BUS_MCEERR_AO): Likewise.
12675         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12676         (TRAP_TRACE): Likewise.
12677         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12678         __USE_XOPEN2K8].
12679         (CLD_KILLED): Likewise.
12680         (CLD_DUMPED): Likewise.
12681         (CLD_TRAPPED): Likewise.
12682         (CLD_STOPPED): Likewise.
12683         (CLD_CONTINUED): Likewise.
12684         (POLL_IN): Likewise.
12685         (POLL_OUT): Likewise.
12686         (POLL_MSG): Likewise.
12687         (POLL_ERR): Likewise.
12688         (POLL_PRI): Likewise.
12689         (POLL_HUP): Likewise.
12690         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12691         (ILL_ILLOPN): Likewise.
12692         (ILL_ILLADR): Likewise.
12693         (ILL_ILLTRP): Likewise.
12694         (ILL_PRVOPC): Likewise.
12695         (ILL_PRVREG): Likewise.
12696         (ILL_COPROC): Likewise.
12697         (ILL_BADSTK): Likewise.
12698         (ILL_DBLFLT): Likewise.
12699         (ILL_HARDWALL): Likewise.
12700         (FPE_INTDIV): Likewise.
12701         (FPE_INTOVF): Likewise.
12702         (FPE_FLTDIV): Likewise.
12703         (FPE_FLTOVF): Likewise.
12704         (FPE_FLTUND): Likewise.
12705         (FPE_FLTRES): Likewise.
12706         (FPE_FLTINV): Likewise.
12707         (FPE_FLTSUB): Likewise.
12708         (SEGV_MAPERR): Likewise.
12709         (SEGV_ACCERR): Likewise.
12710         (BUS_ADRALN): Likewise.
12711         (BUS_ADRERR): Likewise.
12712         (BUS_OBJERR): Likewise.
12713         (BUS_MCEERR_AR): Likewise.
12714         (BUS_MCEERR_AO): Likewise.
12715         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12716         (TRAP_TRACE): Likewise.
12717         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12718         __USE_XOPEN2K8].
12719         (CLD_KILLED): Likewise.
12720         (CLD_DUMPED): Likewise.
12721         (CLD_TRAPPED): Likewise.
12722         (CLD_STOPPED): Likewise.
12723         (CLD_CONTINUED): Likewise.
12724         (POLL_IN): Likewise.
12725         (POLL_OUT): Likewise.
12726         (POLL_MSG): Likewise.
12727         (POLL_ERR): Likewise.
12728         (POLL_PRI): Likewise.
12729         (POLL_HUP): Likewise.
12730         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12731         (ILL_ILLOPN): Likewise.
12732         (ILL_ILLADR): Likewise.
12733         (ILL_ILLTRP): Likewise.
12734         (ILL_PRVOPC): Likewise.
12735         (ILL_PRVREG): Likewise.
12736         (ILL_COPROC): Likewise.
12737         (ILL_BADSTK): Likewise.
12738         (FPE_INTDIV): Likewise.
12739         (FPE_INTOVF): Likewise.
12740         (FPE_FLTDIV): Likewise.
12741         (FPE_FLTOVF): Likewise.
12742         (FPE_FLTUND): Likewise.
12743         (FPE_FLTRES): Likewise.
12744         (FPE_FLTINV): Likewise.
12745         (FPE_FLTSUB): Likewise.
12746         (SEGV_MAPERR): Likewise.
12747         (SEGV_ACCERR): Likewise.
12748         (BUS_ADRALN): Likewise.
12749         (BUS_ADRERR): Likewise.
12750         (BUS_OBJERR): Likewise.
12751         (BUS_MCEERR_AR): Likewise.
12752         (BUS_MCEERR_AO): Likewise.
12753         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12754         (TRAP_TRACE): Likewise.
12755         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12756         __USE_XOPEN2K8].
12757         (CLD_KILLED): Likewise.
12758         (CLD_DUMPED): Likewise.
12759         (CLD_TRAPPED): Likewise.
12760         (CLD_STOPPED): Likewise.
12761         (CLD_CONTINUED): Likewise.
12762         (POLL_IN): Likewise.
12763         (POLL_OUT): Likewise.
12764         (POLL_MSG): Likewise.
12765         (POLL_ERR): Likewise.
12766         (POLL_PRI): Likewise.
12767         (POLL_HUP): Likewise.
12768         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12769         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12770
12771         [BZ #16670]
12772         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12773         before #include of <time.h>.
12774         [!__USE_XOPEN2K] (__need_timespec): Likewise.
12775         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12776         (test-xfail-UNIX98/sched.h/conform): Likewise.
12777
12778 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12779
12780         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12781         error absence of trapping exception support.
12782         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12783
12784 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12785
12786         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12787         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12788         * timezone/Makefile (testdata): Move definition above include of
12789         Rules.
12790         (test-zones): New variable.
12791         (tests-special): Add zone files.
12792         (build-testdata): Use $(evaluate-test).
12793
12794         * elf/Makefile (tests-special): Rename tests to end with .out.
12795         ($(objpfx)noload-mem): Likewise.
12796         ($(objpfx)tst-leaks1-mem): Likewise.
12797         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12798         * iconv/Makefile (xtests-special): Change test-iconvconfig to
12799         $(objpfx)test-iconvconfig.out.
12800         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
12801         set -e inside subshell and redirect output to file.
12802         * iconvdata/Makefile (generated): Rename tests to end with .out.
12803         Correct type.
12804         (tests-special): Rename tests to end with .out.
12805         ($(objpfx)mtrace-tst-loading): Likewise.
12806         * intl/Makefile (generated): Likewise.
12807         (tests-special): Likewise.
12808         ($(objpfx)mtrace-tst-gettext): Likewise.
12809         * misc/Makefile (generated): Likewise.
12810         (tests-special): Likewise.
12811         ($(objpfx)tst-error1-mem): Likewise.
12812         * nptl/Makefile (tests-special): Likewise.
12813         ($(objpfx)tst-stack3-mem): Likewise.
12814         (generated): Likewise.
12815         * posix/Makefile (generated): Likewise.
12816         (tests-special): Likewise.
12817         (xtests-special): Likewise.
12818         ($(objpfx)tst-fnmatch-mem): Likewise.
12819         ($(objpfx)bug-regex2-mem): Likewise.
12820         ($(objpfx)bug-regex14-mem): Likewise.
12821         ($(objpfx)bug-regex21-mem): Likewise.
12822         ($(objpfx)bug-regex31-mem): Likewise.
12823         ($(objpfx)tst-vfork3-mem): Likewise.
12824         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12825         ($(objpfx)tst-pcre-mem): Likewise.
12826         ($(objpfx)tst-boost-mem): Likewise.
12827         ($(objpfx)bug-ga2-mem): Likewise.
12828         ($(objpfx)bug-glob2-mem): Likewise.
12829         * resolv/Makefile (generate): Likewise.
12830         (tests-special): Likewise.
12831         (xtests-special): Likewise.
12832         (generated): Likewise.
12833         ($(objpfx)mtrace-tst-leaks): Likewise.
12834         ($(objpfx)mtrace-tst-leaks2): Likewise.
12835
12836         * scripts/merge-test-results.sh: New file.
12837         * Makefile (tests-special-notdir): New variable.
12838         (tests): Run merge-test-results.sh.
12839         (xtests): Likewise.
12840         * Rules (tests-special-notdir): New variable.
12841         (xtests-special-notdir): Likewise.
12842         (tests): Run merge-test-results.sh
12843         (xtests): Likewise.
12844
12845         * Makeconfig (test-xfail-name): New variable.
12846         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12847         compute variable name for expected failures.
12848         * conform/Makefile (conformtest-headers-data): New variable.
12849         (conformtest-standards): Likewise.
12850         (conformtest-headers-ISO): Likewise.
12851         (conformtest-headers-ISO99): Likewise.
12852         (conformtest-headers-ISO11): Likewise.
12853         (conformtest-headers-POSIX): Likewise.
12854         (conformtest-headers-XPG3): Likewise.
12855         (conformtest-headers-XPG4): Likewise.
12856         (conformtest-headers-UNIX98): Likewise.
12857         (conformtest-headers-XOPEN2K): Likewise.
12858         (conformtest-headers-POSIX2008): Likewise.
12859         (conformtest-headers-XOPEN2K8): Likewise.
12860         (conformtest-header-list-base): Likewise.
12861         (conformtest-header-list-tests): Likewise.
12862         (conformtest-header-base): Likewise.
12863         (conformtest-header-tests): Likewise.
12864         (tests-special): Add $(conformtest-header-list-tests).  If
12865         [$(fast-check) && !$(cross-compiling)], add
12866         $(conformtest-header-tests) instead of
12867         $(objpfx)run-conformtest.out.
12868         (generated): Add $(conformtest-header-list-base).  If
12869         [$(fast-check) && !$(cross-compiling)], add
12870         $(conformtest-header-base).  Remove previous setting.
12871         ($(conformtest-header-list-tests)): New target.
12872         (test-xfail-run-conformtest): Remove variable.
12873         ($(objpfx)run-conformtest.out): Remove target.
12874         (test-xfail-ISO11/complex.h/conform): New variable.
12875         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12876         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12877         (test-xfail-XPG3/varargs.h/conform): Likewise.
12878         (test-xfail-XPG4/varargs.h/conform): Likewise.
12879         (test-xfail-UNIX98/varargs.h/conform): Likewise.
12880         (test-xfail-XPG4/ndbm.h/conform): Likewise.
12881         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12882         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12883         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12884         (test-xfail-XPG3/fcntl.h/conform): Likewise.
12885         (test-xfail-XPG3/ftw.h/conform): Likewise.
12886         (test-xfail-XPG3/grp.h/conform): Likewise.
12887         (test-xfail-XPG3/langinfo.h/conform): Likewise.
12888         (test-xfail-XPG3/limits.h/conform): Likewise.
12889         (test-xfail-XPG3/pwd.h/conform): Likewise.
12890         (test-xfail-XPG3/search.h/conform): Likewise.
12891         (test-xfail-XPG3/signal.h/conform): Likewise.
12892         (test-xfail-XPG3/stdio.h/conform): Likewise.
12893         (test-xfail-XPG3/stdlib.h/conform): Likewise.
12894         (test-xfail-XPG3/string.h/conform): Likewise.
12895         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12896         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12897         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12898         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12899         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12900         (test-xfail-XPG3/sys/types.h/conform): Likewise.
12901         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12902         (test-xfail-XPG3/termios.h/conform): Likewise.
12903         (test-xfail-XPG3/time.h/conform): Likewise.
12904         (test-xfail-XPG3/unistd.h/conform): Likewise.
12905         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12906         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12907         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12908         (test-xfail-XPG4/netdb.h/conform): Likewise.
12909         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12910         (test-xfail-XPG4/signal.h/conform): Likewise.
12911         (test-xfail-XPG4/stdio.h/conform): Likewise.
12912         (test-xfail-XPG4/stdlib.h/conform): Likewise.
12913         (test-xfail-XPG4/stropts.h/conform): Likewise.
12914         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12915         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12916         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12917         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12918         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12919         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12920         (test-xfail-XPG4/sys/time.h/conform): Likewise.
12921         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12922         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12923         (test-xfail-XPG4/termios.h/conform): Likewise.
12924         (test-xfail-XPG4/ucontext.h/conform): Likewise.
12925         (test-xfail-XPG4/unistd.h/conform): Likewise.
12926         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12927         (test-xfail-POSIX/sched.h/conform): Likewise.
12928         (test-xfail-POSIX/signal.h/conform): Likewise.
12929         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12930         (test-xfail-POSIX/tar.h/conform): Likewise.
12931         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12932         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12933         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12934         (test-xfail-UNIX98/netdb.h/conform): Likewise.
12935         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12936         (test-xfail-UNIX98/sched.h/conform): Likewise.
12937         (test-xfail-UNIX98/signal.h/conform): Likewise.
12938         (test-xfail-UNIX98/stdio.h/conform): Likewise.
12939         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12940         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12941         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12942         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12943         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12944         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12945         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12946         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12947         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12948         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12949         (test-xfail-UNIX98/unistd.h/conform): Likewise.
12950         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12951         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12952         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12953         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12954         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12955         (test-xfail-XOPEN2K/math.h/conform): Likewise.
12956         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12957         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12958         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12959         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12960         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12961         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12962         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12963         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12964         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12965         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12966         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12967         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12968         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12969         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12970         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12971         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12972         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12973         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12974         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12975         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12976         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12977         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12978         (test-xfail-POSIX2008/signal.h/conform): Likewise.
12979         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12980         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12981         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12982         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12983         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12984         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12985         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12986         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12987         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12988         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12989         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12990         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12991         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12992         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12993         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12994         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12995         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12996         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12997         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12998         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12999         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13000         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13001         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13002         (conformtest-cc-flags): Likewise.
13003         ($(conformtest-header-tests): New target.
13004         * conform/check-header-lists.sh: New file.
13005         * conform/run-conformtest.sh: Remove.
13006
13007         * conform/conformtest.pl: Allow ' and \ in values given for
13008         constants.
13009         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13010         inclusion.
13011         [POSIX] (sys/types.h): Likewise.
13012         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13013         inclusion.
13014         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13015         inclusion.
13016         * conform/data/signal.h-data (SIGIO): Remove expectation.
13017         [XPG3] (SIGBUS): Do not expect.
13018         [POSIX || XPG3] (SIGPOLL): Likewise.
13019         [POSIX || XPG3] (SIGPROF): Likewise.
13020         [POSIX || XPG3] (SIGSYS): Likewise.
13021         [XPG3] (SIGTRAP): Likewise.
13022         [POSIX || XPG3] (SIGURG): Likewise.
13023         [POSIX || XPG3] (SIGVTALRM): Likewise.
13024         [POSIX || XPG3] (SIGXCPU): Likewise.
13025         [POSIX || XPG3] (SIGXFSZ): Likewise.
13026         [POSIX] (SA_SIGINFO): Expect.
13027         [XPG3] (siginfo_t): Do not expect type or contents.
13028         [POSIX] (si_pid): Do not expect element.
13029         [POSIX] (si_uid): Likewise.
13030         [POSIX] (si_addr): Likewise.
13031         [POSIX] (si_status): Likewise.
13032         [POSIX] (si_band): Likewise.
13033         [XPG4] (si_value): Likewise.
13034         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13035         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13036         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13037         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13038         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13039         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13040         [POSIX || XPG3] (ILL_COPROC): Likewise.
13041         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13042         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13043         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13044         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13045         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13046         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13047         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13048         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13049         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13050         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13051         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13052         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13053         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13054         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13055         [POSIX || XPG3] (CLD_EXITED): Likewise.
13056         [POSIX || XPG3] (CLD_KILLED): Likewise.
13057         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13058         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13059         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13060         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13061         [POSIX || XPG3] (POLL_IN): Likewise.
13062         [POSIX || XPG3] (POLL_OUT): Likewise.
13063         [POSIX || XPG3] (POLL_MSG): Likewise.
13064         [POSIX || XPG3] (POLL_ERR): Likewise.
13065         [POSIX || XPG3] (POLL_PRI): Likewise.
13066         [POSIX || XPG3] (POLL_HUP): Likewise.
13067         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13068         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13069         (SIG*): Do not allow.
13070         [XPG3] (si_*): Likewise.
13071         [XPG3] (SI_*): Likewise.
13072         [XPG3 || XPG4] (sigev_*): Likewise.
13073         [XPG3 || XPG4] (SIGEV_*): Likewise.
13074         [XPG3 || XPG4] (sival_*): Likewise.
13075         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13076         [POSIX || XPG3] (BUS_*): Likewise.
13077         [POSIX || XPG3] (CLD_*): Likewise.
13078         [POSIX || XPG3] (FPE_*): Likewise.
13079         [POSIX || XPG3] (ILL_*): Likewise.
13080         [POSIX || XPG3] (POLL_*): Likewise.
13081         [POSIX || XPG3] (SEGV_*): Likewise.
13082         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13083         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13084         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13085         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13086         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13087         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13088         Specify type and value.
13089         (TVERSLEN): Likewise.
13090         (REGTYPE): Likewise.
13091         (AREGTYPE): Likewise.
13092         (LNKTYPE): Likewise.
13093         (SYMTYPE): Likewise.
13094         (CHRTYPE): Likewise.
13095         (BLKTYPE): Likewise.
13096         (DIRTYPE): Likewise.
13097         (FIFOTYPE): Likewise.
13098         (CONTTYPE): Likewise.
13099         (TSUID): Likewise.
13100         (TSGID): Likewise.
13101         (TSVTX): Likewise.
13102         (TUREAD): Likewise.
13103         (TUWRITE): Likewise.
13104         (TUEXEC): Likewise.
13105         (TGREAD): Likewise.
13106         (TGWRITE): Likewise.
13107         (TGEXEC): Likewise.
13108         (TOREAD): Likewise.
13109         (TOWRITE): Likewise.
13110         (TOEXEC): Likewise.
13111         [POSIX] (TSVTX): Expect constant.
13112
13113 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13114
13115         * Makefile (tests): Change dependencies to ....
13116         (tests-special): ... additions to this variable.
13117         (tests): Depend on $(tests-special).
13118         * Makerules (check-abi-list): New variable.
13119         (check-abi): Depend on $(check-abi-list).
13120         [$(subdir) = elf] (tests-special): Add
13121         $(objpfx)check-abi-libc.out.
13122         [$(build-shared) = yes && subdir] (tests-special): Add
13123         $(check-abi-list).
13124         [$(build-shared) = yes && subdir] (tests): Do not depend on
13125         check-abi.
13126         * Rules (tests): Depend on $(tests-special).
13127         (xtests): Depend on $(xtests-special).
13128         * catgets/Makefile (tests): Change dependencies to ....
13129         (tests-special): ... additions to this variable.
13130         * conform/Makefile (tests): Change dependencies to ....
13131         (tests-special): ... additions to this variable.
13132         * elf/Makefile (tests): Change dependencies to ....
13133         (tests-special): ... additions to this variable.
13134         * grp/Makefile (tests): Change dependencies to ....
13135         (tests-special): ... additions to this variable.
13136         * iconv/Makefile (xtests): Change dependencies to ....
13137         (xtests-special): ... additions to this variable.
13138         * iconvdata/Makefile (tests): Change dependencies to ....
13139         (tests-special): ... additions to this variable.
13140         * intl/Makefile (tests): Change dependencies to ....
13141         (tests-special): ... additions to this variable.  Also add
13142         $(objpfx)tst-gettext.out.
13143         * io/Makefile (tests): Change dependencies to ....
13144         (tests-special): ... additions to this variable.
13145         * libio/Makefile (tests): Change dependencies to ....
13146         (tests-special): ... additions to this variable.
13147         * malloc/Makefile (tests): Change dependencies to ....
13148         (tests-special): ... additions to this variable.
13149         * misc/Makefile (tests): Change dependencies to ....
13150         (tests-special): ... additions to this variable.
13151         * nptl/Makefile (tests): Change dependencies to ....
13152         (tests-special): ... additions to this variable.
13153         * nptl_db/Makefile (tests): Change dependencies to ....
13154         (tests-special): ... additions to this variable.
13155         * posix/Makefile (tests): Change dependencies to ....
13156         (tests-special): ... additions to this variable.
13157         (xtests): Change dependencies to ....
13158         (xtests-special): ... additions to this variable.
13159         * resolv/Makefile (tests): Change dependencies to ....
13160         (tests-special): ... additions to this variable.
13161         (xtests): Change dependencies to ....
13162         (xtests-special): ... additions to this variable.
13163         * stdio-common/Makefile (tests): Change dependencies to ....
13164         (tests-special): ... additions to this variable.
13165         (do-tst-unbputc): Remove target.
13166         (do-tst-printf): Likewise.
13167         * stdlib/Makefile (tests): Change dependencies to ....
13168         (tests-special): ... additions to this variable.
13169         * string/Makefile (tests): Change dependencies to ....
13170         (tests-special): ... additions to this variable.
13171         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13172         (tests-special): ... additions to this variable.
13173
13174         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13175         whole file.
13176         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13177         whole file.
13178         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13179         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13180
13181         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13182         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13183         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
13184         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
13185         * conform/data/libgen.h-data [XPG3]: Likewise.
13186         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
13187         * conform/data/ndbm.h-data [XPG3]: Likewise.
13188         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13189         * conform/data/netdb.h-data [XPG3]: Likewise.
13190         * conform/data/netinet/in.h-data [XPG3]: Likewise.
13191         * conform/data/poll.h-data [XPG3]: Likewise.
13192         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
13193         * conform/data/strings.h-data [XPG3]: Likewise.
13194         * conform/data/stropts.h-data [XPG3]: Likewise.
13195         * conform/data/sys/mman.h-data [XPG3]: Likewise.
13196         * conform/data/sys/resource.h-data [XPG3]: Likewise.
13197         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
13198         Likewise.
13199         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
13200         * conform/data/sys/time.h-data [XPG3]: Likewise.
13201         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
13202         * conform/data/sys/uio.h-data [XPG3]: Likewise.
13203         * conform/data/sys/un.h-data [XPG3]: Likewise.
13204         * conform/data/syslog.h-data [XPG3]: Likewise.
13205         * conform/data/ucontext.h-data [XPG3]: Likewise.
13206         * conform/data/utmpx.h-data [XPG3]: Likewise.
13207         * conform/data/varargs.h-data [UNIX98]: Enable file.
13208
13209         * manual/Makefile (INSTALL_INFO): Remove variable setting.
13210
13211         * math/libm-test.inc (struct test_f_f_data): Move expected results
13212         into structure for each rounding mode.
13213         (struct test_ff_f_data): Likewise.
13214         (struct test_ff_f_data_nexttoward): Likewise.
13215         (struct test_fi_f_data): Likewise.
13216         (struct test_fl_f_data): Likewise.
13217         (struct test_if_f_data): Likewise.
13218         (struct test_fff_f_data): Likewise.
13219         (struct test_c_f_data): Likewise.
13220         (struct test_f_f1_data): Likewise.
13221         (struct test_fF_f1_data): Likewise.
13222         (struct test_ffI_f1_data): Likewise.
13223         (struct test_c_c_data): Likewise.
13224         (struct test_cc_c_data): Likewise.
13225         (struct test_f_i_data): Likewise.
13226         (struct test_ff_i_data): Likewise.
13227         (struct test_f_l_data): Likewise.
13228         (struct test_f_L_data): Likewise.
13229         (struct test_fFF_11_data): Likewise.
13230         (RM_): New macro.
13231         (RM_FE_DOWNWARD): Likewise.
13232         (RM_FE_TONEAREST): Likewise.
13233         (RM_FE_TOWARDZERO): Likewise.
13234         (RM_FE_UPWARD): Likewise.
13235         (RUN_TEST_LOOP_f_f): Update references to expected results.
13236         (RUN_TEST_LOOP_2_f): Likewise.
13237         (RUN_TEST_LOOP_fff_f): Likewise.
13238         (RUN_TEST_LOOP_c_f): Likewise.
13239         (RUN_TEST_LOOP_f_f1): Likewise.
13240         (RUN_TEST_LOOP_fF_f1): Likewise.
13241         (RUN_TEST_LOOP_fI_f1): Likewise.
13242         (RUN_TEST_LOOP_ffI_f1): Likewise.
13243         (RUN_TEST_LOOP_c_c): Likewise.
13244         (RUN_TEST_LOOP_cc_c): Likewise.
13245         (RUN_TEST_LOOP_f_i): Likewise.
13246         (RUN_TEST_LOOP_f_i_tg): Likewise.
13247         (RUN_TEST_LOOP_ff_i_tg): Likewise.
13248         (RUN_TEST_LOOP_f_b): Likewise.
13249         (RUN_TEST_LOOP_f_b_tg): Likewise.
13250         (RUN_TEST_LOOP_f_l): Likewise.
13251         (RUN_TEST_LOOP_f_L): Likewise.
13252         (RUN_TEST_LOOP_fFF_11): Likewise.
13253         * math/gen-libm-test.pl (parse_args): Output four copies of
13254         expected results for each test.
13255
13256         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13257         (__ASSUME_UTIMES): Remove.
13258         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13259         (__ASSUME_UTIMES): Likewise.
13260
13261         * math/gen-auto-libm-tests.c: Update comment on output format.
13262         (output_for_one_input_case): Generate before-rounding and
13263         after-rounding information as conditions on output flags not
13264         floating-point format.
13265         * math/auto-libm-test-out: Regenerated.
13266         * math/gen-libm-test.pl (cond_value): New function.
13267         (or_cond_value): Use cond_value.
13268         (generate_testfile): Handle conditional exceptions.
13269
13270 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
13271
13272         * math/libm-test.inc (max_valid_error): New variable.
13273         (init_max_error): Take new argument specifying whether function
13274         results are exactly determined.  Set max_valid_error and bound
13275         other variables for errors based on this argument.
13276         (set_max_error): Do not record results above max_valid_error.
13277         (check_float_internal): Only accept errors of up to 0.5ulps if
13278         also at most max_valid_error.
13279         (START): Take new argument EXACT and pass it to init_max_error.
13280         (acos_test): Update call to START.
13281         (acos_test_tonearest): Likewise.
13282         (acos_test_towardzero): Likewise.
13283         (acos_test_downward): Likewise.
13284         (acos_test_upward): Likewise.
13285         (acosh_test): Likewise.
13286         (asin_test): Likewise.
13287         (asin_test_tonearest): Likewise.
13288         (asin_test_towardzero): Likewise.
13289         (asin_test_downward): Likewise.
13290         (asin_test_upward): Likewise.
13291         (asinh_test): Likewise.
13292         (atan_test): Likewise.
13293         (atanh_test): Likewise.
13294         (atan2_test): Likewise.
13295         (cabs_test): Likewise.
13296         (cacos_test): Likewise.
13297         (cacosh_test): Likewise.
13298         (carg_test): Likewise.
13299         (casin_test): Likewise.
13300         (casinh_test): Likewise.
13301         (catan_test): Likewise.
13302         (catanh_test): Likewise.
13303         (cbrt_test): Likewise.
13304         (ccos_test): Likewise.
13305         (ccosh_test): Likewise.
13306         (ceil_test): Likewise.
13307         (cexp_test): Likewise.
13308         (cimag_test): Likewise.
13309         (clog_test): Likewise.
13310         (clog10_test): Likewise.
13311         (conj_test): Likewise.
13312         (copysign_test): Likewise.
13313         (cos_test): Likewise.
13314         (cos_test_tonearest): Likewise.
13315         (cos_test_towardzero): Likewise.
13316         (cos_test_downward): Likewise.
13317         (cos_test_upward): Likewise.
13318         (cosh_test): Likewise.
13319         (cosh_test_tonearest): Likewise.
13320         (cosh_test_towardzero): Likewise.
13321         (cosh_test_downward): Likewise.
13322         (cosh_test_upward): Likewise.
13323         (cpow_test): Likewise.
13324         (cproj_test): Likewise.
13325         (creal_test): Likewise.
13326         (csin_test): Likewise.
13327         (csinh_test): Likewise.
13328         (csqrt_test): Likewise.
13329         (ctan_test): Likewise.
13330         (ctan_test_tonearest): Likewise.
13331         (ctan_test_towardzero): Likewise.
13332         (ctan_test_downward): Likewise.
13333         (ctan_test_upward): Likewise.
13334         (ctanh_test): Likewise.
13335         (ctanh_test_tonearest): Likewise.
13336         (ctanh_test_towardzero): Likewise.
13337         (ctanh_test_downward): Likewise.
13338         (ctanh_test_upward): Likewise.
13339         (erf_test): Likewise.
13340         (erfc_test): Likewise.
13341         (exp_test): Likewise.
13342         (exp_test_tonearest): Likewise.
13343         (exp_test_towardzero): Likewise.
13344         (exp_test_downward): Likewise.
13345         (exp_test_upward): Likewise.
13346         (exp10_test): Likewise.
13347         (exp10_test_tonearest): Likewise.
13348         (exp10_test_towardzero): Likewise.
13349         (exp10_test_downward): Likewise.
13350         (exp10_test_upward): Likewise.
13351         (pow10_test): Likewise.
13352         (exp2_test): Likewise.
13353         (expm1_test): Likewise.
13354         (expm1_test_tonearest): Likewise.
13355         (expm1_test_towardzero): Likewise.
13356         (expm1_test_downward): Likewise.
13357         (expm1_test_upward): Likewise.
13358         (fabs_test): Likewise.
13359         (fdim_test): Likewise.
13360         (floor_test): Likewise.
13361         (fma_test): Likewise.
13362         (fma_test_towardzero): Likewise.
13363         (fma_test_downward): Likewise.
13364         (fma_test_upward): Likewise.
13365         (fmax_test): Likewise.
13366         (fmin_test): Likewise.
13367         (fmod_test): Likewise.
13368         (fpclassify_test): Likewise.
13369         (frexp_test): Likewise.
13370         (hypot_test): Likewise.
13371         (ilogb_test): Likewise.
13372         (isfinite_test): Likewise.
13373         (finite_test): Likewise.
13374         (isgreater_test): Likewise.
13375         (isgreaterequal_test): Likewise.
13376         (isinf_test): Likewise.
13377         (isless_test): Likewise.
13378         (islessequal_test): Likewise.
13379         (islessgreater_test): Likewise.
13380         (isnan_test): Likewise.
13381         (isnormal_test): Likewise.
13382         (issignaling_test): Likewise.
13383         (isunordered_test): Likewise.
13384         (j0_test): Likewise.
13385         (j1_test): Likewise.
13386         (jn_test): Likewise.
13387         (ldexp_test): Likewise.
13388         (lgamma_test): Likewise.
13389         (gamma_test): Likewise.
13390         (lrint_test): Likewise.
13391         (lrint_test_tonearest): Likewise.
13392         (lrint_test_towardzero): Likewise.
13393         (lrint_test_downward): Likewise.
13394         (lrint_test_upward): Likewise.
13395         (llrint_test): Likewise.
13396         (llrint_test_tonearest): Likewise.
13397         (llrint_test_towardzero): Likewise.
13398         (llrint_test_downward): Likewise.
13399         (llrint_test_upward): Likewise.
13400         (log_test): Likewise.
13401         (log10_test): Likewise.
13402         (log1p_test): Likewise.
13403         (log2_test): Likewise.
13404         (logb_test): Likewise.
13405         (logb_test_downward): Likewise.
13406         (lround_test): Likewise.
13407         (llround_test): Likewise.
13408         (modf_test): Likewise.
13409         (nearbyint_test): Likewise.
13410         (nextafter_test): Likewise.
13411         (nexttoward_test): Likewise.
13412         (pow_test): Likewise.
13413         (pow_test_tonearest): Likewise.
13414         (pow_test_towardzero): Likewise.
13415         (pow_test_downward): Likewise.
13416         (pow_test_upward): Likewise.
13417         (remainder_test): Likewise.
13418         (drem_test): Likewise.
13419         (remainder_test_tonearest): Likewise.
13420         (drem_test_tonearest): Likewise.
13421         (remainder_test_towardzero): Likewise.
13422         (drem_test_towardzero): Likewise.
13423         (remainder_test_downward): Likewise.
13424         (drem_test_downward): Likewise.
13425         (remainder_test_upward): Likewise.
13426         (drem_test_upward): Likewise.
13427         (remquo_test): Likewise.
13428         (rint_test): Likewise.
13429         (rint_test_tonearest): Likewise.
13430         (rint_test_towardzero): Likewise.
13431         (rint_test_downward): Likewise.
13432         (rint_test_upward): Likewise.
13433         (round_test): Likewise.
13434         (scalb_test): Likewise.
13435         (scalbn_test): Likewise.
13436         (scalbln_test): Likewise.
13437         (signbit_test): Likewise.
13438         (sin_test): Likewise.
13439         (sin_test_tonearest): Likewise.
13440         (sin_test_towardzero): Likewise.
13441         (sin_test_downward): Likewise.
13442         (sin_test_upward): Likewise.
13443         (sincos_test): Likewise.
13444         (sinh_test): Likewise.
13445         (sinh_test_tonearest): Likewise.
13446         (sinh_test_towardzero): Likewise.
13447         (sinh_test_downward): Likewise.
13448         (sinh_test_upward): Likewise.
13449         (sqrt_test): Likewise.
13450         (sqrt_test_tonearest): Likewise.
13451         (sqrt_test_towardzero): Likewise.
13452         (sqrt_test_downward): Likewise.
13453         (sqrt_test_upward): Likewise.
13454         (tan_test): Likewise.
13455         (tan_test_tonearest): Likewise.
13456         (tan_test_towardzero): Likewise.
13457         (tan_test_downward): Likewise.
13458         (tan_test_upward): Likewise.
13459         (tanh_test): Likewise.
13460         (tgamma_test): Likewise.
13461         (trunc_test): Likewise.
13462         (y0_test): Likewise.
13463         (y1_test): Likewise.
13464         (yn_test): Likewise.
13465         (significand_test): Likewise.
13466
13467         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
13468         individual tests in comment.
13469         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
13470         (prev_max_error): New variable.
13471         (prev_real_max_error): Likewise.
13472         (prev_imag_max_error): Likewise.
13473         (compare_ulp_data): Don't refer to test names in comment.
13474         (find_test_ulps): Remove function.
13475         (find_function_ulps): Likewise.
13476         (find_complex_function_ulps): Likewise.
13477         (init_max_error): Take function name as argument.  Look up ulps
13478         for that function.
13479         (print_ulps): Remove function.
13480         (print_max_error): Use prev_max_error instead of calling
13481         find_function_ulps.
13482         (print_complex_max_error): Use prev_real_max_error and
13483         prev_imag_max_error instead of calling find_complex_function_ulps.
13484         (check_float_internal): Take max_ulp parameter instead of calling
13485         find_test_ulps.  Don't call print_ulps.
13486         (check_float): Update call to check_float_internal.
13487         (check_complex): Update calls to check_float_internal.
13488         (START): Pass argument to init_max_error.
13489         * math/gen-libm-test.pl (%results): Don't include "kind"
13490         information.
13491         (parse_ulps): Don't handle ulps of individual tests.
13492         (print_ulps_file): Likewise.
13493         (output_ulps): Likewise.
13494         * math/README.libm-test: Update.
13495         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
13496         individual tests.
13497         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
13498         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
13499         * sysdeps/arm/libm-test-ulps: Likewise.
13500         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
13501         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
13502         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
13503         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
13504         * sysdeps/microblaze/libm-test-ulps: Likewise.
13505         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13506         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13507         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13508         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
13509         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13510         * sysdeps/sh/libm-test-ulps: Likewise.
13511         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13512         * sysdeps/tile/libm-test-ulps: Likewise.
13513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13514
13515 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
13516
13517         * math/libm-test.inc (print_complex_max_error): Check separately
13518         whether real and imaginary errors are within allowed range and
13519         pass 0 to print_complex_function_ulps instead of value within
13520         allowed range.
13521
13522 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13523
13524         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
13525         formatting.
13526         (get_handles_fopen): Likewise.
13527         (do_write_test): Likewise.
13528
13529         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
13530
13531         * libio/fileops.c (do_ftell): Use cached offset when
13532         available.
13533         * libio/iofwide.c (do_ftell_wide): Likewise.
13534         * libio/iofdopen.c (_IO_new_fdopen): Don't use
13535         _IO_file_attach.
13536         * libio/wfileops.c (_IO_fwide): Don't cache offset.
13537
13538         [BZ #16532]
13539         * libio/libioP.h (get_file_offset): New function.
13540         * libio/fileops.c (get_file_offset): Likewise.
13541         (do_ftell): Likewise.
13542         (_IO_new_file_seekoff): Split out ftell logic.
13543         * libio/wfileops.c (do_ftell_wide): Likewise.
13544         (_IO_wfile_seekoff): Split out ftell logic.
13545         * libio/tst-ftell-active-handler.c: New test case.
13546         * libio/Makefile (tests): Add it.
13547
13548 2014-03-03  Roland McGrath  <roland@hack.frob.com>
13549
13550         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
13551         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
13552
13553 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13554
13555         [BZ #16639]
13556         * nscd/connections.c (nscd_init): Call do_exit.
13557         (start_threads): Call do_exit and notify_parent.
13558         (begin_drop_privileges): Call do_exit.
13559         (finish_drop_privileges): Likewise.
13560         * nscd/selinux.c (preserve_capabilities): Likewise.
13561         (install_real_capabilities): Likewise.
13562         (nscd_selinux_enabled): Likewise.
13563         (avc_create_thread): Likewise.
13564         (avc_alloc_lock): Likewise.
13565         (nscd_avc_init): Likewise.
13566         * nscd/nscd.c (parent_fd): New static variable.
13567         (main): Create a pipe between parent and child processes.
13568         Skip closing parent_fd.
13569         (monitor_child): New function.
13570         (do_exit): Likewise.
13571         (notify_parent): Likewise.
13572         * nscd/nscd.h (notify_parent): Likewise.
13573         (do_exit): Likewise.
13574
13575 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
13576
13577         * malloc/malloc.c (__libc_calloc): Revert last change.
13578
13579 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13580
13581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13582
13583 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13584
13585         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
13586         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
13587         implementation.
13588         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13589         (__libc_ifunc_impl_list): Likewise.
13590         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
13591         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
13592         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
13593         * string/strrchr.c: Define STRRCHR.
13594
13595 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
13596
13597         * benchtest/bench-strtok.c (simple_strtok): Delete.
13598         (strtok_string): Use as benchmark.
13599         * string/strtok (STRTOK): New macro.
13600
13601 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
13602
13603         * manual/threads.texi: Add header and standard comments to all
13604         functions.
13605
13606         * elf/dl-lookup.c (check_match): New function.
13607         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
13608         (do_lookup_x): Remove nested function check_match. Use non-nested
13609         function check_match.
13610
13611 2014-02-28  Roland McGrath  <roland@hack.frob.com>
13612
13613         * csu/Makefile (generated, before-compile): Use += rather than =.
13614         * catgets/Makefile (generated, generated-dirs): Likewise.
13615         * debug/Makefile (generated): Likewise.
13616         * dlfcn/Makefile (generated): Likewise.
13617         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13618         * iconvdata/Makefile (before-compile, generated): Likewise.
13619         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13620         * libio/Makefile (generated): Likewise.
13621         * malloc/Makefile (generated): Likewise.
13622         * manual/Makefile (generated, generated-dirs): Likewise.
13623         * misc/Makefile (generated): Likewise.
13624         * posix/Makefile (generated): Likewise.
13625         * resolv/Makefile (generated): Likewise.
13626         * sunrpc/Makefile (generated, generated-dirs): Likewise.
13627         * timezone/Makefile (generated, generated-dirs): Likewise.
13628
13629         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13630
13631 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13632
13633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13634         power8 implementation.
13635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13636         file: POWER8 llround ifunc implementation.
13637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13638         (__lllround): Add POWER8 implementation.
13639         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13640         POWER8 llround implementation.
13641
13642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13643         power8 implementation.
13644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13645         file: POWER8 llrint ifunc implementation.
13646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13647         Add POWER8 implementation.
13648         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13649         POWER8 llrint implementation.
13650
13651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13652         power8 implementation.
13653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13654         file: POWER8 finite ifunc implementation.
13655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13656         Add POWER8 implementation.
13657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13658         Likewise.
13659         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13660         POWER8 finite implementation.
13661         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13662
13663         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13664         power8 implementation.
13665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13666         file: POWER8 isinf ifunc implementation.
13667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13668         POWER8 implementation.
13669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13670         Likewise.
13671         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13672         isinf implementation.
13673         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13674
13675         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13676         (INIT_ARCH): Add hwcap2 initialization.
13677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13678         power8 implementation.
13679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13680         file: POWER8 isnan ifunc implementation.
13681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13682         POWER8 implementation.
13683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13684         Likewise.
13685         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13686         isnan implementation.
13687         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13688
13689 2014-02-27  Joey Ye  <joey.ye@arm.com>
13690
13691         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13692         (_FP_NANFRAC_Q): Set to zero.
13693
13694 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13695
13696         [BZ #16623]
13697         * math/auto-libm-test-in: New test inputs.
13698         * math/auto-libm-test-out: Regenerate.
13699         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13700         and DA.
13701         (__cos): Likewise.
13702         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13703
13704 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13705
13706         * scripts/evaluate-test.sh: Take new argument indicating whether
13707         failure is expected.
13708         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13709         indicating whether failure is expected.
13710         * conform/Makefile (test-xfail-run-conformtest): New variable.
13711         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13712         level.
13713         * posix/Makefile (test-xfail-annexc): New variable.
13714         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13715
13716 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13717
13718         * argp/Makefile: Include Makeconfig immediately after defining
13719         subdir.
13720         * assert/Makefile: Likewise.
13721         * benchtests/Makefile: Likewise.
13722         * catgets/Makefile: Likewise.
13723         * conform/Makefile: Likewise.
13724         * crypt/Makefile: Likewise.
13725         * csu/Makefile: Likewise.
13726         (all): Remove target.
13727         * ctype/Makefile: Include Makeconfig immediately after defining
13728         subdir.
13729         * debug/Makefile: Likewise.
13730         * dirent/Makefile: Likewise.
13731         * dlfcn/Makefile: Likewise.
13732         * gmon/Makefile: Likewise.
13733         * gnulib/Makefile: Likewise.
13734         * grp/Makefile: Likewise.
13735         * gshadow/Makefile: Likewise.
13736         * hesiod/Makefile: Likewise.
13737         * hurd/Makefile: Likewise.
13738         (all): Remove target.
13739         * iconvdata/Makefile: Include Makeconfig immediately after
13740         defining subdir.
13741         * inet/Makefile: Likewise.
13742         * intl/Makefile: Likewise.
13743         * io/Makefile: Likewise.
13744         * libio/Makefile: Likewise.
13745         (all): Remove target.
13746         * locale/Makefile: Include Makeconfig immediately after defining
13747         subdir.
13748         * login/Makefile: Likewise.
13749         * mach/Makefile: Likewise.
13750         (all): Remove target.
13751         * malloc/Makefile: Include Makeconfig immediately after defining
13752         subdir.
13753         (all): Remove target.
13754         * manual/Makefile: Include Makeconfig immediately after defining
13755         subdir.
13756         * math/Makefile: Likewise.
13757         * misc/Makefile: Likewise.
13758         * nis/Makefile: Likewise.
13759         * nss/Makefile: Likewise.
13760         * po/Makefile: Likewise.
13761         (all): Remove target.
13762         * posix/Makefile: Include Makeconfig immediately after defining
13763         subdir.
13764         * pwd/Makefile: Likewise.
13765         * resolv/Makefile: Likewise.
13766         * resource/Makefile: Likewise.
13767         * rt/Makefile: Likewise.
13768         * setjmp/Makefile: Likewise.
13769         * shadow/Makefile: Likewise.
13770         * signal/Makefile: Likewise.
13771         * socket/Makefile: Likewise.
13772         * soft-fp/Makefile: Likewise.
13773         * stdio-common/Makefile: Likewise.
13774         * stdlib/Makefile: Likewise.
13775         * streams/Makefile: Likewise.
13776         * string/Makefile: Likewise.
13777         * sunrpc/Makefile: Likewise.
13778         (all): Remove target.
13779         * sysvipc/Makefile: Include Makeconfig immediately after defining
13780         subdir.
13781         * termios/Makefile: Likewise.
13782         * time/Makefile: Likewise.
13783         * timezone/Makefile: Likewise.
13784         (all): Remove target.
13785         * wcsmbs/Makefile: Include Makeconfig immediately after defining
13786         subdir.
13787         * wctype/Makefile: Likewise.
13788
13789 2014-02-26  Steve Ellcey  <sellcey@mips.com>
13790
13791         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13792         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13793         (libc_feholdexcept_setround_mips): Ditto.
13794         (libc_feholdsetround): New.
13795         (libc_feholdsetroundf): New.
13796         (libc_feholdsetroundl): New.
13797         (libc_feupdateenv_test_mips): New.
13798         (libc_feupdateenv_test): New.
13799         (libc_feupdateenv_testf): New.
13800         (libc_feupdateenv_testl): New.
13801         (libc_feresetround): New.
13802         (libc_feresetroundf): New.
13803         (libc_feresetroundl): New.
13804         (libc_fetestexcept_mips): New.
13805         (libc_fetestexcept): New.
13806         (libc_fetestexceptf): New.
13807         (libc_fetestexceptl): New.
13808         (HAVE_RM_CTX): New.
13809         (libc_feholdexcept_setround_mips_ctx): New.
13810         (libc_feholdexcept_setround_ctx): New.
13811         (libc_feholdexcept_setroundf_ctx): New.
13812         (libc_feholdexcept_setroundl_ctx): New.
13813         (libc_fesetenv_mips_ctx): New.
13814         (libc_fesetenv_ctx): New.
13815         (libc_fesetenv_ctxf): New.
13816         (libc_fesetenv_ctxl): New.
13817         (libc_feupdateenv_mips_ctx): New.
13818         (libc_feupdateenv_ctx): New.
13819         (libc_feupdateenvf_ctx): New.
13820         (libc_feupdateenvl_ctx): New.
13821         (libc_feholdsetround_mips_ctx): New.
13822         (libc_feholdsetround_ctx): New.
13823         (libc_feholdsetroundf_ctx): New.
13824         (libc_feholdsetroundl_ctx): New.
13825         (libc_feresetround_mips_ctx): New.
13826         (libc_feresetround_ctx): New.
13827         (libc_feresetroundf_ctx): New.
13828         (libc_feresetroundl_ctx): New.
13829
13830 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
13831
13832         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13833
13834         * manual/ipc.texi: New file.
13835         * manual/Makefile (chapters): Add ipc.
13836         * manual/job.texi: Add "Inter-Process Communication" to next.
13837         * manual/process.texi: Add "Inter-Process Communication" to prev.
13838
13839 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13840
13841         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13842
13843 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
13844
13845         * malloc/malloc.c (__libc_calloc): Simplify implementation.
13846
13847         * manual/arith.texi: Fix spaces after sentences.
13848         * manual/charset.texi: Likewise.
13849         * manual/errno.texi: Likewise.
13850         * manual/install.texi: Likewise.
13851         * manual/llio.texi: Likewise.
13852         * manual/locale.texi: Likewise.
13853         * manual/maint.texi: Likewise.
13854         * manual/math.texi: Likewise.
13855         * manual/memory.texi: Likewise.
13856         * manual/message.texi: Likewise.
13857         * manual/probes.texi: Likewise.
13858         * manual/resource.texi: Likewise.
13859         * manual/signal.texi: Likewise.
13860         * manual/socket.texi: Likewise.
13861         * manual/stdio.texi: Likewise.
13862         * manual/string.texi: Likewise.
13863         * manual/time.texi: Likewise.
13864         * manual/users.texi: Likewise.
13865
13866 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
13867
13868         [BZ #16632]
13869         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13870         _DEFAULT_SOURCE is defined.
13871
13872 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
13873             Carlos O'Donell  <carlos@redhat.com>
13874
13875         [BZ #16613]
13876         * elf/dl-tls.c (_dl_count_modids): New function.
13877         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13878         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13879         audit library and increment generation counter.
13880         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13881         * elf/tst-audit9.c: New file.
13882         * elf/tst-auditmod9a.c: New file.
13883         * elf/tst-auditmod9b.c: New file.
13884         * elf/Makefile: Add rules to build and run tst-audit9.
13885
13886 2014-02-25  Florian Weimer  <fweimer@redhat.com>
13887
13888         [BZ #15347]
13889         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13890
13891 2014-02-25  Will Newton  <will.newton@linaro.org>
13892
13893         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13894         (__longjmp): Restore sp and lr before restoring callee
13895         saved registers.  Add longjmp and longjmp_target
13896         SystemTap probe point.
13897         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13898         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13899         Define to zero to match jmpbuf layout.
13900         * sysdeps/arm/setjmp.S: Include stap-probe.h.
13901         (__sigsetjmp): Save sp and lr before saving callee
13902         saved registers.  Add setjmp SystemTap probe point.
13903
13904 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13905
13906         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13907
13908 2014-02-24  Andreas Schwab  <schwab@suse.de>
13909
13910         [BZ #15804]
13911         * elf/pldd.c (wait_for_ptrace_stop): New function.
13912         (main): Call it after attaching.
13913
13914 2014-02-22  Roland McGrath  <roland@hack.frob.com>
13915
13916         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13917         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13918         Versions files is now verboten.
13919         * hurd/Versions (libc: GLIBC_2.0):
13920         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13921         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13922         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13923         * mach/Versions: Likewise.
13924
13925         * csu/Versions: Remove unused %include.
13926         * resolv/Versions: Likewise.
13927
13928 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
13929
13930         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13931         ($(objpfx)check-local-headers.out): Likewise.
13932         ($(objpfx)begin-end-check.out): Likewise.
13933         * Makerules (check-abi-%.out): Likewise.
13934         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13935         ($(objpfx)test2.cat): Likewise.
13936         ($(objpfx)de/libc.cat): Likewise.
13937         ($(objpfx)test-gencat.out): Likewise.
13938         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13939         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13940         ($(objpfx)noload-mem): Likewise.
13941         ($(objpfx)tst-pathopt.out): Likewise.
13942         ($(objpfx)tst-rtld-load-self.out): Likewise.
13943         ($(objpfx)tst-array1-cmp.out): Likewise.
13944         ($(objpfx)tst-array1-static-cmp.out): Likewise.
13945         ($(objpfx)tst-array2-cmp.out): Likewise.
13946         ($(objpfx)tst-array3-cmp.out): Likewise.
13947         ($(objpfx)tst-array4-cmp.out): Likewise.
13948         ($(objpfx)tst-array5-cmp.out): Likewise.
13949         ($(objpfx)tst-array5-static-cmp.out): Likewise.
13950         ($(objpfx)check-textrel.out): Likewise.
13951         ($(objpfx)check-execstack.out): Likewise.
13952         ($(objpfx)check-localplt.out): Likewise.
13953         ($(objpfx)order2-cmp.out): Likewise.
13954         ($(objpfx)tst-leaks1-mem): Likewise.
13955         ($(objpfx)tst-leaks1-static-mem): Likewise.
13956         ($(objpfx)tst-initorder-cmp.out): Likewise.
13957         ($(objpfx)tst-initorder2-cmp.out): Likewise.
13958         ($(objpfx)tst-unused-dep.out): Likewise.
13959         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13960         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13961         * iconv/Makefile (test-iconvconfig): Likewise.
13962         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13963         ($(objpfx)iconv-test.out): Likewise.
13964         ($(objpfx)tst-tables.out): Likewise.
13965         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13966         ($(objpfx)tst-gettext.out): Likewise.
13967         ($(objpfx)tst-translit.out): Likewise.
13968         ($(objpfx)tst-gettext2.out): Likewise.
13969         ($(objpfx)tst-gettext4.out): Likewise.
13970         ($(objpfx)tst-gettext6.out): Likewise.
13971         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13972         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13973         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13974         ($(objpfx)tst-fopenloc-mem.out): Likewise.
13975         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13976         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13977         * posix/Makefile ($(objpfx)globtest.out): Likewise.
13978         ($(objpfx)wordexp-tst.out): Likewise.
13979         ($(objpfx)annexc.out): Likewise.
13980         ($(objpfx)tst-fnmatch-mem): Likewise.
13981         ($(objpfx)bug-regex2-mem): Likewise.
13982         ($(objpfx)bug-regex14-mem): Likewise.
13983         ($(objpfx)bug-regex21-mem): Likewise.
13984         ($(objpfx)bug-regex31-mem): Likewise.
13985         ($(objpfx)tst-vfork3-mem): Likewise.
13986         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13987         ($(objpfx)tst-pcre-mem): Likewise.
13988         ($(objpfx)tst-boost-mem): Likewise.
13989         ($(objpfx)tst-getconf.out): Likewise.
13990         ($(objpfx)bug-ga2-mem): Likewise.
13991         ($(objpfx)bug-glob2-mem): Likewise.
13992         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13993         ($(objpfx)mtrace-tst-leaks2): Likewise.
13994         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13995         ($(objpfx)tst-printf.out): Likewise.
13996         ($(objpfx)tst-setvbuf1.out): Likewise.
13997         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13998         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13999         ($(objpfx)tst-fmtmsg.out): Likewise.
14000         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14001         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14002
14003         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14004         * bits/sigaction.h [__USE_MISC]: Likewise.
14005         * bits/waitstatus.h: Update #endif comments.
14006         * ctype/ctype.h: Likewise.
14007         * dirent/dirent.h: Likewise.
14008         [__USE_MISC]: Remove redundant conditionals.
14009         * grp/grp.h: Update #endif comments.
14010         [__USE_GNU]: Remove redundant conditionals.
14011         [__USE_MISC]: Likewise.
14012         * inet/netinet/in.h [__USE_GNU]: Likewise.
14013         * io/sys/stat.h [__USE_MISC]: Likewise.
14014         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14015         * libio/bits/stdio.h: Update #endif comments.
14016         [__USE_MISC]: Remove redundant conditionals.
14017         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14018         * libio/stdio.h: Update #endif comments.
14019         [__USE_MISC]: Remove redundant conditionals.
14020         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14021         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14022         * math/math.h: Update #else and #endif comments.
14023         [__USE_MISC]: Remove redundant conditionals.
14024         * misc/sys/uio.h: Update #endif comments.
14025         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14026         * posix/glob.h [__USE_MISC]: Likewise.
14027         * posix/sys/types.h: Update #endif comments.
14028         [__USE_MISC]: Remove redundant conditionals.
14029         * posix/sys/wait.h: Update #endif comments.
14030         [__USE_MISC]: Remove redundant conditionals.
14031         * posix/unistd.h: Update #endif comments.
14032         [__USE_MISC]: Remove redundant conditionals.
14033         * pwd/pwd.h [__USE_GNU]: Likewise.
14034         [__USE_MISC]: Likewise.
14035         * resolv/netdb.h [__USE_GNU]: Likewise.
14036         * signal/signal.h: Update #endif comments.
14037         [__USE_MISC]: Remove redundant conditionals.
14038         * stdlib/stdlib.h: Update #else and #endif comments.
14039         [__USE_MISC]: Remove redundant conditionals.
14040         [__USE_GNU]: Likewise.
14041         * string/bits/string2.h [__USE_MISC]: Likewise.
14042         * string/string.h: Update #endif comments.
14043         [__USE_MISC]: Remove redundant conditionals.
14044         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14045         Likewise.
14046         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14047         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14048         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14049         Likewise.
14050         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14051         Likewise.
14052         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14053         comments.
14054         [__USE_MISC]: Remove redundant conditionals.
14055         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14056         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14057         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14058         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14059         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14060         Likewise.
14061         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14062         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14063         Likewise.
14064         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14065         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14066         Likewise.
14067         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14068         Likewise.
14069         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14070         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14071         Likewise.
14072         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14073         Likewise.
14074         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14075         * sysdeps/x86/bits/string.h: Update #endif comments.
14076         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14077         conditionals.
14078         * time/sys/time.h: Update #endif comments.
14079         * time/time.h: Likewise.
14080         [__USE_MISC]: Remove redundant conditionals.
14081
14082 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14083
14084         [BZ #16600]
14085         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14086
14087 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14088
14089         * Versions.def (librt): Add GLIBC_2.17.
14090
14091 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14092
14093         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14094         synonym for _SYS_AUXV_H to allow direct inclusion.
14095         * sysdeps/sparc/bits/hwcap.h: Likewise.
14096         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14097         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14098         * sysdeps/sparc/sysdep.h: Likewise.
14099
14100 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14101
14102         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14103
14104 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14105
14106         * benchtests/bench-strrchr.c: Print length instead of position.
14107
14108 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14109
14110         [BZ #16611]
14111         * sysdeps/unix/sysv/linux/kernel-features.h
14112         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14113         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14114         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14115         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14116         Likewise.
14117         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14118         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14119         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14120         (__ASSUME_SENDMMSG): Define instead of using previous
14121         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14122         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14123         (__ASSUME_SENDMMSG_SYSCALL): Define.
14124         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14125         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14126         Likewise.
14127         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14128         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14129         Likewise.
14130         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14131         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14132         Likewise.
14133         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14134         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14135         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14136         [__ASSUME_SENDMMSG]: Change conditionals to
14137         [__ASSUME_SENDMMSG_SOCKETCALL].
14138         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14139         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14140         Define.
14141         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14142         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14143         Likewise.
14144         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14145         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14146         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14147         [!__ASSUME_SENDMMSG]: Change conditional to
14148         [!__ASSUME_SENDMMSG_SOCKETCALL].
14149         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14150         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14151         Define.
14152
14153         [BZ #16610]
14154         * sysdeps/unix/sysv/linux/kernel-features.h
14155         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14156         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14157         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14158         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14159         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14160         [__i386__ || __sparc__]
14161         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14162         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14163         (__ASSUME_RECVMMSG): Define instead of using previous
14164         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14165         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14166         (__ASSUME_RECVMMSG_SYSCALL): Define.
14167         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14168         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14169         Likewise.
14170         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14171         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14172         Likewise.
14173         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14174         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14175         Likewise.
14176         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14177         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14178         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14179         [__ASSUME_RECVMMSG]: Change condition to
14180         [__ASSUME_RECVMMSG_SOCKETCALL].
14181         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14182         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14183         Define.
14184         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14185         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14186         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14187         Likewise.
14188         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
14189         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14190         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14191         [!__ASSUME_RECVMMSG]: Change condition to
14192         [!__ASSUME_RECVMMSG_SOCKETCALL].
14193         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14194         (__ASSUME_RECVMMSG_SYSCALL): Define.
14195
14196         [BZ #16609]
14197         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
14198         __powerpc__ || __s390__ || __sh__ || __sparc__]
14199         (__ASSUME_SOCKETCALL): Define.
14200         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
14201         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
14202         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
14203         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
14204         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14205         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
14206         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
14207         (__ASSUME_ACCEPT4): Define instead of using previous
14208         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
14209         __powerpc__ || __sparc__ || __s390__)] condition.
14210         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14211         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14212         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
14213         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14214         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14215         [!__ASSUME_ACCEPT4]: Change condition to
14216         [!__ASSUME_ACCEPT4_SOCKETCALL].
14217         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14218         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
14219         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
14220         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14221         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
14222         __ASSUME_ACCEPT4_SYSCALL.
14223         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
14224         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
14225         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14226         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
14227         __ASSUME_ACCEPT4_SYSCALL.
14228         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
14229         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
14230         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
14231         [__ASSUME_ACCEPT4]: Change condition to
14232         [__ASSUME_ACCEPT4_SOCKETCALL].
14233         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14234         (__ASSUME_SOCKETCALL): Define.
14235         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
14236         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14237         (__ASSUME_SOCKETCALL): Define.
14238         (__ASSUME_ACCEPT4): Remove.
14239         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
14240         Define.
14241         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14242         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
14243         Likewise.
14244         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14245         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
14246
14247         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
14248         macro.
14249         (HWCAP_ARM_LPAE): Likewise.
14250         (HWCAP_ARM_EVTSTRM): Likewise.
14251         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
14252         Add vpfd32, lpae and evtstrm.
14253         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
14254         Increase to 22.
14255
14256 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
14257
14258         * math/auto-libm-test-in: Add tests of clog10.
14259         * math/auto-libm-test-out: Regenerated.
14260         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
14261         * sysdeps/i386/fpu/libm-test-ulps: Update.
14262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14263
14264 2014-02-18  Andreas Schwab  <schwab@suse.de>
14265
14266         [BZ #16574]
14267         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
14268         Store non-zero if the second buffer was newly allocated.
14269         (send_dg): Likewise.
14270         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
14271         to send_vc and send_dg.
14272         (res_nsend): Pass NULL for ansp2_malloced.
14273         * resolv/res_query.c (__libc_res_nquery): Add parameter
14274         answerp2_malloced and pass it down to __libc_res_nsend.
14275         (res_nquery): Pass additional NULL to __libc_res_nquery.
14276         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
14277         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
14278         second answer buffer if answerp2_malloced was set.
14279         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
14280         (__libc_res_nquerydomain): Add parameter
14281         answerp2_malloced and pass it down to __libc_res_nquery.
14282         (res_nquerydomain): Pass additional NULL to
14283         __libc_res_nquerydomain.
14284         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
14285         additional NULL to __libc_res_nsend and __libc_res_nquery.
14286         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
14287         additional NULL to __libc_res_nsearch.
14288         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
14289         parameter of __libc_res_nsearch to check for separately allocated
14290         second buffer.
14291         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
14292         __libc_res_nquery.
14293         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
14294         additional NULL to __libc_res_nquery.
14295         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
14296         __libc_res_nsearch.
14297         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
14298         * include/resolv.h: Update prototypes of __libc_res_nquery,
14299         __libc_res_nsearch, __libc_res_nsend.
14300
14301 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
14302
14303         * math/auto-libm-test-in: Add tests of fma.
14304         * math/auto-libm-test-out: Regenerated.
14305         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
14306         (fma_towardzero_test_data): Likewise.
14307         (fma_downward_test_data): Likewise.
14308         (fma_upward_test_data): Likewise.
14309         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
14310         mpc_mode.
14311         (rounding_modes): Add values for new field.
14312         (func_calc_method): Add value mpfr_fff_f.
14313         (func_calc_desc): Add mpfr_fff_f union field.
14314         (test_function): Add field exact_args.
14315         (FUNC): Add macro argument EXACT_ARGS.
14316         (FUNC_mpfr_f_f): Update call to FUNC.
14317         (FUNC_mpfr_f_f): Likewise.
14318         (FUNC_mpfr_ff_f): Likewise.
14319         (FUNC_mpfr_if_f): Likewise.
14320         (FUNC_mpc_c_f): Likewise.
14321         (FUNC_mpc_c_c): Likewise.
14322         (test_functions): Add fma.  Update calls to FUNC.
14323         (handle_input_arg): Add argument exact_args.
14324         (add_test): Update call to handle_input_arg.
14325         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
14326         (output_for_one_input_case): Update call to calc_generic_results.
14327         Recalculate exact zero results in each rounding mode.
14328
14329         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
14330         non-negative before setting low bit.
14331         * math/auto-libm-test-in: Mark one asin test possibly having
14332         spurious underflow.
14333         * math/auto-libm-test-out: Regenerated.
14334         * sysdeps/i386/fpu/libm-test-ulps: Update.
14335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14336
14337 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
14338
14339         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
14340         * sysdeps/unix/sysv/linux/microblaze: Move directory from
14341         ports/sysdeps/unix/sysv/linux/microblaze.
14342         * README: Add missing listing for microblaze*-*-linux-gnu.
14343
14344 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
14345
14346         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
14347         duplicate code
14348
14349 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
14350
14351         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
14352         * sysdeps/unix/sysv/linux/ia64: Move directory from
14353         ports/sysdeps/unix/sysv/linux/ia64.
14354         * README: Update listing for ia64-*-linux-gnu.
14355
14356 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
14357             Joseph Myers  <joseph@codesourcery.com>
14358
14359         * Makeconfig (test-name): New variable.
14360         (evaluate-test): Likewise.
14361         * Makerules (do-test-clean): Remove .test-result files.
14362         (common-mostlyclean): Likewise.
14363         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
14364         * scripts/evaluate-test.sh: New file.
14365
14366 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
14367
14368         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
14369         separate $(objpfx)tst-fopenloc-cmp.out and
14370         $(objpfx)tst-fopenloc-mem.out targets.
14371         (tests): Update dependencies.
14372         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
14373         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
14374         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
14375         (tst-rxspencer-no-utf8-ARGS): New variable.
14376         (tst-rxspencer-no-utf8-ENV): Likewise.
14377         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
14378         instead of $(objpfx)tst-rxspencer-mem.
14379         ($(objpfx)tst-rxspencer-mem): Change target to
14380         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
14381         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
14382         * posix/tst-rxspencer-no-utf8.c: New file.
14383
14384         * elf/Makefile ($(objpfx)order.out): Remove rule.
14385         [$(run-built-tests) = yes] (tests): Depend on
14386         $(objpfx)order-cmp.out.
14387         ($(objpfx)order-cmp.out): New rule.
14388         [$(run-built-tests) = yes] (tests): Depend on
14389         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
14390         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
14391         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
14392         $(objpfx)tst-array5-static-cmp.out.
14393         ($(objpfx)tst-array1.out): Remove rule.
14394         ($(objpfx)tst-array1-cmp.out): New rule.
14395         ($(objpfx)tst-array1-static.out): Remove rule.
14396         ($(objpfx)tst-array1-static-cmp.out): New rule.
14397         ($(objpfx)tst-array2.out): Remove rule.
14398         ($(objpfx)tst-array2-cmp.out): New rule.
14399         ($(objpfx)tst-array3.out): Remove rule.
14400         ($(objpfx)tst-array3-cmp.out): New rule.
14401         ($(objpfx)tst-array4.out): Remove rule.
14402         ($(objpfx)tst-array4-cmp.out): New rule.
14403         ($(objpfx)tst-array5.out): Remove rule.
14404         ($(objpfx)tst-array5-cmp.out): New rule.
14405         ($(objpfx)tst-array5-static.out): Remove rule.
14406         ($(objpfx)tst-array5-static-cmp.out): New rule.
14407         [$(run-built-tests) = yes] (tests): Depend on
14408         $(objpfx)order2-cmp.out.
14409         ($(objpfx)order2.out): Remove rule.
14410         ($(objpfx)order2-cmp.out): New rule.
14411         ($(objpfx)tst-initorder.out): Remove rule.
14412         [$(run-built-tests) = yes] (tests): Depend on
14413         $(objpfx)tst-initorder-cmp.out.
14414         ($(objpfx)tst-initorder-cmp.out): New rule.
14415         ($(objpfx)tst-initorder2.out): Remove rule.
14416         [$(run-built-tests) = yes] (tests): Depend on
14417         $(objpfx)tst-initorder2-cmp.out.
14418         ($(objpfx)tst-initorder2-cmp.out): New rule.
14419         [$(run-built-tests) = yes] (tests): Depend on
14420         $(objpfx)tst-unused-dep-cmp.out.
14421         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
14422         ($(objpfx)tst-unused-dep-cmp.out): New rule.
14423         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
14424         on $(objpfx)tst-setvbuf1-cmp.out.
14425         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
14426         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
14427         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
14428         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
14429         ($(objpfx)tst-svc.out): Remove rule.
14430         ($(objpfx)tst-svc-cmp.out): New rule.
14431
14432 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
14433
14434         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
14435         * ctype/ctype.h [__USE_MISC]: Likewise.
14436         * dirent/dirent.h [__USE_MISC]: Likewise.
14437         * grp/grp.h [__USE_MISC]: Likewise.
14438         * io/fcntl.h [__USE_MISC]: Likewise.
14439         * io/sys/stat.h [__USE_MISC]: Likewise.
14440         * libio/stdio.h [__USE_MISC]: Likewise.
14441         * posix/unistd.h [__USE_MISC]: Likewise.
14442         * pwd/pwd.h [__USE_MISC]: Likewise.
14443         * stdlib.h [__USE_MISC]: Likewise.
14444         * string/bits/string2.h [__USE_MISC]: Likewise.
14445         * string/string.h [__USE_MISC]: Likewise.
14446         * time/time.h [__USE_MISC]: Likewise.
14447
14448 2014-02-13  Andreas Schwab  <schwab@suse.de>
14449
14450         [BZ #16574]
14451         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
14452         second answer buffer if it was separately allocated.
14453
14454 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
14455
14456         * sysdeps/mips/math-tests.h: Include <features.h>.
14457         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14458         (ROUNDING_TESTS_long_double): Do not define.
14459         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
14460         (EXCEPTION_TESTS_long_double): Likewise.
14461         * sysdeps/mips/mips64/libm-test-ulps: Update.
14462
14463         * include/features.h (__USE_BSD): Remove macro definitions.
14464         (__USE_SVID): Likewise.
14465         (_BSD_SOURCE): Likewise.
14466         (_SVID_SOURCE): Likewise.
14467         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
14468         from definition of _DEFAULT_SOURCE.
14469         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
14470         [_DEFAULT_SOURCE].
14471         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
14472         * bits/mman.h [__USE_BSD]: Likewise.
14473         * bits/termios.h [__USE_BSD]: Likewise.
14474         * bits/waitstatus.h [__USE_BSD]: Likewise.
14475         * ctype/ctype.h [__USE_SVID]: Likewise.
14476         * dirent/dirent.h [__USE_BSD]: Likewise.
14477         * grp/grp.h [__USE_SVID]: Likewise.
14478         [__USE_BSD]: Likewise.
14479         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
14480         * io/fcntl.h [__USE_BSD]: Likewise.
14481         * io/ftw.h [__USE_BSD]: Likewise.
14482         * io/sys/stat.h [__USE_BSD]: Likewise.
14483         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
14484         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
14485         * libio/stdio.h [__USE_SVID]: Likewise.
14486         [__USE_BSD]: Likewise.
14487         * math/math.h [__USE_SVID]: Likewise.
14488         [__USE_BSD]: Likewise.
14489         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
14490         * misc/bits/syslog.h [__USE_BSD]: Likewise.
14491         * misc/search.h [__USE_SVID]: Likewise.
14492         * misc/sys/mman.h [__USE_BSD]: Likewise.
14493         * misc/sys/syslog.h [__USE_BSD]: Likewise.
14494         * misc/sys/uio.h [__USE_BSD]: Likewise.
14495         * posix/bits/unistd.h [__USE_BSD]: Likewise.
14496         * posix/glob.h [__USE_BSD]: Likewise.
14497         * posix/regex.h [__USE_BSD]: Likewise.
14498         * posix/sys/types.h [__USE_BSD]: Likewise.
14499         [__USE_SVID]: Likewise.
14500         * posix/sys/utsname.h [__USE_SVID]: Likewise.
14501         * posix/sys/wait.h [__USE_BSD]: Likewise.
14502         [__USE_SVID]: Likewise.
14503         * posix/unistd.h [__USE_BSD]: Likewise.
14504         [__USE_SVID]: Likewise.
14505         * pwd/pwd.h [__USE_SVID]: Likewise.
14506         * resolv/netdb.h [__USE_BSD]: Likewise.
14507         * setjmp/setjmp.h [__USE_BSD]: Likewise.
14508         * signal/signal.h [__USE_BSD]: Likewise.
14509         [__USE_SVID]: Likewise.
14510         * socket/sys/socket.h [__USE_BSD]: Likewise.
14511         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
14512         * stdlib/stdlib.h [__USE_BSD]: Likewise.
14513         [__USE_SVID]: Likewise.
14514         * string/bits/string2.h [__USE_BSD]: Likewise.
14515         [__USE_SVID]: Likewise.
14516         * string/bits/string3.h [__USE_BSD]: Likewise.
14517         * string/endian.h [__USE_BSD]: Likewise.
14518         * string/string.h [__USE_SVID]: Likewise.
14519         [__USE_BSD]: Likewise.
14520         * string/strings.h [__USE_BSD]: Likewise.
14521         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
14522         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
14523         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
14524         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
14525         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
14526         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
14527         Likewise.
14528         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
14529         Likewise.
14530         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
14531         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
14532         Likewise.
14533         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
14534         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
14535         Likewise.
14536         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
14537         Likewise.
14538         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
14539         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
14540         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
14541         Likewise.
14542         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
14543         Likewise.
14544         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
14545         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
14546         * termios/termios.h [__USE_BSD]: Likewise.
14547         * time/sys/time.h [__USE_BSD]: Likewise.
14548         * time/time.h [__USE_BSD]: Likewise.
14549         [__USE_SVID]: Likewise.
14550
14551         * Makefile (subdir_targets): Remove subdir_lint.out.
14552
14553         * stdio-common/Makefile (do-tst-unbputc): Remove target.
14554         (do-tst-printf): Likewise.
14555         (tests): Depend directly on $(objpfx)tst-unbputc.out and
14556         $(objpfx)tst-printf.out.
14557
14558         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
14559
14560         * Makerules (check-abi-%): Change target to
14561         $(objpfx)check-abi-%.out.
14562         (check-abi target): Update dependencies.
14563         (check-abi-pattern variable): Redirect output of diff to $@.
14564         (check-abi variable): Likewise.
14565         * elf/Makefile (check-abi): Update dependencies.
14566
14567         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
14568         unused.
14569         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
14570         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
14571         subnormal range.
14572         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
14573         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
14574         value has largest subnormal exponent.
14575         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
14576         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
14577         * sysdeps/aarch64/soft-fp/sfp-machine.h
14578         (_FP_TININESS_AFTER_ROUNDING): New macro.
14579         * sysdeps/alpha/soft-fp/sfp-machine.h
14580         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14581         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14582         Likewise.
14583         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
14584         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14585         * sysdeps/mips/soft-fp/sfp-machine.h
14586         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14587         * sysdeps/powerpc/soft-fp/sfp-machine.h
14588         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14589         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14590         Likewise.
14591         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
14592         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14593         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
14594         (_FP_TININESS_AFTER_ROUNDING): Likewise.
14595         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
14596         Likewise.
14597
14598 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
14599
14600         [BZ #16545]
14601         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
14602         model 1.
14603
14604 2014-02-12  Richard Henderson  <rth@redhat.com>
14605
14606         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
14607         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
14608         * sysdeps/unix/sysv/linux/alpha: Move directory from
14609         ports/sysdeps/unix/sysv/linux/alpha.
14610         * README: Update listing for alpha-*-linux-gnu.
14611
14612 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
14613
14614         * include/features.h: Update comment documenting feature test
14615         macros.
14616         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
14617         _DEFAULT_SOURCE.
14618         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14619         (_SVID_SOURCE): Likewise.
14620         (_DEFAULT_SOURCE): Update description of default features.
14621         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14622         with _GNU_SOURCE.
14623         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14624         (S_ISVTX): Likewise.
14625         * manual/math.texi (Mathematical Constants): Likewise.
14626         * manual/signal.texi (Interrupted Primitives): Likewise.
14627         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14628         * math/test-matherr.c (_SVID_SOURCE): Do not define.
14629         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14630         Don't refer to _SVID_SOURCE in warning text.
14631
14632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14633
14634         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14635         already defined.
14636         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14637         * sysdeps/mips/dl-lookup.c: Remove.
14638         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14639
14640 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14641
14642         [BZ #16447]
14643         * math/auto-libm-test-in: Add testcase for expl.
14644         * math/auto-libm-test-out: Regenerate.
14645         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14646         calculation of unsafe.
14647         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14648
14649 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14650
14651         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14652         * sysdeps/unix/sysv/linux/aarch64: Move directory from
14653         ports/sysdeps/unix/sysv/linux/aarch64.
14654         * README: Update listing for aarch64*-*-linux-gnu.
14655
14656 2014-02-11  Will Newton  <will.newton@linaro.org>
14657
14658         * manual/probes.texi (Mathematical Function Probes): Use
14659         "triggered" instead of "hit".
14660
14661         * manual/probes.texi (Internal Probes): Add documentation
14662         of setjmp, longjmp and longjmp_target probes.
14663
14664         * include/stap-probe.h: Add comment about probe argument
14665         format.
14666
14667         * malloc/mtrace.c (attribute_hidden): Remove unused macro
14668         definition.  (tr_where, tr_freehook, tr_mallochook,
14669         tr_reallochook, tr_memalignhook): Use ANSI protoype.
14670
14671 2014-02-11  David S. Miller  <davem@davemloft.net>
14672
14673         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14674         processing int_tests.
14675
14676 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
14677
14678         * sysdeps/mips: Move directory from ports/sysdeps/mips.
14679         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14680         * sysdeps/unix/sysv/linux/mips: Move directory from
14681         ports/sysdeps/unix/sysv/linux/mips.
14682         * README: Update listing for mips-*-linux-gnu and
14683         mips64-*-linux-gnu.
14684
14685 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
14686
14687         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14688         * sysdeps/unix/sysv/linux/m68k: Move directory from
14689         ports/sysdeps/unix/sysv/linux/m68k.
14690         * README: Update listing for m68k-*-linux-gnu.
14691
14692 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
14693
14694         * sysdeps/tile: Move directory from ports/sysdeps/tile.
14695         * sysdeps/unix/sysv/linux/generic: Move directory from
14696         ports/sysdeps/unix/sysv/linux/generic.
14697         * sysdeps/unix/sysv/linux/tile: Move directory from
14698         ports/sysdeps/unix/sysv/linux/tile.
14699         * README: Update listing for tile*-*-linux-gnu.
14700
14701 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14702
14703         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14704         __builtin_expect.
14705         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14706         * catgets/open_catalog.c (__open_catalog): Likewise.
14707         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14708         * debug/confstr_chk.c: Likewise.
14709         * debug/fread_chk.c (__fread_chk): Likewise.
14710         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14711         * debug/getgroups_chk.c: Likewise.
14712         * debug/mbsnrtowcs_chk.c: Likewise.
14713         * debug/mbsrtowcs_chk.c: Likewise.
14714         * debug/mbstowcs_chk.c: Likewise.
14715         * debug/memcpy_chk.c: Likewise.
14716         * debug/memmove_chk.c: Likewise.
14717         * debug/mempcpy_chk.c: Likewise.
14718         * debug/memset_chk.c: Likewise.
14719         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14720         * debug/strcat_chk.c (__strcat_chk): Likewise.
14721         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14722         * debug/strncat_chk.c (__strncat_chk): Likewise.
14723         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14724         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14725         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14726         * debug/wcpncpy_chk.c: Likewise.
14727         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14728         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14729         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14730         * debug/wcsncpy_chk.c: Likewise.
14731         * debug/wcsnrtombs_chk.c: Likewise.
14732         * debug/wcsrtombs_chk.c: Likewise.
14733         * debug/wcstombs_chk.c: Likewise.
14734         * debug/wmemcpy_chk.c: Likewise.
14735         * debug/wmemmove_chk.c: Likewise.
14736         * debug/wmempcpy_chk.c: Likewise.
14737         * debug/wmemset_chk.c: Likewise.
14738         * dirent/scandirat.c (SCANDIRAT): Likewise.
14739         * dlfcn/dladdr1.c (dladdr1): Likewise.
14740         * dlfcn/dladdr.c (dladdr): Likewise.
14741         * dlfcn/dlclose.c (dlclose_doit): Likewise.
14742         * dlfcn/dlerror.c (__dlerror): Likewise.
14743         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14744         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14745         * dlfcn/dlopen.c (dlopen_doit): Likewise.
14746         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14747         * dlfcn/dlsym.c (dlsym_doit): Likewise.
14748         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14749         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14750         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14751         Likewise.
14752         * elf/dl-conflict.c: Likewise.
14753         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14754         * elf/dl-dst.h: Likewise.
14755         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14756         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14757         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14758         * elf/dl-init.c (call_init, _dl_init): Likewise.
14759         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14760         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14761         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14762         Likewise.
14763         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14764         Likewise.
14765         * elf/dl-minimal.c (__libc_memalign): Likewise.
14766         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14767         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14768         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14769         * elf/dl-sym.c (do_sym): Likewise.
14770         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14771         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14772         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14773         * elf/dl-writev.h (_dl_writev): Likewise.
14774         * elf/ldconfig.c (search_dir): Likewise.
14775         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14776         (dl_main): Likewise.
14777         * elf/setup-vdso.h (setup_vdso): Likewise.
14778         * grp/compat-initgroups.c (compat_call): Likewise.
14779         * grp/fgetgrent.c (fgetgrent): Likewise.
14780         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14781         * grp/putgrent.c (putgrent): Likewise.
14782         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14783         Likewise.
14784         * hurd/hurdinit.c: Likewise.
14785         * iconvdata/8bit-gap.c (struct): Likewise.
14786         * iconvdata/ansi_x3.110.c : Likewise.
14787         * iconvdata/big5.c : Likewise.
14788         * iconvdata/big5hkscs.c : Likewise.
14789         * iconvdata/cp1255.c: Likewise.
14790         * iconvdata/cp1258.c : Likewise.
14791         * iconvdata/cp932.c : Likewise.
14792         * iconvdata/euc-cn.c: Likewise.
14793         * iconvdata/euc-jisx0213.c : Likewise.
14794         * iconvdata/euc-jp.c: Likewise.
14795         * iconvdata/euc-jp-ms.c : Likewise.
14796         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14797         * iconvdata/gb18030.c : Likewise.
14798         * iconvdata/gbbig5.c (const): Likewise.
14799         * iconvdata/gbgbk.c: Likewise.
14800         * iconvdata/gbk.c : Likewise.
14801         * iconvdata/ibm1364.c : Likewise.
14802         * iconvdata/ibm930.c : Likewise.
14803         * iconvdata/ibm932.c: Likewise.
14804         * iconvdata/ibm933.c : Likewise.
14805         * iconvdata/ibm935.c : Likewise.
14806         * iconvdata/ibm937.c : Likewise.
14807         * iconvdata/ibm939.c : Likewise.
14808         * iconvdata/ibm943.c: Likewise.
14809         * iconvdata/iso_11548-1.c: Likewise.
14810         * iconvdata/iso-2022-cn.c : Likewise.
14811         * iconvdata/iso-2022-cn-ext.c : Likewise.
14812         * iconvdata/iso-2022-jp-3.c: Likewise.
14813         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14814         * iconvdata/iso-2022-kr.c : Likewise.
14815         * iconvdata/iso646.c (gconv_end): Likewise.
14816         * iconvdata/iso_6937-2.c : Likewise.
14817         * iconvdata/iso_6937.c : Likewise.
14818         * iconvdata/iso8859-1.c: Likewise.
14819         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14820         * iconvdata/shift_jisx0213.c : Likewise.
14821         * iconvdata/sjis.c : Likewise.
14822         * iconvdata/t.61.c : Likewise.
14823         * iconvdata/tcvn5712-1.c : Likewise.
14824         * iconvdata/tscii.c: Likewise.
14825         * iconvdata/uhc.c : Likewise.
14826         * iconvdata/unicode.c (gconv_end): Likewise.
14827         * iconvdata/utf-16.c (gconv_end): Likewise.
14828         * iconvdata/utf-32.c (gconv_end): Likewise.
14829         * iconvdata/utf-7.c (base64): Likewise.
14830         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14831         * iconv/gconv_close.c (__gconv_close): Likewise.
14832         * iconv/gconv_open.c (__gconv_open): Likewise.
14833         * iconv/gconv_simple.c (internal_ucs4_loop_single)
14834         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14835         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14836         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14837         (ucs4le_internal_loop_single): Likewise.
14838         * iconv/iconv.c (iconv): Likewise.
14839         * iconv/iconv_close.c: Likewise.
14840         * iconv/loop.c (SINGLE): Likewise.
14841         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14842         * include/atomic.h: Likewise.
14843         * inet/inet6_option.c (option_alloc): Likewise.
14844         * intl/bindtextdom.c (set_binding_values): Likewise.
14845         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14846         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14847         * intl/localealias.c (read_alias_file): Likewise.
14848         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14849         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14850         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14851         * libio/fmemopen.c (fmemopen): Likewise.
14852         * libio/iofgets.c (_IO_fgets): Likewise.
14853         * libio/iofgets_u.c (fgets_unlocked): Likewise.
14854         * libio/iofgetws.c (fgetws): Likewise.
14855         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14856         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14857         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14858         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14859         * locale/findlocale.c (_nl_find_locale): Likewise.
14860         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14861         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14862         Likewise.
14863         * locale/setlocale.c (setlocale): Likewise.
14864         * login/programs/pt_chown.c (main): Likewise.
14865         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14866         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14867         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14868         (mmap, mmap64, mremap, munmap): Likewise.
14869         * math/e_exp2l.c: Likewise.
14870         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14871         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14872         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14873         * math/s_catan.c (__catan): Likewise.
14874         * math/s_catanf.c (__catanf): Likewise.
14875         * math/s_catanh.c (__catanh): Likewise.
14876         * math/s_catanhf.c (__catanhf): Likewise.
14877         * math/s_catanhl.c (__catanhl): Likewise.
14878         * math/s_catanl.c (__catanl): Likewise.
14879         * math/s_ccosh.c (__ccosh): Likewise.
14880         * math/s_ccoshf.c (__ccoshf): Likewise.
14881         * math/s_ccoshl.c (__ccoshl): Likewise.
14882         * math/s_cexp.c (__cexp): Likewise.
14883         * math/s_cexpf.c (__cexpf): Likewise.
14884         * math/s_cexpl.c (__cexpl): Likewise.
14885         * math/s_clog10.c (__clog10): Likewise.
14886         * math/s_clog10f.c (__clog10f): Likewise.
14887         * math/s_clog10l.c (__clog10l): Likewise.
14888         * math/s_clog.c (__clog): Likewise.
14889         * math/s_clogf.c (__clogf): Likewise.
14890         * math/s_clogl.c (__clogl): Likewise.
14891         * math/s_csin.c (__csin): Likewise.
14892         * math/s_csinf.c (__csinf): Likewise.
14893         * math/s_csinh.c (__csinh): Likewise.
14894         * math/s_csinhf.c (__csinhf): Likewise.
14895         * math/s_csinhl.c (__csinhl): Likewise.
14896         * math/s_csinl.c (__csinl): Likewise.
14897         * math/s_csqrt.c (__csqrt): Likewise.
14898         * math/s_csqrtf.c (__csqrtf): Likewise.
14899         * math/s_csqrtl.c (__csqrtl): Likewise.
14900         * math/s_ctan.c (__ctan): Likewise.
14901         * math/s_ctanf.c (__ctanf): Likewise.
14902         * math/s_ctanh.c (__ctanh): Likewise.
14903         * math/s_ctanhf.c (__ctanhf): Likewise.
14904         * math/s_ctanhl.c (__ctanhl): Likewise.
14905         * math/s_ctanl.c (__ctanl): Likewise.
14906         * math/w_pow.c: Likewise.
14907         * math/w_powf.c: Likewise.
14908         * math/w_powl.c: Likewise.
14909         * math/w_scalb.c (sysv_scalb): Likewise.
14910         * math/w_scalbf.c (sysv_scalbf): Likewise.
14911         * math/w_scalbl.c (sysv_scalbl): Likewise.
14912         * misc/error.c (error_tail): Likewise.
14913         * misc/pselect.c (__pselect): Likewise.
14914         * nis/nis_callback.c (__nis_create_callback): Likewise.
14915         * nis/nis_call.c (__nisfind_server): Likewise.
14916         * nis/nis_creategroup.c (nis_creategroup): Likewise.
14917         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14918         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14919         * nis/nis_getservlist.c (nis_getservlist): Likewise.
14920         * nis/nis_lookup.c (nis_lookup): Likewise.
14921         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14922         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14923         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14924         * nis/nis_xdr.c (xdr_endpoint): Likewise.
14925         * nis/nss_compat/compat-grp.c (getgrent_next_file)
14926         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14927         * nis/nss_compat/compat-initgroups.c (add_group)
14928         (internal_getgrent_r): Likewise.
14929         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14930         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14931         * nis/nss_compat/compat-spwd.c (getspent_next_file)
14932         (internal_getspnam_r): Likewise.
14933         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14934         (_nss_nis_getaliasbyname_r): Likewise.
14935         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14936         (_nss_nis_getntohost_r): Likewise.
14937         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14938         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14939         (_nss_nis_getgrgid_r): Likewise.
14940         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14941         (internal_nis_gethostent_r, internal_gethostbyname2_r)
14942         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14943         (_nss_nis_gethostbyname4_r): Likewise.
14944         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14945         (initgroups_netid): Likewise.
14946         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14947         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14948         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14949         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14950         (_nss_nis_getprotobynumber_r): Likewise.
14951         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14952         (_nss_nis_getsecretkey): Likewise.
14953         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14954         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14955         (_nss_nis_getpwuid_r): Likewise.
14956         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14957         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14958         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14959         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14960         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14961         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14962         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14963         Likewise.
14964         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14965         (_nss_nisplus_getntohost_r): Likewise.
14966         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14967         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14968         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14969         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14970         Likewise.
14971         * nis/nss_nisplus/nisplus-initgroups.c
14972         (_nss_nisplus_initgroups_dyn): Likewise.
14973         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14974         (_nss_nisplus_getnetbyaddr_r): Likewise.
14975         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14976         (_nss_nisplus_getprotobynumber_r): Likewise.
14977         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14978         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14979         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14980         Likewise.
14981         * nis/nss_nisplus/nisplus-service.c
14982         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14983         (_nss_nisplus_getservbyport_r): Likewise.
14984         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14985         (_nss_nisplus_getspnam_r): Likewise.
14986         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14987         Likewise.
14988         * nscd/aicache.c (addhstaiX): Likewise.
14989         * nscd/cache.c (cache_search, prune_cache): Likewise.
14990         * nscd/connections.c (register_traced_file, send_ro_fd)
14991         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14992         (main_loop_epoll): Likewise.
14993         * nscd/grpcache.c (addgrbyX): Likewise.
14994         * nscd/hstcache.c (addhstbyX): Likewise.
14995         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14996         * nscd/mem.c (gc, mempool_alloc): Likewise.
14997         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14998         (addinnetgrX): Likewise.
14999         * nscd/nscd-client.h (__nscd_acquire_maplock)
15000         (__nscd_drop_map_ref): Likewise.
15001         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15002         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15003         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15004         Likewise.
15005         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15006         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15007         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15008         (__nscd_get_map_ref): Likewise.
15009         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15010         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15011         Likewise.
15012         * nscd/pwdcache.c (addpwbyX): Likewise.
15013         * nscd/selinux.c (preserve_capabilities): Likewise.
15014         * nscd/servicescache.c (addservbyX): Likewise.
15015         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15016         * posix/fnmatch.c (fnmatch): Likewise.
15017         * posix/getopt.c (_getopt_internal_r): Likewise.
15018         * posix/glob.c (glob, glob_in_dir): Likewise.
15019         * posix/wordexp.c (exec_comm_child): Likewise.
15020         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15021         (getanswer_r, gaih_getanswer_slice): Likewise.
15022         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15023         * resolv/res_init.c: Likewise.
15024         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15025         * resolv/res_query.c (__libc_res_nquery): Likewise.
15026         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15027         Likewise.
15028         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15029         * stdio-common/perror.c (perror): Likewise.
15030         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15031         * stdio-common/tmpnam.c (tmpnam): Likewise.
15032         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15033         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15034         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15035         Likewise.
15036         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15037         * stdlib/putenv.c (putenv): Likewise.
15038         * stdlib/setenv.c (__add_to_environ): Likewise.
15039         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15040         * stdlib/strtol_l.c (INTERNAL): Likewise.
15041         * string/memmem.c (memmem): Likewise.
15042         * string/strerror.c (strerror): Likewise.
15043         * string/strnlen.c (__strnlen): Likewise.
15044         * string/test-memmem.c (simple_memmem): Likewise.
15045         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15046         * sunrpc/pm_getport.c (__get_socket): Likewise.
15047         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15048         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15049         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15050         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15051         Likewise.
15052         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15053         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15054         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15055         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15056         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15057         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15058         Likewise.
15059         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15060         Likewise.
15061         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15062         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15063         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15064         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15065         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15066         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15067         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15068         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15069         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15070         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15071         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15072         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15073         Likewise.
15074         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15075         Likewise.
15076         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15077         Likewise.
15078         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15079         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15080         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15081         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15082         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15083         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15084         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15085         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15086         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15087         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15088         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15089         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15090         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15091         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15092         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15093         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15094         Likewise.
15095         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15096         Likewise.
15097         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15098         Likewise.
15099         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15100         Likewise.
15101         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15103         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15104         Likewise.
15105         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15106         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15107         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15108         * sysdeps/posix/sleep.c: Likewise.
15109         * sysdeps/posix/tempname.c: Likewise.
15110         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15111         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15112         Likewise.
15113         * sysdeps/powerpc/powerpc32/dl-machine.h
15114         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15115         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15116         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15117         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15118         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15119         Likewise.
15120         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15121         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15122         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15123         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15124         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15125         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15126         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15127         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15128         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15129         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15130         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15131         (elf_machine_lazy_rel): Likewise.
15132         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15133         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15134         (elf_machine_lazy_rel): Likewise.
15135         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15136         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15137         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15138         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15139         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15140         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15141         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15142         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15143         Likewise.
15144         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15145         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15146         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15147         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15148         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15149         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15150         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15151         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15152         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15153         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15154         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15155         Likewise.
15156         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15157         (__posix_fallocate64_l64): Likewise.
15158         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15159         (posix_fallocate): Likewise.
15160         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15161         Likewise.
15162         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15163         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15164         (getifaddrs_internal): Likewise.
15165         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15166         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15167         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15168         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15169         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15170         (__posix_fallocate64_l64): Likewise.
15171         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15172         Likewise.
15173         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15174         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15175         (__get_clockfreq): Likewise.
15176         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15177         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15178         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15179         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15180         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15181         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15182         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15183         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
15184         Likewise.
15185         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
15186         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
15187         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
15188         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
15189         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
15190         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
15191         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
15192         Likewise.
15193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
15194         (posix_fallocate): Likewise.
15195         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15196         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
15197         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
15198         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
15199         (elf_machine_rela, elf_machine_rela_relative)
15200         (elf_machine_lazy_rel): Likewise.
15201         * time/asctime.c (asctime_internal): Likewise.
15202         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
15203         * time/tzset.c (__tzset_parse_tz): Likewise.
15204         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15205         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15206         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
15207         * wcsmbs/wcsmbsload.h: Likewise.
15208
15209         [BZ #15894]
15210         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
15211
15212         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
15213         (arena_get2): Remove THREAD_STATS conditionals.
15214         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
15215         (__malloc_stats, int): Likewise.
15216
15217 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
15218
15219         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
15220         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
15221
15222         * manual/setjmp.texi: Fix typos/grammar errors.
15223
15224         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
15225         Only return early when n is <= 0.  Delete unused return statement.
15226
15227         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
15228         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
15229         * debug/tst-longjmp_chk3.c: New file.
15230
15231         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
15232         (test_main): Replace code with set_fortify_handler call.
15233         * debug/test-strcpy_chk.c: Likewise.
15234         * debug/tst-chk1.c: Likewise.
15235         * debug/tst-longjmp_chk.c: Likewise.
15236         * test-skeleton.c: Include fcntl.h & paths.h
15237         (set_fortify_handler): Define.
15238
15239         * debug/tst-longjmp_chk.c: Add header comment and include
15240         ../test-skeleton.c.
15241         (do_test): Mark static.
15242         (TEST_FUNCTION): Define.
15243
15244         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
15245         (IP_PMTUDISC_INTERFACE): Likewise.
15246         (IP_MULTICAST_IF): Likewise.
15247         (IP_MULTICAST_TTL): Likewise.
15248         (IP_MULTICAST_LOOP): Likewise.
15249         (IP_ADD_MEMBERSHIP): Likewise.
15250         (IP_DROP_MEMBERSHIP): Likewise.
15251         (IP_UNBLOCK_SOURCE): Likewise.
15252         (IP_BLOCK_SOURCE): Likewise.
15253         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
15254         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
15255         (IP_MSFILTER): Likewise.
15256         (MCAST_JOIN_GROUP): Likewise.
15257         (MCAST_BLOCK_SOURCE): Likewise.
15258         (MCAST_UNBLOCK_SOURCE): Likewise.
15259         (MCAST_LEAVE_GROUP): Likewise.
15260         (MCAST_JOIN_SOURCE_GROUP): Likewise.
15261         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15262         (MCAST_MSFILTER): Likewise.
15263         (IP_MULTICAST_ALL): Likewise.
15264         (IP_UNICAST_IF): Likewise.
15265
15266         * timezone/Makefile: Delete $(have-ksh) check.
15267         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
15268         * timezone/tzselect.ksh: Add +x mode bits.
15269
15270         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
15271         (ANON_INODE_FS_MAGIC): Likewise.
15272         (BDEVFS_MAGIC): Likewise.
15273         (BINFMTFS_MAGIC): Likewise.
15274         (BTRFS_TEST_MAGIC): Likewise.
15275         (CRAMFS_MAGIC_WEND): Likewise.
15276         (DEBUGFS_MAGIC): Likewise.
15277         (ECRYPTFS_SUPER_MAGIC): Likewise.
15278         (EXT3_SUPER_MAGIC): Likewise.
15279         (EXT4_SUPER_MAGIC): Likewise.
15280         (FUTEXFS_SUPER_MAGIC): Likewise.
15281         (HOSTFS_SUPER_MAGIC): Likewise.
15282         (HUGETLBFS_MAGIC): Likewise.
15283         (MINIX3_SUPER_MAGIC): Likewise.
15284         (MTD_INODE_FS_MAGIC): Likewise.
15285         (NILFS_SUPER_MAGIC): Likewise.
15286         (OPENPROM_SUPER_MAGIC): Likewise.
15287         (PIPEFS_MAGIC): Likewise.
15288         (PSTOREFS_MAGIC): Likewise.
15289         (QNX6_SUPER_MAGIC): Likewise.
15290         (RAMFS_MAGIC): Likewise.
15291         (REISERFS_SUPER_MAGIC_STRING): Likewise.
15292         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
15293         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
15294         (SECURITYFS_MAGIC): Likewise.
15295         (SELINUX_MAGIC): Likewise.
15296         (SMACK_MAGIC): Likewise.
15297         (SOCKFS_MAGIC): Likewise.
15298         (SQUASHFS_MAGIC): Likewise.
15299         (STACK_END_MAGIC): Likewise.
15300         (TMPFS_MAGIC): Likewise.
15301         (USBDEVICE_SUPER_MAGIC): Likewise.
15302         (V9FS_MAGIC): Likewise.
15303         (XENFS_SUPER_MAGIC): Likewise.
15304         (CRAMFS_MAGIC): Fix typo in comment.
15305         (EXT2_SUPER_MAGIC): Update comment.
15306         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
15307
15308 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
15309
15310         * sysdeps/arm: Move directory from ports/sysdeps/arm.
15311         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
15312         * sysdeps/unix/sysv/linux/arm: Move directory from
15313         ports/sysdeps/unix/sysv/linux/arm.
15314         * README: Update listing for arm-*-linux-gnueabi.
15315
15316         * README: Remove mention of am33.
15317
15318 2014-02-07  Roland McGrath  <roland@hack.frob.com>
15319
15320         * bits/sigset.h (__sigemptyset): Use a statement expression rather
15321         than the comma operator, to avoid "rhs of comma has no effect"
15322         compiler warnings.
15323         (__sigfillset, __sigandset, __sigorset): Likewise.
15324         * include/signal.h (__sigemptyset): Likewise.
15325         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
15326
15327 2014-02-07  Allan McRae  <allan@archlinux.org>
15328
15329         * version.h (RELEASE): Set to "development".
15330         (VERSION): Set to "2.19.90"
15331         * NEWS: Add 2.20 section.
15332
15333 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
15334
15335         [BZ #16529]
15336         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
15337
15338 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
15339
15340         * manual/contrib.texi: Update entry for Carlos O'Donell,
15341         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
15342
15343 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
15344
15345         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
15346
15347         * sysdeps/unix/sysv/linux/kernel-features.h
15348         [__LINUX_KERNEL_VERSION >= 0x020621]
15349         (__ASSUME_PROC_PID_TASK_COMM): Define.
15350
15351 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15352
15353         [BZ #16398]
15354         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
15355         conversion when destination buffer does not have enough space.
15356         * libio/tst-ftell-partial-wide.c: New test case.
15357         * libio/Makefile (tests): Add tst-ftell-partial-wide.
15358
15359         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
15360         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
15361         Leonard and Allan McRae.
15362
15363 2014-02-04  David S. Miller  <davem@davemloft.net>
15364
15365         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
15366         32-bit.
15367
15368 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15369
15370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
15371         New file
15372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
15373         New file
15374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
15375         New file.
15376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15377         New file.
15378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15379         New file.
15380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15381         New file.
15382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15383         New file.
15384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15385         New file.
15386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15387         New file.
15388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15389         New file.
15390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15391         New file.
15392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15393         New file.
15394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15395         New file.
15396
15397 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15398
15399         * nptl/shlib-versions: Change powerpc*le start to 2.17.
15400         * shlib-versions: Likewise.
15401
15402 2014-02-04  Roland McGrath  <roland@hack.frob.com>
15403             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15404
15405         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
15406         (abilist-pattern): New variable, set to %-le.abilist.
15407
15408         * Makerules (abilist-pattern): New variable.
15409         (vpath): Use $(abilist-pattern) in place of %.abilist.
15410         (check-abi-% pattern rule): Likewise.
15411         (check-abi, update-abi): Likewise.
15412
15413 2014-02-04  Eric Wong  <normalperson@yhbt.net>
15414
15415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15416
15417 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
15418
15419         * manual/startup.texi: Add next, previous, and top entries for
15420         the `Program Arguments' and `Environment Variables' nodes.
15421
15422 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
15423
15424         * manual/macros.texi: Add comments before MTASC-safety macros.
15425
15426         * manual/users.texi: Document MTASC-safety properties.
15427
15428         * manual/threads.texi (pthread_key_create, pthread_key_delete)
15429         (pthread_getspecific, pthread_setspecific): Format with
15430         @deftypefun, and add @safety note.
15431         * manual/signal.texi: Move comments that analyze the above
15432         functions to their home place.
15433
15434 2014-02-03  Allan McRae  <allan@archlinux.org>
15435
15436         * po/sl.po: Update Slovenian translation from translation project.
15437
15438 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
15439
15440         * manual/time.texi (timegm): Add missing blank after @c.
15441         Reported by Joseph Myers <joseph@codesourcery.com>.
15442
15443 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
15444
15445         * manual/check-safety.sh: New.
15446         * manual/Makefile ($(objpfx)stamp-summary): Run it.
15447
15448         * manual/terminal.texi: Document MTASC-safety properties.
15449
15450         * manual/filesys.texi: Document MTASC-safety properties.
15451
15452         * manual/errno.texi: Document MTASC-safety properties.
15453
15454         * manual/intro.texi: Document safety identifiers and
15455         conditionals.
15456
15457         * manual/string.texi (wcstok): Fix prototype.
15458         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
15459
15460         * manual/time.texi: Document MTASC-safety properties.
15461
15462         * manual/string.texi: Document MTASC-safety properties.
15463
15464         * manual/threads.texi: Document MTASC-safety properties.
15465
15466         * manual/stdio.texi: Document MTASC-safety properties.
15467
15468         * manual/syslog.texi: Document MTASC-safety properties.
15469
15470         * manual/sysinfo.texi: Document MTASC-safety properties.
15471
15472         * manual/startup.texi: Document MTASC-safety properties.
15473
15474         * manual/socket.texi: Document MTASC-safety properties.
15475
15476         * manual/signal.texi: Document MTASC-safety properties.
15477
15478 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
15479
15480         * manual/setjmp.texi: Document MTASC-safety properties.
15481
15482         * manual/search.texi: Document MTASC-safety properties.
15483
15484         * manual/resource.texi: Document MTASC-safety properties.
15485
15486         * manual/process.texi: Document MTASC-safety properties.
15487
15488         * manual/platform.texi: Document MTASC-safety properties.
15489
15490         * manual/pipe.texi: Document MTASC-safety properties.
15491
15492         * manual/pattern.texi: Document MTASC-safety properties.
15493
15494         * manual/message.texi: Document MTASC-safety properties.
15495
15496         [BZ #12751]
15497         * manual/memory.texi: Document MTASC-safety properties.
15498
15499         * manual/math.texi: Document MTASC-safety properties.
15500
15501         * manual/locale.texi: Document MTASC-safety properties.
15502
15503         * manual/llio.texi: Document MTASC-safety properties.
15504
15505         * manual/libdl.texi: New.
15506
15507         * manual/lang.texi: Document MTASC-safety properties.
15508
15509         * manual/job.texi: Document MTASC-safety properties.
15510
15511         * manual/getopt.texi: Document MTASC-safety properties.
15512
15513         * manual/ctype.texi: Document MTASC-safety properties.
15514
15515 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
15516
15517         [BZ #16046]
15518         * csu/libc-tls.c (static_map): Remove variable.
15519         (__libc_setup_tls): Use main executable's link map for TLS data.
15520         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
15521         casing for LM_ID_BASE and GL(dl_nns).
15522         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
15523         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
15524         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
15525         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
15526         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
15527         member.
15528         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
15529         l_phnum members.
15530
15531 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
15532
15533         * manual/debug.texi: Document MTASC-safety properties.
15534
15535 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
15536
15537         [BZ #16510]
15538         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
15539         of __x86_64__ when disabling x87 inline functions.
15540
15541 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
15542
15543         * manual/charset.texi: Document MTASC-safety properties.
15544
15545         * manual/crypt.texi: Document MTASC-safety properties.
15546
15547         * manual/conf.texi: Document MTASC-safety properties.
15548
15549         * manual/arith.texi: Document MTASC-safety properties.
15550
15551         * manual/argp.texi: Document MTASC-safety properties.
15552
15553         * manual/macros.texi: Introduce macros to document multi
15554         thread, asynchronous signal and asynchronous cancellation
15555         safety properties.
15556         * manual/intro.texi: Introduce the properties themselves.
15557
15558 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15559
15560         * sysdeps/sh/sh4/Makefile: New file.
15561
15562 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
15563
15564         * math/gen-libm-test.pl ($srcdir): New variable.
15565         ($auto_input): Use it.
15566
15567 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15568
15569         [BZ #16506]
15570         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
15571         access beyond array bounds when parsing netgroups file.
15572
15573         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
15574         the old buffer before realloc.
15575
15576 2014-01-27  Allan McRae  <allan@archlinux.org>
15577
15578         * po/fr.po: Update French translation from translation project.
15579
15580 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15581
15582         * sysdeps/sh/libm-test-ulps: Regenerate.
15583
15584 2014-01-24  David S. Miller  <davem@davemloft.net>
15585
15586         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
15587
15588 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15589
15590         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
15591         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
15592
15593 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15594
15595         [BZ #16474]
15596         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
15597         string pointers after reallocation.
15598
15599 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15600
15601         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
15602         __SH4A__ instead of __SH_FPU_ANY__.
15603
15604 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15605
15606         * sysdeps/sh/fpu_control.h: New file.
15607         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
15608         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
15609         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
15610         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
15611         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
15612         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15613         * sysdeps/sh/sys/ucontext.h: Remove.
15614         * sysdeps/sh/sys: Remove directory.
15615
15616 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15617
15618         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15619         s390/sys/ucontext.h.
15620         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15621         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15622
15623 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
15624
15625         [BZ #15605]
15626         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15627
15628 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15629
15630         [BZ#16431]
15631         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15632         Adjust the vDSO correctly for internal calls.
15633         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15634
15635 2014-01-20  Allan McRae  <allan@archlinux.org>
15636
15637         * po/ca.po: Update Catalan translation from translation project.
15638
15639 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
15640
15641         * sysdeps/s390/sotruss-lib.c: New file.
15642
15643 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15644
15645         [BZ#16430]
15646         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15647         (__GI___gettimeofday): Alias for a different internal symbol to avoid
15648         local calls issues by not having a PLT stub required for IFUNC calls.
15649         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15650
15651 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
15652
15653         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15654         * math/test-fpucw-static.c: Likewise.
15655
15656 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15657
15658         [BZ #16453]
15659         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15660
15661 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15662
15663         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15664         implementation for powerpc.
15665
15666 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
15667
15668         [BZ #14782]
15669         * sysdeps/posix/system.c (__libc_system): Do not enable
15670         asynchronous cancellation.
15671
15672 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15673
15674         [BZ #16427]
15675         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15676         handling only for numbers special also in the IEEE case.
15677
15678 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15679
15680         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15681
15682 2014-01-11  Allan McRae  <allan@archlinux.org>
15683
15684         * po/bg.po: Update Bulgarian translation from translation project.
15685
15686         * po/de.po: Update German translation from translation project.
15687
15688 2014-01-10  Roland McGrath  <roland@hack.frob.com>
15689
15690         * sysdeps/generic/gcc-compat.h: New file.
15691
15692 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15693
15694         * benchtests/asin-inputs: Correct slow inputs.
15695         * benchtests/acos-inputs: Likewise.
15696
15697 2014-01-10  Allan McRae  <allan@archlinux.org>
15698
15699         * po:sv.po: Update Swedish translation from translation project.
15700
15701         * po/vi.po: Update Vietnamese translation from translation project.
15702
15703         * po/eo.po: Update Esperanto translation from translation project.
15704
15705         * po/cs.po: Update Czech translation from translation project.
15706
15707         * po/nl.po: Update Dutch translation from translation project.
15708
15709         * po/pl.po: Update Polish translation from translation project.
15710
15711         * po/ru.po: Update Russian translation from translation project.
15712
15713         * po/uk.po: Update Ukrainian translation from translation project.
15714
15715 2014-01-08  Brooks Moses  <bmoses@google.com>
15716
15717         * elf/dl-load.c: Fix comment typo.
15718
15719 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
15720
15721         * po/header.pot: Rename to...
15722         * po/pot.header: ... this.
15723         * po/Makefile: Use pot.header.
15724
15725 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
15726             Maxim Kuvyrkov  <maxim@kugelworks.com>
15727
15728         [BZ #16394]
15729         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15730         SRC and DEST against LEN.
15731
15732 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15733
15734         [BZ #16414]
15735         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15736         implementation.
15737         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15738
15739 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15740
15741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15742
15743 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
15744
15745         [BZ #16408]
15746         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15747         for large positive arguments.
15748
15749 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
15750
15751         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15752
15753         * math/auto-libm-test-in: Mark various tests with
15754         xfail-rounding:ldbl-128ibm.
15755         * math/auto-libm-test-out: Regenerated.
15756
15757         [BZ #16407]
15758         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15759         Increase overflow threshold.
15760
15761 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
15762
15763         [BZ #14286]
15764         * stdio-common/vfprintf.c: Check for integer overflow.
15765
15766 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15767
15768         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15769         the first argument and return value of __tls_get_addr_internal.
15770
15771 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15772
15773         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15774         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15775
15776 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15777
15778         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15779         * sysdeps/s390/rtld-global-offsets.sym: New file.
15780         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15781         GLIBC_2.19 symbol.
15782         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15783         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15784         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15785         ... this.
15786         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15787         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15788         ... this.
15789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15790         Regenerate.
15791         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15792         Regenerate.
15793         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15794         halfs of GPRs for high_gprs contexts.
15795         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15796         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
15797         field.
15798         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15799         uc_flags field.
15800         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15801         64 bit versions:
15802         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15803         for high GPRs (uc_high_gprs) and for future extensions
15804         (__reserved).
15805         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15806         for future extensions (__reserved).
15807         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15808         64 bit versions:
15809         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15810         SC_HIGHGPRS offset definition.
15811         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15812         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15813
15814         * Versions.def: Add GLIBC_2.19 for libpthread.
15815         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15816         siglongjmp for libpthread with GLIBC_2.19 symver.
15817         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15818         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15819         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15820         * sysdeps/s390/__longjmp.c: New file.
15821         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15822         * sysdeps/s390/longjmp.c: New file.
15823         * sysdeps/s390/setjmp.S: New file.
15824         * sysdeps/s390/sigjmp.S: New file.
15825         * sysdeps/s390/v1-longjmp.c: New file.
15826         * sysdeps/s390/v1-setjmp.h: New file.
15827         * sysdeps/s390/v1-sigjmp.c: New file.
15828         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15829         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15830         GLIBC_2.19 version.
15831         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15832         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15833         versioned symbols for ____longjmp_chk.
15834         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15835         Likewise.
15836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15837         Regenerate.
15838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15839         Regenerate.
15840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15841         Regenerate.
15842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15843         Regenerate.
15844         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15845         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15846         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15847         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15848         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15849         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15850         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15851         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15852         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15853         * sysdeps/s390/rtld-__longjmp.c: New file.
15854         * sysdeps/s390/rtld-setjmp.S: New file.
15855
15856 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
15857
15858         [BZ #16400]
15859         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15860         Return -__logl (x) for small positive arguments without evaluating
15861         a polynomial.
15862
15863 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
15864
15865         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15866         Rename to ...
15867         (__ptrace_peeksiginfo_args): ... this.
15868         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15869         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15870         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15871
15872 2014-01-06  Allan McRae  <allan@archlinux.org>
15873
15874         * inet/netinet/in.h: Fix typo in comment.
15875
15876 2014-01-05  Andreas Jaeger  <aj@suse.de>
15877
15878         * sysdeps/i386/fpu/libm-test-ulps: Update.
15879
15880 2014-01-05  Allan McRae  <allan@archlinux.org>
15881
15882         * po/libc.pot: Regenerated.
15883
15884         * malloc/memusagestat.c: Fix gettext call formatting.
15885
15886 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
15887
15888         * nscd/nscd.c: Improve usage() output.
15889
15890 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
15891
15892         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15893         * sysdeps/unix/sysv/linux/configure: Regenerated.
15894         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15895         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15896
15897 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15898
15899         [BZ #16390]
15900         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15901         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15902
15903 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15904
15905         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15906         extra tokens at end of #undef directive.
15907         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15908         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15909         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15910
15911 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15912
15913         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15914
15915         * math/auto-libm-test-in: Mark various tests with
15916         xfail-rounding:ldbl-128ibm.
15917         * math/auto-libm-test-out: Regenerated.
15918
15919 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
15920
15921         [BZ #16386]
15922         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15923         numbers with subnormal high part when calculating exponent.
15924
15925         [BZ #16385]
15926         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15927         fabs.
15928
15929         [BZ #16384]
15930         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15931         M_LN2l.
15932         (__ieee754_acoshl): Use __log1pl not __log1p.
15933
15934 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
15935
15936         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15937         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15938         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15939         (grow_heap, heap_trim, _int_new_arena, get_free_list)
15940         (reused_arena, arena_get2): Convert to GNU style.
15941         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15942         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15943         (memalign_check, __malloc_set_state): Likewise.
15944         * malloc/mallocbug.c (main): Likewise.
15945         * malloc/malloc.c (__malloc_assert, malloc_init_state)
15946         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15947         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15948         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15949         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15950         (__posix_memalign, malloc_info): Likewise.
15951         * malloc/malloc.h: Likewise.
15952         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15953         (mallochook, memalignhook, reallochook, mabort): Likewise.
15954         * malloc/mcheck.h: Likewise.
15955         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15956         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15957         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15958         * malloc/morecore.c (__default_morecore): Likewise.
15959         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15960         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15961         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15962         (print_and_abort): Likewise.
15963         * malloc/obstack.h: Likewise.
15964         * malloc/set-freeres.c (__libc_freeres): Likewise.
15965         * malloc/tst-mallocstate.c (main): Likewise.
15966         * malloc/tst-mtrace.c (main): Likewise.
15967         * malloc/tst-realloc.c (do_test): Likewise.
15968
15969 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15970
15971         [BZ #16366]
15972         * nscd/netgroupcache.c (do_notfound): New function.
15973         (addgetnetgrentX): Use it.
15974
15975         [BZ # 16365]
15976         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15977         NSS_STATUS_NOTFOUND.
15978
15979 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
15980
15981         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15983
15984 2014-01-01  Allan McRae  <allan@archlinux.org>
15985
15986         * scripts/update-copyrights: Update configure input file suffix.
15987
15988         * NEWS: Update copyright year.
15989         * catgets/gencat.c: Likewise.
15990         * csu/version.c: Likewise.
15991         * debug/catchsegv.sh: Likewise.
15992         * debug/pcprofiledump.c: Likewise.
15993         * debug/xtrace.sh: Likewise.
15994         * elf/ldconfig.c: Likewise.
15995         * elf/ldd.bash.in: Likewise.
15996         * elf/pldd.c: Likewise.
15997         * elf/sotruss.ksh: Likewise.
15998         * elf/sprof.c: Likewise.
15999         * iconv/iconv_prog.c: Likewise.
16000         * iconv/iconvconfig.c: Likewise.
16001         * locale/programs/locale.c: Likewise.
16002         * locale/programs/localedef.c: Likewise.
16003         * login/programs/pt_chown.c: Likewise.
16004         * malloc/memusage.sh: Likewise.
16005         * malloc/memusagestat.c: Likewise.
16006         * malloc/mtrace.pl: Likewise.
16007         * manual/libc.texinfo: Likewise.
16008         * nscd/nscd.c: Likewise.
16009         * nss/getent.c: Likewise.
16010         * nss/makedb.c: Likewise.
16011         * posix/getconf.c: Likewise.
16012         * scripts/test-installation.pl: Likewise.
16013
16014         * All files with FSF copyright notices: Update copyright dates
16015         using scripts/update-copyrights.
16016         * intl/plural.c: Regenerated.
16017         * locale/programs/charmap-kw.h: Likewise.
16018         * locale/programs/locfile-kw.h: Likewise.
16019
16020 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16021
16022         * sysdeps/unix/sysv/linux/configure: Regenerated.
16023         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16024         the linux/fanotify.h header.
16025         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16026         HAVE_LINUX_FANOTIFY_H is defined.
16027
16028 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16029
16030         * benchtests/cos-inputs: New inputs.
16031         * benchtests/sin-inputs: Likewise.
16032
16033         * benchtests/atan-inputs: New inputs. Fix name of multiple
16034         precision fallback inputs.
16035
16036         * benchtests/atanh-inputs: New inputs.
16037         * benchtests/tanh-inputs: Likewise.
16038
16039         * benchtests/acosh-inputs: New inputs.
16040         * benchtests/asinh-inputs: Likewise.
16041
16042         * benchtests/cosh-inputs: New inputs.
16043         * benchtests/sinh-inputs: Likewise.
16044
16045         * benchtests/acos-inputs: Add more inputs.
16046         * benchtests/asin-inputs: Likewise.
16047
16048 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16049
16050         [BZ #16375]
16051         * manual/arith.texi: Fix spelling.
16052         * manual/charset.texi: Likewise.
16053         * manual/errno.texi: Likewise.
16054         * manual/filesys.texi: Likewise.
16055         * manual/lang.texi: Likewise.
16056         * manual/llio.texi: Likewise.
16057         * manual/locale.texi: Likewise.
16058         * manual/message.texi: Likewise.
16059         * manual/resource.texi: Likewise.
16060         * manual/search.texi: Likewise.
16061         * manual/setjmp.texi: Likewise.
16062         * manual/stdio.texi: Likewise.
16063         * manual/string.texi: Likewise.
16064         * manual/sysinfo.texi: Likewise.
16065         * manual/time.texi: Likewise.
16066
16067 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16068
16069         * po/sl.po: New file.
16070
16071 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16072
16073         * .gitignore: Add core/.gdbinit/.gdb_history.
16074
16075 2013-12-27  Allan McRae  <allan@archlinux.org>
16076
16077         [BZ #16369]
16078         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16079         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16080
16081 2013-12-24  Brooks Moses  <bmoses@google.com>
16082
16083         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16084         all compilers that claim C++98 compliance, not just GCC.
16085         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16086         Likewise.
16087
16088 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16089
16090         * NEWS: Restore accidentally deleted bug-fix entries.
16091
16092 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16093             Ondřej Bílka  <neleai@seznam.cz>
16094
16095         [BZ #15073]
16096         * malloc/malloc.c (_int_free): Perform sanity check only if we
16097         have_lock.
16098
16099 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16100
16101         [BZ #12986]
16102         * manual/stdio.texi (String Input Conversions): Clarify that character
16103         classes are not supported.
16104
16105 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16106
16107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16108
16109 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16110
16111         [BZ #16337]
16112         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16113         Calculate results for small negative arguments directly rather
16114         than using reflection formula with special underflow handling.
16115
16116         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16117         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16118         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16119         (fchflags): Likewise.
16120         (revoke): Likewise.
16121         (setlogin): Likewise.
16122         (sigaltstack): Likewise.
16123         (wait4): Likewise.
16124         (sigblock): Remove.
16125         (sigsetmask): Likewise.
16126         (wait3): Likewise.
16127         (waitpid): Likewise.
16128         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16129         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16130         file.
16131         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16132         * sysdeps/unix/bsd/Makefile: ... here.
16133         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16134         * sysdeps/unix/bsd/Versions: ... here.
16135         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16136         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16137         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16138         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16139         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16140         * sysdeps/unix/bsd/sigblock.c: ... here.
16141         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16142         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16143         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16144         * sysdeps/unix/bsd/sigvec.c: ... here.
16145         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16146         * sysdeps/unix/bsd/tcdrain.c: ... here.
16147         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16148         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16149         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16150         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16151         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16152         * sysdeps/unix/bsd/wait.c: ... here.
16153         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16154         * sysdeps/unix/bsd/wait3.c: ... here.
16155         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16156         * sysdeps/unix/bsd/waitpid.c: ... here.
16157
16158 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16159
16160         [BZ #16356]
16161         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16162         round-to-nearest for [!USE_AS_EXPM1L].
16163         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16164         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16165         more tests of exp and exp10.  Expect some exp10 tests to miss
16166         exceptions or fail in directed rounding modes.
16167         * math/auto-libm-test-out: Regenerated.
16168         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16169         (exp10_test_tonearest): New function.
16170         (exp10_towardzero_test_data): New array.
16171         (exp10_test_towardzero): New function.
16172         (exp10_downward_test_data): New array.
16173         (exp10_test_downward): New function.
16174         (exp10_upward_test_data): New array.
16175         (exp10_test_upward): New function.
16176         (main): Call the new functions.
16177         * sysdeps/i386/fpu/libm-test-ulps: Update.
16178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16179
16180 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16181
16182         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16183         asinh, atan, atan2, atanh, cbrt, cos and cosh.
16184         * math/auto-libm-test-out: Regenerated.
16185         * math/libm-test.inc (acosh_test_data): Add more tests.
16186         (atanh_test_data): Likewise.
16187         (ceil_test_data): Likewise.
16188         (copysign_test_data): Likewise.
16189         * sysdeps/i386/fpu/libm-test-ulps: Update.
16190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16191
16192         * timezone/checktab.awk: Update from tzcode 2013i.
16193         * timezone/private.h: Likewise.
16194         * timezone/scheck.c: Likewise.
16195         * timezone/tzfile.h: Likewise.
16196         * timezone/tzselect.ksh: Likewise.
16197         * timezone/zdump.c: Likewise.
16198         * timezone/zic.c: Likewise.
16199
16200         * math/auto-libm-test-in: Add tests of cpow.
16201         * math/auto-libm-test-out: Regenerated.
16202         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
16203         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16204         mpc_cc_c.
16205         (func_calc_desc): Add mpc_cc_c union field.
16206         (test_functions): Add cpow.
16207         (special_fill_2pi): New function.
16208         (special_real_inputs): Add 2pi.
16209         (calc_generic_results): Handle mpc_cc_c.
16210         * sysdeps/i386/fpu/libm-test-ulps: Update.
16211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16212
16213         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
16214         csqrt, ctan and ctanh.
16215         * math/auto-libm-test-out: Regenerated.
16216         * math/libm-test.inc (TEST_COND_x86_64): New macro.
16217         (TEST_COND_x86): Likewise.
16218         (ccos_test_data): Use AUTO_TESTS_c_c.
16219         (ccosh_test_data): Likewise.
16220         (cexp_test_data): Likewise.
16221         (clog_test_data): Likewise.
16222         (csqrt_test_data): Likewise.
16223         (ctan_test_data): Likewise.
16224         (ctan_tonearest_test_data): Likewise.
16225         (ctan_towardzero_test_data): Likewise.
16226         (ctan_downward_test_data): Likewise.
16227         (ctan_upward_test_data): Likewise.
16228         (ctanh_test_data): Likewise.
16229         (ctanh_tonearest_test_data): Likewise.
16230         (ctanh_towardzero_test_data): Likewise.
16231         (ctanh_downward_test_data): Likewise.
16232         (ctanh_upward_test_data): Likewise.
16233         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16234         mpc_c_c.
16235         (func_calc_desc): Add mpc_c_c union field.
16236         (FUNC_mpc_c_c): New macro.
16237         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
16238         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
16239         ctanh.
16240         (special_fill_min_subnorm_p120): New function.
16241         (special_real_inputs): Add min_subnorm_p120.
16242         (calc_generic_results): Handle mpc_c_c.
16243         * sysdeps/i386/fpu/libm-test-ulps: Update.
16244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16245
16246 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16247
16248         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
16249         (do_sin_slow): New functions.
16250         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
16251         (cslow2, csloww1, csloww2): Use the new functions.
16252
16253         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
16254         Use M to change sign of result instead of X.  Assume X is
16255         positive.
16256         (csloww1): Likewise.
16257         (__sin): Adjust.
16258         (__cos): Adjust.
16259
16260         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
16261         arguments A and DA.
16262         (__sin): Adjust.
16263         (__cos): Likewise.
16264
16265         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
16266         (__cos): Likewise.
16267         (sloww1): Don't adjust sign of DX.
16268         (csloww1): Likewise.
16269         (sloww2): Use X directly and don't adjust sign of DX.
16270         (csloww2): Likewise.
16271
16272 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16273
16274         * math/auto-libm-test-in: Add tests of cabs and carg.
16275         * math/auto-libm-test-out: Regenerated.
16276         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
16277         (carg_test_data): Likewise.
16278         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16279         mpc_c_f.
16280         (func_calc_desc): Add mpc_c_f union field.
16281         (test_functions): Add cabs and carg.
16282         (calc_generic_results): Handle mpc_c_f.
16283
16284         * sysdeps/powerpc/powerpc32/libgcc-compat.S
16285         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
16286         as a macro and a compat symbol.
16287         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
16288         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
16289         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
16290         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
16291         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
16292         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
16293         not use .hidden.
16294         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
16295         Likewise.
16296         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
16297         Likewise.
16298         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
16299         Likewise.
16300         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
16301         Likewise.
16302         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
16303         Likewise.
16304         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
16305         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
16306         from GLIBC_2.3.2.
16307
16308 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16309
16310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16311
16312 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16313
16314         * manual/texinfo.tex: Update to version 2013-11-26.10 with
16315         trailing whitespace removed.
16316         * scripts/config.guess: Update to version 2013-11-29.
16317         * scripts/config.sub: Update to version 2013-10-01.
16318
16319         * math/auto-libm-test-in: Add tests of sincos.
16320         * math/auto-libm-test-out: Regenerated.
16321         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
16322         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16323         mpfr_f_11.
16324         (func_calc_desc): Add mpfr_f_11 union field.
16325         (test_functions): Add sincos.
16326         (calc_generic_results): Handle mpfr_f_11.
16327         * sysdeps/i386/fpu/libm-test-ulps: Update.
16328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16329
16330 2013-12-19  Andreas Schwab  <schwab@suse.de>
16331
16332         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
16333         CALL_MCOUNT.
16334         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16335         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
16336         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
16337
16338 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
16339
16340         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
16341         * sysdeps/i386/fpu/libm-test-ulps: Update.
16342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16343
16344         [BZ #16293]
16345         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
16346         round-to-nearest mode when using frndint.
16347         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
16348         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
16349         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
16350         Likewise.
16351         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
16352         sinh test to fail.
16353         * math/auto-libm-test-out: Regenerated.
16354         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
16355         (TEST_COND_x86): Likewise.
16356         (expm1_tonearest_test_data): New array.
16357         (expm1_test_tonearest): New function.
16358         (expm1_towardzero_test_data): New array.
16359         (expm1_test_towardzero): New function.
16360         (expm1_downward_test_data): New array.
16361         (expm1_test_downward): New function.
16362         (expm1_upward_test_data): New array.
16363         (expm1_test_upward): New function.
16364         (main): Run the new test functions.
16365         * sysdeps/i386/fpu/libm-test-ulps: Update.
16366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16367
16368         * include/features.h: Update comment documenting feature test
16369         macros.  Mention _DEFAULT_SOURCE in comment.
16370         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
16371         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
16372         _BSD_SOURCE and _SVID_SOURCE.
16373         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
16374         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
16375         !_SVID_SOURCE]: Likewise.
16376         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16377         (__USE_POSIX_IMPLICITLY): Define.
16378         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16379         (_POSIX_SOURCE): Undefine and redefine.
16380         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
16381         (_POSIX_C_SOURCE): Likewise.
16382         * manual/creature.texi (_DEFAULT_SOURCE): Document.
16383         (Feature Test Macros): Update documentation of default features.
16384
16385 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16386
16387         * benchtests/Makefile: Add bench-strtok.
16388         * benchtests/bench-strtok.c: New file: strtok benchtest.
16389
16390 2013-12-19  Allan McRae  <allan@archlinux.org>
16391
16392         * manual/install.texi: Suppress menu for plain text output.
16393         * INSTALL: Regenerated.
16394
16395 2013-12-18  Brooks Moses  <bmoses@google.com>
16396
16397         [BZ #15846]
16398         * misc/getauxval.c: Include errno.h.
16399         (__getauxval): Set errno to ENOENT if the requested type is not
16400         found.
16401         * misc/sys/auxv.h (getauxval): Document that it may set errno;
16402         don't declare with __attribute_const__.
16403         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
16404         * manual/startup.texi: Document that getauxval sets errno.
16405
16406 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16407
16408         * math/auto-libm-test-in: Add tests of jn and yn.
16409         * math/auto-libm-test-out: Regenerated.
16410         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
16411         (yn_test_data): Likewise.
16412         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16413         mpfr_if_f.
16414         (func_calc_desc): Add mpfr_if_f union field.
16415         (FUNC_mpfr_if_f): New macro.
16416         (test_functions): Add jn and yn.
16417         (calc_generic_results): Assert type of second input for
16418         mpfr_ff_f.  Handle mpfr_if_f.
16419         (output_for_one_input_case): Disable all checking for arguments
16420         fitting floating-point types in case of an integer argument.
16421         * sysdeps/i386/fpu/libm-test-ulps: Update.
16422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16423
16424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
16425         Don't expect fegetround reference in libm.so.
16426
16427 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
16428
16429         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
16430         $(config-cflags-nofma).
16431
16432 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
16433
16434         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
16435         * math/auto-libm-test-out: Regenerated.
16436
16437         [BZ #16338]
16438         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
16439         to determine exponent and adjust argument to have exponent of -1.
16440         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16441         log2.
16442         * math/auto-libm-test-out: Regenerated.
16443         * sysdeps/i386/fpu/libm-test-ulps: Update.
16444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16445
16446 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
16447
16448         * manual/probes.texi: Remove cases when per-thread arenas are
16449         disabled.
16450
16451 2013-12-18  Andreas Schwab  <schwab@suse.de>
16452
16453         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
16454         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
16455         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
16456         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
16457         * sysdeps/i386/i686/multiarch/Makefile: Update.
16458         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
16459
16460 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16461
16462         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
16463         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
16464
16465 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
16466
16467         [BZ #15968]
16468         Support TZ transition times < 00:00:00.
16469         This is needed for version-3 tz-format files; it supports time
16470         stamps past 2037 for America/Godthab (the only entry in the tz
16471         database for which this change is relevant).
16472         * manual/time.texi (TZ Variable): Document transition times
16473         from -167:59:59 through -00:00:01.
16474         * time/tzset.c (tz_rule): Time of day is now signed.
16475         (__tzset_parse_tz): Parse negative time of day.
16476
16477         Document TZ transition times >= 25:00:00.
16478         * manual/time.texi (TZ Variable): Document transition times from
16479         25:00:00 through 167:59:59.  These are already supported, and this
16480         support will help with version-3 tz-format files.
16481
16482         * manual/time.texi (TZ Variable): Modernize North America example
16483         to reflect current (i.e., 2007-and-later) daylight saving rules.
16484
16485         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
16486
16487 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16488
16489         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
16490         * sysdeps/unix/bsd/bits/stat.h: Likewise.
16491         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
16492         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
16493         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
16494         * sysdeps/unix/bsd/bsdstat.h: Likewise.
16495         * sysdeps/unix/bsd/clock.c: Likewise.
16496         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
16497         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
16498         * sysdeps/unix/bsd/init-posix.c: Likewise.
16499         * sysdeps/unix/bsd/poll.c: Likewise.
16500         * sysdeps/unix/bsd/ptsname.c: Likewise.
16501         * sysdeps/unix/bsd/seekdir.c: Likewise.
16502         * sysdeps/unix/bsd/setegid.c: Likewise.
16503         * sysdeps/unix/bsd/seteuid.c: Likewise.
16504         * sysdeps/unix/bsd/setgid.c: Likewise.
16505         * sysdeps/unix/bsd/setrgid.c: Likewise.
16506         * sysdeps/unix/bsd/setruid.c: Likewise.
16507         * sysdeps/unix/bsd/setsid.c: Likewise.
16508         * sysdeps/unix/bsd/setuid.c: Likewise.
16509         * sysdeps/unix/bsd/sigaction.c: Likewise.
16510         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
16511         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
16512         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
16513         * sysdeps/unix/bsd/telldir.c: Likewise.
16514         * sysdeps/unix/bsd/times.c: Likewise.
16515         * sysdeps/unix/bsd/usleep.c: Likewise.
16516
16517         * misc/Makefile (install-lib): Remove libbsd-compat.a.
16518         ($(objpfx)libbsd-compat.a): Remove rule.
16519
16520         * include/features.h (__FAVOR_BSD): Do not define.
16521         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
16522         features conflicting with POSIX.
16523         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
16524         (_BSD_SOURCE): Remove description of not being a subset of other
16525         feature test macros.
16526         * manual/job.texi (getpgrp): Do not document BSD version.
16527         (getpgid): Do not document by reference to BSD getpgrp.
16528         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
16529         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
16530         * signal/signal.h [__FAVOR_BSD]: Likewise.
16531         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
16532         instead of making contents conditional on [__FAVOR_BSD].
16533         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
16534
16535 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16536
16537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16538
16539 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
16540
16541         [BZ #16314]
16542         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
16543         values below 2**-450, not 2**-500.
16544         * math/auto-libm-test-in: Don't allow spurious underflow from
16545         hypot.
16546         * math/auto-libm-test-out: Regenerated.
16547
16548         [BZ #16316]
16549         [BZ #16330]
16550         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
16551         values of ha and hb and sort them after adjusting subnormal
16552         arguments.
16553         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16554         Likewise.
16555         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
16556         values of ea and eb and sort them after adjusting subnormal
16557         arguments.
16558         * math/auto-libm-test-in: Do not expect some hypot tests of
16559         subnormals to fail.  Add more hypot tests.
16560         * math/auto-libm-test-out: Regenerated.
16561
16562 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16563
16564         [BZ #13304]
16565         * sysdeps/sh/s_fma.c: New file.
16566         * sysdeps/sh/s_fmaf.c: New file.
16567         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
16568         version.
16569         * sysdeps/sh/Implies: Add sh/soft-fp.
16570
16571 2013-12-16  Roland McGrath  <roland@hack.frob.com>
16572
16573         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
16574         level of indirection to members `objname', `errstring', `malloced'.
16575         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
16576         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
16577         it as the __longjmp argument (just pass 1 instead).
16578         (_dl_catch_error): Initialize C with argument pointers and address of
16579         volatile local ERRCODE rather than copying values out of C at return.
16580
16581 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
16582
16583         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
16584         * math/auto-libm-test-out: Regenerated.
16585         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
16586         (hypot_test_data): Likewise.
16587         (pow_test_data): Likewise.
16588         (pow_tonearest_test_data): Likewise.
16589         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16590         mpfr_ff_f.
16591         (func_calc_desc): Add mpfr_ff_f union field.
16592         (FUNC_mpfr_ff_f): New macro.
16593         (test_functions): Add atan2, hypot and pow.
16594         (special_fill_min): New function.
16595         (special_fill_minus_min): Likewise.
16596         (special_fill_min_subnorm): Likewise.
16597         (special_fill_minus_min_subnorm): Likewise.
16598         (special_real_inputs): Add min, -min, min_subnorm and
16599         -min_subnorm.
16600         (calc_generic_results): Handle mpfr_ff_f.
16601         * sysdeps/i386/fpu/libm-test-ulps: Update.
16602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16603
16604 2013-12-16  Will Newton  <will.newton@linaro.org>
16605
16606         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
16607         (Aligned Memory Blocks): Add documentation for aligned_alloc
16608         and suggest it as an alternative to posix_memalign.
16609         (Hooks for Malloc): Document __memalign_hook is also called
16610         for aligned_alloc.  (Summary of Malloc): Add summary for
16611         aligned alloc.  Document __memalign_hook is also called
16612         for aligned_alloc.
16613
16614 2013-12-16  Will Newton  <will.newton@linaro.org>
16615
16616         * manual/memory.texi (Malloc Examples): Clarify default
16617         alignment documentation.  Suggest posix_memalign rather
16618         than memalign or valloc.
16619         (Aligned Memory Blocks): Remove suggestion to use memalign
16620         or valloc.  Remove obsolete comment about BSD.
16621         Document memalign errno values and mark the function obsolete.
16622         Document posix_memalign returned error codes.  Mark valloc
16623         as obsolete.  (Hooks for Malloc): __memalign_hook is also
16624         called for posix_memalign and valloc.
16625         (Summary of Malloc): Add posix_memalign to function summary.
16626         __memalign_hook is also called for posix_memalign and valloc.
16627
16628 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16629
16630         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16631         TAYLOR_SIN.
16632         (__sin): Adjust.
16633         (__cos): Likewise.
16634         (sloww): Use mynumber union.  Expand ternary operator into
16635         if-else statements.
16636         (cslow): use mynumber union.
16637
16638 2013-12-16  Allan McRae  <allan@archlinux.org>
16639
16640         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16641         * configure: Regenerated.
16642
16643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16644
16645         [BZ #14120]
16646         * configure.ac: Added --enable-maintainer-mode. Check for
16647         autoconf when enabled.
16648         * configure: Regenerated.
16649
16650         * nscd/nscd.service: New file.
16651         * nscd/nscd.tmpfiles: New file.
16652
16653 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
16654
16655         [BZ #12100]
16656         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16657         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16658         * sysdeps/x86_64/multiarch/strstr.c: ... here.
16659         (strstr): Add __strstr_sse2_unaligned ifunc.
16660         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16661         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16662         (strcasestr): Remove __strcasestr_sse42 ifunc.
16663         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16664         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16666
16667 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16668
16669         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16670         * sysdeps/sh/bits/fenv.h: ... here.
16671         * sysdeps/sh/sh4/fpu/bits: Remove directory.
16672
16673 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16674
16675         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16676
16677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16678         hypotf multiarch implementations.
16679         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16680         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16681         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16682         multiarch hypot for PPC64.
16683         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16684         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16685         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16686         multiarch hypotf for PPC64.
16687
16688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16689         modff multiarch implementations.
16690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16693         multiarch modf for PPC64.
16694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16697         multiarch modff for PPC64.
16698
16699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16700         and logl multiarch implementations.
16701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16704         multiarch logb for PPC64.
16705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16706         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16708         multiarch logb for PPC64.
16709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16712         multiarch logb for PPC64.
16713
16714         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16715         isinff multiarch implementation.
16716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16717         file.
16718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16720         multiarch isinf for PPC64.
16721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16722         file.
16723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16724         multiarch isinff for PPC64.
16725
16726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16727         finitef multiarch implementation.
16728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16729         file.
16730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16732         multiarch finite for PPC64.
16733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16734         file.
16735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16736         multiarch finitef for PPC64.
16737
16738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16739         lrint multiarch implementation.
16740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16741         file.
16742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16744         multiarch llrint for PPC64.
16745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16746         multiarch lrint for PPC64.
16747
16748         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16749         copysignf multiarch implementation.
16750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16751         file.
16752         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16753         file.
16754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16755         multiarch copysign for PPC64.
16756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16757         multiarch copysignf for PPC64.
16758
16759         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16760         multiarch implementation.
16761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16762         file.
16763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16764         file.
16765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16766         file.
16767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16768         file.
16769         multiarch llround for PPC64.
16770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16771         multiarch trunc for PPC64.
16772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16773         multiarch truncf for PPC64.
16774
16775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16776         multiarch implementation.
16777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16778         file.
16779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16780         file.
16781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16782         file.
16783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16784         file.
16785         multiarch llround for PPC64.
16786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16787         multiarch round for PPC64.
16788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16789         multiarch roundf for PPC64.
16790
16791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16792         multiarch implementation.
16793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16794         file.
16795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16796         file.
16797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16798         file.
16799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16800         file.
16801         multiarch llround for PPC64.
16802         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16803         multiarch floor for PPC64.
16804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16805         multiarch floorf for PPC64.
16806
16807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16808         multiarch implementation.
16809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16810         file.
16811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16812         file.
16813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16814         file.
16815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16816         file.
16817         multiarch llround for PPC64.
16818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16819         multiarch ceil for PPC64.
16820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16821         multiarch ceilf for PPC64.
16822
16823         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16824         multiarch implementation.
16825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16826         file.
16827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16828         file.
16829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16830         file.
16831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16832         multiarch llround for PPC64.
16833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16834         multiarch lround for PPC64.
16835
16836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16837         multiarch implementation.
16838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16841         file.
16842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16845         multiarch isnan for PPC64.
16846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16847         multiarch isnanf for PPC64.
16848
16849         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16850         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16851         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16852         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16853         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16855
16856         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16857         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16858         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16859         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16860
16861         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16862         multiarch implementations.
16863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16864         (__libc_ifunc_impl_list): Likewise.
16865         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16866         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16867         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16868         multiarch stpcpy for PPC64.
16869
16870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16871         multiarch implementations.
16872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16873         (__libc_ifunc_impl_list): Likewise.
16874         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16875         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16876         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16877         multiarch strcpy for PPC64.
16878
16879         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16880         redefine function name.
16881         (_wordcopy_fwd_dest_aligned): Likewise.
16882         (_wordcopy_bwd_aligned): Likewise.
16883         (_wordcopy_bwd_dest_aligned): Likewise.
16884         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16885         multiarch implementations.
16886         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16887         (__libc_ifunc_impl_list): Likewise.
16888         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16889         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16890         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16891         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16892         multiarch wcscpy for PPC64.
16893
16894         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16895         multiarch implementations.
16896         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16897         (__libc_ifunc_impl_list): Likewise.
16898         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16899         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16900         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16901         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16902         multiarch wcscpy for PPC64.
16903
16904         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16905         multiarch implementations.
16906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16907         (__libc_ifunc_impl_list): Likewise.
16908         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16909         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16910         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16911         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16912         multiarch wcsrchr for PPC64.
16913
16914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16915         multiarch implementations.
16916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16917         (__libc_ifunc_impl_list): Likewise.
16918         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16919         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16920         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16921         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16922         multiarch wcschr for PPC64.
16923
16924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16925         multiarch implementations.
16926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16927         (__libc_ifunc_impl_list): Likewise.
16928         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16929         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16930         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16931         multiarch strchrnul for PPC64.
16932
16933         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16934         implementations.
16935         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16936         (__libc_ifunc_impl_list): Likewise.
16937         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16938         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16939         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16940         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16941         strchr for PPC64.
16942
16943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16944         implementations.
16945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16946         (__libc_ifunc_impl_list): Likewise.
16947         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16948         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16949         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16950         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16951         strncmp for PPC64.
16952
16953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16954         multiarch implementations.
16955         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16956         (__libc_ifunc_impl_list): Likewise.
16957         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16958         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16959         strncasecmp for PPC64.
16960         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16961         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16962         multiarch strncasecmp_l for PPC64.
16963
16964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16965         multiarch implementations.
16966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16967         (__libc_ifunc_impl_list): Likewise.
16968         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16969         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16970         multiarch strcasecmp for PPC64.
16971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16972         file.
16973         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16974         multiarch strcasecmp_l for PPC64.
16975
16976         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16977         implementations.
16978         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16979         (__libc_ifunc_impl_list): Likewise.
16980         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16981         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16982         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16983         strnlen for PPC64.
16984
16985         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16986         implementations.
16987         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16988         (__libc_ifunc_impl_list): Likewise.
16989         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16990         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16991         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16992         strlen for PPC64.
16993
16994         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16995         implementations.
16996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16997         (__libc_ifunc_impl_list): Likewise.
16998         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16999         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17000         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17001         rawmemrchr for PPC64.
17002
17003         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17004         implementation.
17005         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17006         (__libc_ifunc_impl_list): Likewise.
17007         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17008         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17009         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17010         memrchr for PPC64.
17011
17012         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17013         implementation.
17014         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17015         (__libc_ifunc_impl_list): Likewise.
17016         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17017         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17018         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17019         memchr for PPC64.
17020
17021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17022         implementation.
17023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17024         (__libc_ifunc_impl_list): Likewise.
17025         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17026         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17027         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17028         mempcpy for PPC64.
17029
17030         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17031         avoid cretion of __bzero symbol.
17032         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17033         Likewise.
17034         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17035         Likewise.
17036         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17037         Likewise.
17038         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17039         multiarch implementations.
17040         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17041         (__libc_ifunc_impl_list): Likewise.
17042         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17043         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17044         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17045         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17046         bzero for PPC32.
17047         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17048         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17049         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17050         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17051         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17052         memset for PPC64.
17053         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17054
17055         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17056         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17057         implementations.
17058         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17059         (__libc_ifunc_impl_list): Likewise.
17060         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17061         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17062         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17063         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17064         memcmp for PPC64.
17065
17066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17067         multiarch for POWER/PPC64.
17068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17069         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17070         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17071         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17072         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17073         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17074         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17075         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17076         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17077         memcpy for PPC64.
17078
17079         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17080         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17081         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17082         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17083         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17084         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17085         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17086         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17087         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17088         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17089         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17090         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17091         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17092         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17093         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17101
17102 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17103
17104         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17105
17106 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17107
17108         * benchtests/Makefile (bench): Add exp2 and log2.
17109         (LDLIBS-bench-exp2): Add -lm.
17110         (LDLIBS-bench-log2): Likewise.
17111         * benchtests/exp2-inputs: New inputs file.
17112         * benchtests/log2-inputs: New inputs file.
17113         * benchtests/log-inputs: Add new inputs.
17114         * benchtests/tan-inputs: Likewise.
17115
17116 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17117
17118         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17119         definition...
17120         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17121         (csloww2): ... from here.
17122
17123         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17124         instead of structures.
17125         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17126         (POLYNOMIAL): Likewise.
17127         (TAYLOR_SLOW): Likewise.
17128         (__sin): Likewise.
17129         (__cos): Likewise.
17130         (slow1): Likewise.
17131         (slow2): Likewise.
17132         (sloww): Likewise.
17133         (sloww1); Likewise.
17134         (sloww2): Likewise.
17135         (bsloww1): Likewise.
17136         (bsloww2): Likewise.
17137         (cslow2): Likewise.
17138         (csloww): Likewise.
17139         (csloww1): Likewise.
17140         (csloww2): Likewise.
17141
17142 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17143
17144         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17145         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17146         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17147         * malloc/hooks.c (realloc_check): Likewise.
17148
17149         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17150         * malloc/arena.c: Remove PER_THREAD conditional.
17151         [!PER_THREAD]: Remove code.
17152         (ptmalloc_unlock_all2): Likewise.
17153         (ptmalloc_init): Likewise.
17154         (_int_new_arena): Likewise.
17155         (arena_get2): Likewise.
17156         * malloc/hooks.c (__malloc_get_state): Likewise.
17157         (__malloc_set_state): Likewise.
17158         * malloc/malloc.c: Likewise.
17159         (struct malloc_state): Likewise.
17160         (struct malloc_par): Likewise.
17161         (__libc_realloc): Likewise.
17162         (__libc_mallopt): Likewise.
17163
17164 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17165
17166         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17167
17168 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17169
17170         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17171         macro to a function.  Check for zero perturb_byte.
17172         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17173
17174         * malloc/malloc.c: (force_reg): Remove.
17175         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17176         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17177         force_reg by atomic_forced_read.
17178         * malloc/arena.c (ptmalloc_init): Likewise.
17179         * malloc/hooks.c (top_check): Likewise.
17180
17181 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17182
17183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17184
17185 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
17186
17187         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17188
17189 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
17190
17191         * math/auto-libm-test-in: Add tests of lgamma.
17192         * math/auto-libm-test-out: Regenerated.
17193         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
17194         (M_LOG_2_SQRT_PIl): Likewise.
17195         (lgamma_test_data): Use AUTO_TESTS_f_f1.
17196         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17197         mpfr_f_f1.
17198         (func_calc_desc): Add mpfr_f_f1 union field.
17199         (ARGS1): New macro.
17200         (ARGS2): Likewise.
17201         (ARGS3): Likewise.
17202         (ARGS4): Likewise.
17203         (RET1): Likewise.
17204         (RET2): Likewise.
17205         (CALC): Likewise.
17206         (FUNC): Likewise.
17207         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
17208         (test_functions): Add lgamma.
17209         (calc_generic_results): Handle mpfr_f_f1.
17210         * sysdeps/i386/fpu/libm-test-ulps: Update.
17211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17212
17213 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17214
17215         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
17216         __mpn_add_n for PowerPC64/POWER7.
17217         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
17218         __mpn_sub_n for PowerPC64/POWER7.
17219
17220         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
17221         __mpn_addmul_1 for PowerPC64.
17222         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
17223         __mpn_submul_1 for PowerPC64.
17224         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
17225         for PowerPC64.
17226         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
17227         for PowerPC64.
17228
17229 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
17230
17231         [BZ #15089]
17232         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
17233
17234 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17235
17236         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
17237
17238         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
17239         add multiarch folders.
17240         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
17241         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
17242         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
17243         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
17244         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
17245         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
17246         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
17247         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
17248         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
17249         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
17250         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
17252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
17253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
17254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
17255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
17256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
17257
17258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17259         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
17260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
17261         New file.
17262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
17263         New file.
17264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
17265         multiarch __ieee754_hypot for PowerPC32.
17266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
17267         New file.
17268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
17269         New file.
17270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
17271         multiarch __ieee754_hypotf for PowerPC32.
17272
17273         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
17274         long_double_symbol only if __logbl is defined.
17275         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
17276         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
17277         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
17278         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
17279         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
17280         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
17281         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
17282         path for implementation.
17283         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
17284         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
17285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
17286         logb, and logbl multiarch implementations for PowerPC32.
17287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
17288         file.
17289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
17290         file.
17291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
17292         multiarch logb for PowerPC32.
17293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
17294         file.
17295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
17296         file.
17297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
17298         multiarch logbf for PowerPC32.
17299         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
17300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
17301         file.
17302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
17303         multiarch logbl implementation for PowerPC32.
17304
17305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
17306         and modff multiarch implementations.
17307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
17308         New file.
17309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
17310         New file.
17311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
17312         multiarch modf for PowerPC32.
17313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
17314         New file.
17315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
17316         New file.
17317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
17318         multiarch modff for PowerPC32.
17319
17320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
17321         and lrintf multiarch implementations.
17322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
17323         New file.
17324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
17325         New file.
17326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
17327         multiarch lrint for PowerPC32.
17328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
17329         file: multiarch lrintf for PowerPC32.
17330
17331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
17332         and lroundf multiarch implementations.
17333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
17334         New file.
17335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
17336         New file.
17337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
17338         New file.
17339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
17340         multiarch lround for PowerPC32.
17341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
17342         file: multiarch lroundf for PowerPC32.
17343
17344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
17345         copysign and copysignf multiarch implementations.
17346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
17347         New file.
17348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
17349         New file.
17350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
17351         file: multiarch copysign for PowerPC32.
17352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
17353         file: multiarch copysignf for PowerPC32.
17354
17355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
17356         and truncf multiarch implementations.
17357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
17358         New file.
17359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
17360         file.
17361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
17362         multiarch trunc for PowerPC32.
17363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
17364         New file.
17365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
17366         New file.
17367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
17368         multiarch truncf for PowerPC32.
17369
17370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
17371         and roundf multiarch implementations.
17372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
17373         New file.
17374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
17375         file.
17376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
17377         multiarch round for PowerPC32.
17378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
17379         New file.
17380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
17381         New file.
17382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
17383         multiarch roundf for PowerPC32.
17384
17385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
17386         and floorf multiarch implementations.
17387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
17388         New file.
17389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
17390         file.
17391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
17392         multiarch floor for PowerPC32.
17393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
17394         New file.
17395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
17396         New file.
17397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
17398         multiarch floorf for PowerPC32.
17399
17400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
17401         and ceilf multiarch implementations.
17402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
17403         New file.
17404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
17405         file.
17406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
17407         multiarch ceil for PowerPC32.
17408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
17409         New file.
17410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
17411         file.
17412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
17413         multiarch ceilf for PowerPC32.
17414
17415         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
17416         is defined.
17417         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
17418         FINITEF is defined.
17419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
17420         and finitef multiarch implementations.
17421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
17422         New file.
17423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
17424         file.
17425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
17426         multiarch finite for PowerPC32.
17427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17428         New file.
17429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
17430         file: multiarch finitef for PowerPC32.
17431
17432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
17433         and isinff multiarch implementations.
17434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
17435         file.
17436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
17437         file.
17438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
17439         multiarch isinf for PowerPC32.
17440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
17441         New file.
17442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
17443         multiarch isinff for PowerPC32.
17444
17445         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
17446         alias when __isnan is defined.
17447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
17448         and isnanf multiarch implementations.
17449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
17450         file.
17451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
17452         file.
17453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
17454         file.
17455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
17456         file.
17457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
17458         multiarch isnan for PowerPC32.
17459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
17460         New file.
17461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
17462         New file.
17463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
17464         multiarch isnanf for PowerPC32.
17465
17466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
17467         and sqrtf multiarch implementations.
17468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
17469         file.
17470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
17471         file.
17472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
17473         multiarch sqrt for PowerPC32.
17474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
17475         file.
17476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
17477         file.
17478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
17479         multiarch sqrtf for PowerPC32.
17480
17481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
17482         and llroundf multiarch implementations.
17483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
17484         New file.
17485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
17486         New file.
17487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
17488         New file.
17489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
17490         file: multiarch llround for PowerPC32.
17491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
17492         file: multiarch llroundf for PowerPC32.
17493
17494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
17495         multiarch PowerPC32 fpu implementations.
17496         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
17497         New file.
17498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
17499         New file.
17500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
17501         multiarch llrint for PowerPC32.
17502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
17503         New file.
17504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
17505         New file.
17506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
17507         file.
17508
17509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
17510
17511         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
17512         file.
17513         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
17514         file.
17515         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
17516         file.
17517         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
17518         multiarch wordcopy for PPC32.
17519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17520         wordcopy objects.
17521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17522         (__libc_ifunc_impl_list): Likewise.
17523         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
17524         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
17525         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
17526         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
17527         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
17528         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
17529
17530         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
17531         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
17532         file.
17533         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
17534         file.
17535         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
17536         file.
17537         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
17538         multiarch wcscpy for PPC32.
17539         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
17540         multiarch objects.
17541         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17542         (__libc_ifunc_impl_list): Likewise.
17543         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17544         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17545         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
17546         sysdeps/powerpc/power6/wcscpy.c.
17547
17548         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
17549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
17550         file.
17551         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
17552         file.
17553         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
17554         file.
17555         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
17556         multiarch wcsrchr for PPC32.
17557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17558         multiarch objects.
17559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17560         (__libc_ifunc_impl_list): Likewise.
17561         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
17562         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
17563         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
17564         sysdeps/powerpc/power6/wcsrchr.c.
17565
17566         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
17567         file.
17568         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
17569         file.
17570         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
17571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
17572         multiarch wcschr for PPc32.
17573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
17574         multiarch objects.
17575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17576         (__libc_ifunc_impl_list): Likewise.
17577         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
17578         * sysdeps/powerpc/power6/wcschr.c: ... to here.
17579         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
17580         sysdeps/powerpc/power6/wcschr.c.
17581
17582         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
17583         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
17584         file.
17585         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
17586         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
17587         file: multiarch strchr for PPC32.
17588         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
17589         multiarch objects.
17590         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17591         (__libc_ifunc_impl_list): Likewise.
17592
17593         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
17594         name.
17595         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
17596         file.
17597         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
17598         file.
17599         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
17600         multiarch strchrnul for PPC32.
17601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
17602         multiarch objects.
17603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17604         (__libc_ifunc_impl_list): Likewise.
17605
17606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
17607         file.
17608         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
17609         multiarch strncasecmp for PPC32.
17610         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
17611         file.
17612         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17613         multiarch strncasecmp_l for PPC32.
17614         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17615         strncasecmp multiarch objects.
17616         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17617         (__libc_ifunc_impl_list): Likewise.
17618
17619         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17620         file.
17621         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17622         multiarch strncasecmp for PPC32.
17623         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17624         New file.
17625         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17626         multiarch strcasecmp_l for PPC32.
17627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17628         multiarch objects.
17629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17630         (__libc_ifunc_impl_list): Likewise.
17631
17632         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17633         file.
17634         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17635         file.
17636         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17637         multiarch strncmp for PPC32.
17638         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17639         multiarch objects.
17640         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17641         (__libc_ifunc_impl_list): Likewise.
17642
17643         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17644         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17645         file.
17646         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17647         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17649         multiarch objects.
17650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17651         (__libc_ifunc_impl_list): Likewise.
17652
17653         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17654         file.
17655         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17656         file.
17657         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17659         multiarch objects.
17660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17661         (__libc_ifunc_impl_list): Likewise.
17662
17663         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17664         file.
17665         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17666         file.
17667         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17668         multiarch rawmemchr for PPC32.
17669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17670         multiarch objects.
17671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17672         (__libc_ifunc_impl_list): Likewise.
17673
17674         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17675         file.
17676         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17677         file.
17678         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17679         file: memrchr multiarch for PPC32.
17680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17681         multiarch objects.
17682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17683         (__libc_ifunc_impl_list): Likewise.
17684
17685         * string/memchr.c (__memchr): Using macro to redefine symbol name.
17686         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17687         file.
17688         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17689         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17690         multiarch memchr for PPC32.
17691         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17692         multiarch objects.
17693         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17694         (__libc_ifunc_impl_list): Likewise.
17695
17696         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17697         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17698         file.
17699         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17700         file.
17701         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17702         file: multiarch mempcpy for PPC32.
17703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17704         multiarch objects.
17705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17706         (__libc_ifunc_impl_list): Likewise.
17707
17708         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17709         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17710         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17711         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17712         multiarch bzero for PPC32.
17713         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17714         file.
17715         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17716         file.
17717         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17718         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17719         file: multiarch memset for PPC32.
17720         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17721         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17722         memset multiarch objects.
17723         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17724         (__libc_ifunc_impl_list): Likewise.
17725
17726         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17727         file.
17728         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17729         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17730         memcmp for PPC32.
17731         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17732         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17733         multiarch objects.
17734         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17735         (__libc_ifunc_impl_list): Likewise.
17736
17737         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17738         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17739         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17740         file.
17741         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17742         file.
17743         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17744         file.
17745         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17746         multiarch memcpy for PPC32.
17747         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17748         multiarch objects.
17749         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17750         (__libc_ifunc_impl_list): Likewise.
17751
17752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17753         support multiarch for POWER/PPC32.
17754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17755         Likewise.
17756         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17758         Implies file to make multiarch folder appers before the fpu and
17759         default folder for power4 configuration.
17760
17761 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17762
17763         * scripts/bench.pl: Append volatile keyword to type.
17764
17765 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17766
17767         * sysdeps/sh/sotruss-lib.c: New file.
17768         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17769
17770 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17771
17772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17773
17774 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
17775
17776         [BZ #6810]
17777         * math/w_tgamma.c: Include <errno.h>.
17778         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
17779         * math/w_tgammaf.c: Include <errno.h>.
17780         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
17781         * math/w_tgammal.c: Include <errno.h>.
17782         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
17783         * math/auto-libm-test-in: Do not allow missing errno on tgamma
17784         underflow.  Add more tgamma tests.
17785         * math/auto-libm-test-out: Regenerated.
17786         * sysdeps/i386/fpu/libm-test-ulps: Update.
17787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17788
17789         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17790         sin, sinh, tan, tanh, tgamma, y0 and y1.
17791         * math/auto-libm-test-out: Regenerated.
17792         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17793         (TEST_COND_x86): Likewise.
17794         (M_E2l): Remove macro.
17795         (M_E3l): Likewise.
17796         (M_2_SQRT_PIl): Likewise.
17797         (M_SQRT_PIl): Likewise.
17798         (M_1_DIV_El): Likewise.
17799         (log_test_data): Use AUTO_TESTS_f_f.
17800         (log10_test_data): Likewise.
17801         (log1p_test_data): Likewise.
17802         (log2_test_data): Likewise.
17803         (sin_test_data): Likewise.
17804         (sin_tonearest_test_data): Likewise.
17805         (sin_towardzero_test_data): Likewise.
17806         (sin_downward_test_data): Likewise.
17807         (sin_upward_test_data): Likewise.
17808         (sinh_test_data): Likewise.
17809         (sinh_tonearest_test_data): Likewise.
17810         (sinh_towardzero_test_data): Likewise.
17811         (sinh_downward_test_data): Likewise.
17812         (sinh_upward_test_data): Likewise.
17813         (tan_test_data): Likewise.
17814         (tan_tonearest_test_data): Likewise.
17815         (tan_towardzero_test_data): Likewise.
17816         (tan_downward_test_data): Likewise.
17817         (tan_upward_test_data): Likewise.
17818         (tanh_test_data): Likewise.
17819         (tgamma_test_data): Likewise.
17820         (y0_test_data): Likewise.
17821         (y1_test_data): Likewise.
17822         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17823         (special_real_inputs): Add pi/4.
17824         * sysdeps/i386/fpu/libm-test-ulps: Update.
17825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17826
17827 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17828
17829         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17830         "longjmp_target" static probes.
17831         (__longjmp): Rename to __longjmp_symbol.
17832         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17833         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17834         on which longjmp to generate.
17835         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17836         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17837         probe.
17838         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17839         (__sigjmp_save): Rename to __sigjmp_save_symbol.
17840         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17841         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17842         and __sigjmp_save_symbol based on which sigsetjmp to generated.
17843         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17845         __longjmp_symbol based on which __longjmp to generate.
17846         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17847         probe.
17848         (setjmp): Rename to setjmp_symbol.
17849         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17850         (_setjmp): Rename to _setjmp_symbol.
17851         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17852         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17853         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17854         which setjmp to generate.
17855         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17856         "longjmp_target" static probes.
17857
17858 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17859
17860         * benchtests/README: Add note about output arguments.
17861         * benchtests/bench-sincos.c: Remove file.
17862         * benchtests/sincos-inputs: New file.
17863         * scripts/bench.pl: Identify output arguments and define
17864         static variables for them.
17865
17866         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17867
17868         [BZ #15941]
17869         * Makefile (INSTALL): Add install-plain.texi as the primary
17870         dependency.
17871         * manual/install-plain.texi: New file.
17872         * manual/install.texi: Include node directive only for
17873         non-plaintext output.
17874
17875 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
17876
17877         * stdlib/longlong.h: Update from GCC.
17878
17879         [BZ #6807]
17880         [BZ #15901]
17881         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17882         * math/w_j0f.c (y0f): Likewise.
17883         * math/w_j0l.c (__y0l): Likewise.
17884         * math/w_j1.c (y1): Likewise.
17885         * math/w_j1f.c (y1f): Likewise.
17886         * math/w_j1l.c (__y1l): Likewise
17887         * math/w_jn.c (yn): Likewise.
17888         * math/w_jnf.c (ynf): Likewise.
17889         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17890         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
17891         value for Bessel function domain errors outside _SVID_ mode.
17892         Adjust sign of return value for yn (negative integer, 0).
17893         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17894         by zero in return for negative x and set sign appropriately for
17895         negative n.
17896         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17897         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17898         * math/libm-test.inc (y0_test_data): Add more tests and adjust
17899         expectations in error cases.
17900         (y1_test_data): Likewise.
17901         (yn_test_data): Likewise.
17902         * sysdeps/i386/fpu/libm-test-ulps: Update.
17903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17904
17905 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17906
17907         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17908         "64" to "64-v1".  Add "64-v2".
17909         (abi-64-options): Rename to ...
17910         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
17911         (abi-64-condition): Rename to ...
17912         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
17913         (abi-64-ld-soname): Rename to ...
17914         (abi-64-v1-ld-soname): ... this.
17915         (abi-64-v2-options): Define.
17916         (abi-64-v2-condition): Likewise.
17917         (abi-64-v2-ld-soname): Likewise.
17918         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17919         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17923
17924 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17925             Alan Modra  <amodra@gmail.com>
17926
17927         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17928         New versions for use with the ELFv2 ABI.
17929         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17930         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17931         declaration.
17932         (struct La_ppc64v2_retval): Likewise.
17933         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17934         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17935         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17936         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17937         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17938         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17939         Do not save or restore CR.
17940         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17941         (_dl_profile_resolve): Do no save or restore CR.  Support extended
17942         return values for ELFv2 ABI.  Fix location of FPR return registers.
17943         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17944         updated values for _CALL_ELF == 2.
17945         (La_regs, La_retval, int_retval): Likewise.
17946
17947 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17948
17949         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17950         (FRAME_MIN_SIZE_PARM): Likewise.
17951         (FRAME_BACKCHAIN): Likewise.
17952         (FRAME_CR_SAVE): Likewise.
17953         (FRAME_LR_SAVE): Likewise.
17954         (FRAME_TOC_SAVE): Likewise.
17955         (FRAME_PARM_SAVE): Likewise.
17956         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17957         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17958         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17959         (call_mcount_parm_offset): New macro.
17960         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17961         (PROF): Use symbolic stack frame offsets.
17962         (TAIL_CALL_SYSCALL_ERROR): Likewise.
17963         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17964         Redefine in terms of FRAME_MIN_SIZE.
17965         (_dl_runtime_resolve): Use symbolic stack frame offsets.
17966         (_dl_profile_resolve): Likewise.  Update comment.
17967         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17968         symbols stack frame offsets.
17969         (__sigsetjmp): Likewise.
17970         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17971         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17972         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17973         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17974
17975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17976         (FRAME_BACKCHAIN): Remove.
17977         (FRAME_CR_SAVE): Likewise.
17978         (FRAME_LR_SAVE): Likewise.
17979         (FRAME_COMPILER_DW): Likewise.
17980         (FRAME_LINKER_DW): Likewise.
17981         (FRAME_TOC_SAVE): Likewise.
17982         (FRAME_PARM_SAVE): Likewise.
17983         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17984         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17985         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17987         (CHECK_SP): Use symbolic stack frame offsets.
17988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17989         zone" instead of caller's parameter save area for temp storage.
17990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17991         Likewise.  Also, use symbolic stack frame offsets.
17992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17993         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17994         our own stack frame instead of the caller's.
17995         (__socket): Use symbolic stack frame offsets.
17996
17997 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17998             Alan Modra  <amodra@gmail.com>
17999
18000         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18001         Define.
18002         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18003         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18004         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18005         New function.
18006         (elf_machine_fixup_plt): Call it.
18007         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18008         reloc arguments.
18009         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18010         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18011         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18012         r2 before calling target.
18013
18014 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18015             Alan Modra  <amodra@gmail.com>
18016
18017         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18018         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18019         versions of macros to support ELFv2 ABI.
18020         (LOCALENTRY): New macro.
18021         (ENTRY, EALIGN): Use it.
18022         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18023         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18024         fall through into ENTRY entry point.
18025         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18026         Only define if _CALL_ELF != 2.
18027
18028         (elf_machine_matches_host): Verify ABI version matches.
18029         (RTLD_START): Use LOCALENTRY.
18030         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18031         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18032         (PLT_ENTRY_WORDS): New macro.
18033         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18034         (elf_machine_runtime_setup): Support ELFv2 ABI.
18035         (elf_machine_fixup_plt): Likewise.
18036         (elf_machine_plt_conflict): Likewise.
18037         (resolve_ifunc): Likewise.
18038         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18039         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18040         Likewise.
18041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18042         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18044         (makecontext): Support ELFv2 ABI.
18045         * elf/elf.h (EF_PPC64_ABI): Define.
18046
18047 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18048
18049         * sysdeps/powerpc/powerpc64/sysdep.h
18050         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18051         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18052         (ENTRY) [ASSEMBLER]: ... but instead here ...
18053         (EALIGN) [ASSEMBLER]: ... and here.
18054         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18055         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18056         (ENTRY_2) [!ASSEMBLER]: Use it.
18057         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18058         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18059         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18060         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18061         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18063         Use PPC64_LOAD_FUNCPTR.
18064
18065         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18066
18067 2013-12-04  Alan Modra  <amodra@gmail.com>
18068
18069         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18070         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18071         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18072         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18073
18074         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18075         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18076         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18077         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18078         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18079         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18080
18081 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18082
18083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18084         (__makecontext): Fix incorrect CFI when backtracing out of
18085         context created via makecontext.
18086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18087         (__setcontext): Fix incorrect CFI during switch to new context.
18088         (__novec_setcontext): Likewise.
18089
18090 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18091
18092         [BZ #4772]
18093         * time/strptime_l.c (__strptime_internal): Allow modifiers
18094         in strptime.
18095         * time/tst-strptime.c (day_tests): Add testcase.
18096
18097 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18098
18099         * scripts/bench.pl: Skip over blank lines.
18100
18101 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18102
18103         [BZ #926]
18104         * manual/time.texi (Calendar Time): Clarify what timezone functions
18105         use.
18106
18107 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18108
18109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18110
18111 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18112
18113         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18114         implementation.
18115         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18116         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18117         * debug/memset_chk.c (__memset_chk): Likewise.
18118         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18119         * debug/strncpy_chk.c: Likewise.
18120
18121 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18122
18123         [BZ #15268]
18124         [BZ #15425]
18125         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18126         (__ieee754_exp): For possibly underflowing results, check size of
18127         result and force underflow exception if required.
18128         * math/auto-libm-test-in: Add more tests of exp.
18129         * math/auto-libm-test-out: Regenerated.
18130         * sysdeps/i386/fpu/libm-test-ulps: Update.
18131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18132
18133         [BZ #16283]
18134         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18135         * math/w_exp2f.c (__exp2f): Likewise.
18136         * math/w_exp2l.c (__exp2l): Likewise.
18137         * math/auto-libm-test-in: Do not allow missing errno on exp2
18138         underflow.
18139         * math/auto-libm-test-out: Regenerated.
18140
18141 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18142
18143         [BZ #16274]
18144         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18145         handle filename validation.
18146         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18147         (do_open): Delete.
18148
18149 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18150
18151         [BZ #6786]
18152         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18153         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18154         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18155         <float.h>.
18156         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18157         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18158         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18159         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18160         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18161         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18162         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18163         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18164         Add more erfc tests.
18165         * math/auto-libm-test-out: Regenerated.
18166         * sysdeps/i386/fpu/libm-test-ulps: Update.
18167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18168
18169         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18170         exp2, expm1, j0 and j1.
18171         * math/auto-libm-test-out: Regenerated.
18172         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18173         (erfc_test_data): Likewise.
18174         (exp_test_data): Likewise.
18175         (exp_tonearest_test_data): Likewise.
18176         (exp_towardzero_test_data): Likewise.
18177         (exp_downward_test_data): Likewise.
18178         (exp_upward_test_data): Likewise.
18179         (exp10_test_data): Likewise.
18180         (exp2_test_data): Likewise.
18181         (expm1_test_data): Likewise.
18182         (j0_test_data): Likewise.
18183         (j1_test_data): Likewise.
18184         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
18185         (input_flag_type): Add flag_xfail_rounding.
18186         (input_flags): Add xfail-rounding.
18187         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
18188         (output_for_one_input_case): Handle flag_xfail_rounding.
18189         * sysdeps/i386/fpu/libm-test-ulps: Update.
18190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18191
18192 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
18193
18194         [BZ #16289]
18195         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
18196         division by 0.
18197
18198 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
18199
18200         [BZ #16195]
18201         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
18202         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
18203         (STAP_PROBE0): New macro.
18204         (STAP_PROBE1): Likewise.
18205         (STAP_PROBE2): Likewise.
18206         (STAP_PROBE3): Likewise.
18207         (STAP_PROBE4): Likewise.
18208
18209 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
18210
18211         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
18212
18213 2013-12-02  Steve Ellcey  <sellcey@mips.com>
18214
18215         * benchtests/Makefile (bench): Add sqrt.
18216         (LDLIBS-bench-sqrt): New.
18217         * benchtests/sqrt-input: New.
18218
18219 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
18220
18221         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
18222         (GAIH_EAI): Likewise.
18223         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
18224         (gaih_inet): Likewise.
18225         (getaddrinfo): Don't use GAIH_EAI.
18226
18227         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
18228         (struct gaih): Remove definition.
18229
18230 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18231
18232         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
18233         Use HERRNOP directly.
18234
18235 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18236
18237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18238
18239 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
18240
18241         * math/gen-auto-libm-tests.c (test_functions): Add more
18242         single-argument functions.
18243         (special_fill_pi_2): New function.
18244         (special_fill_minus_pi_2): Likewise.
18245         (special_fill_pi_6): Likewise.
18246         (special_fill_minus_pi_6): Likewise.
18247         (special_fill_pi_3): Likewise.
18248         (special_fill_2pi_3): Likewise.
18249         (special_fill_e): Likewise.
18250         (special_fill_1_e): Likewise.
18251         (special_fill_e_minus_1): Likewise.
18252         (special_real_inputs): Add more special inputs.
18253         (output_for_one_input_case): Do not require ERANGE on underflow to
18254         zero if round-to-nearest result does not underflow to zero, unless
18255         exact results required.
18256         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
18257         atan, atanh, cbrt, cos and cosh.
18258         * math/auto-libm-test-out: Regenerated.
18259         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
18260         (acos_tonearest_test_data): Likewise.
18261         (acos_towardzero_test_data): Likewise.
18262         (acos_downward_test_data): Likewise.
18263         (acos_upward_test_data): Likewise.
18264         (acosh_test_data): Likewise.
18265         (asin_test_data): Likewise.
18266         (asin_tonearest_test_data): Likewise.
18267         (asin_towardzero_test_data): Likewise.
18268         (asin_upward_test_data): Likewise.
18269         (asinh_test_data): Likewise.
18270         (atan_test_data): Likewise.
18271         (atanh_test_data): Likewise.
18272         (cbrt_test_data): Likewise.
18273         (cos_test_data): Likewise.
18274         (cos_tonearest_test_data): Likewise.
18275         (cos_towardzero_test_data): Likewise.
18276         (cos_downward_test_data): Likewise.
18277         (cos_upward_test_data): Likewise.
18278         (cosh_test_data): Likewise.
18279         (cosh_tonearest_test_data): Likewise.
18280         (cosh_towardzero_test_data): Likewise.
18281         (cosh_downward_test_data): Likewise.
18282         (cosh_upward_test_data): Likewise.
18283         * sysdeps/i386/fpu/libm-test-ulps: Update.
18284         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18285
18286 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
18287
18288         [BZ #6787]
18289         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
18290         * math/w_exp10f.c (__exp10f): Likewise.
18291         * math/w_exp10l.c (__exp10l): Likewise.
18292         * math/libm-test.inc (exp10_test_data): Add more tests and expect
18293         errno settings in existing tests.
18294
18295         [BZ #14032]
18296         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
18297         precision control set to double precision.
18298         * sysdeps/i386/fpu/w_sqrt.c: New file.
18299         * math/auto-libm-test-in: Add more tests.
18300         * math/auto-libm-test-out: Update.
18301
18302         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
18303         (sqrt_test_tonearest): New function.
18304         (sqrt_towardzero_test_data): New variable.
18305         (sqrt_test_towardzero): New function.
18306         (sqrt_downward_test_data): New variable.
18307         (sqrt_test_downward): New function.
18308         (sqrt_upward_test_data): New variable.
18309         (sqrt_test_upward): New function.
18310         (main): Call the new functions.
18311
18312         * math/gen-auto-libm-tests.c: New file.
18313         * math/auto-libm-test-in: Likewise.
18314         * math/auto-libm-test-out: New generated file.
18315         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
18316         variables.
18317         (%beautify): Add generated representations of zero.
18318         (top level): Set $auto_input and call parse_auto_input.
18319         (beautify): Remove trailing "f" from hex float constants.
18320         (parse_args): Handle XFAIL_TEST.
18321         (convert_condition): New function.
18322         (or_value): Likewise.
18323         (or_cond_value): Likewise.
18324         (generate_testfile): Handle AUTO_TESTS_* lines.
18325         (parse_auto_input): New function.
18326         * math/libm-test.inc (XFAIL_TEST): New macro.
18327         (ERRNO_UNCHANGED): Update value.
18328         (ERRNO_EDOM): Likewise.
18329         (ERRNO_ERANGE): Likewise.
18330         (IGNORE_RESULT): Likewise.
18331         (TEST_COND_flt_32): New macro.
18332         (TEST_COND_dbl_64): Likewise.
18333         (TEST_COND_ldbl_96_intel): Likewise.
18334         (TEST_COND_ldbl_96_m68k): Likewise.
18335         (TEST_COND_ldbl_128): Likewise.
18336         (TEST_COND_ldbl_128ibm): Likewise.
18337         (TEST_COND_long32): Likewise.
18338         (TEST_COND_long64): Likewise.
18339         (TEST_COND_before_rounding): Likewise.
18340         (TEST_COND_after_rounding): Likewise.
18341         (enable_test): Handle XFAIL_TEST flag.
18342         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
18343         with finite results.
18344         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
18345         auto-libm-test-out.
18346
18347 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18348             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18349
18350         [BZ #16214]
18351         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
18352         __tls_get_addr_internal instead of __tls_get_offset in order to
18353         avoid GOT pointer dependency.  Make rtld export
18354         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
18355         __tls_get_addr since we are a __tls_get_offset platform.
18356         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
18357         GOT pointer being set up before.
18358         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
18359
18360 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
18361
18362         * manual/math.texi (Errors in Math Functions): Document accuracy
18363         goals.
18364
18365         [BZ #15004]
18366         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
18367         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
18368         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18369         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18370         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18371         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18372         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18373         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18374         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18375         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18376         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18377         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18378         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18379         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18380         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18381         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18382
18383         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
18384         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
18385         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
18386         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
18387         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
18388         Likewise.
18389         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
18390         Likewise.
18391         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
18392         Likewise.
18393         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
18394         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
18395         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
18396         atomic-feupdateenv and flt-rounds.
18397         * sysdeps/powerpc/nofpu/Versions (libc): Add
18398         __atomic_feholdexcept, __atomic_feclearexcept,
18399         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
18400         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
18401         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
18402         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
18403         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
18404         here.
18405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18406         Update.
18407
18408         * manual/arith.texi (FP Exceptions): Document that exceptions may
18409         not be raised when matherr is used.
18410         (Math Error Reporting): Document overflow in directed rounding
18411         modes.  Document that errno may not be set when finite values are
18412         returned on overflow.  Document intent to set errno on underflow
18413         only for underflow to zero.
18414
18415         [BZ #16271]
18416         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
18417         round-to-nearest then adjust result for other rounding modes.
18418         * include/fenv.h (fegetround): Use libm_hidden_proto.
18419         * math/fegetround.c (fegetround): Use libm_hidden_def.
18420         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18421         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18422         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18423         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18424         Likewise.
18425         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
18426         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18427         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18428         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
18429
18430 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18431
18432         [BZ #16077]
18433         * nss/Versions (libnss_files): Add
18434         _nss_files_gethostbyname3_r.
18435         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
18436         New function.
18437         (HOST_DB_LOOKUP): Remove macro.
18438         (_nss_files_gethostbyname_r): Implement function without the
18439         HOST_DB_LOOKUP macro.
18440         (_nss_files_gethostbyname2_r): Likewise.
18441
18442 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
18443
18444         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
18445
18446 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
18447
18448         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
18449         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
18450         warning.
18451
18452 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18453
18454         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
18455         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
18456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18457         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18458         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
18459         __fe_nomask_env_priv and attribute_hidden.
18460         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
18461         (libc_feupdateenv_test_ppc): Likewise.
18462         (libc_feresetround_ppc): Likewise.
18463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18464         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
18465         compat_symbol macro.
18466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18467         (__fe_nomask_env): Likewise.
18468         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
18469
18470 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18471
18472         * string/Makefile: Remove ifunc tests.
18473         * string/test-string.h: Define TEST_IFUNC.
18474         * string/test-bcopy-ifunc.c: Remove.
18475         * string/test-bzero-ifunc.c: Likewise.
18476         * string/test-memccpy-ifunc.c: Likewise.
18477         * string/test-memchr-ifunc.c: Likewise.
18478         * string/test-memcmp-ifunc.c: Likewise.
18479         * string/test-memcpy-ifunc.c: Likewise.
18480         * string/test-memmem-ifunc.c: Likewise.
18481         * string/test-memmove-ifunc.c: Likewise.
18482         * string/test-mempcpy-ifunc.c: Likewise.
18483         * string/test-memrchr-ifunc.c: Likewise.
18484         * string/test-memset-ifunc.c: Likewise.
18485         * string/test-rawmemchr-ifunc.c: Likewise.
18486         * string/test-stpcpy-ifunc.c: Likewise.
18487         * string/test-stpncpy-ifunc.c: Likewise.
18488         * string/test-strcasecmp-ifunc.c: Likewise.
18489         * string/test-strcasestr-ifunc.c: Likewise.
18490         * string/test-strcat-ifunc.c: Likewise.
18491         * string/test-strchr-ifunc.c: Likewise.
18492         * string/test-strchrnul-ifunc.c: Likewise.
18493         * string/test-strcmp-ifunc.c: Likewise.
18494         * string/test-strcpy-ifunc.c: Likewise.
18495         * string/test-strcspn-ifunc.c: Likewise.
18496         * string/test-strlen-ifunc.c: Likewise.
18497         * string/test-strncasecmp-ifunc.c: Likewise.
18498         * string/test-strncat-ifunc.c: Likewise.
18499         * string/test-strncmp-ifunc.c: Likewise.
18500         * string/test-strncpy-ifunc.c: Likewise.
18501         * string/test-strnlen-ifunc.c: Likewise.
18502         * string/test-strpbrk-ifunc.c: Likewise.
18503         * string/test-strrchr-ifunc.c: Likewise.
18504         * string/test-strspn-ifunc.c: Likewise.
18505         * string/test-strstr-ifunc.c: Likewise.
18506
18507 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18508
18509         * benchtests/Makefile: Remove ifunc tests.
18510         * benchtests/bench-string.h: Define TEST_IFUNC.
18511         * benchtests/bench-bcopy-ifunc.c: Remove.
18512         * benchtests/bench-bzero-ifunc.c: Likewise.
18513         * benchtests/bench-memccpy-ifunc.c: Likewise.
18514         * benchtests/bench-memchr-ifunc.c: Likewise.
18515         * benchtests/bench-memcmp-ifunc.c: Likewise.
18516         * benchtests/bench-memcpy-ifunc.c: Likewise.
18517         * benchtests/bench-memmem-ifunc.c: Likewise.
18518         * benchtests/bench-memmove-ifunc.c: Likewise.
18519         * benchtests/bench-mempcpy-ifunc.c: Likewise.
18520         * benchtests/bench-memrchr-ifunc.c: Likewise.
18521         * benchtests/bench-memset-ifunc.c: Likewise.
18522         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
18523         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
18524         * benchtests/bench-stpcpy-ifunc.c: Likewise.
18525         * benchtests/bench-stpncpy-ifunc.c: Likewise.
18526         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
18527         * benchtests/bench-strcasestr-ifunc.c: Likewise.
18528         * benchtests/bench-strcat-ifunc.c: Likewise.
18529         * benchtests/bench-strchr-ifunc.c: Likewise.
18530         * benchtests/bench-strchrnul-ifunc.c: Likewise.
18531         * benchtests/bench-strcmp-ifunc.c: Likewise.
18532         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
18533         * benchtests/bench-strcpy-ifunc.c: Likewise.
18534         * benchtests/bench-strcspn-ifunc.c: Likewise.
18535         * benchtests/bench-strlen-ifunc.c: Likewise.
18536         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
18537         * benchtests/bench-strncat-ifunc.c: Likewise.
18538         * benchtests/bench-strncmp-ifunc.c: Likewise.
18539         * benchtests/bench-strncpy-ifunc.c: Likewise.
18540         * benchtests/bench-strnlen-ifunc.c: Likewise.
18541         * benchtests/bench-strpbrk-ifunc.c: Likewise.
18542         * benchtests/bench-strrchr-ifunc.c: Likewise.
18543         * benchtests/bench-strsep-ifunc.c: Likewise.
18544         * benchtests/bench-strspn-ifunc.c: Likewise.
18545         * benchtests/bench-strstr-ifunc.c: Likewise.
18546
18547 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18548
18549         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
18550
18551 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
18552
18553         * resolv/netdb.h: Use __glibc_reserved instead __unused.
18554         * rt/aio.h: Likewise.
18555         * sysdeps/gnu/bits/utmp.h: Likewise.
18556         * sysdeps/gnu/bits/utmpx.h: Likewise.
18557         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18558         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
18559         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
18560         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
18561         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
18562         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
18563         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
18564         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
18565         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
18566         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
18567         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
18568         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
18569         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
18570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
18571         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
18572         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
18573         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
18574         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
18575         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
18576         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
18577         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
18578         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
18579         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
18580         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
18581         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
18582         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
18583         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
18584         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
18585         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
18586         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
18587         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
18588         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
18589         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
18590         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
18591         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
18592         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
18593         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
18594         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
18595         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
18596         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
18597         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
18598         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
18599
18600 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
18601
18602         [BZ #16245]
18603         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
18604         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
18605
18606 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
18607
18608         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
18609         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18610         Likewise.
18611
18612 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18613
18614         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18615         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18616         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18617         (__fesetround): Remove define.
18618         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18619         rounding and exceptions handling.
18620         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18621         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18622         (__fe_nomask_env): Likewise.
18623         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18624         __fegetround instead of fegetround.
18625         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18626         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18627
18628 2013-11-21  Roland McGrath  <roland@hack.frob.com>
18629
18630         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18631         it's there.
18632
18633         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18634
18635 2013-11-21  Meador Inge  <meadori@codesourcery.com>
18636
18637         [BZ #11157]
18638         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18639         (encrypt_r): Likewise.
18640         * malloc/obstack.h (obstack_free): Likewise.
18641         * posix/unistd.h (encrypt): Likewise.
18642
18643 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
18644
18645         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18646         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18647         DL_CALL_DT_FINI() that call the functions directly.
18648         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18649         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18650         * elf/dl-fini.c: Likewise.
18651
18652 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
18653
18654         * malloc/hooks.c (memalign_check): Add alignment rounding.
18655         * malloc/malloc.c (_mid_memalign): New function.
18656         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18657         Implement by calling _mid_memalign.
18658         * manual/probes.texi (Memory Allocation Probes): Remove
18659         memory_valloc_retry and memory_pvalloc_retry.
18660
18661 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18662
18663         * locale/programs/locarchive.c (open_archive): Add const
18664         qualifier to ARCHIVEFNAME and copy default fname to
18665         DEFAULT_FNAME.
18666
18667         [BZ #15601]
18668         * libio/tst-widetext.input: Rename Oriya to Odia.
18669         * locale/iso-639.def: Likewise.
18670
18671         * manual/probes.texi (Mathematical Function Probes): Add
18672         documentation for sin, cos, asin and acos probes.
18673         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18674         (__sin32): Add slowasin probe.
18675         (__cos32): Add slowacos probe.
18676         (__mpsin): Add slowsin probe.
18677         (__mpcos): Add slowcos probe.
18678
18679 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
18680
18681         [BZ #15483]
18682         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18683         thread-local __sim_exceptions_thread and global
18684         __sim_exceptions_global.
18685         (__sim_disabled_exceptions): Change to thread-local
18686         __sim_disabled_exceptions_thread and global
18687         __sim_disabled_exceptions_global.
18688         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18689         and global __sim_round_mode_global.
18690         (__simulate_exceptions): Use thread-local floating-point state and
18691         set global state from it as needed.
18692         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18693         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18694         __sim_round_mode_thread.
18695         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18696         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18697         and global __sim_exceptions_global.
18698         (__sim_disabled_exceptions): Change to thread-local
18699         __sim_disabled_exceptions_thread and global
18700         __sim_disabled_exceptions_global.
18701         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18702         and global __sim_round_mode_global.
18703         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18704         (SIM_SET_GLOBAL): Likewise.
18705         * sysdeps/powerpc/soft-fp/sfp-machine.h
18706         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18707         __sim_round_mode_thread.
18708         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18709         __sim_disabled_exceptions_thread.
18710         (__sim_exceptions): Change to __sim_exceptions_thread.
18711         (__sim_disabled_exceptions): Change to
18712         __sim_disabled_exceptions_thread.
18713         (__sim_round_mode): Change to __sim_round_mode_thread.
18714         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18715         thread-local floating-point state and set global state from it as
18716         needed.
18717         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18718         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18719         (__sim_disabled_exceptions): Remove extern declaration.
18720         (feenableexcept): Use thread-local floating-point state and set
18721         global state from it as needed.
18722         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18723         extern declaration.
18724         (__sim_disabled_exceptions): Likewise.
18725         (__sim_round_mode): Likewise.
18726         (__fegetenv): Use thread-local floating-point state.
18727         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18728         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18729         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18730         floating-point state and set global state from it as needed.
18731         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18732         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18733         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18734         Likewise.
18735         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18736         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18737         Likewise.
18738         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18739         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18740         Use __sim_round_mode_thread.
18741         * math/test-fenv-tls.c: New file.
18742         * math/Makefile (tests): Add test-fenv-tls.
18743         ($(objpfx)test-fenv-tls): Depend on
18744         $(common-objpfx)nptl/libpthread.so.
18745
18746 2013-11-19  Andreas Schwab  <schwab@suse.de>
18747
18748         * locale/programs/locale.c (show_info): Decode wordarray elements.
18749         * locale/categories.def (LC_MONETARY): Add element for
18750         _NL_MONETARY_CRNCYSTR.
18751         * locale/C-monetary.c (conversion_rate): New variable.
18752         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18753         element.
18754
18755 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
18756
18757         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18758         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18759
18760 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18761
18762         * elf/Makefile (tst-auxv): New test.
18763         * elf/tst-auxv.c: New
18764         * elf/rtld.c (dl_main): Adjust AT_EXECFN
18765
18766 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
18767
18768         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18769         (hidden_proto): Caller changed.
18770         (hidden_tls_proto): New macro.
18771         (libc_hidden_tls_proto): Likewise.
18772         (rtld_hidden_tls_proto): Likewise.
18773         (libm_hidden_tls_proto): Likewise.
18774         (libresolv_hidden_tls_proto): Likewise.
18775         (librt_hidden_tls_proto): Likewise.
18776         (libdl_hidden_tls_proto): Likewise.
18777         (libnss_files_hidden_tls_proto): Likewise.
18778         (libnsl_hidden_tls_proto): Likewise.
18779         (libnss_nisplus_hidden_tls_proto): Likewise.
18780         (libutil_hidden_tls_proto): Likewise.
18781
18782 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
18783
18784         [BZ #10253]
18785         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18786         (decompose_rpath): Defer expansion to fillin_rpath.
18787         (_dl_init_paths): Pass linkmap to fillin_rpath.
18788
18789 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18790
18791         * benchtests/Makefile: Add strsep.
18792         * benchtests/bench-strsep.c: New file: strsep benchtest.
18793         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18794
18795 2013-11-18  Andreas Schwab  <schwab@suse.de>
18796
18797         * locale/programs/locale.c (show_info) [case byte]: Check for
18798         '\377' instead of '\177'.
18799         * locale/C-monetary.c (not_available): Always use "\377".
18800         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18801         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
18802         detect unavailable sign_posn locale elements.
18803         * locale/localeconv.c (__localeconv): For grouping and
18804         mon_grouping handle "\177" and "\377" like no grouping.
18805         (INT_ELEM): New macro.  Use it to set all numeric members.
18806         * locale/programs/ld-monetary.c (monetary_read)
18807         <tok_mon_grouping>: Normalize single -1 to the empty string.
18808         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18809         Likewise.
18810
18811 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18812
18813         [BZ #16055]
18814         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18815         when we match (nil).
18816         * stdio-common/tst-sscanf.c (struct test): Add testcase.
18817
18818 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
18819
18820         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18821         (NO_TEST_INLINE): Update value.
18822         (ERRNO_UNCHANGED): Likewise.
18823         (ERRNO_EDOM): Likewise.
18824         (ERRNO_ERANGE): Likewise.
18825         (IGNORE_RESULT): Likewise.
18826         (check_float_internal): Check signs of NaN results if
18827         TEST_NAN_SIGN used.
18828         (check_complex): Pass TEST_NAN_SIGN flag through to second
18829         check_float_internal call.
18830         (copysign_test_data): Add tests with quiet NaNs as second
18831         argument.  Use TEST_NAN_SIGN.
18832         (fabs_test_data): Add test of negative quiet NaN argument.  Use
18833         TEST_NAN_SIGN.
18834         (signbit_test_data): Add tests of quiet NaN argument.
18835         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18836
18837         * math/gen-libm-test.pl (show_exceptions): Take extra argument
18838         $ignore_result.
18839         (parse_args): Handle function results specified as IGNORE.
18840         * math/libm-test.inc (IGNORE_RESULT): New macro.
18841         (check_float_internal): Do not check numerical result if flag
18842         IGNORE_RESULT set.
18843         (check_complex): Pass through IGNORE_RESULT to second
18844         check_float_internal call.
18845         (check_int): Do not check numerical result if flag IGNORE_RESULT
18846         set.
18847         (check_long): Likewise.
18848         (check_bool): Likewise.
18849         (check_longlong): Likewise.
18850         (lrint_test_data): Add tests of infinite and NaN arguments.
18851         (lrint_tonearest_test_data): Likewise.
18852         (lrint_towardzero_test_data): Likewise.
18853         (lrint_downward_test_data): Likewise.
18854         (lrint_upward_test_data): Likewise.
18855         (llrint_test_data): Likewise.
18856         (llrint_tonearest_test_data): Likewise.
18857         (llrint_towardzero_test_data): Likewise.
18858         (llrint_downward_test_data): Likewise.
18859         (llrint_upward_test_data): Likewise.
18860         (lround_test_data): Likewise.
18861         (llround_test_data): Likewise.
18862
18863         * math/libm-test.inc (NO_TEST_INLINE): New macro.
18864         (ERRNO_UNCHANGED): Update value.
18865         (ERRNO_EDOM): Likewise.
18866         (ERRNO_ERANGE): Likewise.
18867         (NO_TEST_INLINE_FLOAT): New macro.
18868         (NO_TEST_INLINE_DOUBLE): Likewise.
18869         (enable_test): New function.
18870         (RUN_TEST_f_f): Check enable_test before running test.
18871         (RUN_TEST_2_f): Likewise.
18872         (RUN_TEST_fff_f): Likewise.
18873         (RUN_TEST_c_f): Likewise.
18874         (RUN_TEST_f_f1): Likewise.
18875         (RUN_TEST_fF_f1): Likewise.
18876         (RUN_TEST_fI_f1): Likewise.
18877         (RUN_TEST_ffI_f1): Likewise.
18878         (RUN_TEST_c_c): Likewise.
18879         (RUN_TEST_cc_c): Likewise.
18880         (RUN_TEST_f_i): Likewise.
18881         (RUN_TEST_f_i_tg): Likewise.
18882         (RUN_TEST_ff_i_tg): Likewise.
18883         (RUN_TEST_f_b): Likewise.
18884         (RUN_TEST_f_b_tg): Likewise.
18885         (RUN_TEST_f_l): Likewise.
18886         (RUN_TEST_f_L): Likewise.
18887         (RUN_TEST_fFF_11): Likewise.
18888         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18889         conditionals.
18890         (cosh_test_data): Likewise.
18891         (exp_test_data): Likewise.
18892         (expm1_test_data): Likewise.
18893         (hypot_test_data): Likewise.
18894         (pow_test_data): Likewise.
18895         (sinh_test_data): Likewise.
18896         (tanh_test_data): Likewise.
18897         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18898         flags argument.
18899
18900         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18901         tests with quiet NaN input and output.
18902         (acosh_test_data): Likewise.
18903         (asin_test_data): Likewise.
18904         (asinh_test_data): Likewise.
18905         (atan_test_data): Likewise.
18906         (atanh_test_data): Likewise.
18907         (atan2_test_data): Likewise.
18908         (cbrt_test_data): Likewise.
18909         (cos_test_data): Likewise.
18910         (cosh_test_data): Likewise.
18911         (erf_test_data): Likewise.
18912         (erfc_test_data): Likewise.
18913         (exp_test_data): Likewise.
18914         (exp10_test_data): Likewise.
18915         (exp2_test_data): Likewise.
18916         (expm1_test_data): Likewise.
18917         (hypot_test_data): Likewise.
18918         (j0_test_data): Likewise.
18919         (j1_test_data): Likewise.
18920         (jn_test_data): Likewise.
18921         (lgamma_test_data): Likewise.
18922         (log_test_data): Likewise.
18923         (log10_test_data): Likewise.
18924         (log1p_test_data): Likewise.
18925         (log2_test_data): Likewise.
18926         (pow_test_data): Likewise.
18927         (scalb_test_data): Likewise.
18928         (sin_test_data): Likewise.
18929         (sincos_test_data): Likewise.
18930         (sinh_test_data): Likewise.
18931         (tan_test_data): Likewise.
18932         (tanh_test_data): Likewise.
18933         (tgamma_test_data): Likewise.
18934         (y0_test_data): Likewise.
18935         (y1_test_data): Likewise.
18936         (yn_test_data): Likewise.
18937
18938         [BZ #16167]
18939         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18940         argument being NaN and avoid computations with second argument in
18941         that case.
18942         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18943         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18944         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18945
18946 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
18947
18948         * locale/iso-639.def: Add Chitwani Tharu (the).
18949
18950 2013-11-14  Andreas Schwab  <schwab@suse.de>
18951
18952         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18953         word instead of empty string.
18954
18955 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18956
18957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18958         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18960         (__fe_nomask_env): Likewise.
18961
18962 2013-11-13  Steve Ellcey  <sellcey@mips.com>
18963
18964         * benchtests/bench-timing.h: Include time.h.
18965
18966 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
18967
18968         [BZ #15997]
18969         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18970         to 3.4.0 for x32.
18971         * sysdeps/unix/sysv/linux/configure: Regenerated.
18972
18973 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
18974
18975         [BZ #16151]
18976         * stdlib/strtod_l.c (round_and_return): Do not consider
18977         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18978         exponent one less than half the least subnormal exponent.
18979         * stdlib/test-strtod-round-data: Add more tests.
18980         * stdlib/tst-strtod-round.c (tests): Regenerated.
18981
18982 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18983
18984         [BZ #14143]
18985         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18986         (__fe_mask_env): Likewise.
18987         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18988         libm_hidden_proto and add function prototype.
18989         (__fe_mask_env): Add function prototype.
18990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18991         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18993         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18995         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18996
18997 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18998
18999         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19000         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19001
19002 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19003
19004         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19005         of htab_find_slot().
19006
19007 2013-11-11  David S. Miller  <davem@davemloft.net>
19008
19009         [BZ #16150]
19010         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19011         symbol in the non-vis3 case in static builds.
19012         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19013         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19014         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19015         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19016
19017 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19018
19019         [BZ #387]
19020         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19021         it is empty.
19022
19023 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19024
19025         * benchtests/Makefile: Add bench-strtod.
19026         * benchtests/bench-strtod.c: New file: strtod benchtest
19027
19028 2013-11-11  Andreas Schwab  <schwab@suse.de>
19029
19030         [BZ #16153]
19031         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19032         terminating NUL in key length.
19033
19034 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19035
19036         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19037         Add artificial ODP entry for vDSO symbol for PPC64.
19038         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19039         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19040
19041 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19042
19043         [BZ #15374]
19044         * nss/getent.c (services_keys): Recognize services starting with digit.
19045
19046 2013-11-06  David S. Miller  <davem@davemloft.net>
19047
19048         [BZ #15985]
19049         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19050         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19051
19052 2013-11-06  Will Newton  <will.newton@linaro.org>
19053
19054         * manual/memory.texi (Malloc Examples): Remove register
19055         keyword from examples.
19056
19057 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19058
19059         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19060
19061 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19062
19063         [BZ #6981]
19064         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19065         depending on [__GCC_IEC_559 > 0].
19066         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19067         depending on [__GCC_IEC_559_COMPLEX > 0].
19068
19069 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19070
19071         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19072         to iso-639.def.
19073
19074 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19075
19076         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19077
19078 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19079
19080         [BZ #16112]
19081         * malloc/malloc (malloc_info): Do not handle first bin as
19082         special case.
19083
19084 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19085
19086         * locale/iso-639.def: Add Central Nahuatl (nhn).
19087
19088 2013-11-01  Bruno Haible  <bruno@clisp.org>
19089
19090         [BZ #7003]
19091         * manual/math.texi (BSD Random): Specify range upper bound as
19092         in POSIX.
19093
19094 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19095
19096         * locale/iso-639.def: Add Meadow Mari (mhr).
19097
19098 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19099
19100         [BZ #14752], [BZ #15763]
19101         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19102         Validate name.
19103         * rt/tst_shm.c: Add test for escaping directory.
19104
19105 2013-10-31  Andreas Schwab  <schwab@suse.de>
19106
19107         [BZ #15917]
19108         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19109         followed by 'x' as part of digit sequence.
19110         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19111
19112 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19113
19114         [BZ #16037]
19115         * configure.ac: allow GNU Make 4.0 and greater.
19116         * configure: Regenerated.
19117
19118 2013-10-30  Will Newton  <will.newton@linaro.org>
19119
19120         [BZ #16038]
19121         * malloc/hooks.c (memalign_check): Limit alignment to the
19122         maximum representable power of two.
19123         * malloc/malloc.c (__libc_memalign): Likewise.
19124         * malloc/tst-memalign.c (do_test): Add test for very
19125         large alignment values.
19126         * malloc/tst-posix_memalign.c (do_test): Likewise.
19127
19128 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19129
19130         [BZ #11087]
19131         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19132         (munmap_chunk): Likewise.
19133         (mremap_chunk): Likewise.
19134
19135 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19136
19137         [BZ #15799]
19138         * stdlib/div.c (div): Remove obsolete code.
19139         * stdlib/ldiv.c (ldiv): Likewise.
19140         * stdlib/lldiv.c (lldiv): Likewise.
19141
19142 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19143
19144         [BZ #16071]
19145         * nss/nss_files/files-XXX.c (get_contents_ret): New
19146         enumerator.
19147         (get_contents): New function.
19148         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19149
19150 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19151
19152         * configure.in: Moved to ...
19153         * configure.ac: ... here. Change reference to configure.in
19154         to configure.ac.
19155         * sysdeps/arm/preconfigure.ac: ... here.
19156         configure.in to configure.ac.
19157         * sysdeps/gnu/configure.in: Moved to ...
19158         * sysdeps/gnu/configure.ac: ... here.
19159         * sysdeps/i386/configure.in: Moved to ...
19160         * sysdeps/i386/configure.ac: ... here.
19161         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19162         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19163         * sysdeps/mach/configure.in: Moved to ...
19164         * sysdeps/mach/configure.ac: ... here.
19165         * sysdeps/mach/hurd/configure.in: Moved to ...
19166         * sysdeps/mach/hurd/configure.ac: ... here.
19167         * sysdeps/powerpc/configure.in: Moved to ...
19168         * sysdeps/powerpc/configure.ac: ... here.
19169         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19170         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19171         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19172         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19173         * sysdeps/s390/s390-32/configure.in: Moved to ...
19174         * sysdeps/s390/s390-32/configure.ac: ... here.
19175         * sysdeps/s390/s390-64/configure.in: Moved to ...
19176         * sysdeps/s390/s390-64/configure.ac: ... here.
19177         * sysdeps/sh/configure.in: Moved to ...
19178         * sysdeps/sh/configure.ac: ... here.
19179         * sysdeps/sparc/configure.in: Moved to ...
19180         * sysdeps/sparc/configure.ac: ... here.
19181         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19182         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19183         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
19184         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
19185         * sysdeps/x86_64/configure.in: Moved to ...
19186         * sysdeps/x86_64/configure.ac: ... here.
19187         * sysdeps/x86_64/preconfigure.in: Moved to ...
19188         * sysdeps/x86_64/preconfigure.ac: ... here.
19189         * aclocal.m4: Change reference to configure.in to configure.ac.
19190         * config.h.in: Likewise.
19191         * manual/install.texi: Likewise.
19192         * manual/maint.texi: Likewise.
19193         * Makefile: Likewise.
19194         * malloc/Makefile: Likewise.
19195         * nscd/Makefile: Likewise.
19196         * Makeconfig: Change reference to configure.in and
19197         preconfigure.in to configure.ac and preconfigure.ac
19198         respectively.
19199         * INSTALL: Regenerated.
19200         * configure: Likewise.
19201         * sysdeps/gnu/configure: Likewise.
19202         * sysdeps/i386/configure: Likewise.
19203         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
19204         * sysdeps/mach/configure: Likewise.
19205         * sysdeps/mach/hurd/configure: Likewise.
19206         * sysdeps/powerpc/configure: Likewise.
19207         * sysdeps/powerpc/powerpc32/configure: Likewise.
19208         * sysdeps/powerpc/powerpc64/configure: Likewise.
19209         * sysdeps/s390/s390-32/configure: Likewise.
19210         * sysdeps/s390/s390-64/configure: Likewise.
19211         * sysdeps/sh/configure: Likewise.
19212         * sysdeps/sparc/configure: Likewise.
19213         * sysdeps/unix/sysv/linux/configure: Likewise.
19214         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
19215         * sysdeps/x86_64/configure: Likewise.
19216         * sysdeps/x86_64/preconfigure: Likewise.
19217
19218 2013-10-29  Andreas Schwab  <schwab@suse.de>
19219
19220         * stdio-common/Makefile (tst-swscanf-ENV): Define.
19221
19222 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19223
19224         * benchtests/pow-inputs: Add new inputs.
19225
19226         * benchtests/exp-inputs: Add new inputs.
19227
19228         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
19229         conditional check for return value.
19230         (__cos32): Likewise.
19231
19232 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19233
19234         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
19235         to provide a boost for large inputs with word alignment.
19236         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
19237         implementation based on optimized PPC64 strcpy.
19238         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
19239         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19240         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
19241         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
19242
19243 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19244
19245         [BZ #2801]
19246         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
19247
19248 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19249
19250         [BZ #14876]
19251         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
19252         * time/tst-strptime.c (day_tests): Add testcase.
19253
19254 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
19255
19256         [BZ #14029]
19257         * manual/pattern.texi: Acknowledge that fnmatch can fail.
19258
19259 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
19260
19261         [BZ #16074]
19262         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
19263         MAP_FAILED on error.
19264
19265 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
19266
19267         [BZ #16072]
19268         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
19269         heap for large requests.
19270
19271 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
19272
19273         [BZ #9954]
19274         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
19275         result if the result has no associated interface.
19276         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
19277         interface for all 127.X.Y.Z addresses.
19278
19279 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
19280
19281         * locale/iso-639.def: Add Ligurian (lij)
19282
19283 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
19284
19285         [BZ #15825]
19286         * sunrpc/rpc_main.c: Document rpcgen -5.
19287
19288 2013-10-19  Michael Stahl  <mstahl@redhat.com>
19289
19290         * elf/rtld.c (do_preload): Print the reason why preloading failed.
19291
19292 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19293
19294         [BZ #10278]
19295         * posix/glob.c: Match only directories when trailing slash is present.
19296         * posix/tst-gnuglob.c (my_opendir): Do not open files.
19297         (main): Add testcase.
19298
19299 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
19300
19301         [BZ #15670]
19302         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
19303
19304 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
19305
19306         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
19307         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
19308         AUTH_DES and cindex for FIPS 140-2.
19309         (DES Encryption): Add cindex FIPS 46-3.
19310
19311         * locale/locarchive.h (struct locarhandle): Add fname.
19312         * locale/programs/localedef.c (main): Pass ARGV[remaining]
19313         if an optional argument was specified to --list-archive,
19314         otherwise NULL.
19315         * locale/programs/locarchive.c (show_archive_content): Take new
19316         argument fname and pass it via ah.fname to open_archive.
19317         * locale/programs/localedef.h: Update decl.
19318         (open_archive): If AH->fname is non-null, open that file
19319         rather than the default file name, and don't ignore ENOENT.
19320         (create_archive): Set AH.fname to NULL.
19321         (delete_locales_from_archive): Likewise.
19322         (add_locales_to_archive): Likewise.
19323         * locale/programs/locfile.c (write_all_categories): Likewise.
19324
19325 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
19326             Aldy Hernandez  <aldyh@redhat.com>
19327
19328         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
19329         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
19330         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
19331         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
19332         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
19333         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
19334         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
19335         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
19336         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
19337         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
19338         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
19339         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
19340         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
19341         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
19342         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
19343         Likewise.
19344         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
19345         Likewise.
19346         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
19347         Likewise.
19348         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
19349         Likewise.
19350         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
19351         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
19352         Likewise.
19353         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
19354         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
19355         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
19356         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
19357         Likewise.
19358         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
19359         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
19360         * sysdeps/powerpc/preconfigure: Likewise.
19361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
19362         Likewise.
19363         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
19364         Replace contents of file by #include of <fenv_libc.h>.
19365         * sysdeps/powerpc/soft-fp/sfp-machine.h
19366         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
19367         and <sys/prctl.h>.
19368         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
19369         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
19370         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
19371         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
19372         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
19373         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
19374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
19375         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
19376         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
19377         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
19378         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
19379         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
19380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19381         Allow copysignl PLT reference to be missing.
19382
19383 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
19384             Joseph Myers  <joseph@codesourcery.com
19385
19386         [BZ #15948]
19387         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
19388         single character.
19389         (add_to_tablewc): Assert sequence of wide characters is nonempty.
19390
19391 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19392
19393         * elf/tst-tls-dlinfo.c: Don't include tls.h.
19394         * elf/tst-tls1.c: Likewise.
19395         * elf/tst-tls10.h: Likewise.
19396         * elf/tst-tls14.c: Likewise.
19397         * elf/tst-tls2.c: Likewise.
19398         * elf/tst-tls3.c: Likewise.
19399         * elf/tst-tls4.c: Likewise.
19400         * elf/tst-tls5.c: Likewise.
19401         * elf/tst-tls6.c: Likewise.
19402         * elf/tst-tls7.c: Likewise.
19403         * elf/tst-tls8.c: Likewise.
19404         * elf/tst-tls9.c: Likewise.
19405         * elf/tst-tlsmod1.c: Likewise.
19406         * elf/tst-tlsmod13.c: Likewise.
19407         * elf/tst-tlsmod13a.c: Likewise.
19408         * elf/tst-tlsmod14a.c: Likewise.
19409         * elf/tst-tlsmod16a.c: Likewise.
19410         * elf/tst-tlsmod16b.c: Likewise.
19411         * elf/tst-tlsmod2.c: Likewise.
19412         * elf/tst-tlsmod3.c: Likewise.
19413         * elf/tst-tlsmod4.c: Likewise.
19414         * elf/tst-tlsmod5.c: Likewise.
19415         * elf/tst-tlsmod6.c: Likewise.
19416
19417 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
19418
19419         [BZ #12486]
19420         * malloc/malloc.c: remove checks for statistics.
19421
19422 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19423
19424         [BZ #15277]
19425         * inet/inet_net.c (inet_network): Detect additional invalid strings.
19426         * inet/tst-network.c: Add testcase.
19427
19428 2013-10-17  Andreas Schwab  <schwab@suse.de>
19429
19430         [BZ #15218]
19431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
19432         to determine canonical name.
19433
19434 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
19435
19436         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
19437         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
19438         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19439         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
19440         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19441         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
19442         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19443         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
19444         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
19445         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
19446         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
19447         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
19448         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19449         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19450         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
19451         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
19452         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19453         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19454         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
19455         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
19456         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19457         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19458         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19459         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
19460         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
19461         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19462         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19463         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
19464         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19465         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
19466         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
19467         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19468         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
19469         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
19470         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19471         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19472         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
19473         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19474         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19475         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19476         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19477         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
19478         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
19479         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19480         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
19481         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
19482         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19483         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
19484         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
19485         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19486         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
19487         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
19488         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
19489         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
19490         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19491         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
19492         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19493         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19494
19495 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
19496
19497         [BZ #16041]
19498         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
19499         make result into a quiet NaN.
19500
19501 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
19502
19503         * soft-fp/adddf3.c: Fix horizontal whitespace.
19504         * soft-fp/addsf3.c: Likewise.
19505         * soft-fp/addtf3.c: Likewise.
19506         * soft-fp/divdf3.c: Likewise.
19507         * soft-fp/divsf3.c: Likewise.
19508         * soft-fp/divtf3.c: Likewise.
19509         * soft-fp/double.h: Likewise.
19510         * soft-fp/eqdf2.c: Likewise.
19511         * soft-fp/eqsf2.c: Likewise.
19512         * soft-fp/eqtf2.c: Likewise.
19513         * soft-fp/extenddftf2.c: Likewise.
19514         * soft-fp/extended.h: Likewise.
19515         * soft-fp/extendsfdf2.c: Likewise.
19516         * soft-fp/extendsftf2.c: Likewise.
19517         * soft-fp/extendxftf2.c: Likewise.
19518         * soft-fp/fixdfdi.c: Likewise.
19519         * soft-fp/fixdfsi.c: Likewise.
19520         * soft-fp/fixdfti.c: Likewise.
19521         * soft-fp/fixsfdi.c: Likewise.
19522         * soft-fp/fixsfsi.c: Likewise.
19523         * soft-fp/fixsfti.c: Likewise.
19524         * soft-fp/fixtfdi.c: Likewise.
19525         * soft-fp/fixtfsi.c: Likewise.
19526         * soft-fp/fixtfti.c: Likewise.
19527         * soft-fp/fixunsdfdi.c: Likewise.
19528         * soft-fp/fixunsdfsi.c: Likewise.
19529         * soft-fp/fixunsdfti.c: Likewise.
19530         * soft-fp/fixunssfdi.c: Likewise.
19531         * soft-fp/fixunssfsi.c: Likewise.
19532         * soft-fp/fixunssfti.c: Likewise.
19533         * soft-fp/fixunstfdi.c: Likewise.
19534         * soft-fp/fixunstfsi.c: Likewise.
19535         * soft-fp/fixunstfti.c: Likewise.
19536         * soft-fp/floatdidf.c: Likewise.
19537         * soft-fp/floatdisf.c: Likewise.
19538         * soft-fp/floatditf.c: Likewise.
19539         * soft-fp/floatsidf.c: Likewise.
19540         * soft-fp/floatsisf.c: Likewise.
19541         * soft-fp/floatsitf.c: Likewise.
19542         * soft-fp/floattidf.c: Likewise.
19543         * soft-fp/floattisf.c: Likewise.
19544         * soft-fp/floattitf.c: Likewise.
19545         * soft-fp/floatundidf.c: Likewise.
19546         * soft-fp/floatundisf.c: Likewise.
19547         * soft-fp/floatunditf.c: Likewise.
19548         * soft-fp/floatunsidf.c: Likewise.
19549         * soft-fp/floatunsisf.c: Likewise.
19550         * soft-fp/floatunsitf.c: Likewise.
19551         * soft-fp/floatuntidf.c: Likewise.
19552         * soft-fp/floatuntisf.c: Likewise.
19553         * soft-fp/floatuntitf.c: Likewise.
19554         * soft-fp/fmadf4.c: Likewise.
19555         * soft-fp/fmasf4.c: Likewise.
19556         * soft-fp/fmatf4.c: Likewise.
19557         * soft-fp/gedf2.c: Likewise.
19558         * soft-fp/gesf2.c: Likewise.
19559         * soft-fp/getf2.c: Likewise.
19560         * soft-fp/ledf2.c: Likewise.
19561         * soft-fp/lesf2.c: Likewise.
19562         * soft-fp/letf2.c: Likewise.
19563         * soft-fp/muldf3.c: Likewise.
19564         * soft-fp/mulsf3.c: Likewise.
19565         * soft-fp/multf3.c: Likewise.
19566         * soft-fp/negdf2.c: Likewise.
19567         * soft-fp/negsf2.c: Likewise.
19568         * soft-fp/negtf2.c: Likewise.
19569         * soft-fp/op-1.h: Likewise.
19570         * soft-fp/op-2.h: Likewise.
19571         * soft-fp/op-4.h: Likewise.
19572         * soft-fp/op-8.h: Likewise.
19573         * soft-fp/op-common.h: Likewise.
19574         * soft-fp/quad.h: Likewise.
19575         * soft-fp/single.h: Likewise.
19576         * soft-fp/soft-fp.h: Likewise.
19577         * soft-fp/sqrtdf2.c: Likewise.
19578         * soft-fp/sqrtsf2.c: Likewise.
19579         * soft-fp/sqrttf2.c: Likewise.
19580         * soft-fp/subdf3.c: Likewise.
19581         * soft-fp/subsf3.c: Likewise.
19582         * soft-fp/subtf3.c: Likewise.
19583         * soft-fp/truncdfsf2.c: Likewise.
19584         * soft-fp/trunctfdf2.c: Likewise.
19585         * soft-fp/trunctfsf2.c: Likewise.
19586         * soft-fp/trunctfxf2.c: Likewise.
19587         * soft-fp/unorddf2.c: Likewise.
19588         * soft-fp/unordsf2.c: Likewise.
19589         * soft-fp/unordtf2.c: Likewise.
19590
19591 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
19592
19593         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
19594         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
19595
19596 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
19597
19598         * elf/dl-libc.c: Clear initfini list after freeing.
19599
19600 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
19601
19602         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
19603         * soft-fp/addsf3.c: Likewise.
19604         * soft-fp/addtf3.c: Likewise.
19605         * soft-fp/divdf3.c: Likewise.
19606         * soft-fp/divsf3.c: Likewise.
19607         * soft-fp/divtf3.c: Likewise.
19608         * soft-fp/double.h: Likewise.
19609         * soft-fp/eqdf2.c: Likewise.
19610         * soft-fp/eqsf2.c: Likewise.
19611         * soft-fp/eqtf2.c: Likewise.
19612         * soft-fp/extenddftf2.c: Likewise.
19613         * soft-fp/extended.h: Likewise.
19614         * soft-fp/extendsfdf2.c: Likewise.
19615         * soft-fp/extendsftf2.c: Likewise.
19616         * soft-fp/extendxftf2.c: Likewise.
19617         * soft-fp/fixdfdi.c: Likewise.
19618         * soft-fp/fixdfsi.c: Likewise.
19619         * soft-fp/fixdfti.c: Likewise.
19620         * soft-fp/fixsfdi.c: Likewise.
19621         * soft-fp/fixsfsi.c: Likewise.
19622         * soft-fp/fixsfti.c: Likewise.
19623         * soft-fp/fixtfdi.c: Likewise.
19624         * soft-fp/fixtfsi.c: Likewise.
19625         * soft-fp/fixtfti.c: Likewise.
19626         * soft-fp/fixunsdfdi.c: Likewise.
19627         * soft-fp/fixunsdfsi.c: Likewise.
19628         * soft-fp/fixunsdfti.c: Likewise.
19629         * soft-fp/fixunssfdi.c: Likewise.
19630         * soft-fp/fixunssfsi.c: Likewise.
19631         * soft-fp/fixunssfti.c: Likewise.
19632         * soft-fp/fixunstfdi.c: Likewise.
19633         * soft-fp/fixunstfsi.c: Likewise.
19634         * soft-fp/fixunstfti.c: Likewise.
19635         * soft-fp/floatdidf.c: Likewise.
19636         * soft-fp/floatdisf.c: Likewise.
19637         * soft-fp/floatditf.c: Likewise.
19638         * soft-fp/floatsidf.c: Likewise.
19639         * soft-fp/floatsisf.c: Likewise.
19640         * soft-fp/floatsitf.c: Likewise.
19641         * soft-fp/floattidf.c: Likewise.
19642         * soft-fp/floattisf.c: Likewise.
19643         * soft-fp/floattitf.c: Likewise.
19644         * soft-fp/floatundidf.c: Likewise.
19645         * soft-fp/floatundisf.c: Likewise.
19646         * soft-fp/floatunsidf.c: Likewise.
19647         * soft-fp/floatunsisf.c: Likewise.
19648         * soft-fp/floatuntidf.c: Likewise.
19649         * soft-fp/floatuntisf.c: Likewise.
19650         * soft-fp/floatuntitf.c: Likewise.
19651         * soft-fp/fmadf4.c: Likewise.
19652         * soft-fp/fmasf4.c: Likewise.
19653         * soft-fp/fmatf4.c: Likewise.
19654         * soft-fp/gedf2.c: Likewise.
19655         * soft-fp/gesf2.c: Likewise.
19656         * soft-fp/getf2.c: Likewise.
19657         * soft-fp/ledf2.c: Likewise.
19658         * soft-fp/lesf2.c: Likewise.
19659         * soft-fp/letf2.c: Likewise.
19660         * soft-fp/muldf3.c: Likewise.
19661         * soft-fp/mulsf3.c: Likewise.
19662         * soft-fp/multf3.c: Likewise.
19663         * soft-fp/negdf2.c: Likewise.
19664         * soft-fp/negsf2.c: Likewise.
19665         * soft-fp/negtf2.c: Likewise.
19666         * soft-fp/op-1.h: Likewise.
19667         * soft-fp/op-2.h: Likewise.
19668         * soft-fp/op-4.h: Likewise.
19669         * soft-fp/op-8.h: Likewise.
19670         * soft-fp/op-common.h: Likewise.
19671         * soft-fp/quad.h: Likewise.
19672         * soft-fp/single.h: Likewise.
19673         * soft-fp/soft-fp.h: Likewise.
19674         * soft-fp/sqrtdf2.c: Likewise.
19675         * soft-fp/sqrtsf2.c: Likewise.
19676         * soft-fp/sqrttf2.c: Likewise.
19677         * soft-fp/subdf3.c: Likewise.
19678         * soft-fp/subsf3.c: Likewise.
19679         * soft-fp/subtf3.c: Likewise.
19680         * soft-fp/truncdfsf2.c: Likewise.
19681         * soft-fp/trunctfdf2.c: Likewise.
19682         * soft-fp/trunctfsf2.c: Likewise.
19683         * soft-fp/trunctfxf2.c: Likewise.
19684         * soft-fp/unorddf2.c: Likewise.
19685         * soft-fp/unordsf2.c: Likewise.
19686         * soft-fp/unordtf2.c: Likewise.
19687
19688 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
19689
19690         [BZ #15672]
19691         * misc/error.c (error_tail): Fix possible buffer overflow.
19692
19693 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
19694
19695         [BZ #13028]
19696         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19697         address.
19698
19699 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19700
19701         [BZ #832]
19702         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19703         testing pipefail option.
19704
19705 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19706
19707         * soft-fp/double.h: Indent preprocessor directives inside #if.
19708         * soft-fp/extended.h: Likewise.
19709         * soft-fp/op-2.h: Likewise.
19710         * soft-fp/op-4.h: Likewise.
19711         * soft-fp/op-common.h: Likewise.
19712         * soft-fp/quad.h: Likewise.
19713         * soft-fp/single.h: Likewise.
19714         * soft-fp/soft-fp.h: Likewise.
19715
19716 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19717
19718         * iconv/iconv_prog.c: Fix typos.
19719         * stdio-common/psiginfo-data.h: Likewise.
19720
19721 2013-10-12   Reuben Thomas <rrt@sc3d.org>
19722
19723         [BZ #15764]
19724         * locale/setlocale.c: Fix typo.
19725
19726 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19727
19728         [BZ #16036]
19729         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19730         signaling NaN arguments.
19731         * soft-fp/unordsf2.c (__unordsf2): Likewise.
19732         * soft-fp/unordtf2.c (__unordtf2): Likewise.
19733
19734         [BZ #14910]
19735         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19736         unordered operands.
19737         * soft-fp/gesf2.c (__gesf2): Likewise.
19738         * soft-fp/getf2.c (__getf2): Likewise.
19739         * soft-fp/ledf2.c (__ledf2): Likewise.
19740         * soft-fp/lesf2.c (__lesf2): Likewise.
19741         * soft-fp/letf2.c (__letf2): Likewise.
19742
19743         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19744         * soft-fp/eqsf2.c (__eqsf2): Likewise.
19745         * soft-fp/eqtf2.c (__eqtf2): Likewise.
19746         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19747         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19748         * soft-fp/fixdfti.c (__fixdfti): Likewise.
19749         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19750         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19751         * soft-fp/fixsfti.c (__fixsfti): Likewise.
19752         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19753         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19754         * soft-fp/fixtfti.c (__fixtfti): Likewise.
19755         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19756         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19757         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19758         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19759         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19760         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19761         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19762         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19763         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19764         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19765         * soft-fp/floatdisf.c (__floatdisf): Likewise.
19766         * soft-fp/floatsisf.c (__floatsisf): Likewise.
19767         * soft-fp/floattidf.c (__floattidf): Likewise.
19768         * soft-fp/floattisf.c (__floattisf): Likewise.
19769         * soft-fp/floattitf.c (__floattitf): Likewise.
19770         * soft-fp/floatundidf.c (__floatundidf): Likewise.
19771         * soft-fp/floatundisf.c (__floatundisf): Likewise.
19772         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19773         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19774         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19775         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19776         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19777         * soft-fp/gesf2.c (__gesf2): Likewise.
19778         * soft-fp/getf2.c (__getf2): Likewise.
19779         * soft-fp/ledf2.c (__ledf2): Likewise.
19780         * soft-fp/lesf2.c (__lesf2): Likewise.
19781         * soft-fp/letf2.c (__letf2): Likewise.
19782
19783         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19784         Undefine and redefine.
19785         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19786         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19787         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19788         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19789         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19790         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19791         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19792         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19793         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19794         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19795         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19796         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19797         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19798         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19799         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19800
19801         [BZ #16032]
19802         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19803         without decrementing exponent if mantissa >= that for the
19804         denominator, not >.
19805         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19806         denominator, not >.  Decrement exponent in < case instead of
19807         incrementing in >= case.
19808         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19809         without decrementing exponent if mantissa >= that for the
19810         denominator, not >.
19811
19812         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19813         computing saturated result for unsigned overflow.
19814
19815 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19816             Jeff Law  <law@redhat.com>
19817
19818         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19819         (atan2Mp): Add systemtap probe marker.
19820         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19821         (__ieee754_log): Add systemtap probe marker.
19822         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19823         (atanMp): Add systemtap probe marker.
19824         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19825         (tanMp): Add systemtap probe marker.
19826         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19827         (__slowexp): Add systemtap probe marker.
19828         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19829         (__slowpow): Add systemtap probe marker.
19830         * manual/probes.texi: Document probes.
19831
19832 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
19833
19834         [BZ #15362]
19835         * libio/fileops.c (_IO_new_file_write): Return count of bytes
19836         written.
19837         (_IO_new_file_xsputn): Don't return EOF if nothing has been
19838         written.
19839         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19840         written to buffer but not flushed.
19841         * libio/iofwrite_u.c:  Likewise.
19842         * libio/iopadn.c:  Return bytes returned even if EOF was
19843         encountered.
19844         * libio/iowpadn.c:  Likewise.
19845         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19846         if _IO_padn does not write the whole buffer.
19847         [!COMPILE_WPRINTF] (PAD): Likewise.
19848
19849 2013-10-10  David S. Miller  <davem@davemloft.net>
19850
19851         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19852         directory block.
19853
19854 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19855
19856         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
19857         instead of FSF address.
19858         * soft-fp/fixdfti.c: Likewise.
19859         * soft-fp/fixsfti.c: Likewise.
19860         * soft-fp/fixtfti.c: Likewise.
19861         * soft-fp/fixunsdfti.c: Likewise.
19862         * soft-fp/fixunssfti.c: Likewise.
19863         * soft-fp/fixunstfti.c: Likewise.
19864         * soft-fp/floattidf.c: Likewise.
19865         * soft-fp/floattisf.c: Likewise.
19866         * soft-fp/floattitf.c: Likewise.
19867         * soft-fp/floatuntidf.c: Likewise.
19868         * soft-fp/floatuntisf.c: Likewise.
19869         * soft-fp/floatuntitf.c: Likewise.
19870         * soft-fp/trunctfxf2.c: Likewise.
19871
19872         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
19873         * soft-fp/fixdfti.c: Likewise.
19874         * soft-fp/fixsfti.c: Likewise.
19875         * soft-fp/fixtfti.c: Likewise.
19876         * soft-fp/fixunsdfti.c: Likewise.
19877         * soft-fp/fixunssfti.c: Likewise.
19878         * soft-fp/fixunstfti.c: Likewise.
19879         * soft-fp/floattidf.c: Likewise.
19880         * soft-fp/floattisf.c: Likewise.
19881         * soft-fp/floattitf.c: Likewise.
19882         * soft-fp/floatuntidf.c: Likewise.
19883         * soft-fp/floatuntisf.c: Likewise.
19884         * soft-fp/floatuntitf.c: Likewise.
19885         * soft-fp/trunctfxf2.c: Likewise.
19886
19887 2013-10-10  David S. Miller  <davem@davemloft.net>
19888
19889         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19890
19891 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
19892
19893         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19894         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19895         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19896         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19897         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19898         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19899         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19900
19901         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19902         for NaNs before doing comparisons on argument.
19903         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19904         Likewise.
19905
19906 2013-10-10  Will Newton  <will.newton@linaro.org>
19907
19908         * malloc/hooks.c (memalign_check): Ensure the value of bytes
19909         passed to _int_memalign does not overflow.
19910
19911 2013-10-10  Torvald Riegel  <triegel@redhat.com>
19912
19913         * scripts/bench.pl: Add include-sources directive.
19914         * benchtests/README: Update documentation.
19915
19916 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19917
19918         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19919         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19920         instead of FP_INIT_ROUNDMODE.
19921         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19922         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19923
19924         [BZ #16034]
19925         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
19926         copy class of input value.
19927         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
19928         not handle exceptions.
19929         * soft-fp/negsf2.c (__negsf2): Likewise.
19930         * soft-fp/negtf2.c (__negtf2): Likewise.
19931         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19932
19933 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
19934
19935         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19936         semicolon.  From Linux kernel.
19937
19938 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
19939
19940         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19941
19942 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
19943
19944         [BZ #156]
19945         * manual/socket.texi: Added statement about buffer
19946         for gethostbyname2_r.
19947
19948 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
19949
19950         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19951         Use .p2align directive instead, throughout.
19952         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19953         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19954         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19955         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19956         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19957         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19958         * sysdeps/x86_64/strchr.S: Likewise.
19959         * sysdeps/x86_64/strrchr.S: Likewise.
19960
19961 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19962
19963         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19964
19965         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19966
19967         * sysdeps/generic/math_private.h (__mpsin1): Remove
19968         declaration.
19969         (__mpcos1): Likewise.
19970         (__mpsin): New argument __range_reduce.
19971         (__mpcos): Likewise.
19972         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19973         (slow): Use __mpsin and __mpcos.
19974         (slow1): Likewise.
19975         (slow2): Likewise.
19976         (sloww): Likewise.
19977         (sloww1): Likewise.
19978         (sloww2): Likewise.
19979         (bsloww): Likewise.
19980         (bsloww1): Likewise.
19981         (bsloww2): Likewise.
19982         (cslow2): Likewise.
19983         (csloww): Likewise.
19984         (csloww1): Likewise.
19985         (csloww2): Likewise.
19986         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19987         range_reduce.  Merge in __mpsin1.
19988         (__mpcos): Likewise.
19989         (__mpsin1): Remove.
19990         (__mpcos1): Likewise.
19991
19992 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
19993
19994         * locale/loadlocale.c (_nl_intern_locale_data): Use
19995         LOCFILE_ALIGNED_P.
19996         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19997         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19998         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19999         obstack data is appropriately aligned.
20000         (obstack_int32_grow_fast): Likewise.
20001         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20002         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20003         (add_locale_uint32_array): Likewise.
20004
20005 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20006
20007         * benchtests/Makefile: Remove ARGLIST and RET variables.
20008         ($(objpfx)bench-%.c): Pass only function name to the script.
20009         * benchtests/README: Update documentation.
20010         * benchtests/acos-inputs: Add new directives.
20011         * benchtests/acosh-inputs: Likewise.
20012         * benchtests/asin-inputs: Likewise.
20013         * benchtests/asinh-inputs: Likewise.
20014         * benchtests/atan-inputs: Likewise.
20015         * benchtests/atanh-inputs: Likewise.
20016         * benchtests/cos-inputs: Likewise.
20017         * benchtests/cosh-inputs: Likewise.
20018         * benchtests/exp-inputs: Likewise.
20019         * benchtests/log-inputs: Likewise.
20020         * benchtests/pow-inputs: Likewise.
20021         * benchtests/rint-inputs: Likewise.
20022         * benchtests/sin-inputs: Likewise.
20023         * benchtests/sinh-inputs: Likewise.
20024         * benchtests/tan-inputs: Likewise.
20025         * benchtests/tanh-inputs: Likewise.
20026         * scripts/bench.pl: Add support for new directives.
20027
20028 2013-10-07  Alan Modra  <amodra@gmail.com>
20029
20030         * README: Fix careless merge.
20031
20032 2013-10-05  Alan Modra  <amodra@gmail.com>
20033
20034         * NEWS: Mention powerpc64le support and bugs fixed.
20035         * README: Both big-endian and little-endian powerpc64 supported.
20036
20037 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20038
20039         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20040         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20041         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20042         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20043
20044 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20045
20046         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20047         match prototype.
20048
20049 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20050
20051         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20052         Move -mhard-float appending from
20053         ports/sysdeps/powerpc/powerpc32/Makefile.
20054         [$(with-fp) = yes] (ASFLAGS): Likewise.
20055         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20056         * sysdeps/powerpc/nofpu: Move directory from
20057         ports/sysdeps/powerpc/nofpu.
20058         * sysdeps/powerpc/soft-fp: Move directory from
20059         ports/sysdeps/powerpc/soft-fp.
20060         * sysdeps/powerpc/powerpc32/405: Move directory from
20061         ports/sysdeps/powerpc/powerpc32/405.
20062         * sysdeps/powerpc/powerpc32/440: Move directory from
20063         ports/sysdeps/powerpc/powerpc32/440.
20064         * sysdeps/powerpc/powerpc32/464: Move directory from
20065         ports/sysdeps/powerpc/powerpc32/464.
20066         * sysdeps/powerpc/powerpc32/476: Move directory from
20067         ports/sysdeps/powerpc/powerpc32/476.
20068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20069         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20071         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20073         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20075         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20077         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20078         * README: Update for powerpc-*-linux-gnu software floating point
20079         support in libc.
20080
20081         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20082         case to powerpc/powerpc32*.
20083         * sysdeps/unix/sysv/linux/configure: Regenerated.
20084
20085         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20086         (_FPU_MASK_OM): Define as 0x04.
20087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20088         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20089         0x00c10080.
20090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20091         0x0000003c.
20092         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20093
20094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20095         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20096         getcontext_e500.
20097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20098         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20099         setcontext_e500.
20100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20101         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20102         and setcontext_e500.
20103
20104 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20105
20106         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20107
20108 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20109
20110         * manual/threads.texi (Default Thread Attributes): Fix typo.
20111
20112 2013-10-04  Will Newton  <will.newton@linaro.org>
20113
20114         * malloc/Makefile: Add tst-memalign.
20115         * malloc/tst-memalign.c: New file.
20116
20117         * malloc/tst-posix_memalign.c: Add comments.
20118         (do_test): Add comments and call free on all potentially
20119         allocated pointers. Add space after cast.
20120
20121         * malloc/tst-pvalloc.c: Add comments.
20122         (do_test): Add comments and call free on all potentially
20123         allocated pointers. Remove duplicate check for NULL pointer.
20124         Add space after cast.
20125
20126         * malloc/tst-valloc.c: Add comments.
20127         (do_test): Add comments and call free on all potentially
20128         allocated pointers. Remove duplicate check for NULL pointer.
20129         Add space after cast.
20130
20131 2013-10-04  Alan Modra  <amodra@gmail.com>
20132
20133         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20134         Use stdint types in rather than __attribute__((mode())).
20135         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20136
20137 2013-10-04  Alan Modra  <amodra@gmail.com>
20138
20139         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20140         Correct handling of unaligned relocs for little-endian.
20141         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20142
20143 2013-10-04  Alan Modra  <amodra@gmail.com>
20144
20145         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20146         * configure: Regenerate.
20147         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20148         * shlib-versions: Likewise.
20149
20150 2013-10-04  Alan Modra  <amodra@gmail.com>
20151
20152         * string/tester.c (test_memrchr): Increment reported test cycle.
20153
20154 2013-10-04  Alan Modra  <amodra@gmail.com>
20155
20156         * string/test-memcpy.c (do_one_test): When reporting errors, print
20157         string address and don't overrun end of string.
20158
20159 2013-10-04  Alan Modra  <amodra@gmail.com>
20160
20161         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20162         insrdi.  Make better use of reg selection to speed exit slightly.
20163         Schedule entry path a little better.  Remove useless "are we done"
20164         checks on entry to main loop.  Handle wrapping around zero address.
20165         Correct main loop count.  Handle single left-over word from main
20166         loop inline rather than by using loop_small.  Remove extra word
20167         case in loop_small caused by wrong loop count.  Add little-endian
20168         support.
20169         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20170         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20171         cache hint.
20172         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20173         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20174         support.  Avoid rlwimi.
20175         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20176
20177 2013-10-04  Alan Modra  <amodra@gmail.com>
20178
20179         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20180         insrdi.  Formatting.
20181         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20182         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20183         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
20184         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
20185         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20186         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
20187
20188 2013-10-04  Alan Modra  <amodra@gmail.com>
20189
20190         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
20191         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20192         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
20193         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
20194         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20195         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20196         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20197         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
20198         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
20199         use of regs.  Use power7 mtocrf.  Tidy function tails.
20200
20201 2013-10-04  Alan Modra  <amodra@gmail.com>
20202
20203         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
20204         Formatting.  Consistently use rXXX register defines or rN defines.
20205         Use early exit labels that avoid restoring unused non-volatile regs.
20206         Make cr field use more consistent with rWORDn compares.  Rename
20207         regs used as shift registers for unaligned loop, using rN defines
20208         for short lifetime/multiple use regs.
20209         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20210         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
20211         addi 1,1,64 to pop stack frame.  Simplify return value code.
20212         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20213
20214 2013-10-04  Alan Modra  <amodra@gmail.com>
20215
20216         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
20217         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
20218         rather than rlwimi.
20219         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
20220         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
20221         little-endian support.  Correct typos.
20222         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
20223         rather than rlwimi.
20224         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
20225         in loop and entry code to keep "and." results.
20226         (strchr): Add little-endian support.  Comment.  Move cntlzd
20227         earlier in tail.
20228         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
20229
20230 2013-10-04  Alan Modra  <amodra@gmail.com>
20231
20232         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
20233         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
20234         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
20235         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
20236
20237 2013-10-04  Alan Modra  <amodra@gmail.com>
20238
20239         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
20240         (rTMP): Define as r11.
20241         (strcmp): Add little-endian support.  Optimise tail.
20242         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
20243         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20244         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20245         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20246         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20247         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20248         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20249
20250 2013-10-04  Alan Modra  <amodra@gmail.com>
20251
20252         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
20253         little-endian support.  Remove unnecessary "are we done" tests.
20254         Handle "s" wrapping around zero and extremely large "size".
20255         Correct main loop count.  Handle single left-over word from main
20256         loop inline rather than by using small_loop.  Correct comments.
20257         Delete "zero" tail, use "end_max" instead.
20258         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
20259
20260 2013-10-04  Alan Modra  <amodra@gmail.com>
20261
20262         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
20263         support.  Don't branch over align.
20264         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
20265         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
20266         support.  Rearrange tmp reg use to suit.  Comment.
20267         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
20268
20269 2013-10-04  Alan Modra  <amodra@gmail.com>
20270
20271         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
20272
20273 2013-10-04  Alan Modra  <amodra@gmail.com>
20274
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
20276         conditional form of branch and link when obtaining pc.
20277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
20278
20279 2013-10-04  Alan Modra  <amodra@gmail.com>
20280
20281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
20282         HIWORD/LOWORD.
20283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
20284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
20285
20286 2013-10-04  Alan Modra  <amodra@gmail.com>
20287
20288         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
20289         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
20290         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20291         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
20292         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20293         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20294         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
20295         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20296         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20297         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
20298
20299 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20300             Alistair Popple <alistair@ozlabs.au.ibm.com>
20301             Alan Modra <amodra@gmail.com>
20302
20303         [BZ #15723]
20304         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
20305         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
20306         _dl_hwcap access for little-endian.
20307         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
20308         destroy vmx regs when saving unaligned.
20309         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
20310         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
20311         destroy vmx regs when saving unaligned.
20312
20313 2013-10-04  Alan Modra  <amodra@gmail.com>
20314
20315         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
20316         Don't use a union to pack hi/low value.
20317
20318 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20319
20320         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
20321         for little-endian.
20322         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
20323         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
20324         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20325         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
20326         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
20327
20328 2013-10-04  Alan Modra  <amodra@gmail.com>
20329
20330         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
20331         constants to usual value for .cst8 section, and remove redundant
20332         high address load.
20333         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
20334         constant for 0x1p52.  Load little-endian words of double from
20335         correct stack offsets.
20336
20337 2013-10-04  Alan Modra  <amodra@gmail.com>
20338
20339         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
20340         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
20341         words of double from correct stack offsets.
20342         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20343         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
20344         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
20345         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
20346         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
20347         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
20348         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
20349         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20350         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20351         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
20352         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
20353         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
20354         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20355         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20356         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20357         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
20358         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20359
20360 2013-10-04  Alan Modra  <amodra@gmail.com>
20361
20362         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
20363         64-bit int/double union.
20364         (_FPU_SETCW): Likewise.
20365         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
20366         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
20367
20368 2013-10-04  Alan Modra  <amodra@gmail.com>
20369
20370         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
20371         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
20372
20373 2013-10-04  Alan Modra  <amodra@gmail.com>
20374
20375         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
20376         use vector int constants.
20377         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
20378
20379 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20380
20381         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
20382         array with long long.
20383         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
20384         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
20385         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
20386         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
20387         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
20388         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
20389         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
20390         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
20391         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
20392         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
20393         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
20394         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
20395         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
20396
20397 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
20398
20399         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
20400         (__signbit): Likewise.  Correct for little-endian.
20401         (__signbitl): Call __signbit.
20402         (lrint): Correct for little-endian.
20403         (lrintf): Call lrint.
20404
20405 2013-10-04  Alan Modra  <amodra@gmail.com>
20406
20407         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
20408         union 32-bit int array member with 64-bit int array.
20409         (t515, tm256): Double rather than long double.
20410         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
20411
20412 2013-10-04  Alan Modra  <amodra@gmail.com>
20413
20414         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
20415         Delete.
20416         (IEEE854_LONG_DOUBLE_BIAS): Delete.
20417         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
20418         version of math_ldbl.h.
20419
20420 2013-10-04  Alan Modra  <amodra@gmail.com>
20421
20422         [BZ #15734], [BZ #15735]
20423         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
20424         all uses of ieee875 long double macros and unions.  Simplify test
20425         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
20426         ldbl_extract_mantissa value for ix,iy exponents.  Properly
20427         normalize after ldbl_extract_mantissa, and don't add hidden bit
20428         already handled.  Don't treat low word of ieee854 mantissa like
20429         low word of IBM long double and mask off bit when testing for
20430         zero.
20431         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
20432         all uses of ieee875 long double macros and unions.  Simplify tests
20433         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
20434         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
20435         two1022, instead use their values.  Recognise that tests for large
20436         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
20437         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
20438         Rewrite all uses of ieee875 long double macros and unions.  Simplify
20439         test for 0.0L and nan.  Correct negation.
20440         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
20441         ieee875 long double macros and unions.  Correct output for large
20442         magnitude x.  Correct absolute value calculation.
20443         (__erfcl): Likewise.
20444         * math/libm-test.inc: Add tests for errors discovered in IBM long
20445         double versions of fmodl, remainderl, erfl and erfcl.
20446
20447 2013-10-04  Alan Modra  <amodra@gmail.com>
20448
20449         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
20450         all uses of ieee854 long double macros and unions.  Simplify tests
20451         for long doubles that are fully specified by the high double.
20452         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20453         Likewise.
20454         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
20455         Remove dead code too.
20456         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20457         (__ieee754_ynl): Likewise.
20458         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
20459         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
20460         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
20461         Remove dead code too.
20462         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20463         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
20464         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20465         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
20466         Simplify.
20467         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
20468         Simplify.
20469         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
20470         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
20471         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
20472         Comment on variable precision.
20473         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
20474         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20475         Likewise.
20476         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
20477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
20478         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
20479         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20480         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
20481
20482 2013-10-04  Alan Modra  <amodra@gmail.com>
20483
20484         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
20485         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
20486         all uses of ieee854 long double macros and unions.
20487         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
20488         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
20489         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
20490         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
20491         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
20492         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20493         Likewise.
20494         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
20495         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20496         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
20497         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20498         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20499         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20500         Simplify sign and nan test too.
20501         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
20502         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
20503         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
20504         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
20505         Likewise.
20506         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20507         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
20508         Likewise.
20509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20510         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20511         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
20512         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
20513         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
20514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
20515
20516 2013-10-04  Alan Modra  <amodra@gmail.com>
20517
20518         * stdio-common/printf_size.c (__printf_size): Don't use
20519         union ieee854_long_double in fpnum union.
20520         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
20521         signbit macro to retrieve sign from long double.
20522         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
20523         retrieve sign from long double.
20524         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
20525         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
20526         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
20527         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
20528         * math/test-misc.c (main): Don't use union ieee854_long_double.
20529
20530 2013-10-04  Alan Modra  <amodra@gmail.com>
20531
20532         [BZ #15680]
20533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
20534         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
20535         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
20536         calculation.  Remove unnecessary test for denormal exponent.
20537         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
20538         Correct handling of denormals.  Avoid undefined shift behaviour.
20539         Correct normalisation of low mantissa when low double is denormal.
20540         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
20541         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
20542         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
20543         Correct normalisation of low mantissa.  Test for overflow of high
20544         mantissa and normalise.
20545         (ldbl_nearbyint): Use more readable constant for two52.
20546         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
20547         (__mpn_construct_long_double): Fix test for overflow of high
20548         mantissa and correct normalisation.  Avoid undefined shift.
20549
20550 2013-10-04  Alan Modra  <amodra@gmail.com>
20551
20552         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20553         (union ibm_extended_long_double): Define as an array of ieee754_double.
20554         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
20555         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
20556         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
20557         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
20558         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20559         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
20560         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20561         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
20562         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20563         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
20564         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20565
20566 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
20567
20568         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
20569         page size instead of calling getpagesize.
20570
20571         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
20572         (LOCFILE_ALIGN_MASK): Likewise.
20573         (LOCFILE_ALIGN_UP): Likewise.
20574         (LOCFILE_ALIGNED_P): Likewise.
20575         * locale/programs/ld-collate.c (collate_output): Use the new
20576         macros instead of __alignof__ (int32_t).
20577         * locale/weight.h (findidx): Likewise.
20578
20579 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
20580
20581         [BZ #431]
20582         * manual/string.texi: Fix strncat and wcsncat.
20583
20584 2013-10-03  Brooks Moses  <bmoses@google.com>
20585
20586         [BZ #15915]
20587         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
20588         * Makerules: ...here, and adjust associated comments.
20589
20590 2013-10-02  Will Newton  <will.newton@linaro.org>
20591
20592         * malloc/Makefile: Add tst-pvalloc.
20593         * malloc/tst-pvalloc.c: New file.
20594
20595 2013-10-02  Will Newton  <will.newton@linaro.org>
20596
20597         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
20598         improve test coverage.
20599
20600 2013-10-02  Will Newton  <will.newton@linaro.org>
20601
20602         * malloc/Makefile: Add tst-posix_memalign.
20603         * malloc/tst-posix_memalign.c: New file.
20604
20605 2013-10-01  Eric Blake  <eblake@redhat.com>
20606
20607         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
20608         Use __THROWNL rather than __THROW on static functions.
20609
20610 2013-09-30  Petr Machata  <pmachata@redhat.com>
20611
20612         * elf/elf.h (R_AARCH64_ABS16): New macro.
20613         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20614         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20615         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20616         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20617         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20618         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20619         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20620         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20621         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20622         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20623         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20624         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20625         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20626         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20627         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20628         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20629         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20630         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20631         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20632         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20633         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20634         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20635         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20636         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20637         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20638         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20639         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20640         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20641         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20642         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20643         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20644         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20645         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20646         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20647         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20648         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20649         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20650         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20651         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20652         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20653         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20654         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20655         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20656         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20657         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20658         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20659         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20660         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20661         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20662         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20663         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20664         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20665         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20666         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20667         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20668         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20669         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20670         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20671         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20672         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20673         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20674         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20675         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20676         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20677         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20678         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20679         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20680         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20681         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20682         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20683         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20684         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20685         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20686         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20687         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20688         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20689         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20690         (R_AARCH64_TLSDESC_LDR): Likewise.
20691         (R_AARCH64_TLSDESC_ADD): Likewise.
20692         (R_AARCH64_TLSDESC_CALL): Likewise.
20693
20694 2013-09-30  Andreas Schwab  <schwab@suse.de>
20695
20696         [BZ #15048]
20697         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20698         the nss database lookup.
20699         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20701
20702 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20703
20704         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20705
20706 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20707
20708         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20709         ${Bash-specific parameter/pattern/string} parameter expansion.
20710         * sysdeps/unix/make-syscalls.sh: Likewise.
20711
20712 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20713
20714         * sysdeps/sh/stackguard-macros.h: New file.
20715
20716 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20717
20718         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20720         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20721         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20722         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20723         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20724
20725 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20726
20727         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20728         Fix thread ID register.
20729
20730 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
20731
20732         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20733         [POSIX || UNIX98]: Require rather than permitting all symbols from
20734         <time.h>.
20735         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20736         element of struct sched_param.
20737         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20738         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20739         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20740         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20741         constant.
20742
20743 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
20744
20745         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20746         argument calculation.
20747
20748 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20749
20750         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20751         Expect macro.
20752         [POSIX] (pthread_attr_t): Do not require type.
20753         [POSIX] (pthread_cond_t): Likewise.
20754         [POSIX] (pthread_condattr_t): Likewise.
20755         [POSIX] (pthread_key_t): Likewise.
20756         [POSIX] (pthread_mutex_t): Likewise.
20757         [POSIX] (pthread_mutexattr_t): Likewise.
20758         [POSIX] (pthread_once_t): Likewise.
20759         [POSIX] (pthread_t): Likewise.
20760         [POSIX-based standards] (pthread_atfork): Expect function.
20761
20762 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20763             Richard Sandiford  <richard@codesourcery.com>
20764
20765         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20766         (swap_endianness_p): New extern variable.
20767         (set_big_endian): New inline function.
20768         (maybe_swap_uint32): Likewise.
20769         (maybe_swap_uint32_array): Likewise.
20770         (maybe_swap_uint32_obstack): Likewise.
20771         * locale/programs/locfile.c: Include <stdbool.h>.
20772         (swap_endianness_p): New variable.
20773         (add_locale_uint32): Call maybe_swap_uint32.
20774         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20775         (write_locale_data): Call maybe_swap_uint32_array.
20776         * locale/programs/ld-collate.c (obstack_int32_grow): Call
20777         maybe_swap_uint32.
20778         (obstack_int32_grow_fast): Likewise.
20779         (output_weightwc): Call maybe_swap_uint32_obstack.
20780         (collate_output): Likewise.
20781         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20782         (OPT_LITTLE_ENDIAN): Likewise.
20783         (options): Add --little-endian and --big-endian options.
20784         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20785         * locale/programs/locarchive.c: Include "locfile.h".
20786         (GET): New macro.
20787         (SET): Likewise.
20788         (INC): Likewise.
20789         (create_archive): Use the new macros to access fields of
20790         structures directly mapped from or written to locale archives.
20791         (oldlocrecentcmp): Likewise.
20792         (enlarge_archive): Likewise.
20793         (insert_name): Likewise.
20794         (add_alias): Likewise.
20795         (add_locale): Likewise.
20796         (delete_locales_from_archive): Likewise.
20797         (show_archive_content): Likewise.
20798         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
20799         locale data.
20800
20801 2013-09-24  Roland McGrath  <roland@hack.frob.com>
20802
20803         * manual/freemanuals.texi: Updated from (newly) canonical copy at
20804         http://www.gnu.org/doc/freemanuals.texi.
20805         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20806
20807 2013-09-24  Will Newton  <will.newton@linaro.org>
20808
20809         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20810         macro.
20811
20812 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
20813
20814         * locale/hashval.h (compute_hashval): Interpret bytes of key as
20815         unsigned char.
20816
20817 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
20818
20819         * manual/threads.texi (POSIX Threads): Fix a typo.
20820
20821 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20822
20823         [BZ #14547]
20824         * string/tst-strcoll-overflow.c: New test case.
20825         * string/Makefile (xtests): Add tst-strcoll-overflow.
20826         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20827         cache if string sizes may cause integer overflow.
20828
20829         [BZ #14547]
20830         * string/strcoll_l.c (coll_seq): New members rule, idx,
20831         save_idx and back_us.
20832         (get_next_seq_nocache): New function.
20833         (do_compare_nocache): New function.
20834         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20835         when malloc fails.
20836
20837 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
20838
20839         [BZ #15754]
20840         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20841         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20842         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20843
20844         [BZ #15754]
20845         * elf/Makefile (tests): Add tst-ptrguard1.
20846         (tests-static): Add tst-ptrguard1-static.
20847         (tst-ptrguard1-ARGS): Define.
20848         (tst-ptrguard1-static-ARGS): Define.
20849         * elf/tst-ptrguard1.c: New file.
20850         * elf/tst-ptrguard1-static.c: New file.
20851         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20852         * sysdeps/i386/stackguard-macros.h: Likewise.
20853         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20854         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20855         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20856         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20857         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20858         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20859
20860 2013-09-23  Hector Marco  <hecmargi@upv.es>
20861             Ismael Ripoll  <iripoll@disca.upv.es>
20862             Carlos O'Donell  <carlos@redhat.com>
20863
20864         [BZ #15754]
20865         * sysdeps/generic/stackguard-macros.h: Define
20866         __pointer_chk_guard_local and POINTER_CHK_GUARD.
20867         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20868         Define __pointer_chk_guard_local.
20869         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20870         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20871
20872 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
20873
20874         [BZ #15859]
20875         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20876
20877 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
20878
20879         * include/string.h (__ffs): Declare as hidden.
20880         * string/ffs.c (__ffs): Define as hidden.
20881         * sysdeps/i386/ffs.c (__ffs): Likewise.
20882         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20883         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20884         * sysdeps/s390/ffs.c (__ffs): Likewise.
20885         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20886
20887 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
20888
20889         * NEWS: Mention malloc probes.
20890
20891         * malloc/arena.c (new_heap): New memory_heap_new probe.
20892         (grow_heap): New memory_heap_more probe.
20893         (shrink_heap): New memory_heap_less probe.
20894         (heap_trim): New memory_heap_free probe.
20895         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20896         (systrim): New memory_sbrk_less probe.
20897         * manual/probes.texi: Document them.
20898
20899         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20900         * manual/probes.texi: Document it.
20901
20902         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20903         (__libc_realloc): Add memory_realloc_retry probe.
20904         (__libc_memalign): Add memory_memalign_retry probe.
20905         (__libc_valloc): Add memory_valloc_retry probe.
20906         (__libc_pvalloc): Add memory_pvalloc_retry probe.
20907         (__libc_calloc): Add memory_calloc_retry probe.
20908         * manual/probes.texi: Document them.
20909
20910         * malloc/arena.c (get_free_list): Add probe
20911         memory_arena_reuse_free_list.
20912         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20913         and memory_arena_reuse.
20914         (arena_get2) [!PER_THREAD]: Likewise.
20915         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20916         memory_arena_reuse_realloc.
20917         * manual/probes.texi: Document them.
20918
20919         * malloc/malloc.c (__libc_free): Add
20920         memory_mallopt_free_dyn_thresholds probe.
20921         (__libc_mallopt): Add multiple memory_mallopt probes.
20922         * manual/probes.texi: Document them.
20923
20924         * malloc/malloc.c: Include stap-probe.h.
20925         (__libc_mallopt): Add memory_mallopt probe.
20926         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20927         * manual/probes.texi: New.
20928         * manual/Makefile (chapters): Add probes.
20929         * manual/threads.texi: Set next node.
20930
20931 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
20932
20933         [BZ #15963, #13985]
20934         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20935         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20936         Add `Chinese' to `nan' entry name.
20937
20938 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20939
20940         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20941         (POLYNOMIAL): Likewise.
20942         (TAYLOR_SINCOS): Likewise.
20943         (TAYLOR_SLOW): Likewise.
20944         (__sin): Use TAYLOR_SINCOS.
20945         (__cos): Likewise.
20946         (slow): Use TAYLOR_SLOW.
20947         (sloww): Likewise.
20948         (bsloww): Likewise.
20949         (csloww): Likewise.
20950
20951 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20952
20953         * stdlib/strtod_l.c: Fix buffer overrun.
20954
20955 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20956
20957         * benchtests/Makefile (bench): Add sincos.
20958         * benchtests/bench-sincos.c: New file.
20959
20960         * math/libm-test.inc (cos_test_data): New test inputs.
20961         (sin_test_data): Likewise.
20962
20963         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20964         macro.
20965         (__sin): Use it.
20966         (__cos): Likewise.
20967         (slow1): Likewise.
20968         (slow2): Likewise.
20969         (sloww1): Likewise.
20970         (sloww2): Likewise.
20971         (bsloww1): Likewise.
20972         (bsloww2): Likewise.
20973         (cslow2): Likewise.
20974         (csloww1): Likewise.
20975         (csloww2): Likewise.
20976
20977         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20978         function.
20979         (__sin): Use it.
20980         (__cos): Likewise.
20981
20982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20983         gotos.
20984         (__cos): Likewise.
20985
20986 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
20987
20988         * config.h.in (HAVE_MIPS_NAN2008): New macro.
20989         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20990         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20991         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20992         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20993         * elf/cache.c (print_entry): Handle the new cache flags.
20994
20995 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20996             Aldy Hernandez  <aldyh@redhat.com>
20997
20998         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20999         Change condition to [_SOFT_FLOAT].
21000         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21001         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21002         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21003         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21006         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21012         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21015         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21016         declaration.
21017
21018 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21019
21020         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21021         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21022         (__longjmp): Use LOAD_GP to load saved GPRs.
21023         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21024         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21025         (__sigsetjmp): Use SAVE_GP to save GPRs.
21026
21027         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21028         Do not append -msoft-float.
21029         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21030
21031 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21032
21033         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21034
21035 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21036
21037         [BZ #15966]
21038         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21039         (_FPU_GETCW): Use initial "__" on variable and field names but not
21040         on macro parameter name.
21041         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21042         parentheses around reference to macro parameter.
21043
21044 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21045
21046         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21047         prototype.
21048         (ctype_startup): Use uint32_t in cast and sizeof for
21049         ctype->charnames.
21050
21051 2013-09-11  Jia Liu  <proljc@gmail.com>
21052
21053         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21054         __daddr_t_defined.
21055         [__FreeBSD__]: Likewise.
21056
21057 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21058
21059         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21060         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21061         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21062         (strchr): Remove __strchr_sse42 ifunc selection.
21063         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21064         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21065
21066 2013-09-11  Will Newton  <will.newton@linaro.org>
21067
21068         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21069         parameter to RES. Remove hardcoded 1000 value.
21070         * benchtests/bench-skeleton.c (main): Pass RES parameter
21071         to TIMING_INIT and multiply result by 1000.
21072
21073 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21074
21075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21076
21077 2013-09-11  Andreas Schwab  <schwab@suse.de>
21078
21079         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21080         if not defined.
21081         (O_TMPFILE) [__USE_GNU]: Define.
21082         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21083         Define.
21084
21085 2013-09-11  Will Newton  <will.newton@linaro.org>
21086
21087         [BZ #15857]
21088         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21089         does not overflow.
21090
21091 2013-09-11  Will Newton  <will.newton@linaro.org>
21092
21093         [BZ #15856]
21094         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21095         does not overflow.
21096
21097 2013-09-11  Will Newton  <will.newton@linaro.org>
21098
21099         [BZ #15855]
21100         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21101         does not overflow.
21102
21103 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21104
21105         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21106         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21107         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21108         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21109         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21110
21111 2013-09-10  Allan McRae  <allan@archlinux.org>
21112
21113         [BZ #15748]
21114         * manual/arith.texi (Parsing of Floats): Clarify
21115         cross-reference.
21116
21117         [BZ #15849]
21118         * manual/install.texi (Running make install): Mention
21119         --enable-pt-chown.
21120         * INSTALL: Regenerated.
21121
21122 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21123
21124         * csu/init-first.c (_init): Remove the !SHARED condition around
21125         FPU control word initialization.
21126         * elf/dl-support.c (_dl_fpu_control): New variable.
21127         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21128         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21129         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21130         * math/test-fpucw-static.c: New file.
21131         * math/test-fpucw-ieee.c: New file.
21132         * math/test-fpucw-ieee-static.c: New file.
21133         * math/Makefile (tests): Add `test-fpucw-ieee' and
21134         `$(tests-static)'.
21135         (tests-static): New variable.
21136         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21137         dependency to...
21138         [($(build-shared),yes)]
21139         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21140         ... this.
21141         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21142         New dependency.
21143
21144 2013-09-09  Allan McRae  <allan@archlinux.org>
21145
21146         [BZ #15939]
21147         * manual/string.texi (Collation Functions): Fix typo in
21148         strcoll example.
21149         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21150
21151         [BZ #15893]
21152         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21153
21154         [BZ #15892]
21155         * libio/memstream.c (open_memstream): Fix memory leak.
21156         * libio/wmemstream.c (open_wmemstream): Likewise.
21157
21158         [BZ #15895]
21159         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21160
21161 2013-09-09  Will Newton  <will.newton@linaro.org>
21162
21163         * malloc/Makefile: Add tst-realloc to tests.
21164         * malloc/tst-realloc.c: New file.
21165
21166 2013-09-09  Allan McRae  <allan@archlinux.org>
21167
21168         [BZ #15844]
21169         * COPYING: Update from GNU website to fix FSF address.
21170         * COPYING.LIB: Likewise.
21171
21172 2013-09-06  David S. Miller  <davem@davemloft.net>
21173
21174         * po/zh_TW.po: Update Chinese (traditional) translation from
21175         translation project.
21176
21177 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21178             Joseph Myers  <joseph@codesourcery.com>
21179
21180         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21181         "localeinfo.h".
21182         (obstack_chunk_alloc): New macro.
21183         (obstack_chunk_free): Likewise.
21184         (record_offset): New function.
21185         (init_locale_data): Likewise.
21186         (align_locale_data): Likewise.
21187         (add_locale_empty): Likewise.
21188         (add_locale_raw_data): Likewise.
21189         (add_locale_raw_obstack): Likewise.
21190         (add_locale_string): Likewise.
21191         (add_locale_wstring): Likewise.
21192         (add_locale_uint32): Likewise.
21193         (add_locale_uint32_array): Likewise.
21194         (add_locale_char): Likewise.
21195         (start_locale_structure): Likewise.
21196         (end_locale_structure): Likewise.
21197         (start_locale_prelude): Likewise.
21198         (end_locale_prelude): Likewise.
21199         (write_locale_data): Take locale_file structure rather than an
21200         iovec.
21201         * locale/programs/locfile.h: Include "obstack.h".
21202         (struct locale_file): Change to store locale file contents instead
21203         of header.
21204         (init_locale_data): New prototype.
21205         (align_locale_data): Likewise.
21206         (add_locale_empty): Likewise.
21207         (add_locale_raw_data): Likewise.
21208         (add_locale_raw_obstack): Likewise.
21209         (add_locale_string): Likewise.
21210         (add_locale_wstring): Likewise.
21211         (add_locale_uint32): Likewise.
21212         (add_locale_uint32_array): Likewise.
21213         (add_locale_char): Likewise.
21214         (start_locale_structure): Likewise.
21215         (end_locale_structure): Likewise.
21216         (start_locale_prelude): Likewise.
21217         (end_locale_prelude): Likewise.
21218         (write_locale_data): Update prototype.
21219         * locale/programs/3level.h (struct TABLE): Remove result field.
21220         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
21221         Use new locale_file interface.
21222         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
21223         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
21224         * locale/programs/ld-address.c (address_output): Use new
21225         locale_file interface.
21226         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
21227         NO_ADD_LOCALE.
21228         (collate_finish): Don't call collseq_table_finalize.
21229         (collate_output): Use new locale_file interface.
21230         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
21231         in file.
21232         (NO_FINALIZE): Change to NO_ADD_LOCALE.
21233         (TABLE): Move defines earlier in file.
21234         (ELEMENT): Likewise.
21235         (DEFAULT): Likewise.
21236         (wctrans_table_add): Move macro and inline function earlier in
21237         file.
21238         (struct wctype_table): Move type earlier in file.
21239         (add_locale_wctype_table): New static prototype.
21240         (struct locale_ctype_t): Use logical types instead of struct iovec
21241         pointers for members.
21242         (ctype_output): Use new locale_file interface.
21243         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
21244         new locale_file interface.
21245         (allocate_arrays): Update for use of new locale_file interface.
21246         * locale/programs/ld-identification.c (identification_output): Use
21247         new locale_file interface.
21248         * locale/programs/ld-measurement.c (measurement_output): Likewise.
21249         * locale/programs/ld-messages.c (messages_output): Likewise.
21250         * locale/programs/ld-monetary.c (monetary_output): Likewise.
21251         * locale/programs/ld-name.c (name_output): Likewise.
21252         * locale/programs/ld-numeric.c (numeric_output): Likewise.
21253         * locale/programs/ld-paper.c (paper_output): Likewise.
21254         * locale/programs/ld-telephone.c (telephone_output): Likewise.
21255         * locale/programs/ld-time.c (time_output): Likewise.
21256
21257 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21258
21259         * benchtests/Makefile: Add memrchr benchmark.
21260         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
21261         benchmark as memrchr.
21262         * benchtests/bench-memrchr-ifunc.c: New file.
21263         * benchtests/bench-memrchr.c: New file.
21264
21265 2013-09-06   Will Newton  <will.newton@linaro.org>
21266
21267         * benchtests/Makefile (string-bench): Add memcpy.
21268
21269 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
21270             Cong Wang  <amwang@redhat.com>
21271
21272         [BZ #15850]
21273         * sysdeps/unix/sysv/linux/bits/in.h
21274         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
21275         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
21276         before __USE_KERNEL_IPV6_DEFS uses.
21277         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
21278         IPPROTO_BEETPH.
21279         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
21280         sockaddr_in6, or ipv6_mreq.
21281
21282 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21283
21284         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
21285         memory access for final bytes in some large inputs.
21286         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
21287
21288 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21289
21290         * string/test-memrchr.c: New file.
21291         * string/test-memrchr-ifunc.c: New file.
21292         * string/Makefile: Add new memrchr testcase.
21293
21294 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
21295
21296         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
21297         fanotify_init returns EPERM.
21298
21299 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21300
21301         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
21302         errors.
21303         (top level): Treat second token from macro or constant entries for
21304         allowed headers as allowed.
21305         * include/complex.h: Condition internal declarations on
21306         [!_ISOMAC].
21307         * include/fenv.h: Condition include of <stdbool.h> and internal
21308         declarations on [!_ISOMAC].
21309
21310 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
21311
21312         [BZ #15923]
21313         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
21314
21315 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
21316
21317         * configure.in (--enable-versioning): Remove configure option.
21318         (libc_cv_asm_symver_directive): Remove configure test.
21319         (libc_cv_ld_version_script_option): Likewise.
21320         (VERSIONING): Remove variable and AC_SUBST.
21321         (DO_VERSIONING): Remove AC_DEFINE.
21322         * configure: Regenerated.
21323         * config.h.in (DO_VERSIONING): Remove macro.
21324         * Makerules [$(versioning) = yes]: Change conditionals to
21325         [$(build-shared) = yes].
21326         * config.make.in (versioning): Remove variable.
21327         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
21328         [$(build-shared) = yes].
21329         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
21330         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
21331         * elf/Makefile [$(versioning) = yes]: Change conditionals to
21332         [$(build-shared) = yes].
21333         * extra-lib.mk [$(versioning) = yes]: Likewise.
21334         * hurd/Makefile [$(versioning) = yes]: Likewise.
21335         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
21336         [SHARED].
21337         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
21338         [SHARED].
21339         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21340         [SHARED && !NO_HIDDEN].
21341         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
21342         [SHARED].
21343         [SHARED && DO_VERSIONING]: Likewise..
21344         * libio/Makefile [$(versioning) = yes]: Change conditionals to
21345         [$(build-shared) = yes].
21346         * manual/install.texi (--disable-versioning): Remove
21347         documentation.
21348         * INSTALL: Regenerated.
21349         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
21350         to [SHARED].
21351         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
21352         [$(build-shared) = yes].
21353         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
21354         * sysdeps/i386/i686/multiarch/strstr-c.c
21355         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
21356         [SHARED && !NO_HIDDEN].
21357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
21358         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
21359         * sysdeps/powerpc/powerpc32/dl-machine.c
21360         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
21361         * sysdeps/powerpc/powerpc32/sysdep.h
21362         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
21363         to [SHARED && PIC && !NO_HIDDEN].
21364         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
21365         conditional to [SHARED].
21366
21367 2013-09-04   Will Newton  <will.newton@linaro.org>
21368
21369         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
21370         * benchtests/bench-string.h: Include bench-timing.h instead
21371         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
21372         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
21373         call to HP_TIMING_DIFF_INIT.
21374         * benchtests/bench-memccpy.c: Use bench-timing.h macros
21375         instead of hp-timing.h macros.
21376         * benchtests/bench-memchr.c: Likewise.
21377         * benchtests/bench-memcmp.c: Likewise.
21378         * benchtests/bench-memcpy.c: Likewise.
21379         * benchtests/bench-memmem.c: Likewise.
21380         * benchtests/bench-memmove.c: Likewise.
21381         * benchtests/bench-memset.c: Likewise.
21382         * benchtests/bench-rawmemchr.c: Likewise.
21383         * benchtests/bench-strcasecmp.c: Likewise.
21384         * benchtests/bench-strcasestr.c: Likewise.
21385         * benchtests/bench-strcat.c: Likewise.
21386         * benchtests/bench-strchr.c: Likewise.
21387         * benchtests/bench-strcmp.c: Likewise.
21388         * benchtests/bench-strcpy.c: Likewise.
21389         * benchtests/bench-strcpy_chk.c: Likewise.
21390         * benchtests/bench-strlen.c: Likewise.
21391         * benchtests/bench-strncasecmp.c: Likewise.
21392         * benchtests/bench-strncat.c: Likewise.
21393         * benchtests/bench-strncmp.c: Likewise.
21394         * benchtests/bench-strncpy.c: Likewise.
21395         * benchtests/bench-strnlen.c: Likewise.
21396         * benchtests/bench-strpbrk.c: Likewise.
21397         * benchtests/bench-strrchr.c: Likewise.
21398         * benchtests/bench-strspn.c: Likewise.
21399         * benchtests/bench-strstr.c: Likewise.
21400
21401 2013-09-04  Will Newton  <will.newton@linaro.org>
21402
21403         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
21404
21405 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
21406
21407         [BZ #15427]
21408         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
21409         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
21410         * math/libm-test.inc (lgamma_test_data): Add more tests.
21411         * sysdeps/i386/fpu/libm-test-ulps: Update.
21412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21413
21414 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
21415
21416         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
21417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21418         Add ifunc.
21419         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
21420         Add strcmp-sse2-unaligned
21421         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
21422
21423 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21424
21425         * Versions.def (libc): Add GLIBC_2.19.
21426
21427 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
21428
21429         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
21430         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
21431
21432 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
21433
21434         [BZ #14155]
21435         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
21436         intermediate calculations in recurrence.
21437         (__ieee754_ynf): Likewise.
21438         * math/libm-test.inc (jn_test_data): Do not allow spurious
21439         underflow exception.  Add more tests.
21440         (yn_test_data): Add more tests.
21441         * sysdeps/i386/fpu/libm-test-ulps: Update.
21442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21443
21444 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
21445
21446         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
21447
21448 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21449
21450         * csu/init-first.c: Fix then/than typos.
21451         * locale/programs/ld-collate.c: Likewise.
21452         * locale/programs/linereader.h: Likewise.
21453         * manual/charset.texi: Likewise.
21454         * manual/filesys.texi: Likewise.
21455         * manual/stdio.texi: Likewise.
21456         * manual/string.texi: Likewise.
21457         * stdlib/fmtmsg.c: Likewise.
21458         * sysdeps/i386/stpncpy.S: Likewise.
21459         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21460         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21461         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21462         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21463
21464 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
21465
21466         * elf/dl-open.c: Fix typos.
21467         * iconvdata/gbbig5.c: Likewise.
21468         * iconvdata/iso-2022-jp.c: Likewise.
21469         * iconv/gconv_int.h: Likewise.
21470         * iconv/loop.c: Likewise.
21471         * nis/rpcsvc/nis.h: Likewise.
21472         * resolv/ns_name.c: Likewise.
21473         * stdio-common/vfscanf.c: Likewise.
21474         * streams/stropts.h: Likewise.
21475         * sunrpc/rpc_thread.c: Likewise.
21476         * sysdeps/i386/strpbrk.S: Likewise.
21477         * sysdeps/ieee754/k_standard.c: Likewise.
21478         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21479         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21480         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
21481         * sysdeps/mach/hurd/profil.c: Likewise.
21482         * sysdeps/s390/dl-procinfo.h: Likewise.
21483         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
21484         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
21485         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
21486         * sysdeps/x86_64/dl-trampoline.S: Likewise.
21487         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21488
21489 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
21490
21491         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
21492         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
21493
21494 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
21495
21496         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
21497         aix specific files.
21498         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
21499         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
21500         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
21501         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
21502         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
21503         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
21504         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
21505         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
21506
21507 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21508             Roland McGrath  <roland@hack.frob.com>
21509
21510         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
21511         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
21512
21513 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21514
21515         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
21516         __executable_start symbol instead of _start.
21517
21518 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
21519
21520         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
21521         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
21522         Move macros to...
21523         * sysdeps/gnu/ldsodefs.h: ... this new file.
21524
21525         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
21526         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
21527         instead of ELFOSABI_LINUX.
21528
21529         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
21530         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
21531         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
21532         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
21533         Likewise.
21534         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
21535         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
21536         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
21537         Likewise.
21538         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21539         (ibm_extended_long_double): Add ieee_nan member.
21540         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
21541         (do_test): New function.
21542
21543         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
21544         TEST_TRUNC.
21545         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
21546         functions, renamed from truncdfsf_test, trunctfsf_test,
21547         trunctfdf_test.
21548         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
21549         functions.
21550         (do_test): Run all these.
21551
21552 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
21553
21554         * argp/argp-help.c: Fix typos.
21555         * argp/argp-parse.c: Likewise.
21556         * debug/backtracesyms.c: Likewise.
21557         * elf/elf.h: Likewise.
21558         * malloc/malloc.c: Likewise.
21559         * nis/nis_print.c: Likewise.
21560         * resolv/res_comp.c: Likewise.
21561         * stdlib/stdlib.h: Likewise.
21562         * sunrpc/clnt_tcp.c: Likewise.
21563         * sunrpc/clnt_udp.c: Likewise.
21564         * sunrpc/clnt_unix.c: Likewise.
21565         * sysdeps/unix/bsd/ptsname.c: Likewise.
21566         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
21567         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
21568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
21569         Likewise.
21570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
21571         Likewise.
21572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21573         Likewise.
21574         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21575
21576 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21577
21578         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
21579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21580
21581 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
21582
21583         [BZ #15897]
21584         * dlfcn/Makefile (tests): Add bug-dl-leaf.
21585         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
21586         ($(objpfx)bug-dl-leaf): New rule.
21587         ($(objpfx)bug-dl-leaf.so): Likewise.
21588         ($(objpfx)bug-dl-leaf.out): Likewise.
21589         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
21590         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
21591         * dlfcn/bug-dl-leaf.c: New test.
21592         * dlfcn/bug-dl-leaf-lib.c: Likewise.
21593         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
21594         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
21595         (dlclose): Likewise.
21596         (dlmopen): Likewise.
21597
21598 2013-08-27  Roland McGrath  <roland@hack.frob.com>
21599
21600         * include/netdb.h [!_ISOMAC]:
21601         Don't include <tls.h>.
21602         (h_errno, __libc_h_errno): Move declaration and macros out of
21603         [_LIBC_REENTRANT].
21604
21605         * include/resolv.h [_RESOLV_H_]:
21606         Don't include <tls.h>.
21607         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
21608         * resolv/res_libc.c: Don't include <tls.h>.
21609         (_res): Use __attribute__ ((nocommon)) in place of
21610         __attribute__ ((section (".bss"))).
21611
21612         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21613         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21614
21615         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21616
21617         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21618         only under [SIOCGIFCONF && SIOCGIFNETMASK].
21619
21620         * resolv/res_mkquery.c: Include <sys/time.h>.
21621
21622         * inet/ifreq.c: Moved to ...
21623         * sysdeps/unix/ifreq.c: ... here.
21624         * inet/ifreq.c: New file, true stub version.
21625
21626         * socket/sa_len.c: New file.
21627         * socket/Makefile (aux): Add it.
21628         * sysdeps/unix/sysv/linux/Makefile
21629         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21630         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21631         and #include <socket/sa_len.c>.
21632         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21633         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21634
21635         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21636         * bits/socket.h: ... here.
21637
21638         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21639         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21640         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21641
21642 2013-08-27  Andreas Schwab  <schwab@suse.de>
21643
21644         [BZ #15736]
21645         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21646         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21647         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21648         * string/test-strcasecmp.c (test_main): Run tests in several
21649         locales.
21650         * string/test-strncasecmp.c (test_main): Likewise.
21651
21652         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21653         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21654         to __strcasecmp_nonascii and __strncasecmp_nonascii.
21655         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21656         (__strncasecmp_ssse3) [PIC]: Likewise.
21657
21658 2013-08-26  Roland McGrath  <roland@hack.frob.com>
21659
21660         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21661
21662         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21663         instead of explicitly declaring xdecrypt.
21664         * nis/nss_nis/nis-publickey.c: Likewise.
21665
21666 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21667
21668         [BZ #15890]
21669         * nscd/aicache.c: Include res_hconf.h.
21670         (addhstaiX): Initialize res_hconf.
21671
21672 2013-08-26  Andreas Schwab  <schwab@suse.de>
21673
21674         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21675         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21676
21677 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21678
21679         * nscd/aicache.c (addhstaiX): Fix indentation.
21680
21681 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
21682
21683         * configure.ac: Quote $build_pt_chown test.
21684         * configure: Regenerated.
21685
21686 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
21687
21688         [BZ #15532]
21689         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21690         * math/s_cexpf.c (__cexpf): Likewise.
21691         * math/s_cexpl.c (__cexpl): Likewise.
21692         * math/libm-test.inc (cexp_test_data): Correct expected return
21693         value for NaN + i0.  Add another test.
21694
21695 2013-08-22  David S. Miller  <davem@davemloft.net>
21696
21697         * po/ca.po: Update Catalan translation from translation project.
21698         * po/uk.po: Add Ukrainian translations from translation project.
21699
21700 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21701
21702         [BZ #15797]
21703         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21704         is infinite, not alongside NaN test.
21705         * math/s_fdimf.c (__fdimf): Likewise.
21706         * math/s_fdiml.c (__fdiml): Likewise.
21707         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21708         errno is unchanged.
21709
21710 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21711
21712         * argp/argp-help.c: Fix typos.
21713         * crypt/speeds.c: Likewise.
21714         * csu/check_fds.c: Likewise.
21715         * elf/dl-load.c: Likewise.
21716         * elf/dl-open.c: Likewise.
21717         * elf/reldep3.c: Likewise.
21718         * elf/reldep.c: Likewise.
21719         * elf/sprof.c: Likewise.
21720         * iconv/iconv_charmap.c: Likewise.
21721         * iconv/skeleton.c: Likewise.
21722         * iconv/strtab.c: Likewise.
21723         * io/lockf64.c: Likewise.
21724         * libio/libioP.h: Likewise.
21725         * resolv/gai_notify.c: Likewise.
21726         * resolv/ns_name.c: Likewise.
21727         * resolv/ns_samedomain.c: Likewise.
21728         * resolv/res_send.c: Likewise.
21729         * stdlib/random.c: Likewise.
21730         * sunrpc/rpc/xdr.h: Likewise.
21731         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21732         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21733         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21734         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21735         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21736         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21737         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21738         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21739         * sysdeps/mach/hurd/check_fds.c: Likewise.
21740         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21741         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21742         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21743         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21744         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21745         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21746         * sysdeps/pthread/aio_notify.c: Likewise.
21747         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21748         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21749         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21750         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21751         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21752
21753 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21754
21755         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21756         version if bit_Slow_SSE4_2 is set.
21757         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21758         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21759
21760 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21761
21762         [BZ #15867]
21763         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21764         trampoline stack frame information.
21765         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21766         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21767         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21768         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21769         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21770         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21771         (_libc_vdso_platform_setup): Initialize the signal trampolines.
21772         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21773         sa_flags value.
21774         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21775         interrupting a syscall and set with option SA_SIGINFO.
21776
21777 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21778
21779         [BZ #15531]
21780         * math/s_cproj.c (__cproj): Only return an infinity if one part of
21781         argument is infinite.
21782         * math/s_cprojf.c (__cprojf): Likewise.
21783         * math/s_cprojl.c (__cprojl): Likewise.
21784         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21785         * math/libm-test.inc (cproj_test_data): Add more tests.
21786
21787         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21788
21789         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21790         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21791         size.  Use __ffs to determine corresponding shift.
21792
21793 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21794             Roland McGrath  <roland@hack.frob.com>
21795
21796         * Makefile (INSTALL): Remove trailing blank lines from output of
21797         makeinfo.
21798
21799 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21800
21801         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21802         Align 32 bit compat elf_greg to 8 bytes.
21803
21804 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
21805
21806         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21807
21808 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21809
21810         * string/strcoll_l.c (coll_seq): New structure.
21811         (get_next_seq_cached): New function.
21812         (get_next_seq): New function.
21813         (do_compare): New function.
21814         (STRCOLL): Use GNU style definition.  Simplify implementation
21815         by using get_next_seq, get_next_seq_cached and do_compare.
21816
21817 2013-08-16  Florian Weimer  <fweimer@redhat.com>
21818
21819         [BZ #14699]
21820         CVE-2013-4237
21821         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21822         member.
21823         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21824         member.
21825         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21826         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21827         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
21828         conditional.
21829         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21830         GETDENTS_64BIT_ALIGNED.
21831         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21832         * manual/filesys.texi (Reading/Closing Directory): Document
21833         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
21834         strongly.
21835         * manual/conf.texi (Limits for Files): Add portability note to
21836         NAME_MAX, PATH_MAX.
21837         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21838
21839 2013-08-13  Andreas Schwab  <schwab@suse.de>
21840
21841         [BZ #15749]
21842         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21843         of fabs.
21844         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21845         LDBL_MAX_EXP >= 16384]: Add tests for it.
21846
21847 2013-08-12  David S. Miller  <davem@davemloft.net>
21848
21849         * version.h (RELEASE): Set to "development".
21850         (VERSION): Set to "2.18.90".
21851         * NEWS: Add 2.19 section.
21852
21853 2013-08-03  David S. Miller  <davem@davemloft.net>
21854
21855         * po/ko.po: Update Korean translation from translation project.
21856
21857 2013-08-01  David S. Miller  <davem@davemloft.net>
21858
21859         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
21860         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21861         Bilka.
21862
21863 2013-07-30  David S. Miller  <davem@davemloft.net>
21864
21865         * po/fr.po: Update French translation from translation project.
21866
21867 2013-07-28  David S. Miller  <davem@davemloft.net>
21868
21869         * po/cs.po: Update Czech translation from translation project.
21870
21871         * po/sv.po: Update Swedish translation from translation project.
21872
21873 2013-07-27  David S. Miller  <davem@davemloft.net>
21874
21875         * po/eo.po: Update Esperanto translation from translation project.
21876
21877         * po/vi.po: Update Vietnamese translation from translation project.
21878
21879         * po/de.po: Update German translation from translation project.
21880
21881 2013-07-26  David S. Miller  <davem@davemloft.net>
21882
21883         * po/bg.po: Update Bulgarian translation from translation project.
21884
21885         * po/nl.po: Update Dutch translation from translation project.
21886         * po/pl.po: Update Polish translation from translation project.
21887         * po/ru.po: Update Russian translation from translation project.
21888
21889 2013-07-24  David S. Miller  <davem@davemloft.net>
21890
21891         * po/libc.pot: Update.
21892
21893 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21894
21895         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21896         variable page size.
21897         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21898         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21899         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21900
21901 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21902
21903         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21904
21905 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21906             Andreas Schwab  <schwab@suse.de>
21907             Roland McGrath  <roland@hack.frob.com>
21908             Joseph Myers  <joseph@codesourcery.com>
21909             Carlos O'Donell  <carlos@redhat.com>
21910
21911         [BZ #15755]
21912         * config.h.in: Define HAVE_PT_CHOWN.
21913         * config.make.in (build-pt-chown): New variable.
21914         * configure.in (--enable-pt_chown): New configure option.
21915         * configure: Regenerate.
21916         * login/Makefile: Include Makeconfig.  Build pt_chown only if
21917         build-pt-chown is enabled.
21918         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21919         pt_chown to fix pty ownership.
21920         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21921         CLOSE_ALL_FDS.
21922         * manual/install.texi (Configuring and compiling): Mention
21923         --enable-pt_chown. Add @findex for grantpt.
21924         * INSTALL: Regenerate.
21925
21926 2013-07-20  David S. Miller  <davem@davemloft.net>
21927
21928         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21929         difference between 32-bit and 64-bit.
21930
21931 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
21932
21933         [BZ #15711]
21934         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21935         Avoid system header dependency with -ffreestanding.
21936         ($(objpfx)bits/syscall%d): Likewise.
21937
21938 2013-07-13  David S. Miller  <davem@davemloft.net>
21939
21940         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21941         underflows from atanl/atan2l due to bug 15319.
21942         (casinh_test_data): Likewise.
21943
21944 2013-07-07  David S. Miller  <davem@davemloft.net>
21945
21946         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21947
21948 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
21949
21950         * sysdeps/i386/fpu/libm-test-ulps: Update.
21951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21952
21953 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21954
21955         * configure.in (--enable-lock-elision): Fix message text.
21956         * INSTALL: Regenerate.
21957         * configure: Regenerate.
21958
21959 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21960
21961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21962
21963 2013-07-03  Andreas Jaeger  <aj@suse.de>
21964
21965         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21966         define.
21967         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21968         (ptrace_peeksiginfo_args): Add.
21969         (__ptrace_peeksiginfo_flags): Add.
21970         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21971         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21972         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21973
21974 2013-07-03  Allan McRae  <allan@archlinux.org>
21975
21976         * sysdeps/i386/fpu/libm-test-ulps: Update.
21977
21978 2013-07-02  David S. Miller  <davem@davemloft.net>
21979
21980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21981
21982 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
21983
21984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21985
21986 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21987
21988         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21990
21991 2013-07-02  Andi Kleen <ak@linux.intel.com>
21992
21993         * config.h.in (ENABLE_LOCK_ELISION): Add.
21994         * configure.in (--enable-lock-elision): Add option.
21995         * manual/install.texi: Document --enable lock elision.
21996         * configure: Regenerate
21997         * INSTALL: Regenerate.
21998
21999 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22000
22001         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22002         SSE4.2 strcasecmp for libc.a.
22003         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22004
22005 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22006
22007         [BZ #13304]
22008         * soft-fp/op-common.h (_FP_FMA): New macro.
22009         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22010         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22011         (_FP_MUL_MEAT_1_imm): ... here.
22012         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22013         (_FP_MUL_MEAT_1_wide): ... here.
22014         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22015         (_FP_MUL_MEAT_1_hard): ... here.
22016         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22017         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22018         (_FP_MUL_MEAT_2_wide): ... here.
22019         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22020         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22021         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22022         (_FP_MUL_MEAT_2_gmp): ... here.
22023         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22024         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22025         (_FP_MUL_MEAT_4_wide): ... here.
22026         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22027         (_FP_MUL_MEAT_4_gmp): ... here.
22028         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22029         (_FP_WFRACBITS_DW_S): Likewise.
22030         (_FP_WFRACXBITS_DW_S): Likewise.
22031         (_FP_HIGHBIT_DW_S): Likewise.
22032         (FP_FMA_S): Likewise.
22033         (_FP_FRAC_HIGH_DW_S): Likewise.
22034         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22035         (_FP_WFRACBITS_DW_D): Likewise.
22036         (_FP_WFRACXBITS_DW_D): Likewise.
22037         (_FP_HIGHBIT_DW_D): Likewise.
22038         (FP_FMA_D): Likewise.
22039         (_FP_FRAC_HIGH_DW_D): Likewise.
22040         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22041         (_FP_WFRACBITS_DW_E): Likewise.
22042         (_FP_WFRACXBITS_DW_E): Likewise.
22043         (_FP_HIGHBIT_DW_E): Likewise.
22044         (FP_FMA_E): Likewise.
22045         (_FP_FRAC_HIGH_DW_E): Likewise.
22046         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22047         (_FP_WFRACBITS_DW_Q): Likewise.
22048         (_FP_WFRACXBITS_DW_Q): Likewise.
22049         (_FP_HIGHBIT_DW_Q): Likewise.
22050         (FP_FMA_Q): Likewise.
22051         (_FP_FRAC_HIGH_DW_Q): Likewise.
22052         * soft-fp/fmasf4.c: New file.
22053         * soft-fp/fmadf4.c: Likewise.
22054         * soft-fp/fmatf4.c: Likewise.
22055
22056 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22057
22058         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22059         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22060         Silvermont.
22061         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22062         macro.
22063         (index_Slow_SSE4_2): Likewise.
22064         (index_Prefer_PMINUB_for_stringop): Likewise.
22065         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22066         bit_Slow_SSE4_2 is set.
22067         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22068         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22069
22070 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22071
22072         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22073         rtld_global._dl_hwcap2.
22074         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22075         POWER8.
22076         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22077         POWER8 feature descriptions defined in _dl_hwcap2.
22078         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22079         string handling for POWER8 feature bits.
22080         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22081         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22082         _dl_powerpc_cap_flags.
22083         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22084         * sysdeps/powerpc/rtld-global-offsets.sym
22085         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22086         _dl_hwcap2 in the rtld_global_ro structure.
22087
22088 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22089
22090         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22091         hardware capabilities in support of AT_HWCAP2.
22092         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22093         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22094         GLRO(dl_hwcap2).
22095         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22096         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22097         explicitly the unknown a_type display mechanism is used.
22098         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22099         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22100         struct member.
22101         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22102         to macro prototype for AT_HWCAP2 support.
22103         * sysdeps/i386/dl-procinfo.h: Likewise.
22104         * sysdeps/s390/dl-procinfo.h: Likewise.
22105         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22106         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22107         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22108         return -1 for unknown a_type display fallback.
22109         * sysdeps/sparc/dl-procinfo.h: Likewise.
22110         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22111         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22112
22113 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22114
22115         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22116         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22117
22118 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22119
22120         [BZ #12492]
22121         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22122         mprotect making __stack_prot writable.
22123
22124 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22125             Joseph Myers  <joseph@codesourcery.com>
22126
22127         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22128         as being properly aligned.
22129
22130 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22131
22132         * dlfcn/modstatic5.c: New file.
22133         * dlfcn/tststatic5.c: New file.
22134         * dlfcn/Makefile (tests): Add tststatic5.
22135         (tests-static): Likewise.
22136         (modules-names): Add modstatic5.
22137         (tststatic5-ENV): New variable.
22138         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22139
22140         [BZ #15022]
22141         * elf/dl-support.c (_dl_main_map): New variable.
22142         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22143         (_dl_nns, _dl_load_adds): Set to 1.
22144         (_dl_initial_searchlist): Refer to _dl_main_map.
22145         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22146         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22147         call to _dl_get_origin.
22148         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22149         around call_map.
22150         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22151         * dlfcn/modstatic3.c: New file.
22152         * dlfcn/tststatic3.c: New file.
22153         * dlfcn/tststatic4.c: New file.
22154         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22155         (tests-static): Likewise.
22156         (modules-names): Add modstatic3.
22157         (tststatic3-ENV, tststatic4-ENV): New variables.
22158         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22159         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22160
22161 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22162
22163         * configure.in (CC): Require GCC version 4.4 or later.
22164         * configure: Regenerated.
22165         * manual/install.texi (Tools for Compilation): Update GCC version
22166         requirement.
22167         * INSTALL: Regenerated.
22168
22169 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22170
22171         [BZ #15674]
22172         * string/test-memcmp.c (check2): New.
22173         (main): Call check2.
22174
22175         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22176
22177 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22178
22179         [BZ #15022]
22180         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22181         over to...
22182         (dl_open_worker) [!SHARED]: ... here.
22183
22184 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22185
22186         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
22187
22188 2013-06-25  Richard Henderson  <rth@redhat.com>
22189
22190         * locale/programs/locarchive.c: Include <libc-internal.h>
22191
22192 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
22193
22194         * manual/texinfo.tex: Update to version 2013-06-21.17, with
22195         trailing whitespace removed.
22196
22197 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22198
22199         [BZ #10283]
22200         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
22201         * locale/programs/locarchive.c: Include libc-mmap.h.
22202         (prepare_address_space): Take two new outputs (the mmap base and len).
22203         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
22204         values.
22205         (create_archive): Declare new mmap base and len values for
22206         prepare_address_space, and store the result in ah.
22207         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
22208         (enlarge_archive): If ah->mmap_base is not NULL, use that and
22209         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22210         Declare new mmap base and len values for
22211         prepare_address_space, and store the result in new_ah.
22212         (open_archive): Declare new mmap base and len values for
22213         prepare_address_space, and store the result in ah.
22214         (close_archive): If ah->mmap_base is not NULL, use that and
22215         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
22216         * sysdeps/generic/libc-mmap.h: New file.
22217
22218 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
22219
22220         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
22221         (ALIGN_UP): Likewise.
22222         (PTR_ALIGN_DOWN): Likewise.
22223         (PTR_ALIGN_UP): Likewise.
22224
22225 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22226
22227         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
22228         entry mapped to PPC_PLATFORM_POWER8.
22229         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
22230         POWER8.
22231         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
22232         (_dl_string_platform): Add case for exporting platform position for
22233         POWER8.
22234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
22235         search path to sysdeps/powerpc/powerpc32/power8 directory.
22236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
22237         search path to sysdeps/powerpc/powerpc64/power8 directory.
22238         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
22239         power7 directories.
22240         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
22241         power7 directories.
22242
22243 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22244
22245         * INSTALL: Regenerate.
22246
22247         * nscd/connections.c (nscd_init): Fix comment.
22248
22249 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
22250
22251         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
22252
22253         [BZ #15667]
22254         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
22255         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
22256
22257 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22258
22259         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
22260         DL_DST_REQ_STATIC.
22261         (DL_DST_REQ_STATIC): Remove macro.
22262
22263 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
22264
22265         [BZ #7006]
22266         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
22267         with a shift of 0 bits.
22268
22269 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
22270
22271         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
22272         $(tststatic-ENV).
22273
22274 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22275
22276         [BZ #15655]
22277         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
22278
22279 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22280
22281         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
22282         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
22283         accepts -fno-tree-loop-distribute-patterns.
22284         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
22285         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
22286         recursive call.
22287         * string/memset.c (memset): Likewise.
22288         * string/test-memmove.c (simple_memmove): Disable loop transformation
22289         to library calls.
22290         * string/test-memset.c (simple_memset): Likewise.
22291         * benchtests/bench-memmove.c (simple_memmove): Likewise.
22292         * benchtests/bench-memset.c (simple_memset): Likewise.
22293         * configure: Regenerated.
22294
22295 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
22296
22297         * math/test-misc.c (main): Ignore fesetround failure when failures
22298         of subsequent rounding tests would be ignored.
22299
22300         [BZ #15654]
22301         * math/fedisblxcpt.c (fedisableexcept): Return 0.
22302         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
22303         * math/fegetenv.c (__fegetenv): Return 0.
22304         * math/fegetexcept.c (fegetexcept): Return 0.
22305         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
22306         FE_TONEAREST.
22307         * math/feholdexcpt.c (feholdexcept): Return 0.
22308         * math/fesetenv.c (__fesetenv): Return 0.
22309         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
22310         argument FE_TONEAREST.
22311         * math/feupdateenv.c (__feupdateenv): Return 0.
22312         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
22313
22314 2013-06-18  Roland McGrath  <roland@hack.frob.com>
22315
22316         * elf/rtld-Rules (rtld-compile-command.S): New variable.
22317         (rtld-compile-command.s, rtld-compile-command.c): New variables.
22318         ($(objpfx)rtld-%.os rules): Use them.
22319
22320 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22321
22322         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
22323         fields.
22324
22325 2013-06-17  Roland McGrath  <roland@hack.frob.com>
22326
22327         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
22328         length of target pattern, then descending length of dependency pattern.
22329         * configure.in (AWK): Require gawk 3.1.2 or newer.
22330         * manual/install.texi (Tools for Compilation): Say that we do.
22331         * configure: Regenerated.
22332
22333         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
22334         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22335         * scripts/sysd-rules.awk: ... this new script.
22336         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
22337         than a glob-style pattern.
22338
22339 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
22340
22341         * math/test-misc.c (main): Do not treat incorrectly rounded
22342         conversions as failure unless ROUNDING_TESTS passes.
22343
22344 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
22345
22346         [BZ #15631]
22347         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
22348         restore exception state around main square root computation, then
22349         check for inexactness explicitly.
22350
22351         * math/libm-test.inc (fma_test_data): Add another test.
22352
22353 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22354
22355         * manual/threads.texi (Non-POSIX Extensions): New document
22356         node.  Document pthread_getattr_default_np and
22357         pthread_setattr_default_np.
22358
22359         * Versions.def (libpthread): Add GLIBC_2.18.
22360         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
22361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22362         Likewise.
22363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22364         Likewise.
22365         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22366         Likewise.
22367         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22368         Likewise.
22369         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
22370         Likewise.
22371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22372         Likewise.
22373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22374         Likewise.
22375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
22376         Likewise.
22377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
22378         Likewise.
22379
22380 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22381
22382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22383         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
22384
22385 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22386             H.J. Lu  <hjl.tools@gmail.com>
22387
22388         [BZ #15627]
22389         * sysdeps/x86_64/rtld-memset.c: Remove file.
22390         * sysdeps/x86_64/rtld-memset.S: New file.
22391
22392 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
22393
22394         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
22395         (test_in_one_mode): Take arguments for whether the rounding mode
22396         is supported for each floating-point type.
22397         (do_test): Pass new arguments to test_in_one_mode using
22398         ROUNDING_TESTS.
22399
22400 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22401
22402         * posix/tst-waitid.c (do_test): Distinguish different instances of
22403         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
22404         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
22405         before entering the kernel for waitpid.
22406
22407 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22408
22409         * NEWS: Fix note on clock function precision.  Text by Roland
22410         McGrath.
22411
22412 2013-06-13  Roland McGrath  <roland@hack.frob.com>
22413
22414         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
22415         it into place only when and if the sanity check passes.
22416
22417 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
22418
22419         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
22420         output for whether conversion result is exact.  Take argument
22421         indicating whether type is IBM long double.
22422         (round_for_all): Change need_exact field to ibm_ld.
22423         * stdlib/tst-strtod-round.c (struct exactness): New type.
22424         (struct test): Change bool ld_ok field to struct exactness exact.
22425         (TEST): Update all definitions for change to field.
22426         (tests): Regenerate array contents.
22427         (test_in_one_mode): Take pointer to new field instead of old ld_ok
22428         field value.  Check for IBM long double here.
22429         (do_test): Update calls to test_in_one_mode.
22430
22431 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22432
22433         [BZ #12515]
22434         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
22435         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
22436
22437 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22438
22439         [BZ #15605]
22440         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
22441         generated by the compiler on loop optimizations.
22442         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
22443         general definitions.
22444
22445 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
22446
22447         * math/bug-nextafter.c: Include <math-tests.h>.
22448         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22449         the relevant type.
22450         * math/bug-nexttoward.c: Include <math-tests.h>.
22451         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22452         the relevant type.
22453         * math/test-misc.c: Include <math-tests.h>.
22454         (main): Only test for exceptions if EXCEPTION_TESTS is true for
22455         the relevant type.
22456
22457 2013-06-12  Andreas Jaeger  <aj@suse.de>
22458
22459         * po/ia.po: Update Interlingua translation from translation
22460         project.
22461
22462 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
22463
22464         * include/fenv.h: Include stdbool.h.
22465         (struct rm_ctx): New structure.
22466         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
22467         Define macro.
22468         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
22469         (SET_RESTORE_ROUNDF): Likewise.
22470         (SET_RESTORE_ROUNDL): Likewise.
22471         (SET_RESTORE_ROUND_NOEX): Likewise.
22472         (SET_RESTORE_ROUND_NOEXF): Likewise.
22473         (SET_RESTORE_ROUND_NOEXL): Likewise.
22474         (SET_RESTORE_ROUND_53BIT): Likewise.
22475         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
22476         (libc_feresetround_noexf_ctx): Likewise.
22477         (libc_feresetround_noexl_ctx): Likewise.
22478         (libc_feholdsetround_53bit_ctx): Likewise.
22479         (libc_feresetround_53bit_ctx): Likewise.
22480         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
22481         (libc_feholdexcept_setround_sse_ctx): New function.
22482         (libc_fesetenv_sse_ctx): Likewise.
22483         (libc_feupdateenv_sse_ctx): Likewise.
22484         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
22485         (libc_feholdexcept_setround_387_ctx): Likewise.
22486         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
22487         (libc_feholdsetround_387_prec_ctx): Likewise.
22488         (libc_feholdsetround_387_ctx): Likewise.
22489         (libc_feholdsetround_387_53bit_ctx): Likewise.
22490         (libc_feholdsetround_sse_ctx): Likewise.
22491         (libc_feresetround_sse_ctx): Likewise.
22492         (libc_feresetround_387_ctx): Likewise.
22493         (libc_feupdateenv_387_ctx): Likewise.
22494         (libc_feholdexcept_setroundf_ctx): Define macro.
22495         (libc_fesetenvf_ctx): Likewise.
22496         (libc_feupdateenvf_ctx): Likewise.
22497         (libc_feholdsetroundf_ctx): Likewise.
22498         (libc_feresetroundf_ctx): Likewise.
22499         (libc_feholdexcept_setround_ctx): Likewise.
22500         (libc_fesetenv_ctx): Likewise.
22501         (libc_feupdateenv_ctx): Likewise.
22502         (libc_feholdsetround_ctx): Likewise.
22503         (libc_feresetround_ctx): Likewise.
22504         (libc_feholdexcept_setroundl_ctx): Likewise.
22505         (libc_feupdateenvl_ctx): Likewise.
22506         (libc_feholdsetroundl_ctx): Likewise.
22507         (libc_feresetroundl_ctx): Likewise.
22508         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
22509         (libc_feresetround_53bit_ctx): Likewise.
22510
22511 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22512
22513         * locale/iso-639.def: Convert to UTF-8.
22514
22515 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
22516
22517         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
22518         (EXCEPTION_TESTS_double): Likewise.
22519         (EXCEPTION_TESTS_long_double): Likewise.
22520         (EXCEPTION_TESTS): Likewise.
22521         * math/libm-test.inc (test_exceptions): Only test exceptions if
22522         EXCEPTION_TESTS (FLOAT).
22523
22524 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22525
22526         * benchtests/Makefile (string-bench): Add strcpy_chk and
22527         stpcpy_chk.
22528         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
22529         * benchtests/bench-stpcpy_chk.c: New file.
22530         * benchtests/bench-strcpy_chk-ifunc.c: New file.
22531         * benchtests/bench-strcpy_chk.c: New file.
22532         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
22533         code.
22534         (do_test): Likewise.
22535
22536 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22537
22538         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
22539         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
22540         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
22541         with tabs where appropriate.
22542         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
22543         dl-procinfo.h.
22544         [PPC_PLATFORM_PPC440]: Likewise.
22545         [PPC_PLATFORM_PPC464]: Likewise.
22546         [PPC_PLATFORM_PPC476]: Likewise.
22547         (_dl_string_platform): Add support for detecting ppc405, ppc440,
22548         ppc464, and ppc476 platform strings merging from ports/
22549         dl-procinfo.h.
22550
22551 2013-06-11  Andreas Schwab  <schwab@suse.de>
22552
22553         [BZ #14991]
22554         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
22555         (from_ucs4_idx): Regenerate.
22556         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
22557         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
22558         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
22559         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
22560         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
22561         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
22562         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
22563         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
22564         from FROM_LOOP and TO_LOOP specific macros.
22565         (BODY): Handle combining characters.
22566         * iconvdata/BIG5HKSCS.irreversible: Update.
22567         * iconvdata/BIG5HKSCS.precomposed: New file.
22568         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
22569         characters.
22570         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
22571
22572 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22573
22574         * include/sys/time.h: Fix indentation and add copyright header.
22575
22576         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
22577         (do_test): Likewise.
22578         * string/test-memchr.c (do_one_test): Likewise.
22579         (do_test): Likewise.
22580         * string/test-memcmp.c (do_one_test): Likewise.
22581         (do_test): Likewise.
22582         * string/test-memcpy.c (do_one_test): Likewise.
22583         (do_test): Likewise.
22584         * string/test-memmem.c (do_one_test): Likewise.
22585         (do_test): Likewise.
22586         (do_random_tests): Likewise.
22587         * string/test-memmove.c (do_one_test): Likewise.
22588         (do_test): Likewise.
22589         * string/test-memset.c (do_one_test): Likewise.
22590         (do_test): Likewise.
22591         * string/test-rawmemchr.c (do_one_test): Likewise.
22592         (do_test): Likewise.
22593         * string/test-strcasecmp.c (do_one_test): Likewise.
22594         (do_test): Likewise.
22595         * string/test-strcasestr.c (do_one_test): Likewise.
22596         (do_test): Likewise.
22597         * string/test-strcat.c (do_one_test): Likewise.
22598         (do_test): Likewise.
22599         * string/test-strchr.c (do_one_test): Likewise.
22600         (do_test): Likewise.
22601         * string/test-strcmp.c (do_one_test): Likewise.
22602         (do_test): Likewise.
22603         * string/test-strcpy.c (do_one_test): Likewise.
22604         (do_test): Likewise.
22605         * string/test-string.h: Likewise.
22606         (test_init): Likewise.
22607         * string/test-strlen.c (do_one_test): Likewise.
22608         (do_test): Likewise.
22609         * string/test-strncasecmp.c (do_one_test): Likewise.
22610         (do_test): Likewise.
22611         * string/test-strncat.c (do_one_test): Likewise.
22612         (do_test): Likewise.
22613         * string/test-strncmp.c (do_one_test): Likewise.
22614         (do_test_limit): Likewise.
22615         (do_test): Likewise.
22616         * string/test-strncpy.c (do_one_test): Likewise.
22617         (do_test): Likewise.
22618         * string/test-strnlen.c (do_one_test): Likewise.
22619         (do_test): Likewise.
22620         * string/test-strpbrk.c (do_one_test): Likewise.
22621         (do_test): Likewise.
22622         * string/test-strrchr.c (do_one_test): Likewise.
22623         (do_test): Likewise.
22624         * string/test-strspn.c (do_one_test): Likewise.
22625         (do_test): Likewise.
22626         * string/test-strstr.c (do_one_test): Likewise.
22627         (do_test): Likewise.
22628
22629         * benchtests/Makefile (string-bench): Add string benchmarks.
22630         * benchtests/bench-bcopy-ifunc.c: New file.
22631         * benchtests/bench-bcopy.c: New file.
22632         * benchtests/bench-bzero-ifunc.c: New file.
22633         * benchtests/bench-bzero.c: New file.
22634         * benchtests/bench-memccpy-ifunc.c: New file.
22635         * benchtests/bench-memccpy.c: New file.
22636         * benchtests/bench-memchr-ifunc.c: New file.
22637         * benchtests/bench-memchr.c: New file.
22638         * benchtests/bench-memcmp-ifunc.c: New file.
22639         * benchtests/bench-memcmp.c: New file.
22640         * benchtests/bench-memmem-ifunc.c: New file.
22641         * benchtests/bench-memmem.c: New file.
22642         * benchtests/bench-memmove-ifunc.c: New file.
22643         * benchtests/bench-memmove.c: New file.
22644         * benchtests/bench-mempcpy-ifunc.c: New file.
22645         * benchtests/bench-mempcpy.c: New file.
22646         * benchtests/bench-memset-ifunc.c: New file.
22647         * benchtests/bench-memset.c: New file.
22648         * benchtests/bench-rawmemchr-ifunc.c: New file.
22649         * benchtests/bench-rawmemchr.c: New file.
22650         * benchtests/bench-stpcpy-ifunc.c: New file.
22651         * benchtests/bench-stpcpy.c: New file.
22652         * benchtests/bench-stpncpy-ifunc.c: New file.
22653         * benchtests/bench-stpncpy.c: New file.
22654         * benchtests/bench-strcasecmp-ifunc.c: New file.
22655         * benchtests/bench-strcasecmp.c: New file.
22656         * benchtests/bench-strcasestr-ifunc.c: New file.
22657         * benchtests/bench-strcasestr.c: New file.
22658         * benchtests/bench-strcat-ifunc.c: New file.
22659         * benchtests/bench-strcat.c: New file.
22660         * benchtests/bench-strchr-ifunc.c: New file.
22661         * benchtests/bench-strchr.c: New file.
22662         * benchtests/bench-strchrnul-ifunc.c: New file.
22663         * benchtests/bench-strchrnul.c: New file.
22664         * benchtests/bench-strcmp-ifunc.c: New file.
22665         * benchtests/bench-strcmp.c: New file.
22666         * benchtests/bench-strcpy-ifunc.c: New file.
22667         * benchtests/bench-strcpy.c: New file.
22668         * benchtests/bench-strcspn-ifunc.c: New file.
22669         * benchtests/bench-strcspn.c: New file.
22670         * benchtests/bench-strlen-ifunc.c: New file.
22671         * benchtests/bench-strlen.c: New file.
22672         * benchtests/bench-strncasecmp-ifunc.c: New file.
22673         * benchtests/bench-strncasecmp.c: New file.
22674         * benchtests/bench-strncat-ifunc.c: New file.
22675         * benchtests/bench-strncat.c: New file.
22676         * benchtests/bench-strncmp-ifunc.c: New file.
22677         * benchtests/bench-strncmp.c: New file.
22678         * benchtests/bench-strncpy-ifunc.c: New file.
22679         * benchtests/bench-strncpy.c: New file.
22680         * benchtests/bench-strnlen-ifunc.c: New file.
22681         * benchtests/bench-strnlen.c: New file.
22682         * benchtests/bench-strpbrk-ifunc.c: New file.
22683         * benchtests/bench-strpbrk.c: New file.
22684         * benchtests/bench-strrchr-ifunc.c: New file.
22685         * benchtests/bench-strrchr.c: New file.
22686         * benchtests/bench-strspn-ifunc.c: New file.
22687         * benchtests/bench-strspn.c: New file.
22688         * benchtests/bench-strstr-ifunc.c: New file.
22689         * benchtests/bench-strstr.c: New file.
22690
22691         * benchtests/Makefile: Disable parallel execution of targets.
22692         (string-bench): Add memcpy.
22693         (benchset): New variable to store a list of benchmark sets.
22694         (bench-func): Renamed from bench.
22695         (bench-set): New target.
22696         (bench): Depend on bench-func and bench-set.
22697         * benchtests/README: Add section on benchmark sets.
22698         * benchtests/bench-memcpy-ifunc.c: New file.
22699         * benchtests/bench-memcpy.c: New file.
22700         * benchtests/bench-string.h: New file.
22701
22702 2013-06-11  Andreas Schwab  <schwab@suse.de>
22703
22704         [BZ #15577]
22705         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22706         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22707         values in the triple.
22708         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22709         terminator in the group key.
22710
22711 2013-06-11  Andreas Jaeger  <aj@suse.de>
22712
22713         * po/zh_TW.po: Update Chinese (traditional) translation from
22714         translation project.
22715
22716 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22717
22718         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22719         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22720         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
22721         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22722         (clock_getcpuclockid): Likewise.
22723         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22724         Add weak_alias and libc_hidden_def.
22725         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22726         * rt/clock_gettime.c (clock_gettime): Rename to
22727         __clock_gettime.  Add weak_alias and libc_hidden_def.
22728         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22729         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22730         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
22731         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22732         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22733         Likewise.
22734         * rt/clock_settime.c (clock_settime): Rename to
22735         __clock_settime.  Add weak_alias and libc_hidden_def.
22736         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22737
22738 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
22739
22740         * mach/err_boot.sub: Remove trailing whitespace.
22741         * mach/err_ipc.sub: Likewise.
22742         * mach/err_mach.sub: Likewise.
22743
22744         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22745         (ROUNDING_TESTS_double): Likewise.
22746         (ROUNDING_TESTS_long_double): Likewise.
22747         (ROUNDING_TESTS): Likewise.
22748         * math/libm-test.inc: Include <math-tests.h>.
22749         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22750         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22751         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22752         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22753
22754 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22755
22756         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22757         of assigning.
22758
22759 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
22760
22761         * sysdeps/gnu/errlist.awk: Do not generate space at end of
22762         otherwise empty TRANS lines.
22763         * sysdeps/gnu/errlist.c: Regenerated.
22764
22765         * catgets/gencat.c (error_print): Use (void) in function
22766         definition.
22767         * crypt/crypt_util.c (__init_des): Likewise.
22768         * crypt/speeds.c (Stop): Likewise.
22769         (main): Likewise.
22770         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22771         * inet/ruserpass.c (token): Likewise.
22772         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22773         * intl/localealias.c (extend_alias_table): Likewise.
22774         * intl/plural-exp.c (init_germanic_plural): Likewise.
22775         * libio/fcloseall.c (__fcloseall): Likewise.
22776         * libio/genops.c (_IO_flush_all): Likewise.
22777         (_IO_flush_all_linebuffered): Likewise.
22778         (_IO_cleanup): Likewise.
22779         (_IO_iter_begin): Likewise.
22780         (_IO_iter_end): Likewise.
22781         (_IO_list_lock): Likewise.
22782         (_IO_list_unlock): Likewise.
22783         (_IO_list_resetlock): Likewise.
22784         * libio/getchar.c (getchar): Likewise.
22785         * libio/getchar_u.c (getchar_unlocked): Likewise.
22786         * libio/getwchar.c (getwchar): Likewise.
22787         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22788         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22789         * login/getpt.c (__getpt): Likewise.
22790         * login/tst-utmp.c (main): Likewise.
22791         * malloc/hooks.c (__malloc_check_init): Likewise.
22792         * malloc/malloc.c (__malloc_stats): Likewise.
22793         * malloc/mtrace.c (tr_break): Likewise.
22794         (mtrace): Likewise.
22795         (muntrace): Likewise.
22796         * misc/fstab.c (endfsent): Likewise.
22797         * misc/getclktck.c (__getclktck): Likewise.
22798         * misc/getdtsz.c (__getdtablesize): Likewise.
22799         * misc/gethostid.c (gethostid): Likewise.
22800         * misc/getpagesize.c (__getpagesize): Likewise.
22801         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22802         (__get_nprocs): Likewise.
22803         (__get_phys_pages): Likewise.
22804         (__get_avphys_pages): Likewise.
22805         * misc/getttyent.c (getttyent): Likewise.
22806         (setttyent): Likewise.
22807         (endttyent): Likewise.
22808         * misc/getusershell.c (getusershell): Likewise.
22809         (endusershell): Likewise.
22810         (setusershell): Likewise.
22811         (initshells): Likewise.
22812         * misc/hsearch.c (__hdestroy): Likewise.
22813         * misc/sync.c (sync): Likewise.
22814         * misc/syslog.c (closelog_internal): Likewise.
22815         (closelog): Likewise.
22816         * misc/ttyslot.c (ttyslot): Likewise.
22817         * misc/vhangup.c (vhangup): Likewise.
22818         * posix/fork.c (__fork): Likewise.
22819         * posix/getegid.c (__getegid): Likewise.
22820         * posix/geteuid.c (__geteuid): Likewise.
22821         * posix/getgid.c (__getgid): Likewise.
22822         * posix/getpid.c (__getpid): Likewise.
22823         * posix/getppid.c (__getppid): Likewise.
22824         * posix/getuid.c (__getuid): Likewise.
22825         * posix/pause.c (pause): Likewise.
22826         * posix/setpgrp.c (setpgrp): Likewise.
22827         * posix/setsid.c (__setsid): Likewise.
22828         * posix/test-vfork.c (noop): Likewise.
22829         * resolv/gethnamaddr.c (_endhtent): Likewise.
22830         (_gethtent): Likewise.
22831         (ht_endhostent): Likewise.
22832         (gethostent): Likewise.
22833         (dns_service): Likewise.
22834         * stdlib/drand48.c (drand48): Likewise.
22835         * stdlib/lrand48.c (lrand48): Likewise.
22836         * stdlib/mrand48.c (mrand48): Likewise.
22837         * stdlib/rand.c (rand): Likewise.
22838         * stdlib/random.c (__random): Likewise.
22839         * stdlib/setenv.c (clearenv): Likewise.
22840         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22841         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22842         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22843         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22844         (__get_nprocs): Likewise.
22845         (__get_phys_pages): Likewise.
22846         (__get_avphys_pages): Likewise.
22847         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22848         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22849         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22850         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22851         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22852         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22853         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22854         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22855         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22856         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22857         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22858         * sysdeps/mach/hurd/sync.c (sync): Likewise.
22859         * sysdeps/posix/clock.c (clock): Likewise.
22860         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22861         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22862         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22863         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22864         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22865         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22866         (__get_nprocs_conf): Likewise.
22867         (__get_phys_pages): Likewise.
22868         (__get_avphys_pages): Likewise.
22869         * time/clock.c (clock): Likewise.
22870         * time/tzset.c (__tzname_max): Likewise.
22871
22872 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
22873
22874         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22875         (__bswap_32): Do not use "register".
22876         * crypt/crypt.c (_ufc_doit_r): Likewise.
22877         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22878         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22879         * gmon/gmon.c (__monstartup): Likewise.
22880         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22881         * hurd/hurdmalloc.c (more_memory): Likewise.
22882         (malloc): Likewise.
22883         (free): Likewise.
22884         (realloc): Likewise.
22885         (malloc_fork_prepare): Likewise.
22886         (malloc_fork_parent): Likewise.
22887         (malloc_fork_child): Likewise.
22888         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22889         (_svcauth_des): Likewise.
22890         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22891         * inet/inet_net.c (inet_network): Likewise.
22892         * inet/inet_netof.c (inet_netof): Likewise.
22893         * inet/rcmd.c (__validuser2_sa): Likewise.
22894         * io/fts.c (fts_open): Likewise.
22895         (fts_load): Likewise.
22896         (fts_close): Likewise.
22897         (fts_read): Likewise.
22898         (fts_children): Likewise.
22899         (fts_build): Likewise.
22900         (fts_stat): Likewise.
22901         (fts_sort): Likewise.
22902         (fts_alloc): Likewise.
22903         (fts_lfree): Likewise.
22904         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22905         (_IO_file_xsgetn): Likewise.
22906         (_IO_file_xsgetn_mmap): Likewise.
22907         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22908         (_IO_cookie_write): Likewise.
22909         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22910         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22911         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22912         * malloc/obstack.c (_obstack_begin): Likewise.
22913         (_obstack_begin_1): Likewise.
22914         (_obstack_newchunk): Likewise.
22915         (_obstack_allocated_p): Likewise.
22916         (obstack_free): Likewise.
22917         (_obstack_memory_used): Likewise.
22918         * misc/getttyent.c (getttynam): Likewise.
22919         (getttyent): Likewise.
22920         (skip): Likewise.
22921         (value): Likewise.
22922         * misc/getusershell.c (initshells): Likewise.
22923         * misc/syslog.c (__vsyslog_chk): Likewise.
22924         * misc/ttyslot.c (ttyslot): Likewise.
22925         * nis/nis_hash.c (__nis_hash): Likewise.
22926         * posix/fnmatch_loop.c (FCT): Likewise.
22927         * posix/getconf.c (print_all): Likewise.
22928         (main): Likewise.
22929         * posix/getopt.c (exchange): Likewise.
22930         * posix/glob.c (globfree): Likewise.
22931         (prefix_array): Likewise.
22932         (__glob_pattern_type): Likewise.
22933         * resolv/arpa/nameser.h (NS_GET16): Likewise.
22934         (NS_GET32): Likewise.
22935         (NS_PUT16): Likewise.
22936         (NS_PUT32): Likewise.
22937         * resolv/gethnamaddr.c (getanswer): Likewise.
22938         (gethostbyname2): Likewise.
22939         (gethostbyaddr): Likewise.
22940         (_gethtent): Likewise.
22941         (_gethtbyname2): Likewise.
22942         (_gethtbyaddr): Likewise.
22943         * resolv/ns_print.c (dst_s_get_int16): Likewise.
22944         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22945         * resolv/res_init.c (__res_vinit): Likewise.
22946         (net_mask): Likewise.
22947         * resolv/res_mkquery.c (outchar): Likewise.
22948         (PRINT): Likewise.
22949         * stdio-common/printf_fp.c (outchar): Likewise.
22950         (PRINT): Likewise.
22951         * stdio-common/printf_fphex.c (outchar): Likewise.
22952         (PRINT): Likewise.
22953         * stdio-common/printf_size.c (outchar): Likewise.
22954         (PRINT): Likewise.
22955         * stdio-common/test_rdwr.c (main): Likewise.
22956         * stdio-common/tfformat.c (matches): Likewise.
22957         * stdio-common/vfprintf.c (outchar): Likewise.
22958         (printf_unknown): Likewise.
22959         (buffered_vfprintf): Likewise.
22960         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22961         * stdio-common/xbug.c (AppendToBuffer): Likewise.
22962         (ReadFile): Likewise.
22963         * stdlib/qsort.c (SWAP): Likewise.
22964         (_quicksort): Likewise.
22965         * stdlib/setenv.c (__add_to_environ): Likewise.
22966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22967         * stdlib/strtol_l.c (__strtol_l): Likewise.
22968         * stdlib/tst-strtod.c (main): Likewise.
22969         * stdlib/tst-strtol.c (main): Likewise.
22970         * stdlib/tst-strtoll.c (main): Likewise.
22971         * string/bits/string2.h (__strcmp_cc): Likewise.
22972         (__strcmp_cg): Likewise.
22973         (__strcspn_c1): Likewise.
22974         (__strcspn_c2): Likewise.
22975         (__strcspn_c3): Likewise.
22976         (__strspn_c1): Likewise.
22977         (__strspn_c2): Likewise.
22978         (__strspn_c3): Likewise.
22979         (__strsep_1c): Likewise.
22980         (__strsep_2c): Likewise.
22981         (__strsep_3c): Likewise.
22982         * string/memccpy.c (__memccpy): Likewise.
22983         * string/stpcpy.c (__stpcpy): Likewise.
22984         * string/strcmp.c (strcmp): Likewise.
22985         * string/strrchr.c (strrchr): Likewise.
22986         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22987         Likewise.
22988         * sysdeps/mach/hurd/getcwd.c
22989         (_hurd_canonicalize_directory_name_internal): Likewise.
22990         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22991         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22992         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22993         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22994         Likewise, in both definitions.
22995         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22996         definitions.
22997         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22998         64] (__bswap_64): Likewise.
22999         * time/test_time.c (main): Likewise.
23000         * time/tzfile.c (__tzfile_read): Likewise.
23001         (__tzfile_compute): Likewise.
23002         * time/tzset.c (__tzset_parse_tz): Likewise.
23003         (tzset_internal): Likewise.
23004         (compute_change): Likewise.
23005         * wcsmbs/wcscat.c (__wcscat): Likewise.
23006         * wcsmbs/wcschr.c (wcschr): Likewise.
23007         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23008         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23009         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23010         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23011         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23012         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23013         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23014         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23015         * wcsmbs/wmemset.c (wmemset): Likewise.
23016
23017 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23018
23019         * scripts/config.guess: Update to version 2013-05-16.
23020         * scripts/config.sub: Update to version 2013-04-24.
23021         * scripts/install-sh: Update to version 2011-11-20.07.
23022         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23023         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23024
23025 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23026
23027         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23028         * elf/sln.c: Likewise.
23029         * hurd/hurd/ioctl.h: Likewise.
23030         * hurd/hurdmalloc.c: Likewise.
23031         * hurd/xattr.c: Likewise.
23032         * include/shlib-compat.h: Likewise.
23033         * inet/ruserpass.c: Likewise.
23034         * libio/iofgets_u.c: Likewise.
23035         * libio/iofgetws_u.c: Likewise.
23036         * locale/programs/ld-identification.c: Likewise.
23037         * locale/programs/ld-time.c: Likewise.
23038         * mach/msg-destroy.c: Likewise.
23039         * nss/nss_files/files-netgrp.c: Likewise.
23040         * resolv/res_data.c: Likewise.
23041         * soft-fp/op-1.h: Likewise.
23042         * soft-fp/op-2.h: Likewise.
23043         * soft-fp/op-4.h: Likewise.
23044         * soft-fp/op-common.h: Likewise.
23045         * stdio-common/printf_fphex.c: Likewise.
23046         * stdlib/strtod_l.c: Likewise.
23047         * sunrpc/rpc/clnt.h: Likewise.
23048         * sysdeps/generic/framestate.c: Likewise.
23049         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23050         * sysdeps/i386/bsd-setjmp.S: Likewise.
23051         * sysdeps/i386/__longjmp.S: Likewise.
23052         * sysdeps/i386/setjmp.S: Likewise.
23053         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23054         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23055         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23056         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23057         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23058         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23059         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23060         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23061         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23062         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23063         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23064         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23065         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23066         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23067         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23068         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23069         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23070         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23071         * sysdeps/ieee754/support.c: Likewise.
23072         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23073         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23074         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23075         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23076         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23077         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23078         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23079         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23080         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23081         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23082         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23083         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23084         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23085         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23086         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23087         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23088         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23090
23091 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23092
23093         * posix/transbug.c: Remove executable mode.
23094
23095 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23096
23097         * crypt/speeds.c: Remove trailing whitespace.
23098         * dlfcn/default.c: Likewise.
23099         * elf/ifuncdep2.c: Likewise.
23100         * elf/ifuncmain1.c: Likewise.
23101         * elf/ifuncmain1vis.c: Likewise.
23102         * elf/testobj.h: Likewise.
23103         * elf/tst-stackguard1.c: Likewise.
23104         * gmon/sys/gmon.h: Likewise.
23105         * hurd/hurdmsg.c: Likewise.
23106         * hurd/new-fd.c: Likewise.
23107         * hurd/ports-get.c: Likewise.
23108         * iconvdata/ibm1008_420.c: Likewise.
23109         * inet/tst-getni1.c: Likewise.
23110         * inet/tst-getni2.c: Likewise.
23111         * libio/ioungetc.c: Likewise.
23112         * libio/wfiledoalloc.c: Likewise.
23113         * manual/libm-err-tab.pl: Likewise.
23114         * math/w_dremf.c: Likewise.
23115         * misc/ftruncate.c: Likewise.
23116         * posix/bug-glob2.c: Likewise.
23117         * posix/tst-pcre.c: Likewise.
23118         * posix/wait4.c: Likewise.
23119         * resolv/README: Likewise.
23120         * resolv/res_debug.h: Likewise.
23121         * resolv/tst-inet_ntop.c: Likewise.
23122         * setjmp/bug269-setjmp.c: Likewise.
23123         * soft-fp/extended.h: Likewise.
23124         * soft-fp/op-1.h: Likewise.
23125         * soft-fp/op-2.h: Likewise.
23126         * soft-fp/op-4.h: Likewise.
23127         * soft-fp/op-8.h: Likewise.
23128         * soft-fp/testit.c: Likewise.
23129         * stdio-common/bug16.c: Likewise.
23130         * stdlib/random.c: Likewise.
23131         * sunrpc/rpcsvc/rquota.x: Likewise.
23132         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23133         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23134         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23135         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23136         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23137         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23138         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23139         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23140         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23141         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23142         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23143         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23144         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23145         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23146         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23147         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23148         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23149         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23150         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23151         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23152         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23153         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23154         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23155         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23156         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23157         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23159         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23160         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23161         * sysdeps/ieee754/s_lib_version.c: Likewise.
23162         * sysdeps/mach/hurd/check_fds.c: Likewise.
23163         * sysdeps/mach/hurd/getsockname.c: Likewise.
23164         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23165         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23166         * sysdeps/powerpc/bits/link.h: Likewise.
23167         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23168         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23169         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23170         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23171         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23172         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23173         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23174         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23175         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23176         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23177         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23178         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23179         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23180         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23181         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23182         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23183         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23184         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23185         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
23186         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23187         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23188         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
23189         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23190         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23191         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
23192         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23193         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23194         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23195         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23196         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23197         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23198         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23199         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23200         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23201         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
23202         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23203         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
23204         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23205         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
23206         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
23207         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
23208         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
23209         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
23210         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
23211         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23212         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
23213         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
23214         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23215         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
23216         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
23217         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23218         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23219         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23220         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23221         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
23222         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
23223         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
23224         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23225         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
23226         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
23227         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
23228         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
23229         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
23230         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23231         * sysdeps/powerpc/sysdep.h: Likewise.
23232         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23233         * sysdeps/s390/s390-64/sub_n.S: Likewise.
23234         * sysdeps/sh/dl-trampoline.S: Likewise.
23235         * sysdeps/sh/memset.S: Likewise.
23236         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
23237         * sysdeps/sh/strlen.S: Likewise.
23238         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
23239         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
23240         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
23241         * sysdeps/sparc/sparc32/rem.S: Likewise.
23242         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
23243         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
23244         * sysdeps/sparc/sparc32/strchr.S: Likewise.
23245         * sysdeps/sparc/sparc32/udiv.S: Likewise.
23246         * sysdeps/sparc/sparc32/urem.S: Likewise.
23247         * sysdeps/sparc/sparc64/add_n.S: Likewise.
23248         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23249         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
23250         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
23251         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
23252         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
23253         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23254         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
23255         * sysdeps/unix/bsd/times.c: Likewise.
23256         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
23257         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
23258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
23259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
23260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
23261         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
23262         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23263         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
23264         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
23265         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
23266         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
23267         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23268         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
23269         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
23270         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23271         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23272         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23273         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
23274         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
23275         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
23276         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
23277         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
23278         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
23279         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
23280         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
23281         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
23282         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
23283         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23284         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
23285         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
23286         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
23287         * sysdeps/x86_64/strcspn.S: Likewise.
23288
23289 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23290
23291         * locale/C-translit.h: Revert #include <stdint.h> because this is a
23292         generated file.  Regenerate properly from gen-translit.pl.
23293         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
23294         locale/C-translit.h.
23295
23296 2013-06-05  Andreas Schwab  <schwab@suse.de>
23297
23298         [BZ #15100]
23299         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
23300         week as 6 instead of -1.
23301         * time/tst-strptime.c (day_tests): Add test case.
23302
23303 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23304
23305         * sysdeps/generic/math_private.h
23306         (libc_feholdexcept_setround_53bit): Replace with
23307         libc_feholdsetround_53bit.
23308         (libc_feupdateenv_53bit): Replace with
23309         libc_feresetround_53bit.
23310         (SET_RESTORE_ROUND_53BIT): Adjust.
23311
23312 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
23313
23314         * string/test-strchrnul.c: Add copyright header.
23315
23316         * posix/tst-getaddrinfo4.c: Increase test timeout.
23317
23318 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
23319
23320         [BZ #15536]
23321         * math/libm-test.inc (MAX_EXP): Remove
23322         (MIN_EXP): Define.
23323         (ulp): Use MIN_EXP - MANT_DIG.
23324         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
23325
23326 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
23327
23328         * po/be.po: Revert last change.
23329         * po/zh_CN.po: Likewise.
23330         * po/header.pot: Likewise.
23331
23332 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
23333
23334         * Makefile ($(common-objpfx)linkobj/libc.so): Define
23335         link-libc-deps to empty as target-specific variable.
23336         * Makerules (link-libc-args): New variable.
23337         (libc-for-link): Likewise.
23338         (link-libc-deps): Likewise.
23339         (lib%.so): Depend on $(link-libc-deps).  Link with
23340         $(link-libc-args).
23341         (build-module): Link with $(link-libc-args).
23342         (build-module-asneeded): Likewise.
23343         (build-module-helper-objlist): Filter out $(link-libc-deps) from
23344         list of objects.
23345         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
23346         target-specific variable.
23347         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
23348         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
23349         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
23350         libc.
23351         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
23352         libc and ld.so.
23353         ($(objpfx)libpcprofile.so): Likewise.
23354         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
23355         libc_nonshared.a.
23356         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
23357         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
23358         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
23359         $(link-libc-deps).
23360         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
23361         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
23362         * login/Makefile ($(objpfx)libutil.so): Likewise.
23363         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
23364         * math/Makefile ($(objpfx)libm.so): Likewise.
23365         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
23366         $(objpfx)libnsl.so): Define libc-for-link as target-specific
23367         variable instead of depending directly on libc.
23368         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
23369         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
23370         $(link-libc-deps).
23371         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
23372         libc.
23373         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
23374         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
23375         ($(objpfx)libanl.so): Likewise.
23376         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
23377         ld.so.
23378         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
23379         $(link-libc-deps).
23380         * sysdeps/i386/fpu/Makefile: Remove file.
23381         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
23382         ($(objpfx)libm.so): Remove dependency on ld.so.
23383
23384 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
23385
23386         [BZ # 15553]
23387         * nis/yp_xdr.c (XDRMAXNAME): Define.
23388         (XDRMAXRECORD): Define.
23389         (xdr_domainname): Use XDRMAXNAME.
23390         (xdr_mapname): Likewise.
23391         (xdr_peername): Likewise.
23392         (xdr_keydat): Use XDRMAXRECORD.
23393         (xdr_valdat): Likewise.
23394
23395 2013-05-30  Jeff Law  <law@redhat.com>
23396
23397         [BZ #14256]
23398         * manual/errno.texi (ESTALE): Update to account for more than
23399         just NFS file systems.
23400         * sysdeps/gnu/errlist.c: Regenerated.
23401
23402 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23403
23404         [BZ #15465]
23405         * elf/Makefile (tests): Add tst-null-argv.
23406         (modules-names):  Add tst-null-argv-lib.
23407         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
23408         (tst-null-argv-ENV): Set environment for tst-null-argv.
23409         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
23410         (RTLD_PROGNAME): New macro.
23411         * elf/tst-null-argv.c: New test case.
23412         * elf/tst-null-argv-lib.c: Library for test case.
23413         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
23414         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
23415         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
23416         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
23417         * elf/dl-init.c (call_init): Likewise.
23418         (_dl_init): Likewise.
23419         * elf/dl-load.c (print_search_path): Likewise.
23420         (_dl_map_object): Likewise.
23421         * elf/dl-lookup.c (do_lookup_x): Likewise.
23422         (add_dependency): Likewise.
23423         (_dl_lookup_symbol_x): Likewise.
23424         (_dl_debug_bindings): Likewise.
23425         * elf/dl-open.c (_dl_show_scope): Likewise.
23426         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
23427         * elf/dl-version.c (match_symbol): Likewise.
23428         (_dl_check_map_versions): Likewise.
23429         * elf/rtld.c (dl_main): Likewise.
23430         (print_unresolved): Use RTLD_PROGNAME.
23431         (print_missing_version): Likewise.
23432         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
23433         (elf_machine_rela): Likewise.
23434         * sysdeps/powerpc/powerpc32/dl-machine.c
23435         (__process_machine_rela): Likewise.
23436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23437         Likewise.
23438         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23439         Likewise.
23440         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23441         Likewise.
23442         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23443         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
23444         Likewise.
23445         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
23446         Likewise.
23447         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23448
23449 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
23450
23451         * po/be.po: Add descriptive title.
23452         * po/zh_CN.po: Likewise.
23453         * po/header.pot: Likewise.
23454
23455 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
23456
23457         * locale/programs/locarchive.c (create_archive): Inlucde fname in
23458         error message.
23459         (enlarge_archive): Likewise.
23460
23461 2013-05-28  Ben North  <ben@redfrontdoor.org>
23462
23463         * manual/arith.texi (frexp): It is the magnitude of the return
23464         value which lies in [0.5, 1), not the return value itself.
23465
23466 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23467
23468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23469
23470 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
23471
23472         * stdio-common/bug26.c (main): Correct fscanf template.
23473
23474         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
23475         declare _dl_skip_args.
23476
23477         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
23478         Don't declare.
23479
23480         * manual/platform.texi: Add missing @end deftypefun.
23481
23482 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23483
23484         [BZ #15529]
23485         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
23486         bit of mantissa of 2^16382.
23487         * math/libm-test.inc (hypot_test_data): Add more tests.
23488
23489         * math/libm-test.inc: Add drem and pow10 to list of tested
23490         functions.
23491         (pow10_test): New function.
23492         (drem_test): Likewise.
23493         (drem_test_tonearest): Likewise.
23494         (drem_test_towardzero): Likewise.
23495         (drem_test_downward): Likewise.
23496         (drem_test_upward): Likewise.
23497         (main): Call the new functions.
23498
23499         * math/libm-test.inc (finite_test_data): Remove.
23500         (finite_test): Run tests from isfinite_test_data.
23501         (gamma_test_data): Remove.
23502         (gamma_test): Run tests from lgamma_test_data.
23503         * sysdeps/i386/fpu/libm-test-ulps: Update.
23504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23505
23506 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23507
23508         * manual/platform.texi: Add PowerPC PPR function set documentation.
23509         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
23510         implementation.
23511
23512 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
23513
23514         * math/libm-test.inc (MAX_EXP): Define.
23515         (ULPDIFF): Define.
23516         (ulp): New function.
23517         (check_float_internal): Use ULPDIFF.
23518         (cpow_test): Disable failing test.
23519         (check_ulp): Test ulp() implemetnation.
23520         (main): Call check_ulp before starting tests.
23521
23522 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
23523
23524         * math/gen-libm-test.pl (generate_testfile): Do not handle
23525         START_DATA and END_DATA.
23526         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
23527         END_DATA.
23528         (acos_tonearest_test_data): Likewise.
23529         (acos_towardzero_test_data): Likewise.
23530         (acos_downward_test_data): Likewise.
23531         (acos_upward_test_data): Likewise.
23532         (acosh_test_data): Likewise.
23533         (asin_test_data): Likewise.
23534         (asin_tonearest_test_data): Likewise.
23535         (asin_towardzero_test_data): Likewise.
23536         (asin_downward_test_data): Likewise.
23537         (asin_upward_test_data): Likewise.
23538         (asinh_test_data): Likewise.
23539         (atan_test_data): Likewise.
23540         (atanh_test_data): Likewise.
23541         (atan2_test_data): Likewise.
23542         (cabs_test_data): Likewise.
23543         (cacos_test_data): Likewise.
23544         (cacosh_test_data): Likewise.
23545         (carg_test_data): Likewise.
23546         (casin_test_data): Likewise.
23547         (casinh_test_data): Likewise.
23548         (catan_test_data): Likewise.
23549         (catanh_test_data): Likewise.
23550         (cbrt_test_data): Likewise.
23551         (ccos_test_data): Likewise.
23552         (ccosh_test_data): Likewise.
23553         (ceil_test_data): Likewise.
23554         (cexp_test_data): Likewise.
23555         (cimag_test_data): Likewise.
23556         (clog_test_data): Likewise.
23557         (clog10_test_data): Likewise.
23558         (conj_test_data): Likewise.
23559         (copysign_test_data): Likewise.
23560         (cos_test_data): Likewise.
23561         (cos_tonearest_test_data): Likewise.
23562         (cos_towardzero_test_data): Likewise.
23563         (cos_downward_test_data): Likewise.
23564         (cos_upward_test_data): Likewise.
23565         (cosh_test_data): Likewise.
23566         (cosh_tonearest_test_data): Likewise.
23567         (cosh_towardzero_test_data): Likewise.
23568         (cosh_downward_test_data): Likewise.
23569         (cosh_upward_test_data): Likewise.
23570         (cpow_test_data): Likewise.
23571         (cproj_test_data): Likewise.
23572         (creal_test_data): Likewise.
23573         (csin_test_data): Likewise.
23574         (csinh_test_data): Likewise.
23575         (csqrt_test_data): Likewise.
23576         (ctan_test_data): Likewise.
23577         (ctan_tonearest_test_data): Likewise.
23578         (ctan_towardzero_test_data): Likewise.
23579         (ctan_downward_test_data): Likewise.
23580         (ctan_upward_test_data): Likewise.
23581         (ctanh_test_data): Likewise.
23582         (ctanh_tonearest_test_data): Likewise.
23583         (ctanh_towardzero_test_data): Likewise.
23584         (ctanh_downward_test_data): Likewise.
23585         (ctanh_upward_test_data): Likewise.
23586         (erf_test_data): Likewise.
23587         (erfc_test_data): Likewise.
23588         (exp_test_data): Likewise.
23589         (exp_tonearest_test_data): Likewise.
23590         (exp_towardzero_test_data): Likewise.
23591         (exp_downward_test_data): Likewise.
23592         (exp_upward_test_data): Likewise.
23593         (exp10_test_data): Likewise.
23594         (exp2_test_data): Likewise.
23595         (expm1_test_data): Likewise.
23596         (fabs_test_data): Likewise.
23597         (fdim_test_data): Likewise.
23598         (finite_test_data): Likewise.
23599         (floor_test_data): Likewise.
23600         (fma_test_data): Likewise.
23601         (fma_towardzero_test_data): Likewise.
23602         (fma_downward_test_data): Likewise.
23603         (fma_upward_test_data): Likewise.
23604         (fmax_test_data): Likewise.
23605         (fmin_test_data): Likewise.
23606         (fmod_test_data): Likewise.
23607         (fpclassify_test_data): Likewise.
23608         (frexp_test_data): Likewise.
23609         (gamma_test_data): Likewise.
23610         (hypot_test_data): Likewise.
23611         (ilogb_test_data): Likewise.
23612         (isfinite_test_data): Likewise.
23613         (isgreater_test_data): Likewise.
23614         (isgreaterequal_test_data): Likewise.
23615         (isinf_test_data): Likewise.
23616         (isless_test_data): Likewise.
23617         (islessequal_test_data): Likewise.
23618         (islessgreater_test_data): Likewise.
23619         (isnan_test_data): Likewise.
23620         (isnormal_test_data): Likewise.
23621         (issignaling_test_data): Likewise.
23622         (isunordered_test_data): Likewise.
23623         (j0_test_data): Likewise.
23624         (j1_test_data): Likewise.
23625         (jn_test_data): Likewise.
23626         (ldexp_test_data): Likewise.
23627         (lgamma_test_data): Likewise.
23628         (lrint_test_data): Likewise.
23629         (lrint_tonearest_test_data): Likewise.
23630         (lrint_towardzero_test_data): Likewise.
23631         (lrint_downward_test_data): Likewise.
23632         (lrint_upward_test_data): Likewise.
23633         (llrint_test_data): Likewise.
23634         (llrint_tonearest_test_data): Likewise.
23635         (llrint_towardzero_test_data): Likewise.
23636         (llrint_downward_test_data): Likewise.
23637         (llrint_upward_test_data): Likewise.
23638         (log_test_data): Likewise.
23639         (log10_test_data): Likewise.
23640         (log1p_test_data): Likewise.
23641         (log2_test_data): Likewise.
23642         (logb_test_data): Likewise.
23643         (logb_downward_test_data): Likewise.
23644         (lround_test_data): Likewise.
23645         (llround_test_data): Likewise.
23646         (modf_test_data): Likewise.
23647         (nearbyint_test_data): Likewise.
23648         (nextafter_test_data): Likewise.
23649         (nexttoward_test_data): Likewise.
23650         (pow_test_data): Likewise.
23651         (pow_tonearest_test_data): Likewise.
23652         (pow_towardzero_test_data): Likewise.
23653         (pow_downward_test_data): Likewise.
23654         (pow_upward_test_data): Likewise.
23655         (remainder_test_data): Likewise.
23656         (remainder_tonearest_test_data): Likewise.
23657         (remainder_towardzero_test_data): Likewise.
23658         (remainder_downward_test_data): Likewise.
23659         (remainder_upward_test_data): Likewise.
23660         (remquo_test_data): Likewise.
23661         (rint_test_data): Likewise.
23662         (rint_tonearest_test_data): Likewise.
23663         (rint_towardzero_test_data): Likewise.
23664         (rint_downward_test_data): Likewise.
23665         (rint_upward_test_data): Likewise.
23666         (round_test_data): Likewise.
23667         (scalb_test_data): Likewise.
23668         (scalbn_test_data): Likewise.
23669         (scalbln_test_data): Likewise.
23670         (signbit_test_data): Likewise.
23671         (sin_test_data): Likewise.
23672         (sin_tonearest_test_data): Likewise.
23673         (sin_towardzero_test_data): Likewise.
23674         (sin_downward_test_data): Likewise.
23675         (sin_upward_test_data): Likewise.
23676         (sincos_test_data): Likewise.
23677         (sinh_test_data): Likewise.
23678         (sinh_tonearest_test_data): Likewise.
23679         (sinh_towardzero_test_data): Likewise.
23680         (sinh_downward_test_data): Likewise.
23681         (sinh_upward_test_data): Likewise.
23682         (sqrt_test_data): Likewise.
23683         (tan_test_data): Likewise.
23684         (tan_tonearest_test_data): Likewise.
23685         (tan_towardzero_test_data): Likewise.
23686         (tan_downward_test_data): Likewise.
23687         (tan_upward_test_data): Likewise.
23688         (tanh_test_data): Likewise.
23689         (tgamma_test_data): Likewise.
23690         (trunc_test_data): Likewise.
23691         (y0_test_data): Likewise.
23692         (y1_test_data): Likewise.
23693         (yn_test_data): Likewise.
23694         (significand_test_data): Likewise.
23695
23696         * math/gen-libm-test.pl (@functions): Remove variable.
23697         (generate_testfile): Don't handle START and END lines.
23698         * math/libm-test.inc (START): New macro.
23699         (END): Likewise.
23700         (END_COMPLEX): Likewise.
23701         (acos_test): Use END macro without arguments.
23702         (acos_test_tonearest): Likewise.
23703         (acos_test_towardzero): Likewise.
23704         (acos_test_downward): Likewise.
23705         (acos_test_upward): Likewise.
23706         (acosh_test): Likewise.
23707         (asin_test): Likewise.
23708         (asin_test_tonearest): Likewise.
23709         (asin_test_towardzero): Likewise.
23710         (asin_test_downward): Likewise.
23711         (asin_test_upward): Likewise.
23712         (asinh_test): Likewise.
23713         (atan_test): Likewise.
23714         (atanh_test): Likewise.
23715         (atan2_test): Likewise.
23716         (cabs_test): Likewise.
23717         (cacos_test): Use END_COMPLEX macro without arguments.
23718         (cacosh_test): Likewise.
23719         (carg_test): Use END macro without arguments.
23720         (casin_test): Use END_COMPLEX macro without arguments.
23721         (casinh_test): Likewise.
23722         (catan_test): Likewise.
23723         (catanh_test): Likewise.
23724         (cbrt_test): Use END macro without arguments.
23725         (ccos_test): Use END_COMPLEX macro without arguments.
23726         (ccosh_test): Likewise.
23727         (ceil_test): Use END macro without arguments.
23728         (cexp_test): Use END_COMPLEX macro without arguments.
23729         (cimag_test): Use END macro without arguments.
23730         (clog_test): Use END_COMPLEX macro without arguments.
23731         (clog10_test): Likewise.
23732         (conj_test): Likewise.
23733         (copysign_test): Use END macro without arguments.
23734         (cos_test): Likewise.
23735         (cos_test_tonearest): Likewise.
23736         (cos_test_towardzero): Likewise.
23737         (cos_test_downward): Likewise.
23738         (cos_test_upward): Likewise.
23739         (cosh_test): Likewise.
23740         (cosh_test_tonearest): Likewise.
23741         (cosh_test_towardzero): Likewise.
23742         (cosh_test_downward): Likewise.
23743         (cosh_test_upward): Likewise.
23744         (cpow_test): Use END_COMPLEX macro without arguments.
23745         (cproj_test): Likewise.
23746         (creal_test): Use END macro without arguments.
23747         (csin_test): Use END_COMPLEX macro without arguments.
23748         (csinh_test): Likewise.
23749         (csqrt_test): Likewise.
23750         (ctan_test): Likewise.
23751         (ctan_test_tonearest): Likewise.
23752         (ctan_test_towardzero): Likewise.
23753         (ctan_test_downward): Likewise.
23754         (ctan_test_upward): Likewise.
23755         (ctanh_test): Likewise.
23756         (ctanh_test_tonearest): Likewise.
23757         (ctanh_test_towardzero): Likewise.
23758         (ctanh_test_downward): Likewise.
23759         (ctanh_test_upward): Likewise.
23760         (erf_test): Use END macro without arguments.
23761         (erfc_test): Likewise.
23762         (exp_test): Likewise.
23763         (exp_test_tonearest): Likewise.
23764         (exp_test_towardzero): Likewise.
23765         (exp_test_downward): Likewise.
23766         (exp_test_upward): Likewise.
23767         (exp10_test): Likewise.
23768         (exp2_test): Likewise.
23769         (expm1_test): Likewise.
23770         (fabs_test): Likewise.
23771         (fdim_test): Likewise.
23772         (finite_test): Likewise.
23773         (floor_test): Likewise.
23774         (fma_test): Likewise.
23775         (fma_test_towardzero): Likewise.
23776         (fma_test_downward): Likewise.
23777         (fma_test_upward): Likewise.
23778         (fmax_test): Likewise.
23779         (fmin_test): Likewise.
23780         (fmod_test): Likewise.
23781         (fpclassify_test): Likewise.
23782         (frexp_test): Likewise.
23783         (gamma_test): Likewise.
23784         (hypot_test): Likewise.
23785         (ilogb_test): Likewise.
23786         (isfinite_test): Likewise.
23787         (isgreater_test): Likewise.
23788         (isgreaterequal_test): Likewise.
23789         (isinf_test): Likewise.
23790         (isless_test): Likewise.
23791         (islessequal_test): Likewise.
23792         (islessgreater_test): Likewise.
23793         (isnan_test): Likewise.
23794         (isnormal_test): Likewise.
23795         (issignaling_test): Likewise.
23796         (isunordered_test): Likewise.
23797         (j0_test): Likewise.
23798         (j1_test): Likewise.
23799         (jn_test): Likewise.
23800         (ldexp_test): Likewise.
23801         (lgamma_test): Likewise.
23802         (lrint_test): Likewise.
23803         (lrint_test_tonearest): Likewise.
23804         (lrint_test_towardzero): Likewise.
23805         (lrint_test_downward): Likewise.
23806         (lrint_test_upward): Likewise.
23807         (llrint_test): Likewise.
23808         (llrint_test_tonearest): Likewise.
23809         (llrint_test_towardzero): Likewise.
23810         (llrint_test_downward): Likewise.
23811         (llrint_test_upward): Likewise.
23812         (log_test): Likewise.
23813         (log10_test): Likewise.
23814         (log1p_test): Likewise.
23815         (log2_test): Likewise.
23816         (logb_test): Likewise.
23817         (logb_test_downward): Likewise.
23818         (lround_test): Likewise.
23819         (llround_test): Likewise.
23820         (modf_test): Likewise.
23821         (nearbyint_test): Likewise.
23822         (nextafter_test): Likewise.
23823         (nexttoward_test): Likewise.
23824         (pow_test): Likewise.
23825         (pow_test_tonearest): Likewise.
23826         (pow_test_towardzero): Likewise.
23827         (pow_test_downward): Likewise.
23828         (pow_test_upward): Likewise.
23829         (remainder_test): Likewise.
23830         (remainder_test_tonearest): Likewise.
23831         (remainder_test_towardzero): Likewise.
23832         (remainder_test_downward): Likewise.
23833         (remainder_test_upward): Likewise.
23834         (remquo_test): Likewise.
23835         (rint_test): Likewise.
23836         (rint_test_tonearest): Likewise.
23837         (rint_test_towardzero): Likewise.
23838         (rint_test_downward): Likewise.
23839         (rint_test_upward): Likewise.
23840         (round_test): Likewise.
23841         (scalb_test): Likewise.
23842         (scalbn_test): Likewise.
23843         (scalbln_test): Likewise.
23844         (signbit_test): Likewise.
23845         (sin_test): Likewise.
23846         (sin_test_tonearest): Likewise.
23847         (sin_test_towardzero): Likewise.
23848         (sin_test_downward): Likewise.
23849         (sin_test_upward): Likewise.
23850         (sincos_test): Likewise.
23851         (sinh_test): Likewise.
23852         (sinh_test_tonearest): Likewise.
23853         (sinh_test_towardzero): Likewise.
23854         (sinh_test_downward): Likewise.
23855         (sinh_test_upward): Likewise.
23856         (sqrt_test): Likewise.
23857         (tan_test): Likewise.
23858         (tan_test_tonearest): Likewise.
23859         (tan_test_towardzero): Likewise.
23860         (tan_test_downward): Likewise.
23861         (tan_test_upward): Likewise.
23862         (tanh_test): Likewise.
23863         (tgamma_test): Likewise.
23864         (trunc_test): Likewise.
23865         (y0_test): Likewise.
23866         (y1_test): Likewise.
23867         (yn_test): Likewise.
23868         (significand_test): Likewise.
23869
23870 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
23871
23872         [BZ #15381]
23873         * libio/genops.c (_IO_no_init): Initialize wide struct info.
23874
23875 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23876
23877         [BZ #14894]
23878         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23879         __ppc_mdoio and __ppc_mdoom.
23880         * manual/platform.texi: Document new functions __ppc_yield,
23881         __ppc_mdoio and __ppc_mdoom.
23882
23883 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
23884
23885         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23886         (main): Mention "tls" pseudo-hwcap is legacy.
23887         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23888
23889 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23890
23891         * math/gen-libm-test.pl (parse_args): Output only string of
23892         arguments as text for test name, not full call or descriptions of
23893         tests for extra outputs.
23894         (generate_testfile): Do not pass function name to parse_args.
23895         Generate this_func variable from START.
23896         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23897         field to arg_str.
23898         (struct test_ff_f_data): Likewise.
23899         (test_ff_f_data_nexttoward): Likewise.
23900         (struct test_fi_f_data): Likewise.
23901         (struct test_fl_f_data): Likewise.
23902         (struct test_if_f_data): Likewise.
23903         (struct test_fff_f_data): Likewise.
23904         (struct test_c_f_data): Likewise.
23905         (struct test_f_f1_data): Likewise.  Remove field extra_name.
23906         (struct test_fF_f1_data): Likewise.
23907         (struct test_ffI_f1_data): Likewise.
23908         (struct test_c_c_data): Rename test_name field to arg_str.
23909         (struct test_cc_c_data): Likewise.
23910         (struct test_f_i_data): Likewise.
23911         (struct test_ff_i_data): Likewise.
23912         (struct test_f_l_data): Likewise.
23913         (struct test_f_L_data): Likewise.
23914         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
23915         and extra2_name.
23916         (COMMON_TEST_SETUP): New macro.
23917         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23918         (COMMON_TEST_CLEANUP): Likewise.
23919         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23920         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
23921         macros.
23922         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23923         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
23924         macros.
23925         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23926         (RUN_TEST_fff_f): Take argument string.  Call new setup and
23927         cleanup macros.
23928         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23929         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
23930         macros.
23931         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23932         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
23933         macros.
23934         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23935         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
23936         cleanup macros.
23937         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23938         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
23939         cleanup macros.
23940         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23941         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
23942         cleanup macros.
23943         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23944         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
23945         macros.
23946         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23947         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
23948         macros.
23949         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23950         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
23951         macros.
23952         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23953         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
23954         cleanup macros.
23955         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23956         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
23957         cleanup macros.
23958         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23959         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
23960         macros.
23961         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23962         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
23963         cleanup macros.
23964         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23965         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
23966         macros.
23967         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23968         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
23969         macros.
23970         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23971         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
23972         cleanup macros.
23973         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23974
23975 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
23976
23977         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23978         to _sifields.sigfault.
23979         (si_addr_lsb): Define new macro.
23980         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23981         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23982         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23983
23984 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
23985
23986         [BZ #15441]
23987         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23988         returns -1.
23989         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23990         null return -1.
23991         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23992         loading the domain.
23993
23994 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23995
23996         * math/gen-libm-test.pl (parse_args): Do not include expected
23997         result in test name.
23998         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23999         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24000         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24001         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24002         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24004
24005 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24006
24007         * benchtests/Makefile: Sort function entries.
24008
24009         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24010         tanh, asinh, acosh, atanh.
24011         * benchtests/acos-inputs: New file.
24012         * benchtests/acosh-inputs: New file.
24013         * benchtests/asin-inputs: New file.
24014         * benchtests/asinh-inputs: New file.
24015         * benchtests/atanh-inputs: New file.
24016         * benchtests/cosh-inputs: New file.
24017         * benchtests/log-inputs: New file.
24018         * benchtests/sinh-inputs: New file.
24019         * benchtests/tanh-inputs: New file.
24020
24021 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24022
24023         [BZ #15339]
24024         * posix/tst-getaddrinfo4.c: New test.
24025         * posix/Makefile (tests): Add it.
24026
24027 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24028
24029         [BZ #15339]
24030         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24031         when no services were used.
24032         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24033         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24034
24035 2013-05-21  Andreas Schwab  <schwab@suse.de>
24036
24037         [BZ #15014]
24038         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24039         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24040         successful.
24041         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24042         redundant variable declarations and reallocation of buffer when
24043         parsing as IPv6 address.  Always set NSS status when called from
24044         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24045         buffer too small.  Correct computation of needed size.
24046         * nss/Makefile (tests): Add test-digits-dots.
24047         * nss/test-digits-dots.c: New test.
24048
24049 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24050
24051         * benchtests/Makefile: Remove instructions for adding
24052         benchmark tests.
24053         * benchtests/README: New file to explain how to execute and
24054         enhance the benchmark tests.
24055
24056 2013-05-21  Andreas Schwab  <schwab@suse.de>
24057
24058         [BZ #15493]
24059         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24060         * setjmp/tst-sigsetjmp.c: New test.
24061
24062 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24063
24064         * sysdeps/x86_64/memset.S (memset): New implementation.
24065         (__bzero): Likewise.
24066         (__memset_tail): New function.
24067
24068 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24069
24070         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24071         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24072         __memcpy_sse2_unaligned ifunc selection.
24073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24074         Add memcpy-sse2-unaligned.S.
24075         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24076         Add: __memcpy_sse2_unaligned.
24077
24078 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24079
24080         [BZ #15490]
24081         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24082         math_force_eval before restoring floating-point envrionment.
24083         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24084         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24085         Likewise.
24086         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24087         <math_private.h>.
24088         (__nearbyintl): Use math_force_eval before restoring
24089         floating-point environment.
24090         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24091
24092         * math/gen-libm-test.pl (special_functions): Remove.
24093         (parse_args): Don't handle TEST_extra.  Handle functions with no
24094         return value.
24095         * math/libm-test.inc (struct test_sincos_data): Replace with
24096         struct test_fFF_11_data.
24097         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24098         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24099         (sincos_test_data): Change element type to struct
24100         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24101         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24102         RUN_TEST_LOOP_sincos.
24103         * math/README.libm-test: Don't mention special handling of
24104         individual functions.
24105         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24106         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24107         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24108         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24109         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24111
24112         * math/gen-libm-test.pl (get_variable): Remove function.
24113         (parse_args): Don't show pointer parameters to call in test
24114         names.  Use "extra output N" in test names for extra outputs
24115         rather than naming variables.
24116
24117 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24118
24119         [BZ #15488]
24120         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24121         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24122         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24123         double tests.
24124         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24125         disable.
24126         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24127         check_long_double.
24128
24129         * math/gen-libm-test.pl (@tests): Remove variable.
24130         ($count): Likewise.
24131         (new_test): Remove function.
24132         (show_exceptions): New function.
24133         (special_functions): Use show_exceptions instead of new_test.
24134         (parse_args): Likewise.
24135         (generate_testfile): Pass only function name in generated call to
24136         print_max_error or print_complex_max_error.
24137         (get_ulps): Do not handle complex tests specially.
24138         (output_test): Rename to ...
24139         (get_all_ulps_for_test): ... this.  Return a string rather than
24140         printing to a file.  Require ulps to be present.
24141         (output_ulps): Generate arrays rather than #defines.
24142         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24143         (struct ulp_data): New type.
24144         (BUILD_COMPLEX_ULP): Remove macro.
24145         (compare_ulp_data): New function.
24146         (find_ulps): Likewise.
24147         (find_test_ulps): Likewise.
24148         (find_function_ulps): Likewise.
24149         (find_complex_function_ulps): Likewise.
24150         (print_max_error): Determine allowed ulps using
24151         find_function_ulps.
24152         (print_complex_max_error): Determine allowed ulps using
24153         find_complex_function_ulps.
24154         (check_float_internal): Determine max ulps using find_test_ulps.
24155         (check_float): Do not take max_ulp parameter.  Update call to
24156         check_float_internal.
24157         (check_complex): Likewise.
24158         (check_int): Do not take max_ulp parameter.
24159         (check_long): Likewise.
24160         (check_bool): Likewise.
24161         (check_longlong): Likewise.
24162         (struct test_f_f_data): Remove max_ulp field.
24163         (struct test_ff_f_data): Likewise.
24164         (struct test_ff_f_data_nexttoward): Likewise.
24165         (struct test_fi_f_data): Likewise.
24166         (struct test_fl_f_data): Likewise.
24167         (struct test_if_f_data): Likewise.
24168         (struct test_fff_f_data): Likewise.
24169         (struct test_c_f_data): Likewise.
24170         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24171         (struct test_fF_f1_data): Likewise.
24172         (struct test_ffI_f1_data): Likewise.
24173         (struct test_c_c_data): Remove max_ulp field.
24174         (struct test_cc_c_data): Likewise.
24175         (struct test_f_i_data): Likewise.
24176         (struct test_ff_i_data): Likewise.
24177         (struct test_f_l_data): Likewise.
24178         (struct test_f_L_data): Likewise.
24179         (struct test_sincos_data): Likewise.
24180         (RUN_TEST_f_f): Do not handle ulps.
24181         (RUN_TEST_LOOP_f_f): Likewise.
24182         (RUN_TEST_2_f): Likewise.
24183         (RUN_TEST_LOOP_2_f): Likewise.
24184         (RUN_TEST_fff_f): Likewise.
24185         (RUN_TEST_LOOP_fff_f): Likewise.
24186         (RUN_TEST_c_f): Likewise.
24187         (RUN_TEST_LOOP_c_f): Likewise.
24188         (RUN_TEST_f_f1): Likewise.
24189         (RUN_TEST_LOOP_f_f1): Likewise.
24190         (RUN_TEST_fF_f1): Likewise.
24191         (RUN_TEST_LOOP_fF_f1): Likewise.
24192         (RUN_TEST_fI_f1): Likewise.
24193         (RUN_TEST_LOOP_fI_f1): Likewise.
24194         (RUN_TEST_ffI_f1): Likewise.
24195         (RUN_TEST_LOOP_ffI_f1): Likewise.
24196         (RUN_TEST_c_c): Likewise.
24197         (RUN_TEST_LOOP_c_c): Likewise.
24198         (RUN_TEST_cc_c): Likewise.
24199         (RUN_TEST_LOOP_cc_c): Likewise.
24200         (RUN_TEST_f_i): Likewise.
24201         (RUN_TEST_LOOP_f_i): Likewise.
24202         (RUN_TEST_f_i_tg): Likewise.
24203         (RUN_TEST_LOOP_f_i_tg): Likewise.
24204         (RUN_TEST_ff_i_tg): Likewise.
24205         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24206         (RUN_TEST_f_b): Likewise.
24207         (RUN_TEST_LOOP_f_b): Likewise.
24208         (RUN_TEST_f_b_tg): Likewise.
24209         (RUN_TEST_LOOP_f_b_tg): Likewise.
24210         (RUN_TEST_f_l): Likewise.
24211         (RUN_TEST_LOOP_f_l): Likewise.
24212         (RUN_TEST_f_L): Likewise.
24213         (RUN_TEST_LOOP_f_L): Likewise.
24214         (RUN_TEST_sincos): Likewise.
24215         (RUN_TEST_LOOP_sincos): Likewise.
24216
24217 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
24218
24219         [BZ #15480]
24220         [BZ #15485]
24221         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
24222         main case of finite arguments, set rounding mode to FE_TONEAREST
24223         and discard exceptions.
24224         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
24225         exceptions.
24226         (remainder_tonearest_test_data): New variable.
24227         (remainder_test_tonearest): New function.
24228         (remainder_towardzero_test_data): New variable.
24229         (remainder_test_towardzero): New function.
24230         (remainder_downward_test_data): New variable.
24231         (remainder_test_downward): New function.
24232         (remainder_upward_test_data): New variable.
24233         (remainder_test_upward): New function.
24234         (main): Call the new test functions.
24235
24236         * math/libm-test.inc (struct test_f_f1_data): Remove field
24237         extra_init.
24238         (struct test_fF_f1_data): Likewise.
24239         (struct test_ffI_f1_data): Likewise.
24240         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
24241         based on value of EXTRA_EXPECTED.
24242         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24243         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
24244         EXTRA_VAR based on value of EXTRA_EXPECTED.
24245         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24246         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
24247         EXTRA_VAR based on value of EXTRA_EXPECTED.
24248         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24249         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
24250         EXTRA_VAR based on value of EXTRA_EXPECTED.
24251         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24252         * math/gen-libm-test.pl (parse_args): Don't output initializers
24253         for extra output values.
24254
24255         * math/libm-test.inc (check_int): Expect result to be exactly
24256         equal to expected value and do not handle ulps.
24257         (check_long): Likewise.
24258         (check_longlong): Likewise.
24259
24260         * math/libm-test.inc (ceil_test_data): Test for "inexact"
24261         exceptions.
24262         (cimag_test_data): Likewise.
24263         (conj_test_data): Likewise.
24264         (copysign_test_data): Likewise.
24265         (cproj_test_data): Likewise.
24266         (creal_test_data): Likewise.
24267         (fabs_test_data): Likewise.
24268         (fdim_test_data): Likewise.
24269         (finite_test_data): Likewise.
24270         (floor_test_data): Likewise.
24271         (fmax_test_data): Likewise.
24272         (fmin_test_data): Likewise.
24273         (fmod_test_data): Likewise.
24274         (fpclassify_test_data): Likewise.
24275         (frexp_test_data): Likewise.
24276         (ilogb_test_data): Likewise.
24277         (isfinite_test_data): Likewise.
24278         (isgreater_test_data): Likewise.
24279         (isgreaterequal_test_data): Likewise.
24280         (isinf_test_data): Likewise.
24281         (isless_test_data): Likewise.
24282         (islessequal_test_data): Likewise.
24283         (islessgreater_test_data): Likewise.
24284         (isnan_test_data): Likewise.
24285         (isnormal_test_data): Likewise.
24286         (issignaling_test_data): Likewise.
24287         (isunordered_test_data): Likewise.
24288         (ldexp_test_data): Likewise.
24289         (lrint_test_data): Likewise.
24290         (lrint_test_data) [TEST_FLOAT]: Disable one test.
24291         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
24292         (lrint_tonearest_test_data): Test for "inexact" exceptions.
24293         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24294         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
24295         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24296         test input.
24297         (lrint_towardzero_test_data): Test for "inexact" exceptions.
24298         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24299         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
24300         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
24301         that test input.
24302         (lrint_downward_test_data): Test for "inexact" exceptions.
24303         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24304         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
24305         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
24306         test input.
24307         (lrint_upward_test_data): Test for "inexact" exceptions.
24308         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
24309         test input.
24310         (llrint_test_data): Test for "inexact" exceptions.
24311         (llrint_test_data) [TEST_FLOAT]: Disable one test.
24312         (llrint_tonearest_test_data): Test for "inexact" exceptions.
24313         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
24314         (llrint_towardzero_test_data): Test for "inexact" exceptions.
24315         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
24316         (llrint_downward_test_data): Test for "inexact" exceptions.
24317         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
24318         (llrint_upward_test_data): Test for "inexact" exceptions.
24319         (logb_test_data): Likewise.
24320         (logb_downward_test_data): Likewise.
24321         (nextafter_test_data): Likewise.
24322         (nexttoward_test_data): Likewise.
24323         (remainder_test_data): Likewise.
24324         (remquo_test_data): Likewise.
24325         (scalbn_test_data): Likewise.
24326         (scalbln_test_data): Likewise.
24327         (signbit_test_data): Likewise.
24328         (sqrt_test_data): Likewise.
24329         (significand_test_data): Likewise.
24330
24331 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24332
24333         [BZ #15424]
24334         * benchtests/bench-modf.c (struct args): Mark arg0 as
24335         volatile.
24336         * scripts/bench.pl: Mark members of struct args as volatile.
24337
24338 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24339
24340         [BZ # 15497]
24341         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
24342         negative infinity on POWER6 or lower.
24343         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
24344
24345 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
24346
24347         [BZ #15442]
24348         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
24349         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
24350         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
24351         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
24352         (_FP_SETQNAN): New macro.
24353         (_FP_SETQNAN_SEMIRAW): Likewise.
24354         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
24355         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
24356         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
24357         (FP_EXTEND): Use _FP_FRAC_SNANP.
24358         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
24359         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
24360         into account.
24361         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24362         New macro.
24363         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
24364         Likewise.
24365
24366 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24367
24368         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
24369         with DIVIDE_BY_ZERO_EXCEPTION.
24370         (gamma_test_data): Likewise.
24371         (lgamma_test_data): Likewise.
24372         (log_test_data): Likewise.
24373         (log10_test_data): Likewise.
24374         (log2_test_data): Likewise.
24375         (tgamma_test_data): Likewise.
24376
24377         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
24378         (acos_test_tonearest): Likewise.
24379         (acos_test_towardzero): Likewise.
24380         (acos_test_downward): Likewise.
24381         (acos_test_upward): Likewise.
24382         (acosh_test): Likewise.
24383         (asin_test): Likewise.
24384         (asin_test_tonearest): Likewise.
24385         (asin_test_towardzero): Likewise.
24386         (asin_test_downward): Likewise.
24387         (asin_test_upward): Likewise.
24388         (asinh_test): Likewise.
24389         (atan_test): Likewise.
24390         (atanh_test): Likewise.
24391         (atan2_test): Likewise.
24392         (cabs_test): Likewise.
24393         (cacos_test): Likewise.
24394         (cacosh_test): Likewise.
24395         (casin_test): Likewise.
24396         (casinh_test): Likewise.
24397         (catan_test): Likewise.
24398         (catanh_test): Likewise.
24399         (cbrt_test): Likewise.
24400         (ccos_test): Likewise.
24401         (ccosh_test): Likewise.
24402         (cexp_test): Likewise.
24403         (clog_test): Likewise.
24404         (clog10_test): Likewise.
24405         (cos_test): Likewise.
24406         (cos_test_tonearest): Likewise.
24407         (cos_test_towardzero): Likewise.
24408         (cos_test_downward): Likewise.
24409         (cos_test_upward): Likewise.
24410         (cosh_test): Likewise.
24411         (cosh_test_tonearest): Likewise.
24412         (cosh_test_towardzero): Likewise.
24413         (cosh_test_downward): Likewise.
24414         (cosh_test_upward): Likewise.
24415         (cpow_test): Likewise.
24416         (csin_test): Likewise.
24417         (csinh_test): Likewise.
24418         (csqrt_test): Likewise.
24419         (ctan_test): Likewise.
24420         (ctan_test_tonearest): Likewise.
24421         (ctan_test_towardzero): Likewise.
24422         (ctan_test_downward): Likewise.
24423         (ctan_test_upward): Likewise.
24424         (ctanh_test): Likewise.
24425         (ctanh_test_tonearest): Likewise.
24426         (ctanh_test_towardzero): Likewise.
24427         (ctanh_test_downward): Likewise.
24428         (ctanh_test_upward): Likewise.
24429         (erf_test): Likewise.
24430         (erfc_test): Likewise.
24431         (exp_test): Likewise.
24432         (exp_test_tonearest): Likewise.
24433         (exp_test_towardzero): Likewise.
24434         (exp_test_downward): Likewise.
24435         (exp_test_upward): Likewise.
24436         (exp10_test): Likewise.
24437         (exp2_test): Likewise.
24438         (expm1_test): Likewise.
24439         (fmod_test): Likewise.
24440         (gamma_test): Likewise.
24441         (hypot_test): Likewise.
24442         (j0_test): Likewise.
24443         (j1_test): Likewise.
24444         (jn_test): Likewise.
24445         (lgamma_test): Likewise.
24446         (log_test): Likewise.
24447         (log10_test): Likewise.
24448         (log1p_test): Likewise.
24449         (log2_test): Likewise.
24450         (logb_test_downward): Likewise.
24451         (pow_test): Likewise.
24452         (pow_test_tonearest): Likewise.
24453         (pow_test_towardzero): Likewise.
24454         (pow_test_downward): Likewise.
24455         (pow_test_upward): Likewise.
24456         (remainder_test): Likewise.
24457         (remquo_test): Likewise.
24458         (sin_test): Likewise.
24459         (sin_test_tonearest): Likewise.
24460         (sin_test_towardzero): Likewise.
24461         (sin_test_downward): Likewise.
24462         (sin_test_upward): Likewise.
24463         (sincos_test): Likewise.
24464         (sinh_test): Likewise.
24465         (sinh_test_tonearest): Likewise.
24466         (sinh_test_towardzero): Likewise.
24467         (sinh_test_downward): Likewise.
24468         (sinh_test_upward): Likewise.
24469         (sqrt_test): Likewise.
24470         (tan_test): Likewise.
24471         (tan_test_tonearest): Likewise.
24472         (tan_test_towardzero): Likewise.
24473         (tan_test_downward): Likewise.
24474         (tan_test_upward): Likewise.
24475         (tanh_test): Likewise.
24476         (tgamma_test): Likewise.
24477         (y0_test): Likewise.
24478         (y1_test): Likewise.
24479         (yn_test): Likewise.
24480
24481         * math/gen-libm-test.pl (adjust_arg): Remove function.
24482         (special_function): Remove argument $in_func.  Only handle
24483         generating output for tables of tests, not inside functions.
24484         (parse_args): Likewise.
24485         (generate_testfile): Remove variable $in_func.  Update call to
24486         parse_args.
24487         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
24488         (MINUS_ZERO_INIT): Rename macro to minus_zero.
24489         (PLUS_INFTY_INIT): Rename macro to plus_infty.
24490         (MINUS_INFTY_INIT): Rename macro to minus_infty.
24491         (QNAN_VALUE_INIT): Rename macro to qnan_value.
24492         (MAX_VALUE_INIT): Rename macro to max_value.
24493         (MIN_VALUE_INIT): Rename macro to min_value.
24494         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
24495         (plus_zero): Remove variable.
24496         (minus_zero): Likewise.
24497         (plus_infty): Likewise.
24498         (minus_infty): Likewise.
24499         (qnan_value): Likewise.
24500         (max_value): Likewise.
24501         (min_value): Likewise.
24502         (min_subnorm_value): Likewise.
24503
24504 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24505
24506         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
24507         uint64_t or uint32_t usage.
24508         * crypt/sha256-block.c: Likewise.
24509         * crypt/sha256-crypt.c: Likewise.
24510         * crypt/sha256.c: Likewise.
24511         * crypt/sha512-block.c: Likewise.
24512         * crypt/sha512-crypt.c: Likewise.
24513         * crypt/sha512.c: Likewise.
24514         * debug/backtrace-tst.c: Likewise.
24515         * debug/pcprofiledump.c: Likewise.
24516         * elf/cache.c: Likewise.
24517         * elf/dl-cache.c: Likewise.
24518         * elf/dl-misc.c: Likewise.
24519         * elf/dl-profile.c: Likewise.
24520         * elf/dl-support.c: Likewise.
24521         * elf/ldconfig.c: Likewise.
24522         * elf/sprof.c: Likewise.
24523         * iconv/dummy-repertoire.c: Likewise.
24524         * iconv/iconv_charmap.c: Likewise.
24525         * iconv/skeleton.c: Likewise.
24526         * iconvdata/8bit-generic.c: Likewise.
24527         * iconvdata/cp737.h: Likewise.
24528         * iconvdata/cp775.h: Likewise.
24529         * iconvdata/ibm1008.h: Likewise.
24530         * iconvdata/ibm1025.h: Likewise.
24531         * iconvdata/ibm1046.h: Likewise.
24532         * iconvdata/ibm1097.h: Likewise.
24533         * iconvdata/ibm1112.h: Likewise.
24534         * iconvdata/ibm1122.h: Likewise.
24535         * iconvdata/ibm1123.h: Likewise.
24536         * iconvdata/ibm1124.h: Likewise.
24537         * iconvdata/ibm1129.h: Likewise.
24538         * iconvdata/ibm1130.h: Likewise.
24539         * iconvdata/ibm1132.h: Likewise.
24540         * iconvdata/ibm1133.h: Likewise.
24541         * iconvdata/ibm1137.h: Likewise.
24542         * iconvdata/ibm1140.h: Likewise.
24543         * iconvdata/ibm1141.h: Likewise.
24544         * iconvdata/ibm1142.h: Likewise.
24545         * iconvdata/ibm1143.h: Likewise.
24546         * iconvdata/ibm1144.h: Likewise.
24547         * iconvdata/ibm1145.h: Likewise.
24548         * iconvdata/ibm1146.h: Likewise.
24549         * iconvdata/ibm1147.h: Likewise.
24550         * iconvdata/ibm1148.h: Likewise.
24551         * iconvdata/ibm1149.h: Likewise.
24552         * iconvdata/ibm1153.h: Likewise.
24553         * iconvdata/ibm1154.h: Likewise.
24554         * iconvdata/ibm1155.h: Likewise.
24555         * iconvdata/ibm1156.h: Likewise.
24556         * iconvdata/ibm1157.h: Likewise.
24557         * iconvdata/ibm1158.h: Likewise.
24558         * iconvdata/ibm1160.h: Likewise.
24559         * iconvdata/ibm1161.h: Likewise.
24560         * iconvdata/ibm1162.h: Likewise.
24561         * iconvdata/ibm1163.h: Likewise.
24562         * iconvdata/ibm1164.h: Likewise.
24563         * iconvdata/ibm1166.h: Likewise.
24564         * iconvdata/ibm1167.h: Likewise.
24565         * iconvdata/ibm12712.h: Likewise.
24566         * iconvdata/ibm1390.h: Likewise.
24567         * iconvdata/ibm1399.h: Likewise.
24568         * iconvdata/ibm16804.h: Likewise.
24569         * iconvdata/ibm4517.h: Likewise.
24570         * iconvdata/ibm4899.h: Likewise.
24571         * iconvdata/ibm4909.h: Likewise.
24572         * iconvdata/ibm4971.h: Likewise.
24573         * iconvdata/ibm5347.h: Likewise.
24574         * iconvdata/ibm803.h: Likewise.
24575         * iconvdata/ibm856.h: Likewise.
24576         * iconvdata/ibm901.h: Likewise.
24577         * iconvdata/ibm902.h: Likewise.
24578         * iconvdata/ibm9030.h: Likewise.
24579         * iconvdata/ibm9066.h: Likewise.
24580         * iconvdata/ibm921.h: Likewise.
24581         * iconvdata/ibm922.h: Likewise.
24582         * iconvdata/ibm9448.h: Likewise.
24583         * iconvdata/isiri-3342.h: Likewise.
24584         * iconvdata/jis0201.h: Likewise.
24585         * include/link.h: Likewise.
24586         * include/netdb.h: Likewise.
24587         * inet/check_native.c: Likewise.
24588         * inet/check_pf.c: Likewise.
24589         * inet/getipv4sourcefilter.c: Likewise.
24590         * inet/getnameinfo.c: Likewise.
24591         * inet/getsourcefilter.c: Likewise.
24592         * inet/htonl.c: Likewise.
24593         * inet/setipv4sourcefilter.c: Likewise.
24594         * inet/setsourcefilter.c: Likewise.
24595         * inet/test-inet6_opt.c: Likewise.
24596         * inet/tst-network.c: Likewise.
24597         * locale/C-collate.c: Likewise.
24598         * locale/C-ctype.c: Likewise.
24599         * locale/C-time.c: Likewise.
24600         * locale/C-translit.h: Likewise.
24601         * locale/loadarchive.c: Likewise.
24602         * locale/programs/3level.h: Likewise.
24603         * locale/programs/charmap.c: Likewise.
24604         * locale/programs/charmap.h: Likewise.
24605         * locale/programs/ld-address.c: Likewise.
24606         * locale/programs/ld-collate.c: Likewise.
24607         * locale/programs/ld-ctype.c: Likewise.
24608         * locale/programs/ld-identification.c: Likewise.
24609         * locale/programs/ld-measurement.c: Likewise.
24610         * locale/programs/ld-messages.c: Likewise.
24611         * locale/programs/ld-monetary.c: Likewise.
24612         * locale/programs/ld-name.c: Likewise.
24613         * locale/programs/ld-numeric.c: Likewise.
24614         * locale/programs/ld-paper.c: Likewise.
24615         * locale/programs/ld-telephone.c: Likewise.
24616         * locale/programs/ld-time.c: Likewise.
24617         * locale/programs/linereader.c: Likewise.
24618         * locale/programs/locale.c: Likewise.
24619         * locale/programs/locarchive.c: Likewise.
24620         * locale/programs/locfile.h: Likewise.
24621         * locale/programs/repertoire.c: Likewise.
24622         * locale/programs/simple-hash.c: Likewise.
24623         * locale/programs/simple-hash.h: Likewise.
24624         * malloc/memusage.c: Likewise.
24625         * malloc/memusagestat.c: Likewise.
24626         * nis/nis_defaults.c: Likewise.
24627         * nis/nis_hash.c: Likewise.
24628         * nis/nis_print.c: Likewise.
24629         * nis/nis_xdr.c: Likewise.
24630         * nscd/connections.c: Likewise.
24631         * nscd/hstcache.c: Likewise.
24632         * nscd/nscd_gethst_r.c: Likewise.
24633         * nscd/nscd_getserv_r.c: Likewise.
24634         * nscd/nscd_helper.c: Likewise.
24635         * nscd/servicescache.c: Likewise.
24636         * nss/makedb.c: Likewise.
24637         * nss/nss_db/db-XXX.c: Likewise.
24638         * nss/nss_db/db-initgroups.c: Likewise.
24639         * nss/nss_db/db-netgrp.c: Likewise.
24640         * nss/nss_files/files-network.c: Likewise.
24641         * nss/nss_files/files-parse.c: Likewise.
24642         * posix/bug-regex5.c: Likewise.
24643         * posix/fnmatch_loop.c: Likewise.
24644         * posix/regcomp.c: Likewise.
24645         * posix/regexec.c: Likewise.
24646         * posix/tst-rfc3484-2.c: Likewise.
24647         * posix/tst-rfc3484-3.c: Likewise.
24648         * posix/tst-rfc3484.c: Likewise.
24649         * resolv/nss_dns/dns-canon.c: Likewise.
24650         * resolv/nss_dns/dns-network.c: Likewise.
24651         * resolv/res_init.c: Likewise.
24652         * resolv/res_mkquery.c: Likewise.
24653         * resolv/tst-aton.c: Likewise.
24654         * stdlib/cxa_atexit.c: Likewise.
24655         * stdlib/cxa_finalize.c: Likewise.
24656         * stdlib/gen-fpioconst.c: Likewise.
24657         * stdlib/strtol_l.c: Likewise.
24658         * string/tst-endian.c: Likewise.
24659         * sunrpc/auth_des.c: Likewise.
24660         * sunrpc/clnt_udp.c: Likewise.
24661         * sunrpc/rtime.c: Likewise.
24662         * sunrpc/svcauth_des.c: Likewise.
24663         * sunrpc/xdr.c: Likewise.
24664         * sunrpc/xdr_intXX_t.c: Likewise.
24665         * sunrpc/xdr_rec.c: Likewise.
24666         * sysdeps/generic/ldconfig.h: Likewise.
24667         * sysdeps/generic/ldsodefs.h: Likewise.
24668         * sysdeps/generic/memusage.h: Likewise.
24669         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24670         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24671         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24672         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24673         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24674         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24675         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24676         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24677         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24679         * sysdeps/posix/getaddrinfo.c: Likewise.
24680         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24681         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24682         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24683         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24684         * sysdeps/powerpc/test-gettimebase.c: Likewise.
24685         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24686         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24687         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24688         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24689         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24690         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24691         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24692         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24693         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24694         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24695         * sysdeps/x86_64/dl-tls.h: Likewise.
24696         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24697         * time/alt_digit.c: Likewise.
24698         * time/era.c: Likewise.
24699         * wcsmbs/tst-c16c32-1.c: Likewise.
24700
24701 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24702
24703         * math/libm-test.inc (struct test_sincos_data): New type.
24704         (RUN_TEST_LOOP_sincos): New macro.
24705         (sincos_test_data): New variable.
24706         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24707
24708 2013-05-16  Richard Henderson  <rth@redhat.com>
24709
24710         * math/atest-exp2.c (LIMB64): New macro.
24711         (CONSTSZ): New macro.
24712         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24713         (hexdig): Move ...
24714         (print_mpn_fp): ... to function scope.
24715         (read_mpn_hex): Remove.
24716         (get_log2): Remove.
24717         (exp2_mpn): Use mp_log2.
24718         (main): Use mp_exp1.
24719
24720 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24721
24722         * math/libm-test.inc: Remove comment about not testing "inexact"
24723         exceptions.
24724         (INEXACT_EXCEPTION): New macro.
24725         (NO_INEXACT_EXCEPTION): Likewise.
24726         (INVALID_EXCEPTION_OK): Update value.
24727         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24728         (OVERFLOW_EXCEPTION_OK): Likewise.
24729         (UNDERFLOW_EXCEPTION_OK): Likewise.
24730         (IGNORE_ZERO_INF_SIGN): Likewise.
24731         (ERRNO_UNCHANGED): Likewise.
24732         (ERRNO_EDOM): Likewise.
24733         (ERRNO_ERANGE): Likewise.
24734         (test_exceptions): Handle testing "inexact" exceptions.
24735         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24736         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24737         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24738         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24739         INEXACT_EXCEPTION.
24740         (rint_towardzero_test_data): Likewise.
24741         (rint_downward_test_data): Likewise.
24742         (rint_upward_test_data): Likewise.
24743
24744         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24745         with OVERFLOW_EXCEPTION.
24746         (exp10_test_data): Likewise.
24747         (exp2_test_data): Likewise.
24748         (expm1_test_data): Likewise.
24749         (lgamma_test_data): Likewise.
24750         (pow_test_data): Likewise.
24751         (tgamma_test_data): Likewise.
24752         (yn_test_data): Remove duplicate test of overflow.
24753
24754         * math/libm-test.inc (struct test_cc_c_data): New type.
24755         (RUN_TEST_LOOP_cc_c): New macro.
24756         (cpow_test_data): New variable.
24757         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24758
24759         * math/libm-test.inc (struct test_f_L_data): New type.
24760         (RUN_TEST_LOOP_f_L): New macro.
24761         (llrint_test_data): New variable.
24762         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24763         (llrint_tonearest_test_data): New variable.
24764         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24765         (llrint_towardzero_test_data): New variable.
24766         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24767         (llrint_downward_test_data): New variable.
24768         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24769         (llrint_upward_test_data): New variable.
24770         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24771         (llround_test_data): New variable.
24772         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24773
24774 2013-05-13  Peter Collingbourne  <pcc@google.com>
24775
24776         * math/atest-exp2.c (get_log2): Remove const attribute.
24777
24778 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24779
24780         * math/libm-test.inc (struct test_f_l_data): New type.
24781         (RUN_TEST_LOOP_f_l): New macro.
24782         (lrint_test_data): New variable.
24783         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24784         (lrint_tonearest_test_data): New variable.
24785         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24786         (lrint_towardzero_test_data): New variable.
24787         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24788         (lrint_downward_test_data): New variable.
24789         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24790         (lrint_upward_test_data): New variable.
24791         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24792         (lround_test_data): New variable.
24793         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24794
24795 2013-05-15  Peter Collingbourne  <pcc@google.com>
24796
24797         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24798         (EXTRACT_WORDS64) Use where appropriate.
24799         (INSERT_WORDS64) Likewise.
24800
24801         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24802         constraints with x constraints.
24803         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24804
24805         * malloc/obstack.c (_obstack_compat): Add initializer.
24806
24807 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24808
24809         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24810         si_trapno and add si_addr_lsb to _sifields.sigfault.
24811         (si_trapno): Remove macro.
24812         (si_addr_lsb): Define new macro.
24813         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24814
24815 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24816
24817         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24818         instead of TEST_f_l.
24819         (llrint_test_tonearest): Likewise.
24820         (llrint_test_towardzero): Likewise.
24821         (llrint_test_downward): Likewise.
24822         (llrint_test_upward): Likewise.
24823         (llround_test): Likewise.
24824
24825         * math/libm-test.inc (struct test_f_i_data): Add comment.
24826         (RUN_TEST_LOOP_f_b): New macro.
24827         (RUN_TEST_LOOP_f_b_tg): Likewise.
24828         (finite_test_data): New variable.
24829         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24830         (isfinite_test_data): New variable.
24831         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24832         (isinf_test_data): New variable.
24833         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24834         (isnan_test_data): New variable.
24835         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24836         (isnormal_test_data): New variable.
24837         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24838         (issignaling_test_data): New variable.
24839         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24840         (signbit_test_data): New variable.
24841         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24842
24843         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24844         with INVALID_EXCEPTION.
24845         (acosh_test_data): Likewise.
24846         (asin_test_data): Likewise.
24847         (atanh_test_data): Likewise.
24848         (fmod_test_data): Likewise.
24849         (log_test_data): Likewise.
24850         (log10_test_data): Likewise.
24851         (log2_test_data): Likewise.
24852         (pow_test_data): Likewise.
24853         (sqrt_test_data): Likewise.
24854         (y0_test_data): Likewise.
24855         (y1_test_data): Likewise.
24856         (yn_test_data): Likewise.
24857
24858         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24859         function contents.
24860
24861         * math/libm-test.inc (struct test_ff_i_data): New type.
24862         (RUN_TEST_LOOP_ff_i_tg): New macro.
24863         (isgreater_test_data): New variable.
24864         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24865         (isgreaterequal_test_data): New variable.
24866         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24867         (isless_test_data): New variable.
24868         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24869         (islessequal_test_data): New variable.
24870         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24871         (islessgreater_test_data): New variable.
24872         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24873         (isunordered_test_data): New variable.
24874         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24875
24876 2013-05-14  David S. Miller  <davem@davemloft.net>
24877
24878         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24879
24880 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
24881
24882         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24883
24884         * math/libm-test.inc (struct test_fF_f1_data): Change type of
24885         extra_test to int.
24886         (struct test_f_i_data): Change type of max_ulp to int.
24887
24888         * math/libm-test.inc (test_ffI_f1_data): New type.
24889         (RUN_TEST_LOOP_ffI_f1): New macro.
24890         (remquo_test_data): New variable.
24891         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24892
24893         * setjmp/tst-setjmp-fp.c: New file.
24894         * setjmp/Makefile (tests): Add tst-setjmp-fp.
24895         (link-libm): New variable.
24896         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24897
24898         * math/libm-test.inc (struct test_f_i_data): New type.
24899         (RUN_TEST_LOOP_f_i): New macro.
24900         (RUN_TEST_LOOP_f_i_tg): Likewise.
24901         (fpclassify_test_data): New variable.
24902         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24903         (ilogb_test_data): New variable.
24904         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24905
24906         * math/libm-test.inc (scalbln_test): Correct function name in END
24907         call.
24908
24909         * math/libm-test.inc (struct test_f_f1_data): Add comment.
24910         (RUN_TEST_LOOP_fI_f1): New macro.
24911         (frexp_test_data): New variable.
24912         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24913
24914         * math/libm-test.inc (struct test_fF_f1_data): New type.
24915         (RUN_TEST_LOOP_fF_f1): New macro.
24916         (modf_test_data): New variable.
24917         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24918
24919         * math/libm-test.inc (struct test_f_f1_data): New type.
24920         (RUN_TEST_LOOP_f_f1): New macro.
24921         (gamma_test_data): New variable.
24922         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24923         (lgamma_test_data): New variable.
24924         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24925
24926 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
24927
24928         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24929         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24930         (main): Comment "tls" pseudo-hwcap.
24931
24932 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
24933
24934         * math/libm-test.inc (struct test_fl_f_data): New type.
24935         (RUN_TEST_LOOP_fl_f): New variable.
24936         (scalbln_test_data): New variable.
24937         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24938
24939         * math/libm-test.inc (struct test_fi_f_data): New type.
24940         (RUN_TEST_LOOP_fi_f): New macro.
24941         (ldexp_test_data): New variable.
24942         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24943         (scalbn_test_data): New variable.
24944         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24945
24946         * math/libm-test.inc (struct test_c_f_data): New type.
24947         (RUN_TEST_LOOP_c_f): New macro.
24948         (cabs_test_data): New variable.
24949         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24950         (carg_test_data): New variable.
24951         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24952         (cimag_test_data): New variable.
24953         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24954         (creal_test_data): New variable.
24955         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24956
24957         * math/libm-test.inc (struct test_if_f_data): New type.
24958         (RUN_TEST_LOOP_if_f): New macro.
24959         (jn_test_data): New variable.
24960         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24961         (yn_test_data): New variable.
24962         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24963
24964         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24965
24966 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24967
24968         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24969         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24970
24971 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24972
24973         * benchtests/Makefile (CPPFLAGS-nonlib): Add
24974         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24975         (bench-deps): Add bench-timing.h.
24976         * benchtests-bench-skeleton.c: Include bench-timing.h.
24977         (main): Use TIMING_* macros instead of clock_gettime.
24978         * benchtests/bench-timing.h: New file.
24979
24980         [BZ #14582]
24981         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24982         Renamed from _LIB_VERSION.
24983         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24984
24985 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
24986
24987         * math/libm-test.inc (struct test_fff_f_data): New type.
24988         (RUN_TEST_LOOP_fff_f): New macro.
24989         (fma_test_data): New variable.
24990         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24991         (fma_towardzero_test_data): New variable.
24992         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24993         (fma_downward_test_data): New variable.
24994         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24995         (fma_upward_test_data): New variable.
24996         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24997
24998         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24999         (struct test_c_c_data): New type.
25000         (RUN_TEST_LOOP_c_c): New macro.
25001         (cacos_test_data): New variable.
25002         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25003         (cacosh_test_data): New variable.
25004         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25005         (casin_test_data): New variable.
25006         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25007         (casinh_test_data): New variable.
25008         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25009         (catan_test_data): New variable.
25010         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25011         (catanh_test_data): New variable.
25012         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25013         (ccos_test_data): New variable.
25014         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25015         (ccosh_test_data): New variable.
25016         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25017         (cexp_test_data): New variable.
25018         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25019         (clog_test_data): New variable.
25020         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25021         (clog10_test_data): New variable.
25022         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25023         (conj_test_data): New variable.
25024         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25025         (cproj_test_data): New variable.
25026         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25027         (csin_test_data): New variable.
25028         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25029         (csinh_test_data): New variable.
25030         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25031         (csqrt_test_data): New variable.
25032         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25033         (ctan_test_data): New variable.
25034         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25035         (ctan_tonearest_test_data): New variable.
25036         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25037         (ctan_towardzero_test_data): New variable.
25038         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25039         (ctan_downward_test_data): New variable.
25040         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25041         (ctan_upward_test_data): New variable.
25042         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25043         (ctanh_test_data): New variable.
25044         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25045         (ctanh_tonearest_test_data): New variable.
25046         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25047         (ctanh_towardzero_test_data): New variable.
25048         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25049         (ctanh_downward_test_data): New variable.
25050         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25051         (ctanh_upward_test_data): New variable.
25052         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25053         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25054         of BUILD_COMPLEX.
25055
25056         * math/libm-test.inc (struct test_ff_f_data): New type.
25057         (struct test_ff_f_data_nexttoward): Likewise.
25058         (RUN_TEST_LOOP_2_f): New macro.
25059         (RUN_TEST_LOOP_ff_f): Likewise.
25060         (atan2_test_data): New variable.
25061         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25062         (copysign_test_data): New variable.
25063         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25064         (fdim_test_data): New variable.
25065         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25066         (fmax_test_data): New variable.
25067         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25068         (fmin_test_data): New variable.
25069         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25070         (fmod_test_data): New variable.
25071         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25072         (hypot_test_data): New variable.
25073         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25074         (nextafter_test_data): New variable.
25075         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25076         (nexttoward_test_data): New variable.
25077         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25078         (pow_test_data): New variable.
25079         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25080         (pow_tonearest_test_data): New variable.
25081         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25082         (pow_towardzero_test_data): New variable.
25083         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25084         (pow_downward_test_data): New variable.
25085         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25086         (pow_upward_test_data): New variable.
25087         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25088         (remainder_test_data): New variable.
25089         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25090         (scalb_test_data): New variable.
25091         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25092         * sysdeps/i386/fpu/libm-test-ulps: Update.
25093
25094 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25095
25096         * math/libm-test.inc (fma_test): Use max_value instead of local
25097         variable fltmax.
25098         (nextafter_test): Likewise.
25099
25100         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25101         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25102         (acos_downward_test_data): New variable.
25103         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25104         (acos_upward_test_data): New variable.
25105         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25106         (acosh_test_data): New variable.
25107         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25108         (asin_test_data): New variable.
25109         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25110         (asin_tonearest_test_data): New variable.
25111         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25112         (asin_towardzero_test_data): New variable.
25113         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25114         (asin_downward_test_data): New variable.
25115         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25116         (asin_upward_test_data): New variable.
25117         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25118         (asinh_test_data): New variable.
25119         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25120         (atan_test_data): New variable.
25121         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25122         (atanh_test_data): New variable.
25123         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25124         (cbrt_test_data): New variable.
25125         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25126         (ceil_test_data): New variable.
25127         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25128         (cos_test_data): New variable.
25129         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25130         (cos_tonearest_test_data): New variable.
25131         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25132         (cos_towardzero_test_data): New variable.
25133         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25134         (cos_downward_test_data): New variable.
25135         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25136         (cos_upward_test_data): New variable.
25137         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25138         (cosh_test_data): New variable.
25139         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25140         (cosh_tonearest_test_data): New variable.
25141         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25142         (cosh_towardzero_test_data): New variable.
25143         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25144         (cosh_downward_test_data): New variable.
25145         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25146         (cosh_upward_test_data): New variable.
25147         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25148         (erf_test_data): New variable.
25149         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25150         (erfc_test_data): New variable.
25151         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25152         (exp_test_data): New variable.
25153         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25154         (exp_tonearest_test_data): New variable.
25155         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25156         (exp_towardzero_test_data): New variable.
25157         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25158         (exp_downward_test_data): New variable.
25159         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25160         (exp_upward_test_data): New variable.
25161         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25162         (exp10_test_data): New variable.
25163         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25164         (exp2_test_data): New variable.
25165         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25166         (expm1_test_data): New variable.
25167         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25168         (fabs_test_data): New variable.
25169         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25170         (floor_test_data): New variable.
25171         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25172         (j0_test_data): New variable.
25173         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25174         (j1_test_data): New variable.
25175         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25176         (log_test_data): New variable.
25177         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25178         (log10_test_data): New variable.
25179         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25180         (log1p_test_data): New variable.
25181         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25182         (log2_test_data): New variable.
25183         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
25184         (logb_test_data): New variable.
25185         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
25186         (logb_downward_test_data): New variable.
25187         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25188         (nearbyint_test_data): New variable.
25189         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
25190         (rint_test_data): New variable.
25191         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
25192         (rint_tonearest_test_data): New variable.
25193         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25194         (rint_towardzero_test_data): New variable.
25195         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25196         (rint_downward_test_data): New variable.
25197         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25198         (rint_upward_test_data): New variable.
25199         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25200         (round_test_data): New variable.
25201         (round_test): Run tests with RUN_TEST_LOOP_f_f.
25202         (sin_test_data): New variable.
25203         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
25204         (sin_tonearest_test_data): New variable.
25205         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25206         (sin_towardzero_test_data): New variable.
25207         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25208         (sin_downward_test_data): New variable.
25209         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25210         (sin_upward_test_data): New variable.
25211         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25212         (sinh_test_data): New variable.
25213         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
25214         (sinh_tonearest_test_data): New variable.
25215         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25216         (sinh_towardzero_test_data): New variable.
25217         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25218         (sinh_downward_test_data): New variable.
25219         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25220         (sinh_upward_test_data): New variable.
25221         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25222         (sqrt_test_data): New variable.
25223         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
25224         (tan_test_data): New variable.
25225         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
25226         (tan_tonearest_test_data): New variable.
25227         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25228         (tan_towardzero_test_data): New variable.
25229         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25230         (tan_downward_test_data): New variable.
25231         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25232         (tan_upward_test_data): New variable.
25233         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25234         (tanh_test_data): New variable.
25235         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
25236         (tgamma_test_data): New variable.
25237         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
25238         (trunc_test_data): New variable.
25239         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
25240         (y0_test_data): New variable.
25241         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
25242         (y1_test_data): New variable.
25243         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
25244         (significand_test_data): New variable.
25245         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
25246
25247 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
25248
25249         [BZ #12387]
25250         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
25251
25252 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
25253
25254         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
25255
25256 2013-05-10  Andreas Jaeger  <aj@suse.de>
25257
25258         [BZ #15448]
25259         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
25260         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
25261
25262 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25263
25264         * math/gen-libm-test.pl (adjust_arg): New function.
25265         (special_functions): Handle generating output in both functions
25266         and arrays.
25267         (parse_args): Likewise.
25268         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
25269         $in_func argument to parse_args.
25270         * math/libm-test.inc (struct test_f_f_data): New type.
25271         (IF_ROUND_INIT_): New macro.
25272         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
25273         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25274         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25275         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25276         (ROUND_RESTORE_): Likewise.
25277         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
25278         (ROUND_RESTORE_FE_TONEAREST): Likewise.
25279         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
25280         (ROUND_RESTORE_FE_UPWARD): Likewise.
25281         (RUN_TEST_LOOP_f_f): New macro.
25282         (acos_test_data): New variable.
25283         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
25284         (acos_tonearest_test_data): New variable.
25285         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25286
25287 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25288
25289         * benchtests/bench-skeleton.c (startup): Fix coding style.
25290
25291 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
25292
25293         [BZ #6809]
25294         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
25295         negative infinity argument.
25296         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
25297         negative infinity argument.
25298         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
25299         negative infinity argument.
25300         * math/libm-test.inc (tgamma_test): Expect errno to be set for
25301         domain errors.
25302
25303 2013-05-10  Florian Weimer  <fweimer@redhat.com>
25304
25305         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
25306         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
25307         * iconv/iconv_prog.c (main): Likewise.
25308         * locale/programs/charmap-dir.c (charmap_readdir)
25309         (fopen_uncompressed): Likewise.
25310         * locale/programs/locfile.c (siblings_uncached)
25311         (write_locale_data): Use lstat64 instead of lstat.
25312         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
25313         stat.
25314
25315 2013-05-10  Andreas Jaeger  <aj@suse.de>
25316
25317         [BZ #15395]
25318         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
25319         localization.
25320         Include <locale.h>.
25321
25322 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
25323
25324         * elf/dl-close.c (_dl_close_worker): Add comments.
25325
25326 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
25327
25328         [BZ #15359]
25329         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
25330         high part of pi/2.
25331         (__ieee754_rem_pio2l): Update comments.
25332
25333         [BZ #15429]
25334         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
25335         high part of pi/2.
25336         (__ieee754_rem_pio2l): Update comments.
25337
25338         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
25339         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
25340
25341         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
25342         M_PI_4l.
25343
25344         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
25345         (M_PI_34_LOG10El): Likewise.
25346         (M_PI2_LOG10El): Likewise.
25347         (M_PI4_LOG10El): Likewise.
25348         (M_PI_LOG10El): Likewise.
25349
25350 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25351
25352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25353
25354 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
25355
25356         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
25357         (MINUS_ZERO_INIT): Likewise.
25358         (PLUS_INFTY_INIT): Likewise.
25359         (MINUS_INFTY_INIT): Likewise.
25360         (QNAN_VALUE_INIT): Likewise.
25361         (MAX_VALUE_INIT): Likewise.
25362         (MIN_VALUE_INIT): Likewise.
25363         (MIN_SUBNORM_VALUE_INIT): Likewise.
25364         (plus_zero): Initialize with PLUS_ZERO_INIT.
25365         (minus_zero): Initialize with MINUS_ZERO_INIT.
25366         (plus_infty): Initialize with PLUS_INFTY_INIT.
25367         (minus_infty): Initialize with MINUS_INFTY_INIT.
25368         (qnan_value): Initialize with QNAN_VALUE_INIT.
25369         (max_value): Initialize with MAX_VALUE_INIT.
25370         (min_value): Initialize with MIN_VALUE_INIT.
25371         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
25372
25373         * math/libm-test.inc (RUN_TEST_if_f): New macro.
25374         (jn_test): Use TEST_if_f instead of TEST_ff_f.
25375         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
25376         (yn_test): Use TEST_if_f instead of TEST_ff_f.
25377
25378         * math/libm-test.inc (RUN_TEST_f_f): New macro.
25379         (RUN_TEST_2_f): Likewise.
25380         (RUN_TEST_ff_f): Likewise.
25381         (RUN_TEST_fi_f): Likewise.
25382         (RUN_TEST_fl_f): Likewise.
25383         (RUN_TEST_fff_f): Likewise.
25384         (RUN_TEST_c_f): Likewise.
25385         (RUN_TEST_f_f1): Likewise.
25386         (RUN_TEST_fF_f1): Likewise.
25387         (RUN_TEST_fI_f1): Likewise.
25388         (RUN_TEST_ffI_f1): Likewise.
25389         (RUN_TEST_c_c): Likewise.
25390         (RUN_TEST_cc_c): Likewise.
25391         (RUN_TEST_f_i): Likewise.
25392         (RUN_TEST_f_i_tg): Likewise.
25393         (RUN_TEST_ff_i_tg): Likewise.
25394         (RUN_TEST_f_b): Likewise.
25395         (RUN_TEST_f_b_tg): Likewise.
25396         (RUN_TEST_f_l): Likewise.
25397         (RUN_TEST_f_L): Likewise.
25398         (RUN_TEST_sincos): Likewise.
25399         * math/gen-libm-test.pl (new_test): Take new argument to indicate
25400         whether to show exceptions.  Do not include ");\n" in return
25401         value.
25402         (special_functions): Output call to RUN_TEST_sincos instead of
25403         check_float calls.  Update calls to new_test.
25404         (parse_args): Output call to single RUN_TEST_* macro instead of
25405         check_* calls and other assignments.  Update calls to new_test.
25406
25407         [BZ #2546]
25408         [BZ #2560]
25409         [BZ #5159]
25410         [BZ #15426]
25411         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
25412         input to result for tgamma overflow.
25413         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
25414         (gamma_coeff): New variable.
25415         (NCOEFF): New macro.
25416         (gamma_positive): New function.
25417         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
25418         underflow here.  Use gamma_positive instead of exp (lgamma) for
25419         other arguments.
25420         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
25421         (gamma_coeff): New variable.
25422         (NCOEFF): New macro.
25423         (gammaf_positive): New function.
25424         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
25425         underflow here.  Use gamma_positive instead of exp (lgamma) for
25426         other arguments.
25427         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
25428         (gamma_coeff): New variable.
25429         (NCOEFF): New macro.
25430         (gammal_positive): New function.
25431         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
25432         underflow here.  Use gamma_positive instead of exp (lgamma) for
25433         other arguments.
25434         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
25435         (gamma_coeff): New variable.
25436         (NCOEFF): New macro.
25437         (gammal_positive): New function.
25438         (__ieee754_gammal_r): Handle positive infinity, overflow and
25439         underflow here.  Handle NaN the same as positive infinity.  Remove
25440         check x < 0xffffffff for negative integers.  Use gamma_positive
25441         instead of exp (lgamma) for other arguments.
25442         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
25443         (gamma_coeff): New variable.
25444         (NCOEFF): New macro.
25445         (gammal_positive): New function.
25446         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
25447         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
25448         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
25449         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
25450         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
25451         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
25452         * sysdeps/generic/math_private.h (__gamma_productf): New
25453         prototype.
25454         (__gamma_product): Likewise.
25455         (__gamma_productl): Likewise.
25456         * math/Makefile (libm-calls): Add gamma_product.
25457         * math/libm-test.inc (tgamma_test): Add more tests.
25458         * sysdeps/i386/fpu/libm-test-ulps: Update.
25459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25460
25461 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
25462
25463         * benchtests/bench-skeleton.c (main): Preheat CPU.
25464
25465 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
25466
25467         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
25468
25469 2013-05-07  Roland McGrath  <roland@hack.frob.com>
25470
25471         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
25472         and _dl_skip_args_internal.
25473
25474 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
25475
25476         * manual/message.texi (Message Translation): Talk about users.
25477         Message to key mapping impacts design.
25478
25479 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25480
25481         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
25482
25483         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
25484
25485         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
25486         * sysdeps/wordsize-64/glob64.c: ... here.
25487
25488         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
25489         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
25490         New macros.
25491
25492         * debug/getlogin_r_chk.c: Moved to ...
25493         * login/getlogin_r_chk.c: ... here.
25494         * debug/Makefile (routines): Move getlogin_r_chk to ...
25495         * login/Makefile (routines): ... here.
25496         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
25497         * login/Versions (libc: GLIBC_2.4): ... here.
25498
25499         * io/poll.c (__poll): Renamed from poll.
25500         Add libc_hidden_def.
25501         (poll): Define as weak alias.
25502
25503         * debug/ptsname_r_chk.c: Moved to ...
25504         * login/ptsname_r_chk.c: ... here.
25505         * debug/Makefile (routines): Move ptsname_r_chk to ...
25506         * login/Makefile (routines): ... here.
25507         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
25508         * login/Versions (libc: GLIBC_2.4): ... here.
25509
25510         * posix/getlogin.c: Moved to ...
25511         * login/getlogin.c: ... here.
25512         * posix/getlogin_r.c: Moved to ...
25513         * login/getlogin_r.c: ... here.
25514         * posix/getlogin_r.c: Moved to ...
25515         * login/getlogin_r.c: ... here.
25516         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
25517         * login/Makefile (routines): ... here.
25518         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
25519         * login/Versions (libc: GLIBC_2.0): ... here.
25520
25521         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
25522         (setrlimit): Define as weak alias.
25523
25524         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
25525         Call __ names for open, ftruncate, and close.
25526         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
25527         (truncate): Define as weak alias.
25528
25529 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
25530
25531         * math/gen-libm-test.pl (parse_args): Initialize x before each
25532         test of frexp, modf and remquo.
25533
25534         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
25535         test signgam value.
25536
25537 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25538
25539         [BZ #15418]
25540         [BZ #15419]
25541         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
25542         internal tests.
25543         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25544
25545 2013-05-06  Roland McGrath  <roland@hack.frob.com>
25546
25547         * elf/dl-writev.h: New file.
25548         * elf/dl-misc.c: Include it.
25549         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
25550         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
25551
25552 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
25553
25554         * math/libm-test.inc (noXFails): Remove variable.
25555         (noXPasses): Likewise.
25556         (BUILD_COMPLEX_INT): Remove macro.
25557         (print_screen): Remove xfail argument.
25558         (print_screen_max_error): Likewise.
25559         (update_stats): Likewise.
25560         (print_max_error): Likewise.  Update calls to other affected
25561         functions.
25562         (print_complex_max_error): Likewise.
25563         (test_single_exception): Update calls to print_screen.
25564         (test_single_errno): Likewise.
25565         (check_float_internal): Remove xfail argument.  Update calls to
25566         other affected functions.
25567         (check_float): Likewise.
25568         (check_complex): Likewise.
25569         (check_int): Likewise.
25570         (check_long): Likewise.
25571         (check_bool): Likewise.
25572         (check_longlong): Likewise.
25573         (main): Don't print noXFails and noXPasses.
25574         * math/gen-libm-test.pl (top level): Don't mention expected
25575         failure handling in comment.
25576         (new_test): Don't handle expected failures.
25577         (parse_args): Don't mention expected failure handling in comment.
25578         (generate_testfile): Don't handle expected failures.
25579         (parse_ulps): Likewise.
25580         (print_ulps_file): Likewise.
25581         (get_failure): Remove function.
25582         (output_test): Don't handle expected failures.
25583         * make/README.libm-test: Don't mention expected failure handling.
25584
25585         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
25586         (minus_zero): Likewise.
25587         (plus_infty): Likewise.
25588         (minus_infty): Likewise.
25589         (qnan_value): Likewise.
25590         (max_value): Likewise.
25591         (min_value): Likewise.
25592         (min_subnorm_value): Likewise.
25593         (initialize): Do not initialize those variables dynamically.
25594
25595 2013-05-03  Roland McGrath  <roland@hack.frob.com>
25596
25597         * io/open.c (__open_2): Moved to ...
25598         * io/open_2.c: ... this new file.
25599         * io/open64.c (__open64_2): Moved to ...
25600         * io/open64_2.c: ... this new file.
25601         * io/openat.c (__openat_2): Moved to ...
25602         * io/openat_2.c: ... this new file.
25603         * io/openat64.c (__openat64_2): Moved to ...
25604         * io/openat64_2.c: ... this new file.
25605         * io/Makefile (routines): Add them.
25606         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
25607         * sysdeps/unix/sysv/linux/open_2.c: File removed.
25608         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
25609         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
25610         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
25611         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
25612         (__openat64): Add hidden_ver.
25613         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25614         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25615
25616         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25617         Separately conditionalize setting of GLRO(dl_sysinfo) so
25618         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25619         as well, but the actual setting is only under [NEED_DL_SYSINFO].
25620
25621 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25622
25623         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25624         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25625         definition.
25626         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25627         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25628         (_libc_vdso_platform_setup): Add __vdso_time initialization.
25629         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25630         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25631
25632 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
25633
25634         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25635         test signgam value.
25636
25637         * math/libm-test.inc (hypot_test): Do not use
25638         IGNORE_ZERO_INF_SIGN.
25639
25640 2013-05-03  Andreas Jaeger  <aj@suse.de>
25641
25642         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25643         Linux 3.9.
25644         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25645         (PF_MAX): Adjust for VSOCK change.
25646
25647 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25648
25649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25650
25651 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
25652
25653         [BZ #15264]
25654         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25655         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25656         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25657
25658 2013-05-02  David S. Miller  <davem@davemloft.net>
25659
25660         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25661
25662 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
25663
25664         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25665
25666 2013-05-01  Roland McGrath  <roland@hack.frob.com>
25667
25668         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25669
25670 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25671
25672         [BZ #14952]
25673         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25674         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25675         Use __attribute__ ((__gnu_inline__)).
25676         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25677         Don't use __attribute__ ((__gnu_inline__)).
25678
25679 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
25680
25681         [BZ #15423]
25682         * math/s_catan.c (__catan): Handle small real or imaginary part of
25683         input specially to avoid spurious underflow.
25684         * math/s_catanf.c (__catanf): Likewise.
25685         * math/s_catanh.c (__catanh): Likewise.
25686         * math/s_catanhf.c (__catanhf): Likewise.
25687         * math/s_catanhl.c (__catanhl): Likewise.
25688         * math/s_catanl.c (__catanl): Likewise.
25689         * math/libm-test.inc (catan_test): Add more tests.
25690         (catanh_test): Likewise.
25691         * sysdeps/i386/fpu/libm-test-ulps: Update.
25692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25693
25694 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25695
25696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25697
25698 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25699
25700         [BZ #15416]
25701         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25702         accurately for denominator in atan2.
25703         * math/s_catanf.c (__catanf): Likewise.
25704         * math/s_catanh.c (__catanh): Likewise.
25705         * math/s_catanhf.c (__catanhf): Likewise.
25706         * math/s_catanhl.c (__catanhl): Likewise.
25707         * math/s_catanl.c (__catanl): Likewise.
25708         * math/libm-test.inc (catan_test): Add more tests.
25709         (catanh_test): Likewise.
25710         * sysdeps/i386/fpu/libm-test-ulps: Update.
25711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25712
25713 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25714
25715         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25716
25717         * benchtests/Makefile (bench): Remove slow benchmarks.
25718         * benchtests/atan-inputs: Add slow benchmark inputs.
25719         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25720         (BENCH_FUNC): Accept variant offset.
25721         (VARIANT): Define.
25722         * benchtests/bench-skeleton.c (main): Run benchmark for each
25723         variant.
25724         * benchtests/cos-inputs: Add slow benchmark inputs.
25725         * benchtests/exp-inputs: Likewise.
25726         * benchtests/pow-inputs: Likewise.
25727         * benchtests/sin-inputs: Likewise.
25728         * benchtests/slowatan-inputs: Remove.
25729         * benchtests/slowatan.c: Remove.
25730         * benchtests/slowcos-inputs: Remove.
25731         * benchtests/slowcos.c: Remove.
25732         * benchtests/slowexp-inputs: Remove.
25733         * benchtests/slowexp.c: Remove.
25734         * benchtests/slowpow-inputs: Remove.
25735         * benchtests/slowpow.c: Remove.
25736         * benchtests/slowsin-inputs: Remove.
25737         * benchtests/slowsin.c: Remove.
25738         * benchtests/slowtan-inputs: Remove.
25739         * benchtests/slowtan.c: Remove.
25740         * benchtests/tan-inputs: Add slow benchmark inputs.
25741         * scripts/bench.pl: Parse comments and directives.
25742
25743         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
25744         in CPPFLAGS.
25745         ($(objpfx)bench-%.c): Remove *-ITER.
25746         * benchtests/bench-modf.c: Remove definition of ITER.
25747         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25748         (main): Loop for DURATION seconds instead of fixed number of
25749         iterations.
25750         * scripts/bench.pl: Don't expect iterations in parameters.
25751
25752 2013-04-29  Roland McGrath  <roland@hack.frob.com>
25753
25754         * io/fchdir.c (__fchdir): Renamed from fchdir.
25755         (fchdir): Define as weak alias.
25756
25757 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25758
25759         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25760         (ERRNO_EDOM): Likewise.
25761         (ERRNO_ERANGE): Likewise.
25762         (noErrnoTests): New variable.
25763         (init_max_error): Set errno to 0.
25764         (test_single_errno): New function.
25765         (test_errno): Likewise.
25766         (check_float_internal): Call test_errno.  Set errno to 0.
25767         (check_complex): Refer to errno tests in comment.
25768         (check_int): Call test_errno.  Set errno to 0.
25769         (check_long): Likewise.
25770         (check_bool): Likewise.
25771         (check_longlong): Likewise.
25772         (cos_test): Use ERRNO_* flags for errno tests instead of
25773         check_int.
25774         (expm1_test): Likewise.
25775         (fmod_test): Likewise.
25776         (ilogb_test): Likewise.
25777         (lgamma_test): Likewise.
25778         (pow_test): Likewise.
25779         (remainder_test): Likewise.
25780         (sin_test): Likewise.
25781         (tan_test): Likewise.
25782         (yn_test): Likewise.
25783         (initialize): Set errno to 0.
25784         (main): Print number of errno tests.
25785         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25786
25787 2013-04-29  Andreas Jaeger  <aj@suse.de>
25788
25789         [BZ #15084]
25790         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25791         and RES_USEVC.
25792
25793         [BZ #15085]
25794         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25795         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25796         unimplemented.
25797
25798         [BZ #15380]
25799         * stdlib/random.c (__initstate): Return NULL if
25800         __initstate fails.
25801
25802         [BZ #15086]
25803         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25804         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25805         RES_SNGLKUPREOP.
25806
25807 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25808
25809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25810
25811 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25812
25813         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25814         of individual tests.
25815         (casin_test): Likewise.
25816         (casinh_test): Likewise.
25817
25818 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
25819
25820         [BZ #15409]
25821         * math/s_catan.c (__catan): Handle arguments with large real or
25822         imaginary part separately without squaring.
25823         * math/s_catanf.c (__catanf): Likewise.
25824         * math/s_catanh.c (__catanh): Likewise.
25825         * math/s_catanhf.c (__catanhf): Likewise.
25826         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25827         and redefine.
25828         (__catanhl): Handle arguments with large real or imaginary part
25829         separately without squaring.
25830         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25831         and redefine.
25832         (__catanl): Handle arguments with large real or imaginary part
25833         separately without squaring.
25834         * math/libm-test.inc (catan_test): Add more tests.
25835         (catanh_test): Likewise.
25836         * sysdeps/i386/fpu/libm-test-ulps: Update.
25837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25838
25839 2013-04-27  Andreas Jaeger  <aj@suse.de>
25840
25841         [BZ #15007]
25842         * stdlib/stdlib.h: Update guards for qecvt.
25843         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25844         <stdlib.h>.
25845
25846 2013-04-27  Allan McRae  <allan@archlinux.org>
25847
25848         * sysdeps/i386/fpu/libm-test-ulps: Update.
25849
25850 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
25851
25852         [BZ #15406]
25853         * math/s_catan.c: Include <float.h>.
25854         (__catan): Ensure underflow exception occurs for underflowed
25855         result.
25856         * math/s_catanf.c: Include <float.h>.
25857         (__catanf): Ensure underflow exception occurs for underflowed
25858         result.
25859         * math/s_catanh.c: Include <float.h>.
25860         (__catanh): Ensure underflow exception occurs for underflowed
25861         result.
25862         * math/s_catanhf.c: Include <float.h>.
25863         (__catanhf): Ensure underflow exception occurs for underflowed
25864         result.
25865         * math/s_catanhl.c: Include <float.h>.
25866         (__catanhl): Ensure underflow exception occurs for underflowed
25867         result.
25868         * math/s_catanl.c: Include <float.h>.
25869         (__catanl): Ensure underflow exception occurs for underflowed
25870         result.
25871         * math/libm-test.inc (catan_test): Add more tests.
25872         (catanh_test): Likewise.
25873
25874         [BZ #15405]
25875         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25876         underflowed result.
25877         * math/s_ccoshf.c (__ccoshf): Likewise.
25878         * math/s_ccoshl.c (__ccoshl): Likewise.
25879         * math/s_csin.c (__csin): Likewise.
25880         * math/s_csinf.c (__csinf): Likewise.
25881         * math/s_csinh.c (__csinh): Likewise.
25882         * math/s_csinhf.c (__csinhf): Likewise.
25883         * math/s_csinhl.c (__csinhl): Likewise.
25884         * math/s_csinl.c (__csinl): Likewise.
25885         * math/libm-test.inc (ccos_test): Add more tests.
25886         (ccosh_test): Likewise.
25887         (csin_test): Likewise.
25888         (csinh_test): Likewise.
25889
25890 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25891
25892         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25893         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25894         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25895         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25896         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25897         powerpc/power5+/fpu folders.
25898         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25899
25900
25901 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25902
25903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25904
25905 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
25906
25907         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25908         additions to variable.
25909         [$(config-machine) = x86_64] (modules-names): Likewise.
25910         ($(objpfx)tst-audit3): Remove dependency.
25911         ($(objpfx)tst-audit3.out): Likewise.
25912         ($(objpfx)tst-audit4): Likewise.
25913         ($(objpfx)tst-audit4.out): Likewise.
25914         ($(objpfx)tst-audit5): Likewise.
25915         ($(objpfx)tst-audit5.out): Likewise.
25916         ($(objpfx)tst-audit6): Likewise.
25917         ($(objpfx)tst-audit6.out): Likewise.
25918         ($(objpfx)tst-audit7): Likewise.
25919         ($(objpfx)tst-audit7.out): Likewise.
25920         (tst-audit3-ENV): Remove variable.
25921         (tst-audit4-ENV): Likewise.
25922         (tst-audit5-ENV): Likewise.
25923         (tst-audit6-ENV): Likewise.
25924         (tst-audit7-ENV): Likewise.
25925         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25926         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25927         addition to variable.
25928         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25929         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25930         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25931         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25932         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25933         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25934         tst-audit3, tst-audit4 and tst-audit5.
25935         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25936         tst-audit6 and tst-audit7.
25937         [$(subdir) = elf] (modules-names): Add audit modules for those
25938         tests.
25939         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25940         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25941         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25942         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25943         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25944         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25945         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25946         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25947         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25948         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25949         [$(subdir) = elf] (tst-audit3-ENV): New variable.
25950         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25951         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25952         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25953         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25954         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25955         Likewise.
25956         [$(subdir) = elf && $(config-cflags-avx) = yes]
25957         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25958         [$(subdir) = elf && $(config-cflags-avx) = yes]
25959         (CFLAGS-tst-auditmod4a.c): Likewise.
25960         [$(subdir) = elf && $(config-cflags-avx) = yes]
25961         (CFLAGS-tst-auditmod4b.c): Likewise.
25962         [$(subdir) = elf && $(config-cflags-avx) = yes]
25963         (CFLAGS-tst-auditmod6b.c): Likewise.
25964         [$(subdir) = elf && $(config-cflags-avx) = yes]
25965         (CFLAGS-tst-auditmod6c.c): Likewise.
25966         [$(subdir) = elf && $(config-cflags-avx) = yes]
25967         (CFLAGS-tst-auditmod7b.c): Likewise.
25968         * elf/tst-audit3.c: Move to ...
25969         * sysdeps/x86_64/tst-audit3.c: ... here.
25970         * elf/tst-audit4.c: Move to ...
25971         * sysdeps/x86_64/tst-audit4.c: ... here.
25972         * elf/tst-audit5.c: Move to ...
25973         * sysdeps/x86_64/tst-audit5.c: ... here.
25974         * elf/tst-audit6.c: Move to ...
25975         * sysdeps/x86_64/tst-audit6.c: ... here.
25976         * elf/tst-audit7.c: Move to ...
25977         * sysdeps/x86_64/tst-audit7.c: ... here.
25978         * elf/tst-auditmod3a.c: Move to ...
25979         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25980         * elf/tst-auditmod3b.c: Move to ...
25981         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25982         * elf/tst-auditmod4a.c: Move to ...
25983         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25984         * elf/tst-auditmod4b.c: Move to ...
25985         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25986         * elf/tst-auditmod5a.c: Move to ...
25987         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25988         * elf/tst-auditmod5b.c: Move to ...
25989         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25990         * elf/tst-auditmod6a.c: Move to ...
25991         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25992         * elf/tst-auditmod6b.c: Move to ...
25993         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25994         * elf/tst-auditmod6c.c: Move to ...
25995         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25996         * elf/tst-auditmod7a.c: Move to ...
25997         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25998         * elf/tst-auditmod7b.c: Move to ...
25999         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26000
26001 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26002
26003         [BZ #15366]
26004         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26005         define unconditionally.
26006         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26007         define unconditionally.
26008         (INT8_C, INT16_C, etc.): Likewise.
26009
26010 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26011
26012         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26013         __ehdr_start with hidden visibility.
26014
26015         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26016
26017 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26018
26019         * math/libm-test.inc (cos_test): Use accurate hex constants.
26020         (sincost_test): Likewise.
26021
26022 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26023
26024         * math/libm-test.inc (catan_test): Add more tests.
26025         (catanh_test): Likewise.
26026
26027         * math/s_catanf.c (__catanf): Use suffixed floating-point
26028         constants.
26029         * math/s_catanhf.c (__catanhf): Likewise.
26030         * math/s_catanhl.c (__catanhl): Likewise.
26031         * math/s_catanl.c (__catanl): Likewise.
26032
26033         [BZ #15394]
26034         * math/s_catan.c (__catan): Calculate imaginary part of result
26035         with log1p not log unless computing log of number close to 0.
26036         * math/s_catanf.c (__catanf): Likewise.
26037         * math/s_catanl.c (__catanl): Likewise.
26038         * math/s_catanh.c (__catanh): Calculate real part of result with
26039         log1p not log unless computing log of number close to 0.
26040         * math/s_catanhf.c (__catanhf): Likewise.
26041         * math/s_catanhl.c (__catanhl): Likewise.
26042         * math/libm-test.inc (catan_test): Add more tests.
26043         (catanh_test): Likewise.
26044         * sysdeps/i386/fpu/libm-test-ulps: Update.
26045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26046
26047 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26048
26049         * benchtests/Makefile: Mention files in which fast and slow
26050         paths of math functions are implemented.
26051
26052 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26053
26054         * sysdeps/posix/timespec_get.c: New file.
26055
26056 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26057
26058         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26059         POWER.
26060         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26061         for POWER.
26062         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26063         powerpc/power5/fpu folders.
26064         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26065         * benchtests/Makefile: Add modf testcase.
26066         * benchtests/bench-modf.c: New file: Benchmark test for mo
26067
26068 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26069
26070         [BZ #14888]
26071         * time/Makefile (tests): Add tst-strptime-whitespace.
26072         * time/strptime_l.c (get_number): Use ISSPACE.
26073         (__strptime_internal): Likewise.
26074         * time/tst-strptime-whitespace.c: New test case.
26075
26076 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26077
26078         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26079         member.
26080         (_nss_files_init): Set it here.
26081
26082 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26083
26084         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26085         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26086         unsigned.
26087
26088 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26089
26090         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26091
26092 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26093
26094         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26095         size just once.
26096
26097 2013-04-21  David S. Miller  <davem@davemloft.net>
26098
26099         * po/ru.po: Update Russion translation from translation project.
26100
26101 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26102
26103         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26104         and setfsgid.
26105
26106 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26107
26108         * configure.in: Remove i386 configure warning. Remove i386 case.
26109         * configure: Regenerate.
26110         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26111         Add example to error message.
26112         * sysdeps/i386/configure: Regenerate.
26113
26114 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26115
26116         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26117         slowtan.
26118         * benchtests/cos-inputs: New file.
26119         * benchtests/slowcos-inputs: New file.
26120         * benchtests/slowcos.c: New file.
26121         * benchtests/slowtan-inputs: New file.
26122         * benchtests/slowtan.c: New file.
26123         * benchtests/tan-inputs: New file.
26124
26125 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26126
26127         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26128         considered kosher.
26129
26130 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26131
26132         * benchtests/Makefile: Include cppflags-iterator.mk to add
26133         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26134
26135         * Makefile.in (bench-clean): New target.
26136         * benchtests/Makefile (bench-clean): Likewise.
26137
26138 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26139
26140         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26141
26142 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26143
26144         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26145
26146 2013-04-15  Andreas Schwab  <schwab@suse.de>
26147
26148         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26149         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26150         * nscd/pwdcache.c (cache_addpw): Likewise.
26151         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26152         more than recsize.
26153
26154 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26155
26156         * benchtests/Makefile (bench): Write all output to
26157         bench-out.tmp together.
26158
26159 2013-04-15  Andreas Schwab  <schwab@suse.de>
26160
26161         * nscd/nscd.c (main): Don't fork again after closing files.
26162
26163 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26164
26165         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26166
26167         * benchtests/Rules (bench-deps): Collect dependencies into a
26168         single variable.  Add Makefile to dependencies.
26169         ($(objpfx)bench-%.c): Depend on bench-deps.
26170
26171 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26172             Xavier Roche  <roche+kml2@exalead.com>
26173
26174         [BZ #15361]
26175         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26176         just that it's a file descriptor.
26177         * manual/llio.texi (Synchronizing AIO Operations): Update description
26178         for EBADF error from aio_fsync.
26179
26180 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26181
26182         * Rules (bench): Move target definition...
26183         * benchtests/Makefile: ... here.
26184
26185 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
26186
26187         * math/libm-test.inc (cos_test): Fix PI/2 test.
26188         (sincos_test): Likewise.
26189         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26190         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
26191
26192 2013-04-11  Andreas Schwab  <schwab@suse.de>
26193
26194         [BZ #13988]
26195         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
26196         accept exponent character only when digits were seen.
26197         * stdio-common/Makefile (tests): Add bug26.
26198         * stdio-common/bug26.c: New file.
26199
26200         [BZ #14293]
26201         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
26202         non-freeable.
26203
26204 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26205
26206         * Makeconfig (rtld-prefix): Define built linker prefix.
26207         * Rules (run-bench): Use it.
26208         * math/Makefile (run-regen-ulps): Likewise.
26209
26210         * Rules (bench): Remove eval.
26211
26212 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26213             Roland McGrath  <roland@hack.frob.com>
26214             Ondrej Bilka  <neleai@seznam.cz>
26215
26216         [BZ #15346]
26217         * time/getdate.c: Include ctype.h and alloca.h.
26218         (__getdate_r): Trim leading and trailing spaces of input.
26219         * time/tst-getdate.c (tests): Add tests with leading and
26220         trailing spaces.
26221
26222 2013-04-08  Roland McGrath  <roland@hack.frob.com>
26223
26224         [BZ #14280]
26225         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
26226         when computing value.
26227
26228 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26229
26230         * math/README.libm-test (How can I generate "libm-test-ulps"?):
26231         Use testrun.sh to run libm tests.
26232
26233         [BZ #15309]
26234         * elf/dl-open.c (dl_open_worker): memset all of seen array.
26235
26236 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
26237
26238         [BZ #15264]
26239         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
26240
26241 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26242
26243         * Makefile.in (regen-ulps): New target.
26244         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
26245         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
26246         [ifneq (no,$(PERL)] (regen-ulps): New target.
26247         [ifeq (no,$(PERL)] (regen-ulps): New target.
26248         * math/libm-test.inc (ulps_file_name): Define.
26249         (output_dir): New variable.
26250         (options): Add "output-dir" option.
26251         (parse_opt): Handle 'o' case.
26252         (main): If output_dir is non-NULL use it as a prefix
26253         otherwise use "".
26254         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
26255
26256 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26257
26258         [BZ #10060, #10062]
26259         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
26260         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
26261         fail configure if __sync_val_compare_and_swap is not inlined.
26262         * sysdeps/i386/configure: Regenerate.
26263         * configure.in: Build for i686 when configured for i386.
26264         * configure: Regenerate.
26265         * README: Remove i386 reference.
26266
26267 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
26268
26269         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
26270         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26271
26272 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
26273
26274         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
26275         (lmsnanval): New variables.
26276         (F): Add conversion tests.
26277         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
26278         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
26279
26280         * stdio-common/tstdiomisc.c (F): Properly collect individual
26281         tests' results.
26282
26283         [BZ #14686, #15336]
26284         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
26285         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26286         Instead, use input NaN values or generate a qNaN by arithmetic
26287         operation.  Also fix bugs to comply with the standard.
26288         * math/libm-test.inc (remainder_test): Add more tests.
26289
26290         [BZ #15335, #15342]
26291         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26292         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
26293         input NaN values or generate a qNaN by arithmetic operation.
26294
26295         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
26296         unreachable code.
26297
26298         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
26299         definitions.
26300
26301 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
26302
26303         [BZ #14478]
26304         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
26305         underflowed result.
26306         * math/s_cexpf.c (__cexpf): Likewise.
26307         * math/s_cexpl.c (__cexpl): Likewise.
26308         * math/libm-test.inc (cexp_test): Add more tests.
26309
26310 2013-04-03  Andreas Schwab  <schwab@suse.de>
26311
26312         [BZ #15330]
26313         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
26314         order arrays from heap if bigger than alloca cutoff.
26315
26316 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
26317
26318         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
26319         (SNAN_TESTS_double): Refer to GCC PR56831.
26320         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
26321         GCC PR56828.
26322
26323 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26324
26325         * Rules (bench): Move bench.out after the run is complete.
26326
26327         * Rules (bench): Echo currently running benchmark.
26328
26329         * benchtests/Makefile (bench): Add atan and slowatan.
26330         * benchtests/atan-inputs: New file.
26331         * benchtests/slowatan-inputs: New file.
26332         * benchtests/slowatan.c: New file.
26333
26334         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
26335         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
26336         its value.
26337
26338         [BZ #15305]
26339         * sysdeps/unix/sysv/linux/kernel-features.h
26340         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
26341         __ASSUME_XFS_RESTRICTED_CHOWN.
26342         * sysdeps/unix/sysv/linux/pathconf.c
26343         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
26344         Save and restore errno.
26345
26346 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
26347
26348         [BZ #15327]
26349         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
26350         arguments using __kernel_casinh.
26351         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
26352         arguments using __kernel_casinhf.
26353         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
26354         arguments using __kernel_casinhl.
26355         * math/libm-test.inc (cacosh_test): Add more tests.
26356         * sysdeps/i386/fpu/libm-test-ulps: Update.
26357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26358
26359 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26360
26361         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
26362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
26363
26364         * bench/Makefile (bench): Add sin and slowsin.
26365         * benchtests/sin-inputs: New file.
26366         * benchtests/slowsin-inputs: New file.
26367         * benchtests/slowsin.c: New file.
26368
26369         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
26370         (bench): Add slowexp and slowpow.
26371         (exp-ITER): Increase iterations.
26372         (pow-ITER): Likewise.
26373         * benchtests/exp-inputs: Change input.
26374         * benchtests/pow-inputs: Likewise.
26375         * benchtests/slowexp-inputs: New file.
26376         * benchtests/slowexp.c: New file.
26377         * benchtests/slowpow-inputs: New file.
26378         * benchtests/slowpow.c: New file.
26379
26380 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26381
26382         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
26383         instructions.
26384         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
26385         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
26386         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26387         * benchtests/Makefile: Add rint benchtest.
26388         * benchtests/rint-inputs: Input for rint benchtest.
26389
26390 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
26391
26392         * Versions.def (libm): Add GLIBC_2.18.
26393         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
26394         hidden libm prototypes.
26395         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
26396         * math/Makefile (libm-calls): Add s_issignaling.
26397         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
26398         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
26399         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
26400         declaration.
26401         * math/math.h [__USE_GNU] (issignaling): New macro.
26402         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
26403         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
26404         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
26405         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
26406         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
26407         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
26408         * manual/arith.texi (issignaling): New section.
26409         * manual/libm-err-tab.pl (@all_functions): Update comment.
26410         * math/gen-libm-test.pl (parse_args): Apply special handling for
26411         issignaling.
26412         * math/libm-test.inc (print_float, issignaling_test): New
26413         functions.
26414         (check_float_internal): Add issignaling checks.
26415         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
26416         default definition.
26417         * sysdeps/powerpc/math-tests.h: New file.
26418         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
26419         tests.
26420         * math/test-snan.c (TEST_FUNC): Likewise.
26421
26422 2013-03-30  David S. Miller  <davem@davemloft.net>
26423
26424         * po/de.po: Update from translation team.
26425
26426 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
26427
26428         [BZ #10357]
26429         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26430         imaginary part less than 1.0 and real part less than 0.5
26431         specially.
26432         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26433         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26434         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
26435         (cacos_test): Add more tests.
26436         (casin_test): Likewise.
26437         (casinh_test): Likewise.
26438         * sysdeps/i386/fpu/libm-test-ulps: Update.
26439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26440
26441 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26442
26443         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
26444         ONE with its value.
26445
26446         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
26447         (__pow_mp): Replace ONE and MONE with their values.
26448         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26449         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
26450         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26451         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
26452         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26453         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26454
26455         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
26456
26457         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
26458         (__pow_mp): Replace ZERO and MZERO with their values.
26459         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26460         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26461         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26462         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26463         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26464         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
26465         (__sqr): Likewise.
26466
26467         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
26468
26469         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
26470
26471 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26472
26473         * include/stdlib.h [!SHARED] (__call_tls_dtors):
26474         Declare with __attribute__ ((weak)).
26475         * stdlib/exit.c (__libc_atexit) [!SHARED]:
26476         Call __call_tls_dtors only if it's not NULL.
26477
26478 2013-03-28  Roland McGrath  <roland@hack.frob.com>
26479
26480         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
26481         didn't do it already, then set _dl_phdr and _dl_phnum based on the
26482         magic __ehdr_start linker symbol if it's defined.
26483         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
26484         them up here if it was already done.
26485
26486         * elf/dl-support.c (_dl_phdr): Make pointer to const.
26487         (_dl_aux_init): Use const in cast when setting it.
26488         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
26489         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
26490         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
26491
26492         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
26493         Declare them here.
26494         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
26495         * csu/libc-tls.c: Nor here.
26496         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
26497
26498         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
26499         (__libc_message): Never call vsyslog.
26500
26501 2013-03-28  Alan Modra  <amodra@gmail.com>
26502
26503         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
26504         Define as empty.
26505         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
26506         Likewise.
26507
26508 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26509
26510         [BZ #15214]
26511         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
26512         underflow.
26513         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26514
26515 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26516
26517         [BZ #15304]
26518         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26519         Don't add gid passed as argument.
26520
26521         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
26522
26523 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
26524
26525         [BZ #15307]
26526         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26527         imaginary part between 1.0 and 1.5 and real part less than 0.5
26528         specially.
26529         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26530         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26531         * math/libm-test.inc (cacos_test): Add more tests.
26532         (casin_test): Likewise.
26533         (casinh_test): Likewise.
26534         * sysdeps/i386/fpu/libm-test-ulps: Update.
26535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26536
26537 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26538
26539         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
26540         constants.
26541         (norm): Likewise.
26542         (denorm): Likewise.
26543         (__dbl_mp): Likewise.
26544         (add_magnitudes): Likewise.
26545         (sub_magnitudes): Likewise.
26546         (__add): Likewise.
26547         (__sub): Likewise.
26548         (__mul): Likewise.
26549         (__sqr): Likewise.
26550         (__inv): Likewise.
26551         (__dvd): Likewise.
26552
26553         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
26554         commented code.
26555         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
26556         (__dubcos): Likewise.
26557         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
26558         (__ieee754_acos): Likewise.
26559         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
26560         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
26561         (__exp1): Likewise.
26562         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26563         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26564         (log1): Likewise.
26565         (my_log2): Likewise.
26566         (checkint): Likewise.
26567         * sysdeps/ieee754/dbl-64/e_remainder.c
26568         (__ieee754_remainder): Likewise.
26569         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
26570         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
26571         (bsloww): Likewise.
26572         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26573
26574         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26575         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
26576         MANTISSA_STORE_T to store computations on mantissa.  Use
26577         macros for rounding and division.
26578         (denorm): Likewise.
26579         (__dbl_mp): Likewise.
26580         (add_magnitudes): Likewise.
26581         (sub_magnitudes): Likewise.
26582         (__mul): Likewise.
26583         (__sqr): Likewise.
26584         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26585         powers of two in terms of TWOPOW macro.
26586         (mp_no): Make type of mantissa as MANTISSA_T.
26587         [!RADIXI]: Define RADIXI.
26588         [!TWO52]: Define TWO52.
26589         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26590
26591 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26592
26593         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
26594         llroundl symbol when building for PPC32.
26595
26596 2013-03-24  Mark H Weaver  <mhw@netris.org>
26597
26598         * manual/arith.texi (Normalization Functions): Fix prototypes for
26599         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
26600
26601 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26602
26603         [BZ #13889]
26604         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
26605         high value to check if expl overflow.
26606         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
26607         to check for underflow and overflow.
26608         * math/libm-test.inc: Add exp test.
26609
26610 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
26611
26612         [BZ #11120]
26613         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26614         with NOT_IN_libc.
26615
26616 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26617
26618         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26619         symbol.
26620
26621 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26622
26623         * math/gen-libm-test.pl (parse_args, special_functions): Properly
26624         wrap blocks consisting of several statements.
26625
26626         * sysdeps/generic/math-tests.h: New file.
26627         * sysdeps/i386/fpu/math-tests.h: Likewise.
26628         * math/test-snan.c: Include it.
26629         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26630
26631 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26632
26633         [BZ #15285]
26634         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26635         (__ieee754_j0l): Do not improve calculations using cos of twice
26636         input for inputs above LDBL_MAX / 2.0L.
26637         (__ieee754_y0l): Likewise.
26638         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26639         (__ieee754_j1l): Do not improve calculations using cos of twice
26640         input for inputs above LDBL_MAX / 2.0L.
26641         (__ieee754_y1l): Likewise.
26642         * math/libm-test.inc (j0_test): Add another test.
26643         (j1_test): Likewise.
26644         (y0_test): Likewise.
26645         (y1_test): Likewise.
26646         * sysdeps/i386/fpu/libm-test-ulps: Update.
26647
26648 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26649
26650         * Rules ($(objpfx)bench-%.c): Include code from a C source
26651         file.
26652
26653 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26654
26655         [BZ #15287]
26656         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26657         imaginary part 1.0 and real part less than 0.5 specially.
26658         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26659         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26660         * math/libm-test.inc (cacos_test): Add more tests.
26661         (casin_test): Likewise.
26662         (casinh_test): Likewise.
26663         * sysdeps/i386/fpu/libm-test-ulps: Update.
26664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26665
26666 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26667
26668         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26669         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26670
26671 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
26672
26673         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26674         * config.make.in (config-cflags-sse4): Remove variable.
26675         (config-cflags-avx): Likewise.
26676         (config-cflags-sse2avx): Likewise.
26677         (config-cflags-novzeroupper): Likewise.
26678         (config-asflags-i686): Likewise.
26679         (have-mfma4): Likewise.
26680         (have-as-vis3): Likewise.
26681         (MIG): Likewise.
26682         * configure.in (MIG): Do not AC_SUBST.
26683         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26684         (libc_cv_cc_sse4): Do not AC_SUBST.
26685         (libc_cv_cc_avx): Likewise.
26686         (libc_cv_cc_sse2avx): Likewise.
26687         (libc_cv_cc_novzeroupper): Likewise.
26688         (libc_cv_cc_fma4): Likewise.
26689         (libc_cv_as_i686): Likewise.
26690         (libc_cv_sparc_as_vis3): Likewise.
26691         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26692         LIBC_CONFIG_VAR.
26693         (config-asflags-i686): Likewise.
26694         (config-cflags-avx): Likewise.
26695         (config-cflags-sse2avx): Likewise.
26696         (have-mfma4): Likewise.
26697         (config-cflags-novzeroupper): Likewise.
26698         * sysdeps/mach/configure.in (MIG): Likewise.
26699         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26700         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26701         LIBC_CONFIG_VAR.
26702         (config-cflags-avx): Likewise.
26703         (config-cflags-sse2avx): Likewise.
26704         (have-mfma4): Likewise.
26705         (config-cflags-novzeroupper): Likewise.
26706         * configure: Regenerated.
26707         * sysdeps/i386/configure: Likewise.
26708         * sysdeps/mach/configure: Likewise.
26709         * sysdeps/sparc/configure: Likewise.
26710         * sysdeps/x86_64/configure: Likewise.
26711
26712 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26713
26714         [BZ #14812]
26715         * locale/programs/localedef.c (options): Put N_ translation marker
26716         on argument names, not just descriptions.
26717
26718 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26719
26720         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26721
26722 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
26723
26724         [BZ #14176]
26725         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26726
26727 2013-03-19  Roland McGrath  <roland@hack.frob.com>
26728
26729         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26730         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26731         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26732         [!BEFORE_ABORT] (before_abort): New function.
26733         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26734         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26735         (writev_for_fatal): New function.
26736         (WRITEV_FOR_FATAL): New macro; call that.
26737         (backtrace_and_maps): New function.
26738         (BEFORE_ABORT): New macro; call that.
26739         (struct str_list): Type removed.
26740         (__libc_message, __libc_fatal): Functions removed.
26741         Include <sysdeps/posix/libc_fatal.c> instead.
26742
26743 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
26744
26745         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26746         constants.
26747         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26748         double constants.
26749
26750 2013-03-19  Andreas Schwab  <schwab@suse.de>
26751
26752         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26753         * sysdeps/gnu/configure: Regenerate.
26754
26755         * configure.in: Substitute libc_cv_rtlddir.
26756         * configure: Regenerate.
26757         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26758         * Makeconfig (rtlddir, inst_rtlddir): New variables.
26759         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26760         * elf/Makefile (install-others, CFLAGS-interp.c)
26761         (ldso_install, common-ldd-rewrite): Likewise.
26762         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26763         $(inst_slibdir)/$(rtld-installed-name).
26764         * scripts/rellns-sh: Add -p option.
26765         * Makerules (make-shlib-link): Use rellns-sh to get relative name
26766         for source.
26767
26768 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26769
26770         * manual/nptl.texi: Renamed to ...
26771         * manual/threads.texi: ... this.
26772         * manual/Makefile (chapters): Update.
26773
26774 2013-03-18  Roland McGrath  <roland@hack.frob.com>
26775
26776         [BZ #14812]
26777         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26778         on argument names, not just descriptions.
26779         * malloc/memusagestat.c (options): Likewise.
26780         * nss/getent.c (options): Likewise.
26781
26782 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
26783
26784         [BZ #14812]
26785         * iconv/iconv_prog.c (options): Put N_ translation marker
26786         on argument names, not just descriptions.
26787         * iconv/iconvconfig.c (options): Likewise.
26788
26789 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
26790
26791         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26792         implementation which is faster on all x86_64 architectures.
26793         Tested on AMD, Intel Nehalem, SNB, IVB.
26794         * sysdeps/x86_64/strnlen.S: Likewise.
26795
26796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26797         Remove all multiarch strlen and strnlen versions.
26798         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26799         Remove strlen and strnlen related parts.
26800
26801         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26802         Inline strlen part.
26803         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26804
26805         * sysdeps/x86_64/multiarch/strlen.S: Remove.
26806         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26807         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26808         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26809         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26810         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26811
26812 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
26813
26814         * manual/memory.texi (Malloc Tunable Parameters):
26815         Sort parameters alphabetically. Add comments for missing entries.
26816
26817 2013-03-17  David S. Miller  <davem@davemloft.net>
26818
26819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26820
26821 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
26822
26823         [BZ #15283]
26824         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26825         for arguments at most half maximum finite value.
26826         * math/libm-test.inc (j0_test): Add more tests.
26827         (j1_test): Likewise.
26828         (y0_test): Likewise.
26829         (y1_test): Likewise.
26830         * sysdeps/i386/fpu/libm-test-ulps: Update.
26831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26832
26833         [BZ #14155]
26834         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26835         1 / x and functions P and Q for arguments above 0x1p256L.
26836         (__ieee754_y0l): Likewise.
26837         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26838         (__ieee754_y1l): Likewise.
26839         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26840         (j1_test): Likewise.
26841         (y0_test): Likewise.
26842         (y1_test): Likewise.
26843
26844 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
26845
26846         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26847         variable.
26848
26849 2013-03-15  Roland McGrath  <roland@hack.frob.com>
26850
26851         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26852         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26853         zero since it's initialized to EXEC_PAGESIZE.
26854
26855         * sysdeps/unix/sysv/linux/ldsodefs.h
26856         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26857         * sysdeps/generic/ldsodefs.h: ... here.
26858
26859 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
26860
26861         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26862
26863         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26864         math/test-snan.c.
26865         * math/test-snan.c: Renamed from
26866         sysdeps/powerpc/fpu/test-powerpc-snan.c.
26867         * math/Makefile (tests): Add test-snan.
26868         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26869         test-powerpc-snan.
26870
26871         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26872         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
26873         functions.
26874         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
26875         __builtin_nan family of functions.
26876         * math/libm-test.inc (initialize): Initialize qnan_value with
26877         __builtin_nan family of functions.
26878         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26879         Remove variables.
26880         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26881         Remove functions.
26882         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
26883         storage class.  Initialize qNaN_var and sNaN_var with
26884         __builtin_nan and __builtin_nans families of functions,
26885         respectively.
26886
26887         * math/libm-test.inc (acosh_test): Also test with qNaN input.
26888         (sqrt_test): Remove duplicate test with qNaN input.
26889         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26890         (round_test, signbit_test, significand_test): Note missing +/-Inf
26891         as well as qNaN tests.
26892
26893         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26894         qNaN_var.  Fix a few strings, too.
26895         * math/libm-test.inc (nan_value): Rename to qnan_value.
26896         * math/gen-libm-test.pl (%beautify): Adjust to that.
26897         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26898         * math/test-misc.c (main): Likewise.
26899         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26900         to __qnan_bytes, and __qnan_union, respectively.
26901         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26902         Likewise.
26903         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26904         and lqnanval, respectively.
26905         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26906         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26907         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26908         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26909
26910         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26911         * math/test-misc.c (main) [__x86_64__]: Enable test for long
26912         doubles.
26913
26914         * math/test-misc.c (main): Fix copy'n'pastos.
26915         * misc/tst-efgcvt.c (special): Likewise.
26916
26917         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26918         Remove declarations.
26919
26920 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26921
26922         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26923         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26924         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26925         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26926
26927 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26928
26929         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26930         macro to return vdso values correctly in IFUNC implementations.
26931         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26932         Optimization by using IFUNC.
26933
26934 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26935             Richard Henderson  <rth@redhat.com>
26936             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26937
26938         * Makefile.in (bench): New target.
26939         * NEWS: Mention the benchmark framework.
26940         * Rules (bench): Likewise.
26941         (binaries-bench): Generate binaries for functions to
26942         benchmark.
26943         * benchtests/Makefile: New makefile for benchmark tests.
26944         * benchtests/bench-skeleton.c: New skeleton file for benchmark
26945         programs.
26946         * benchtests/exp-inputs: New input file for EXP function.
26947         * benchtests/pow-inputs: New input file for POW function.
26948         * scripts/bench.pl: New script to generate source files for
26949         benchmark programs.
26950
26951 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26952
26953         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26954         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26955         computations on mantissa.  Use macros for rounding and
26956         division.
26957         (denorm): Likewise.
26958         (__dbl_mp): Likewise.
26959         (add_magnitudes): Likewise.
26960         (sub_magnitudes): Likewise.
26961         (__mul): Likewise.
26962         (__sqr): Likewise.
26963         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26964         powers of two in terms of TWOPOW macro.
26965         (mp_no): Make type of mantissa as MANTISSA_T.
26966         [!RADIXI]: Define RADIXI.
26967         [!TWO52]: Define TWO52.
26968         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26969
26970         * manual/nptl.texi (cindex): Modify threads to pthreads.
26971
26972 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
26973
26974         * sysdeps/x86_64/preconfigure: Regenerated.
26975
26976 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
26977
26978         [BZ #14155]
26979         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26980         0x1p28 and above.
26981         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26982         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26983         0x1p28 and above.
26984         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26985         * math/libm-test.inc (j0_test): Do not allow one spurious
26986         underflow exception.
26987         (y1_test): Likewise.
26988
26989 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26990
26991         * manual/Makefile (chapters): Add nptl.
26992         * manual/debug.texi (Debugging Support): Add link to Threads
26993         chapter.
26994         * manual/nptl.texi: New file.
26995
26996         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26997
26998 2013-03-14  Petr Baudis  <pasky@ucw.cz>
26999
27000         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27001         for non-NULL pointer before the memory validity test. Pointed
27002         out by Holger Brunck <holger.brunck@keymile.com>.
27003
27004 2013-03-13  Andreas Schwab  <schwab@suse.de>
27005
27006         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27007         instead of .os.
27008
27009 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27010
27011         * timezone/zic.c: Update from tzcode 2013b.
27012
27013 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27014
27015         * manual/install.texi (Configuring and compiling):
27016         Mention i686 and i586.
27017         * INSTALL: Regenerate.
27018
27019 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27020
27021         * sysdeps/init_array/elf-init.c: New file.
27022         * csu/elf-init.c
27023         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27024         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27025
27026         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27027         __gmon_start__ as global, but as static with a .preinit_array pointer.
27028         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27029         * sysdeps/init_array/crti.S: New file, empty except for comments.
27030         * sysdeps/init_array/crtn.S: Likewise.
27031
27032 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27033
27034         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27035         definining bcopy.
27036         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27037         Remove Prefer_SSE_for_memop.
27038         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27039         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27040         HAS_PREFER_SSE_FOR_MEMOP.
27041         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27042         memset-x86-64.
27043         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27044         Remove bzero, memset ifunc support.
27045         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27046         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27047         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27048         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27049
27050 2013-03-11  Andreas Schwab  <schwab@suse.de>
27051
27052         [BZ #15234]
27053         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27054         by SHLIB_COMPAT.
27055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27056         (GLIBC_2.16): Remove pthread_atfork.
27057
27058 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27059
27060         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27061         (ptestcases.h): Likewise.
27062
27063 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27064
27065         * Makeconfig ($(common-objpfx)config.status): Depend on
27066         sysdeps/*/preconfigure{,.in} too.
27067
27068 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27069
27070         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27071         (__free_hook): Use void * instead of __malloc_ptr_t.
27072         (__malloc_hook): Likewise.
27073         (__realloc_hook): Likewise.
27074         (__memalign_hook): Likewise.
27075         (__after_morecore_hook): Likewise.
27076         * malloc/arena.c (save_malloc_hook): Likewise.
27077         (save_free_hook): Likewise.
27078         * malloc/hooks.c (malloc_hook_ini): Likewise.
27079         (realloc_hook_ini): Likewise.
27080         (memalign_hook_ini): Likewise.
27081         * malloc/malloc.c (malloc_hook_ini): Likewise.
27082         (realloc_hook_ini): Likewise.
27083         (memalign_hook_ini): Likewise.
27084         (__free_hook): Likewise.
27085         (__malloc_hook): Likewise.
27086         (__realloc_hook): Likewise.
27087         (__memalign_hook): Likewise.
27088         (__libc_malloc): Likewise.
27089         (__libc_free): Likewise.
27090         (__libc_realloc): Likewise.
27091         (__libc_memalign): Likewise.
27092         (__libc_valloc): Likewise.
27093         (__libc_pvalloc): Likewise.
27094         (__libc_calloc): Likewise.
27095         (__posix_memalign): Likewise.
27096         * malloc/morecore.c (__sbrk): Likewise.
27097         (__default_morecore): Likewise.
27098
27099         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27100
27101         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27102         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27103         __malloc_ptrdiff_t.
27104
27105         * malloc/malloc.h (__malloc_size_t): Remove macro.
27106         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27107         __malloc_size_t.
27108         (old_memalign_hook): Likewise.
27109         (old_realloc_hook): Likewise.
27110         (struct hdr): Likewise.
27111         (flood): Likewise.
27112         (mallochook): Likewise.
27113         (memalignhook): Likewise.
27114         (reallochook): Likewise.
27115         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27116         (tr_old_realloc_hook): Likewise.
27117         (tr_old_memalign_hook): Likewise.
27118         (tr_mallochook): Likewise.
27119         (tr_reallochook): Likewise.
27120         (tr_memalignhook): Likewise.
27121
27122 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27123
27124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27125         default_ldbl_pack and using as default implementation.
27126         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27127         implementation.
27128         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27129         redundant definition.
27130         (ldbl_insert_mantissa): Likewise.
27131         (ldbl_canonicalize): Likewise.
27132         (ldbl_nearbyint): Likewise.
27133         (ldbl_pack): Rename to ldbl_pack_ppc.
27134         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27135         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27136         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27137
27138 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27139
27140         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27141         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27142         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27143         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27144         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27145         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27146         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27147         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27148
27149 2013-03-07  Andreas Jaeger  <aj@suse.de>
27150
27151         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27152         bits/mman-linux.h.
27153
27154 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27155
27156         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27157         Include mpa.h and declare __MPEXP.
27158         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27159         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27160         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27161         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27162         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27163         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27164         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27165
27166         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27167         (__slowpow): Use long double EXPL and LOGL functions to
27168         compute POW.
27169         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27170         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27171         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27172         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27173         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27174         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27175
27176         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27177         intermediate variable to calculate exponent.
27178         (__sqr): Likewise.
27179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27180         Likewise.
27181         (__sqr): Likewise.
27182
27183         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
27184         [!NO__SQR]: Define __sqr.
27185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
27186         and NO__SQR.  Remove all code except __mul and __sqr.  Include
27187         sysdeps/ieee754/dbl-64/mpa.c.
27188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
27189
27190         [BZ #12723]
27191         * posix/Makefile (tests): Add tst-pathconf.
27192         * posix/tst-pathconf.c: New test case.
27193         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
27194         _PC_PIPE_BUF.
27195         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
27196
27197 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
27198
27199         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
27200
27201 2013-03-06  Andreas Jaeger  <aj@suse.de>
27202
27203         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
27204         definition via __MAP_ANONYMOUS.
27205
27206         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
27207         it's not part of Linux headers.
27208
27209         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
27210         (MAP_HUGE_MASK): Define.
27211
27212         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27213         Define.
27214         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27215         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27216         Define.
27217         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27218         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
27219         Define.
27220         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
27222         Define.
27223         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
27224
27225         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
27226         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
27227         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
27228         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
27229         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
27230         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
27231
27232         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
27233         Handle f2fs.
27234
27235         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27236         Handle f2fs and efivarfs.
27237
27238         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
27239         f2fs.
27240
27241         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
27242         (EFIVARFS_MAGIC): Add.
27243         (F2FS_LINK_MAX): Add.
27244
27245 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27246
27247         * stdio-common/vfprintf.c: Replace __builtin_expect with
27248         __glibc_unlikely.
27249
27250 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
27251
27252         [BZ #13550]
27253         * sysdeps/generic/bp-sym.h: Remove file.
27254         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
27255         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
27256         <bp-sym.h> and <bp-asm.h>.
27257         (__longjmp): Don't use BP_SYM.
27258         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
27259         and <bp-asm.h>.
27260         (memcpy): Don't use BP_SYM.
27261         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
27262         <bp-sym.h> and <bp-asm.h>.
27263         (memcpy): Don't use BP_SYM.
27264         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
27265         <bp-asm.h>.
27266         (memcpy): Don't use BP_SYM.
27267         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
27268         <bp-asm.h>.
27269         (memset): Don't use BP_SYM.
27270         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27271         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27272         (__bzero): Don't use BP_SYM.
27273         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27274         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27275         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
27276         <bp-sym.h> and <bp-asm.h>.
27277         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27278         pointers.
27279         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
27280         <bp-sym.h> and <bp-asm.h>.
27281         (memcpy): Don't use BP_SYM.
27282         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
27283         <bp-sym.h> and <bp-asm.h>.
27284         (memset): Don't use BP_SYM.
27285         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27286         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27287         (__bzero): Don't use BP_SYM.
27288         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27289         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27290         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
27291         <bp-sym.h> and <bp-asm.h>.
27292         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27293         pointers.
27294         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
27295         <bp-sym.h> and <bp-asm.h>.
27296         (memcpy): Don't use BP_SYM.
27297         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
27298         <bp-sym.h> and <bp-asm.h>.
27299         (memset): Don't use BP_SYM.
27300         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27301         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27302         (__bzero): Don't use BP_SYM.
27303         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27304         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27305         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
27306         <bp-sym.h> and <bp-asm.h>.
27307         (__memchr): Don't use BP_SYM.
27308         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
27309         <bp-sym.h> and <bp-asm.h>.
27310         (memcmp): Don't use BP_SYM.  Remove comment about bounded
27311         pointers.
27312         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
27313         <bp-sym.h> and <bp-asm.h>.
27314         (memcpy): Don't use BP_SYM.
27315         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
27316         <bp-sym.h> and <bp-asm.h>.
27317         (__mempcpy): Don't use BP_SYM.
27318         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
27319         <bp-sym.h> and <bp-asm.h>.
27320         (__memrchr): Don't use BP_SYM.
27321         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
27322         <bp-sym.h> and <bp-asm.h>.
27323         (memset): Don't use BP_SYM.
27324         (__bzero): Likewise.
27325         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
27326         <bp-sym.h> and <bp-asm.h>.
27327         (__rawmemchr): Don't use BP_SYM.
27328         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
27329         <bp-sym.h> and <bp-asm.h>.
27330         (__STRCMP): Don't use BP_SYM.
27331         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
27332         <bp-sym.h> and <bp-asm.h>.
27333         (strchr): Don't use BP_SYM.
27334         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
27335         <bp-sym.h> and <bp-asm.h>.
27336         (__strchrnul): Don't use BP_SYM.
27337         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
27338         <bp-sym.h> and <bp-asm.h>.
27339         (strlen): Don't use BP_SYM.
27340         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
27341         <bp-sym.h> and <bp-asm.h>.
27342         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27343         pointers.
27344         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
27345         <bp-sym.h> and <bp-asm.h>.
27346         (__strnlen): Don't use BP_SYM.
27347         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
27348         <bp-sym.h> and <bp-asm.h>.
27349         (__GI__setjmp): Don't use BP_SYM.
27350         (_setjmp): Likewise.
27351         (__sigsetjmp): Likewise.
27352         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
27353         (L(start_addresses)): Don't use BP_SYM.
27354         (_start): Likewise.
27355         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
27356         <bp-asm.h>.
27357         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
27358         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
27359         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27360         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27361         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
27362         <bp-asm.h>.
27363         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
27364         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
27365         about bounded pointers.
27366         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27367         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27368         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
27369         <bp-asm.h>.
27370         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27371         about bounded pointers.  Remove GKM FIXME comments.
27372         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27373         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
27374         <bp-asm.h>.
27375         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
27376         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
27377         Remove GKM FIXME comments.
27378         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27379         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27380         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
27381         <bp-asm.h>.
27382         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
27383         about bounded pointers.  Remove GKM FIXME comment.
27384         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
27385         and <bp-asm.h>.
27386         (strncmp): Don't use BP_SYM.  Remove comment about bounded
27387         pointers.
27388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
27389         <bp-sym.h> and <bp-asm.h>.
27390         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
27392         <bp-sym.h> and <bp-asm.h>.
27393         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27394         comment.
27395
27396 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27397
27398         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
27399         call free(NULL).
27400
27401 2013-03-05  David S. Miller  <davem@davemloft.net>
27402
27403         * po/es.po: Update from translation team.
27404
27405 2013-03-05  Andreas Jaeger  <aj@suse.de>
27406
27407         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
27408         <bits/mman-linux.h>.
27409         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27410         is fine.
27411         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
27412         <bits/mman-linux.h> to end of file.
27413         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27414         is fine.
27415         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
27416         <bits/mman-linux.h> to end of file.
27417         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
27418         is fine.
27419         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
27420         <bits/mman-linux.h> to end of file.
27421
27422         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
27423         (MCL_CURRENT, MCL_FUTURE): Define here.
27424
27425 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27426
27427         [BZ #15232]
27428         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
27429         attribute_hidden.
27430         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27431
27432 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27433
27434         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
27435         fourth parameter needed for rt_sigprocmask syscall.
27436         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
27437         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27438         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
27439         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27440         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27441         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
27442
27443 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
27444
27445         [BZ #13550]
27446         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
27447         comment about bounded pointers.
27448         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
27449         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
27450
27451 2013-03-04  Andreas Jaeger  <aj@suse.de>
27452
27453         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
27454         common definitions.
27455
27456         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
27457         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
27458         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
27459         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
27460         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
27461         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
27462
27463 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27464
27465         [BZ #15055]
27466         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
27467         __ieee754_sqrl instead of __sqrl.
27468
27469 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
27470
27471         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
27472         * sysdeps/powerpc/fpu_control.h: ... here.
27473         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
27474         * sysdeps/powerpc/bits/fenvinline.h: ... here.
27475         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
27476         * sysdeps/powerpc/bits/mathinline.h: ... here.
27477
27478 2013-03-01  Roland McGrath  <roland@hack.frob.com>
27479
27480         * elf/dl-hwcaps.c (_dl_important_hwcaps):
27481         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
27482         to just [NEED_DL_SYSINFO_DSO].
27483         * elf/dl-support.c: Likewise.
27484         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27485         * elf/rtld.c (dl_main): Likewise.
27486         * elf/setup-vdso.h (setup_vdso): Likewise.
27487         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
27488         * sysdeps/unix/sysv/linux/dl-sysdep.c
27489         (_dl_discover_osversion): Likewise.
27490
27491 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
27492
27493         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
27494         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27495
27496 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27497
27498         * NEWS: Mention libm performance improvements and non-x86 PI
27499         futex support.
27500
27501         * csu/libc-start.c (__pthread_initialize_minimal): Change
27502         function arguments.
27503         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
27504
27505 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
27506
27507         [BZ #13550]
27508         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
27509         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
27510         <bp-sym.h> and <bp-asm.h>.
27511         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27512         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
27513         and <bp-asm.h>.
27514         (memcpy): Don't use BP_SYM.
27515         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
27516         <bp-asm.h>.
27517         (__mpn_add_n): Don't use BP_SYM.
27518         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
27519         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
27520         and <bp-asm.h>.
27521         (__mpn_addmul_1): Don't use BP_SYM.
27522         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27523         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
27524         <bp-sym.h>.
27525         (_setjmp): Don't use BP_SYM.
27526         (__novmx_setjmp): Likewise.
27527         (__GI__setjmp): Likewise.
27528         (__vmx_setjmp): Likewise.
27529         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
27530         <bp-sym.h>.
27531         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
27532         (__bzero): Don't use BP_SYM.
27533         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
27534         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
27535         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
27536         <bp-sym.h> and <bp-asm.h>.
27537         (memcpy): Don't use BP_SYM.
27538         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
27539         <bp-sym.h> and <bp-asm.h>.
27540         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27541         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
27542         <bp-sym.h> and <bp-asm.h>.
27543         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
27544         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
27545         <bp-asm.h>.
27546         (__mpn_lshift): Don't use BP_SYM.
27547         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27548         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
27549         <bp-asm.h>.
27550         (memset): Don't use BP_SYM.
27551         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
27552         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
27553         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
27554         <bp-asm.h>.
27555         (__mpn_mul_1): Don't use BP_SYM.
27556         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27557         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
27558         <bp-sym.h> and <bp-asm.h>.
27559         (memcmp): Don't use BP_SYM.
27560         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
27561         <bp-sym.h> and <bp-asm.h>.
27562         (memcpy): Don't use BP_SYM.
27563         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
27564         <bp-sym.h> and <bp-asm.h>.
27565         (memset): Don't use BP_SYM.
27566         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
27567         <bp-sym.h> and <bp-asm.h>.
27568         (strncmp): Don't use BP_SYM.
27569         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
27570         <bp-sym.h> and <bp-asm.h>.
27571         (memcpy): Don't use BP_SYM.
27572         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
27573         <bp-sym.h> and <bp-asm.h>.
27574         (memset): Don't use BP_SYM.
27575         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
27576         <bp-sym.h> and <bp-asm.h>.
27577         (__memchr): Don't use BP_SYM.
27578         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
27579         <bp-sym.h> and <bp-asm.h>.
27580         (memcmp): Don't use BP_SYM.
27581         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
27582         <bp-sym.h> and <bp-asm.h>.
27583         (memcpy): Don't use BP_SYM.
27584         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
27585         <bp-sym.h> and <bp-asm.h>.
27586         (__mempcpy): Don't use BP_SYM.
27587         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
27588         <bp-sym.h> and <bp-asm.h>.
27589         (__memrchr): Don't use BP_SYM.
27590         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
27591         <bp-sym.h> and <bp-asm.h>.
27592         (memset): Don't use BP_SYM.
27593         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
27594         <bp-sym.h> and <bp-asm.h>.
27595         (__rawmemchr): Don't use BP_SYM.
27596         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
27597         <bp-sym.h> and <bp-asm.h>.
27598         (__STRCMP): Don't use BP_SYM.
27599         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
27600         <bp-sym.h> and <bp-asm.h>.
27601         (strchr): Don't use BP_SYM.
27602         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
27603         <bp-sym.h> and <bp-asm.h>.
27604         (__strchrnul): Don't use BP_SYM.
27605         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
27606         <bp-sym.h> and <bp-asm.h>.
27607         (strlen): Don't use BP_SYM.
27608         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
27609         <bp-sym.h> and <bp-asm.h>.
27610         (strncmp): Don't use BP_SYM.
27611         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
27612         <bp-sym.h> and <bp-asm.h>.
27613         (__strnlen): Don't use BP_SYM.
27614         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27615         <bp-asm.h>.
27616         (__mpn_rshift): Don't use BP_SYM.
27617         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27618         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27619         <bp-sym.h> and <bp-asm.h>.
27620         (__sigsetjmp): Don't use BP_SYM.
27621         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27622         (L(start_addresses)): Don't use BP_SYM.
27623         (_start): Likewise.
27624         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27625         <bp-asm.h>.
27626         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27627         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27628         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27629         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27630         <bp-asm.h>.
27631         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27632         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27633         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27634         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27635         <bp-asm.h>.
27636         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27637         comments.
27638         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27639         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27640         <bp-asm.h>.
27641         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
27642         FIXME comments.
27643         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27644         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27645         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27646         <bp-asm.h>.
27647         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27648         comment.
27649         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27650         and <bp-asm.h>.
27651         (strncmp): Don't use BP_SYM,
27652         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27653         <bp-asm.h>.
27654         (__mpn_sub_n): Don't use BP_SYM.
27655         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27656         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27657         and <bp-asm.h>.
27658         (__mpn_submul_1): Don't use BP_SYM.
27659         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27661         <bp-sym.h> and <bp-asm.h>.
27662         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27664         <bp-sym.h> and <bp-asm.h>.
27665         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27666         comment.
27667
27668 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27669
27670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27671         Use ZK to minimize writes to Z.
27672         (sub_magnitudes): Simplify code a bit.
27673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27674         Use ZK to minimize writes to Z.
27675         (sub_magnitudes): Simplify code a bit.
27676
27677 2013-02-27  Roland McGrath  <roland@hack.frob.com>
27678
27679         * csu/gmon-start.c: Add special exception to license text.
27680
27681 2013-02-27  Richard Henderson  <rth@redhat.com>
27682
27683         * scripts/config.guess: Update from config.git.
27684         * scripts/config.sub: Likewise.
27685
27686 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27687
27688         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27689
27690         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27691
27692         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27693
27694         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27695
27696         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27697
27698 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27699
27700         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27701         [$(build-shared = yes].
27702
27703 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27704
27705         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27706         (__mul): Reduce iterations for calculating mantissa.
27707
27708         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27709         MPTWO.
27710         (__mpranred): Likewise.
27711
27712         [BZ #15160]
27713         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27714         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27715
27716 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27717
27718         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27719         Define __attribute__.
27720
27721 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27722
27723         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27724         unused.
27725         * posix/regex_internal.h (__attribute): Remove.
27726         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27727         (re_string_context_at): Likewise.
27728         (bitset_not): Use __attribute__ and mark function as possibly
27729         unused.
27730         (bitset_merge): Likewise.
27731         (bitset_mask): Likewise.
27732         (re_string_char_size_at): Likewise.
27733         (re_string_wchar_at): Likewise.
27734         (re_string_elem_size_at): Likewise.
27735
27736 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27737
27738         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27739         code.
27740         (cc32): Likewise.
27741
27742         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27743         (__acr): Likewise.
27744         (__cpy): Likewise.
27745         (norm): Likewise.
27746         (denorm): Likewise.
27747         (__dbl_mp): Likewise.
27748         (add_magnitudes): Likewise.
27749         (sub_magnitudes): Likewise.
27750         (__mul): Likewise.
27751         (__inv): Likewise.
27752
27753         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27754         style.
27755
27756         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27757         style.
27758
27759         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27760         code.
27761
27762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27763         up changes with default code.
27764         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27765         Likewise.
27766
27767 2013-02-24  Allan McRae  <allan@archlinux.org>
27768
27769         * manual/socket.texi (The Internet Namespace): Order menu items
27770         to match that in the file.
27771
27772         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27773         node listing of the info page menu.
27774
27775 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
27776
27777         [BZ #13550]
27778         * sysdeps/i386/bp-asm.h: Remove file.
27779         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27780         (PARMS): Do not use macros from bp-asm.h.
27781         (S1): Likewise.
27782         (S2): Likewise.
27783         (SIZE): Likewise.
27784         (__mpn_add_n): Do not use BP_SYM
27785         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27786         "bp-asm.h".
27787         (PARMS): Do not use macros from bp-asm.h.
27788         (S1): Likewise.
27789         (SIZE): Likewise.
27790         (__mpn_addmul_1): Do not use BP_SYM
27791         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27792         "bp-asm.h".
27793         (PARMS): Do not use macros from bp-asm.h.
27794         (SIGMSK): Likewise.
27795         (_setjmp): Likewise.  Do not use BP_SYM.
27796         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27797         "bp-asm.h".
27798         (PARMS): Do not use macros from bp-asm.h.
27799         (SIGMSK): Likewise.
27800         (setjmp): Likewise.  Do not use BP_SYM.
27801         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27802         "bp-asm.h".
27803         (PARMS): Do not use macros from bp-asm.h.
27804         (__frexp): Do not use BP_SYM.
27805         (frexp): Likewise.
27806         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27807         "bp-asm.h".
27808         (PARMS): Do not use macros from bp-asm.h.
27809         (__frexpf): Do not use BP_SYM.
27810         (frexpf): Likewise.
27811         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27812         "bp-asm.h".
27813         (PARMS): Do not use macros from bp-asm.h.
27814         (__frexpl): Do not use BP_SYM.
27815         (frexpl): Likewise.
27816         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27817         "bp-asm.h".
27818         (PARMS): Do not use macros from bp-asm.h.
27819         (__remquo): Do not use BP_SYM.
27820         (remquo): Likewise.
27821         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27822         "bp-asm.h".
27823         (PARMS): Do not use macros from bp-asm.h.
27824         (__remquof): Do not use BP_SYM.
27825         (remquof): Likewise.
27826         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27827         "bp-asm.h".
27828         (PARMS): Do not use macros from bp-asm.h.
27829         (__remquol): Do not use BP_SYM.
27830         (remquol): Likewise.
27831         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27832         "bp-asm.h".
27833         (PARMS): Do not use macros from bp-asm.h.
27834         (DEST): Likewise.
27835         (SRC): Likewise.
27836         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
27837         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27838         "bp-asm.h".
27839         (PARMS): Do not use macros from bp-asm.h.
27840         (strlen): Do not use BP_SYM.
27841         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27842         "bp-asm.h".
27843         (PARMS): Do not use macros from bp-asm.h.
27844         (S1): Likewise.
27845         (S2): Likewise.
27846         (SIZE): Likewise.
27847         (__mpn_add_n): Do not use BP_SYM.
27848         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27849         "bp-asm.h".
27850         (PARMS): Do not use macros from bp-asm.h.
27851         (S1): Likewise.
27852         (SIZE): Likewise.
27853         (__mpn_addmul_1): Do not use BP_SYM.
27854         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27855         weak_alias.
27856         (bzero): Likewise.
27857         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27858         "bp-asm.h".
27859         (PARMS): Do not use macros from bp-asm.h.
27860         (S): Likewise.
27861         (SIZE): Likewise.
27862         (__mpn_lshift): Do not use BP_SYM.
27863         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27864         "bp-asm.h".
27865         (PARMS): Do not use macros from bp-asm.h.
27866         (DEST): Likewise.
27867         (SRC): Likewise.
27868         (LEN): Likewise.
27869         (memcpy): Likewise.  Do not use BP_SYM.
27870         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27871         libc_hidden_def and weak_alias.
27872         (mempcpy): Do not use BP_SYM in weak_alias.
27873         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27874         "bp-asm.h".
27875         (PARMS): Do not use macros from bp-asm.h.
27876         (DEST): Likewise.
27877         (LEN): Likewise.
27878         [!BZERO_P] (CHR): Likewise.
27879         (memset): Likewise.  Do not use BP_SYM.
27880         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27881         "bp-asm.h".
27882         (PARMS): Do not use macros from bp-asm.h.
27883         (S1): Likewise.
27884         (SIZE): Likewise.
27885         (__mpn_mul_1): Do not use BP_SYM.
27886         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27887         "bp-asm.h".
27888         (PARMS): Do not use macros from bp-asm.h.
27889         (S): Likewise.
27890         (SIZE): Likewise.
27891         (__mpn_rshift): Do not use BP_SYM.
27892         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27893         "bp-asm.h".
27894         (PARMS): Do not use macros from bp-asm.h.
27895         (STR): Likewise.
27896         (CHR): Likewise.
27897         (strchr): Likewise.  Do not use BP_SYM.
27898         (index): Do not use BP_SYM in weak_alias.
27899         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27900         "bp-asm.h".
27901         (PARMS): Do not use macros from bp-asm.h.
27902         (DEST): Likewise.
27903         (SRC): Likewise.
27904         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
27905         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27906         "bp-asm.h".
27907         (PARMS): Do not use macros from bp-asm.h.
27908         (strlen): Do not use BP_SYM.
27909         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27910         "bp-asm.h".
27911         (PARMS): Do not use macros from bp-asm.h.
27912         (S1): Likewise.
27913         (S2): Likewise.
27914         (SIZE): Likewise.
27915         (__mpn_sub_n): Do not use BP_SYM.
27916         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27917         "bp-asm.h".
27918         (PARMS): Do not use macros from bp-asm.h.
27919         (S1): Likewise.
27920         (SIZE): Likewise.
27921         (__mpn_submul_1): Do not use BP_SYM.
27922         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27923         "bp-asm.h".
27924         (PARMS): Do not use macros from bp-asm.h.
27925         (S1): Likewise.
27926         (S2): Likewise.
27927         (SIZE): Likewise.
27928         (__mpn_add_n): Do not use BP_SYM.
27929         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27930         weak_alias.
27931         (bzero): Likewise.
27932         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27933         "bp-asm.h".
27934         (PARMS): Do not use macros from bp-asm.h.
27935         (BLK2): Likewise.
27936         (LEN): Likewise.
27937         (memcmp): Do not use BP_SYM.
27938         (bcmp): Do not use BP_SYM in weak_alias.
27939         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27940         "bp-asm.h".
27941         (PARMS): Do not use macros from bp-asm.h.
27942         (DEST): Likewise.
27943         (SRC): Likewise.
27944         (LEN): Likewise.
27945         (memcpy): Likewise.  Do not use BP_SYM.
27946         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27947         "bp-asm.h".
27948         (PARMS): Do not use macros from bp-asm.h.
27949         (DEST): Likewise.
27950         (SRC): Likewise.
27951         (LEN): Likewise.
27952         (memmove): Likewise.  Do not use BP_SYM.
27953         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27954         "bp-asm.h".
27955         (PARMS): Do not use macros from bp-asm.h.
27956         (DEST): Likewise.
27957         (SRC): Likewise.
27958         (LEN): Likewise.
27959         (__mempcpy): Likewise.  Do not use BP_SYM.
27960         (mempcpy): Do not use BP_SYM in weak_alias.
27961         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27962         "bp-asm.h".
27963         (PARMS): Do not use macros from bp-asm.h.
27964         (DEST): Likewise.
27965         (LEN): Likewise.
27966         [!BZERO_P] (CHR): Likewise.
27967         (memset): Likewise.  Do not use BP_SYM.
27968         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27969         "bp-asm.h".
27970         (PARMS): Do not use macros from bp-asm.h.
27971         (STR2): Likewise.
27972         (strcmp): Do not use BP_SYM.
27973         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27974         "bp-asm.h".
27975         (PARMS): Do not use macros from bp-asm.h.
27976         (STR): Likewise.
27977         (DELIM): Likewise.
27978         [USE_AS_STRTOK_R] (SAVE): Likewise.
27979         (FUNCTION): Likewise.  Do not use BP_SYM.
27980         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27981         aliases.
27982         (strtok_r): Likewise.
27983         (__GI___strtok_r): Likewise.
27984         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27985         (PARMS): Do not use macros from bp-asm.h.
27986         (S): Likewise.
27987         (SIZE): Likewise.
27988         (__mpn_lshift): Do not use BP_SYM.
27989         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27990         (PARMS): Do not use macros from bp-asm.h.
27991         (STR): Likewise.
27992         (CHR): Likewise.
27993         (__memchr): Do not use BP_SYM.
27994         (memchr): Do not use BP_SYM in weak_alias.
27995         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27996         (PARMS): Do not use macros from bp-asm.h.
27997         (BLK2): Likewise.
27998         (LEN): Likewise.
27999         (memcmp): Do not use BP_SYM.
28000         (bcmp): Do not use BP_SYM in weak_alias.
28001         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28002         (PARMS): Do not use macros from bp-asm.h.
28003         (S1): Likewise.
28004         (SIZE): Likewise.
28005         (__mpn_mul_1): Do not use BP_SYM.
28006         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28007         "bp-asm.h".
28008         (PARMS): Do not use macros from bp-asm.h.
28009         (STR): Likewise.
28010         (CHR): Likewise.
28011         (__rawmemchr): Do not use BP_SYM.
28012         (rawmemchr): Do not use BP_SYM in weak_alias.
28013         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28014         (PARMS): Do not use macros from bp-asm.h.
28015         (S): Likewise.
28016         (SIZE): Likewise.
28017         (__mpn_rshift): Do not use BP_SYM.
28018         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28019         (PARMS): Do not use macros from bp-asm.h.
28020         (SIGMSK): Likewise.
28021         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28022         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28023         (_start): Do not use BP_SYM.
28024         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28025         (PARMS): Do not use macros from bp-asm.h.
28026         (DEST): Likewise.
28027         (SRC): Likewise.
28028         (__stpcpy): Likewise.  Do not use BP_SYM.
28029         (stpcpy): Do not use BP_SYM in weak_alias.
28030         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28031         "bp-asm.h".
28032         (PARMS): Do not use macros from bp-asm.h.
28033         (DEST): Likewise.
28034         (SRC): Likewise.
28035         (LEN): Likewise.
28036         (__stpncpy): Likewise.  Do not use BP_SYM.
28037         (stpncpy): Do not use BP_SYM in weak_alias.
28038         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28039         (PARMS): Do not use macros from bp-asm.h.
28040         (STR): Likewise.
28041         (CHR): Likewise.
28042         (strchr): Likewise.  Do not use BP_SYM.
28043         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28044         "bp-asm.h".
28045         (PARMS): Do not use macros from bp-asm.h.
28046         (STR): Likewise.
28047         (CHR): Likewise.
28048         (__strchrnul): Likewise.  Do not use BP_SYM.
28049         (strchrnul): Do not use BP_SYM in weak_alias.
28050         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28051         "bp-asm.h".
28052         (PARMS): Do not use macros from bp-asm.h.
28053         (STOP): Likewise.
28054         (strcspn): Do not use BP_SYM.
28055         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28056         "bp-asm.h".
28057         (PARMS): Do not use macros from bp-asm.h.
28058         (STR): Likewise.
28059         (STOP): Likewise.
28060         (strpbrk): Likewise.  Do not use BP_SYM.
28061         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28062         "bp-asm.h".
28063         (PARMS): Do not use macros from bp-asm.h.
28064         (STR): Likewise.
28065         (CHR): Likewise.
28066         (strrchr): Likewise.  Do not use BP_SYM.
28067         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28068         (PARMS): Do not use macros from bp-asm.h.
28069         (SKIP): Likewise.
28070         (strspn): Do not use BP_SYM.
28071         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28072         (PARMS): Do not use macros from bp-asm.h.
28073         (STR): Likewise.
28074         (DELIM): Likewise.
28075         (SAVE): Likewise.
28076         (FUNCTION): Likewise.  Do not use BP_SYM.
28077         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28078         aliases.
28079         (strtok_r): Likewise.
28080         (__GI___strtok_r): Likewise.
28081         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28082         (PARMS): Do not use macros from bp-asm.h.
28083         (S1): Likewise.
28084         (S2): Likewise.
28085         (SIZE): Likewise.
28086         (__mpn_sub_n): Do not use BP_SYM.
28087         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28088         "bp-asm.h".
28089         (PARMS): Do not use macros from bp-asm.h.
28090         (S1): Likewise.
28091         (SIZE): Likewise.
28092         (__mpn_submul_1): Do not use BP_SYM.
28093         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28094         <bp-sym.h>.
28095         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28096         and <bp-asm.h>.
28097         (PARMS): Do not use macros from bp-asm.h.
28098         (FLAGS): Likewise.
28099         (PTID): Likewise.
28100         (TLS): Likewise.
28101         (CTID): Likewise.
28102         (__clone): Do not use BP_SYM.
28103         (clone): Do not use BP_SYM in weak_alias.
28104         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28105         and <bp-asm.h>.
28106         (PARMS): Do not use macros from bp-asm.h.
28107         (LEN): Likewise.
28108         (__mmap64): Do not use BP_SYM.
28109         (mmap64): Do not use BP_SYM in weak_alias.
28110         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28111         <bp-sym.h> and <bp-asm.h>.
28112         (PARMS): Do not use macros from bp-asm.h.
28113         (__posix_fadvise64_l64): Do not use BP_SYM.
28114         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28115         (PARMS): Do not use macros from bp-asm.h.
28116         (NSOPS): Likewise.
28117         (semtimedop): Do not use BP_SYM.
28118         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28119         and <bp-asm.h>.
28120
28121 2013-02-21  Allan McRae  <allan@archlinux.org>
28122
28123         * manual/message.texi (Charset conversion in gettext):
28124         Move @end statement to beginning of line.
28125
28126 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28127
28128         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28129         static.
28130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28131         Likewise.
28132
28133         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28134         (denorm): Likewise.
28135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28137
28138 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28139
28140         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28141         tail-call to the resolved function if pltexit isn't needed.
28142
28143 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28144
28145         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28146         or Y being zero as being unlikely.
28147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28148         Likewise.
28149
28150 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28151
28152         * manual/nss.texi (System Databases and Name Service Switch):
28153         Remove frobnicate @pxref.
28154
28155 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28156
28157         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28158         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28159
28160 2013-02-20  Petr Machata  <pmachata@redhat.com>
28161
28162         * elf/elf.h (R_ARM_TARGET1): New macro.
28163         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28164         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28165         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28166         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28167         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28168         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28169         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28170         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28171         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28172         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28173         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28174         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28175         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28176         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28177         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28178         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28179         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28180         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28181         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28182         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28183         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
28184         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
28185         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
28186         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
28187         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
28188         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
28189         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
28190         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
28191         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
28192         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
28193         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
28194         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
28195         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
28196         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
28197         (R_ARM_THM_GOT_BREL12): Likewise.
28198         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
28199         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
28200         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
28201         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
28202         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
28203         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
28204         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
28205         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
28206         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
28207
28208 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28209
28210         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28211         __attribute_used__ to __attribute__ ((unused)).
28212
28213 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28214
28215         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
28216         powerpc mpa.c.
28217         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
28218         comment formatting.
28219         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
28220
28221 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
28222
28223         [BZ #13550]
28224         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
28225         Remove macro.
28226         (ENTER): Remove both macro definitions.
28227         (LEAVE): Likewise.
28228         (CHECK_BOUNDS_LOW): Likewise.
28229         (CHECK_BOUNDS_HIGH): Likewise.
28230         (CHECK_BOUNDS_BOTH): Likewise.
28231         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
28232         (RETURN_BOUNDED_POINTER): Likewise.
28233         (RETURN_NULL_BOUNDED_POINTER): Likewise.
28234         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
28235         (POP_ERRNO_LOCATION_RETURN): Likewise.
28236         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
28237         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28238         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
28239         macros.
28240         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28241         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
28242         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
28243         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
28244         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
28245         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
28246         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
28247         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
28248         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
28249         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
28250         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
28251         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
28252         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28253         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
28254         removed macros.
28255         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28256         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
28257         macros.
28258         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28259         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
28260         * sysdeps/i386/i586/memset.S (memset): Likewise.
28261         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
28262         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28263         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
28264         macros.
28265         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28266         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
28267         Change uses of L(2) to L(out).
28268         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
28269         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
28270         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
28271         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28272         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
28273         removed macros.
28274         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28275         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
28276         macros.
28277         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28278         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
28279         (RETURN): Do not use macro LEAVE.
28280         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
28281         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
28282         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
28283         * sysdeps/i386/i686/memset.S (memset): Likewise.
28284         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
28285         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
28286         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28287         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
28288         Likewise.
28289         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28290         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
28291         L(1_2) and L(1_3) into L(1).
28292         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28293         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
28294         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28295         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
28296         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28297         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
28298         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
28299         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28300         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
28301         macros.
28302         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
28303         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28304         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
28305         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
28306         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
28307         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28308         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
28309         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
28310         * sysdeps/i386/strcspn.S (strcspn): Likewise.
28311         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
28312         * sysdeps/i386/strrchr.S (strrchr): Likewise.
28313         * sysdeps/i386/strspn.S (strspn): Likewise.
28314         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
28315         conditional code.
28316         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28317         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
28318         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
28319         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
28320         L(1_3) into L(1_1).
28321         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
28322         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28323         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
28324         macros.
28325         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28326
28327 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
28328
28329         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
28330         macro.
28331
28332 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
28333
28334         * math/atest-exp.c (exp_mpn): Remove ROUND.
28335         * math/atest-exp2.c (exp_mpn): Likewise.
28336         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
28337
28338         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
28339         * stdlib/tst-tls-atexit-lib.c: Likewise.
28340         * stdlib/tst-tls-atexit.c: Likewise.
28341
28342 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28343
28344         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
28345         and __attribute_alloc_size__.
28346
28347 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28348
28349         * include/programs/xmalloc.h: Change __attribute_alloc_size to
28350         __attribute_alloc_size__.
28351         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
28352         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
28353
28354 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
28355
28356         * include/programs/xmalloc.h: New file.
28357         * catgets/gencat.c: Include it.
28358         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
28359         * elf/pldd.c: Likewise.
28360         * iconv/iconv_charmap.c: Likewise.
28361         * iconv/iconvconfig.c: Likewise.
28362         * iconv/strtab.c: Likewise.
28363         * locale/programs/locale.c: Likewise.
28364         * locale/programs/localedef.h: Likewise.
28365         * locale/programs/simple-hash.c: Likewise.
28366         * nscd/nscd.h: Likewise.
28367         * nss/makedb.c: Likewise.
28368         * sysdeps/generic/ldconfig.h: Likewise.
28369
28370 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28371
28372         * Versions.def: Add GLIBC_2.18.
28373         * include/link.h (struct link_map): New member l_tls_dtor_count.
28374         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
28375         (__call_tls_dtors): Likewise.
28376         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
28377         __cxa_thread_atexit_impl.
28378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28379         Likewise.
28380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28381         Likewise.
28382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28383         Likewise.
28384         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28385         Likewise.
28386         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
28387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
28388         Likewise.
28389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
28390         Likewise.
28391         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
28392         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
28393         Likewise.
28394         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
28395         (tests): Add test case tst-tls-atexit.
28396         (modules-names): Add shared library for tst-tls-atexit.
28397         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
28398         (GLIBC_PRIVATE): Add __call_tls_dtors.
28399         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
28400         for libstdc++.
28401         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
28402         * stdlib/tst-tls-atexit.c: New test case.
28403         * stdlib/tst-tls-atexit-lib.c: New test case.
28404
28405         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
28406
28407         * elf/Versions (ld): Add _dl_find_dso_for_object.
28408         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
28409         * elf/dl-open.c (_dl_find_dso_for_object): New function.
28410         (dl_open_worker): Use _dl_find_dso_for_object.
28411         * elf/dl-sym.c (do_sym): Likewise.
28412         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
28413
28414 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28415
28416         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
28417         Syntactic changes only.
28418         (_dl_runtime_profile): Do a tail-call to the resolved function.
28419
28420 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
28421
28422         [BZ #13550]
28423         * sysdeps/x86_64/bp-asm.h: Remove file.
28424         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
28425         <bp-sym.h> and <bp-asm.h>.
28426         (__clone): Do not use BP_SYM.
28427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
28428         <bp-sym.h> and <bp-asm.h>.
28429         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28430         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
28431         "bp-asm.h".
28432         (_setjmp): Do not use BP_SYM.
28433         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
28434         "bp-asm.h".
28435         (setjmp): Do not use BP_SYM.
28436         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
28437         libc_hidden_def.
28438         (mempcpy): Do not use BP_SYM in weak_alias.
28439         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
28440         "bp-asm.h".
28441         (strchr): Do not use BP_SYM.
28442         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
28443         "bp-asm.h".
28444         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
28445         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
28446         (_start): Do not use BP_SYM.
28447         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
28448         "bp-asm.h".
28449         (strcat): Do not use BP_SYM.
28450         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
28451         "bp-asm.h".
28452         (STRCMP): Do not use BP_SYM.
28453         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
28454         "bp-asm.h".
28455         (STRCPY): Do not use BP_SYM.
28456         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
28457         "bp-asm.h".
28458         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
28459         "bp-asm.h".
28460         (FUNCTION): Do not use BP_SYM.
28461         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
28462         weak_alias.
28463         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
28464
28465 2013-02-17  Andreas Jaeger  <aj@suse.de>
28466
28467         * time/Versions: Sort entries.
28468         * string/Versions: Likewise.
28469         * resolv/Versions: Likewise.
28470         * posix/Versions: Likewise.
28471         * iconv/Versions: Likewise.
28472         * elf/Versions: Likewise.
28473         * wcsmbs/Versions: Likewise.
28474
28475 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28476
28477         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
28478         loop termination condition.
28479
28480         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
28481         variable to calculate EZ.
28482         (__sqr): Likewise.
28483
28484         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
28485         the lower precision input.
28486
28487 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
28488
28489         [BZ #13550]
28490         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
28491         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
28492         (run-via-rtld-prefix): Do not handle %-bp tests.
28493         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
28494         (all-object-suffixes): Remove .ob.
28495         (bppfx): Remove variable.
28496         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
28497         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
28498         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
28499         [$(build-bounded) = yes] (libtype.ob): Likewise.
28500         * Makerules (elide-routines.ob): Remove variable.
28501         (do-tests-clean): Do not handle *-bp.out.
28502         (common-mostlyclean): Do not handle *-bp and *-bp.out.
28503         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
28504         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
28505         (tests): Do not include $(tests-bp.out).
28506         (xtests): Do not include $(xtests-bp.out).
28507         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
28508         [$(build-bounded) = yes] ($(addprefix
28509         $(objpfx),$(binaries-bounded))): Remove rule.
28510         ($(objpfx)%-bp.out): Remove rule.
28511         * config.make.in (build-bounded): Remove variable.
28512         * crypt/Makefile [$(build-bounded) = yes]
28513         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
28514         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
28515         append to variable.
28516         [$(build-bounded) = yes] (install-lib): Likewise.
28517         [$(build-bounded) = yes] (generated): Likewise.
28518         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
28519         Remove rule.
28520         * intl/Makefile [$(build-bounded) = yes]
28521         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
28522         * math/Makefile [$(build-bounded) = yes]
28523         ($(tests:%=$(objpfx)%-bp): Likewise.
28524         * misc/Makefile [$(build-bounded) = yes]
28525         ($(objpfx)tst-tsearch-bp): Likewise.
28526         * nptl/Makeconfig (bounded-thread-library): Remove variable.
28527         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
28528         Remove dependency.
28529         * string/Makefile (o-objects.ob): Remove variable.
28530         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
28531         (CFLAGS-.ob): Remove variable.
28532         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
28533         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
28534         both definitions of variable.
28535         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
28536         (ASFLAGS-.ob): Remove variable.
28537
28538 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
28539
28540         [BZ #13550]
28541         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
28542         Remove __BOUNDED_POINTERS__ from condition.
28543         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
28544         * string/bits/string2.h [!__NO_STRING_INLINES &&
28545         !__BOUNDED_POINTERS__]: Likewise.
28546         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
28547         Likewise.
28548         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
28549         Remove conditional code.
28550         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
28551         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
28552         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
28553         condition.
28554
28555         [BZ #13550]
28556         * csu/libc-start.c: Do not include <bp-sym.h>.
28557         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
28558         * elf/dl-open.c: Do not include <bp-sym.h>.
28559         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
28560         * math/fegetenv.c: Do not include <bp-sym.h>.
28561         (fegetenv): Do not use BP_SYM in versioned symbols.
28562         * nptl/sysdeps/pthread/bits/libc-lockP.h
28563         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
28564         <bp-sym.h>.
28565         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28566         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
28567         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28568         (__pthread_mutex_destroy): Likewise.
28569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28570         (__pthread_mutex_lock): Likewise.
28571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28572         (__pthread_mutex_trylock): Likewise.
28573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28574         (__pthread_mutex_unlock): Likewise.
28575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28576         (__pthread_mutexattr_init): Likewise.
28577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28578         (__pthread_mutexattr_destroy): Likewise.
28579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28580         (__pthread_mutexattr_settype): Likewise.
28581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28582         (__pthread_rwlock_init): Likewise.
28583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28584         (__pthread_rwlock_destroy): Likewise.
28585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28586         (__pthread_rwlock_rdlock): Likewise.
28587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28588         (__pthread_rwlock_tryrdlock): Likewise.
28589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28590         (__pthread_rwlock_wrlock): Likewise.
28591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28592         (__pthread_rwlock_trywrlock): Likewise.
28593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28594         (__pthread_rwlock_unlock): Likewise.
28595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28596         (__pthread_key_create): Likewise.
28597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28598         (__pthread_setspecific): Likewise.
28599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28600         (__pthread_getspecific): Likewise.
28601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
28602         Likewise.
28603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28604         (_pthread_cleanup_push_defer): Likewise.
28605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28606         (_pthread_cleanup_pop_restore): Likewise.
28607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
28608         (pthread_setcancelstate): Likewise.
28609         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
28610         <bp-sym.h>.
28611         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
28612         (memchr): Do not use BP_SYM in weak_alias.
28613         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28614         (fegetenv): Do not use BP_SYM in versioned symbols.
28615         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28616         (fesetenv): Do not use BP_SYM in versioned symbols.
28617         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28618         (feupdateenv): Do not use BP_SYM in versioned symbols.
28619         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28620         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28621         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28622         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28623         (open64): Do not use BP_SYM in weak_alias.
28624         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28625         (fegetenv): Do not use BP_SYM in versioned symbols.
28626         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28627         (fesetenv): Do not use BP_SYM in versioned symbols.
28628         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28629         (feupdateenv): Do not use BP_SYM in versioned symbols.
28630         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28631         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28632         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28633         (feraiseexcept): Do not use BP_SYM in versioned symbols.
28634         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28635         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28636         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28637         <bp-sym.h>.
28638         (__libc_start_main): Do not use BP_SYM.
28639
28640 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28641
28642         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28643         redundant return line.
28644         (norm): Likewise.
28645         (denorm): Likewise.
28646         (dbl_mp): Likewise.
28647         (sub_magnitudes): Likewise.
28648         (__add): Likewise.
28649         (__sub): Likewise.
28650         (__mul): Likewise.
28651         (__inv): Likewise.
28652         (__dvd): Likewise.
28653         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28654         (norm): Likewise.
28655         (denorm): Likewise.
28656         (dbl_mp): Likewise.
28657         (sub_magnitudes): Likewise.
28658         (__add): Likewise.
28659         (__sub): Likewise.
28660         (__mul): Likewise.
28661         (__inv): Likewise.
28662         (__dvd): Likewise.
28663
28664         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28665         instead of __mul.
28666         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28667         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28668         (cc32): Likewise.
28669
28670         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28671         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28672         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28673         of __mul for squares.
28674         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28675         function
28676         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28677         Likewise.
28678         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28679         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28680
28681 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
28682
28683         [BZ #13550]
28684         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28685         code.
28686         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28687         prototype or function definition.  Rename ubp_* variables and
28688         parameters.  Remove argv definitions conditional on
28689         [__BOUNDED_POINTERS__].
28690         * debug/backtrace.c (__backtrace): Do not use __unbounded.
28691         * elf/dl-runtime.c (_dl_fixup): Likewise.
28692         * include/set-hooks.h (RUN_HOOK): Likewise.
28693         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28694         definition.
28695         * string/strcpy.c (strcpy): Do not use __unbounded.
28696         * sysdeps/generic/frame.h (struct layout): Likewise.
28697         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28698         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28699         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28700         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28701         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28702         (__backtrace): Likewise.
28703         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28704         use __ptrvalue.
28705         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28706         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28707         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28708         Likewise.
28709         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28710         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28711         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28712         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28713         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28714         Do not use __unbounded.
28715         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28716         Rename __unboundedrlimits parameter to rlimits in prototype.
28717         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28718         Do not use __unbounded.
28719         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28720         not use __ptrvalue.
28721         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28722         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28723         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28724         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28725         __ptrvalue or __unbounded.
28726         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28727         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28728         use __unbounded.
28729         (__new_msgctl): Do not use __ptrvalue.
28730         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28731         __unbounded.
28732         (__libc_msgrcv): Do not use __ptrvalue.
28733         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28734         startup_info): Do not use __unbounded.
28735         (__libc_start_main): Likewise.  Rename ubp_* variables and
28736         parameters.  Remove argv definitions conditional on
28737         [__BOUNDED_POINTERS__].
28738         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28739         __ptrvalue.
28740         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28741         use __unbounded.
28742         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28743         or __ptrvalue.
28744         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28745         use __unbounded.
28746         (__new_shmctl): Do not use __ptrvalue.
28747         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28748         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28749         Likewise.
28750         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28751         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28752         (__libc_sigaction): Likewise.
28753         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28754         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28755         Likewise.
28756         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28757
28758 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
28759
28760         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28761
28762         * string/mempcpy.c: Implement by calling memcpy.
28763
28764 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28765
28766         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28767
28768         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28769         evaluation.
28770
28771         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28772         values in the mantissa.
28773
28774         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28775         minimize writes to Z.
28776         (sub_magnitudes): Simplify code a bit.
28777
28778 2013-02-12  Roland McGrath  <roland@hack.frob.com>
28779
28780         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28781         from the message.  The linker prefixes all warnings with that already.
28782
28783 2013-02-12  Andreas Schwab  <schwab@suse.de>
28784
28785         [BZ #15078]
28786         * posix/regexec.c (extend_buffers): Add parameter min_len.
28787         (check_matching): Pass minimum needed length.
28788         (clean_state_log_if_needed): Likewise.
28789         (get_subexp): Likewise.
28790         * posix/Makefile (tests): Add bug-regex34.
28791         (bug-regex34-ENV): Define.
28792         * posix/bug-regex34.c: New file.
28793
28794         [BZ #11561]
28795         * posix/regcomp.c (parse_bracket_exp): When looking up collating
28796         elements compare against the byte sequence of it, not its name.
28797         * posix/Makefile (tests): Add bug-regex35.
28798         (bug-regex35-ENV): Define.
28799         * posix/bug-regex35.c: New file.
28800
28801 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28802
28803         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
28804         comment.
28805         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28806         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28807         (CHECK_EOL): Add undef.
28808
28809 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
28810
28811         * bits/stdlib-bsearch.h: New file.
28812         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28813         * stdlib/stdlib.h: Likewise.
28814
28815 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28816
28817         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28818         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28819         declaration.
28820         * manual/search.texi (Array Search Function): Add missing const in
28821         lfind prototype.
28822         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28823         declaration to use rlim_t.
28824         (Basic Scheduling Functions): Remove erroneous const from
28825         sched_getparam prototype.  Remove erroneous * from
28826         sched_get_priority_max and sched_get_priority_min prototypes.
28827         (Resource Usage): Fix summary @comment on vtimes to refer to
28828         sys/vtimes.h rather than vtimes.h.
28829         Add missing *s in vtimes prototype.
28830         (Limits on Resources): Fix ulimit prototype to return long int.
28831         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28832         prototypes to use long int rather than double.
28833         (BSD Random): Fix initstate and setstate to use char *, not void *.
28834         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28835         prototype to make second argument 'struct aiocb64 *const[]'.
28836         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28837         (Status of AIO Operations): Remove erroneous const in aio_return and
28838         aio_return64 prototypes.
28839         (Synchronizing I/O): Fix sync prototype to return void.
28840         * manual/startup.texi (Suboptions): Remove an erroneous const in
28841         getsubopt prototype.
28842         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28843         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28844         use size_t rather than int.
28845         (Scanning All Users): Likewise for getpwent_r.
28846         (Setting Groups): Add missing const to setgroups prototype.
28847         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28848         * manual/socket.texi (Host Names): Fix gethostbyaddr and
28849         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28850         'const void *' rather than 'const char *'.
28851         (Host Address Functions): Likewise for inet_ntop.
28852         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28853         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28854         ssize_t for return value.
28855         (Sending Data): Likewise for send, sendto, sendmsg.
28856         (Socket Option Functions): Add a missing const in setsockopt prototype.
28857         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28858         use wchar_t for the argument.
28859         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28860         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28861         take no arguments.
28862         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28863         double/float/long double for second argument.
28864         Fix return types of significand, significandf, significandl.
28865         * manual/filesys.texi (Setting Permissions): Use mode_t for second
28866         argument in fchmod prototype.
28867         (File Owner): Use uid_t and gid_t in fchown prototype.
28868         (File Times): Add const to utimes, futimes, and lutimes prototypes.
28869         (Making Special Files): Use mode_t and dev_t in mknod prototype.
28870         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28871         use 'const struct dirent **' as argument types to CMP function pointer
28872         argument.
28873         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28874         (File Times): Fix summary magic @comment for struct utimbuf and utime
28875         to refer to utime.h, not time.h.
28876         * manual/string.texi (Argz Functions): Add missing const in
28877         argz_extract and argz_next prototypes.
28878         (Finding Tokens in a String): Likewise for basename.
28879         (String/Array Comparison): Fix typo in wcscasecmp prototype.
28880         (Copying and Concatenation): Fix typo in wmemmove prototype.
28881         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28882         (Signal Stack): Remove erroneous const in sigstack prototype.
28883         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28884         prototype.
28885         (Simple Calendar Time): Likewise for stime.
28886         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28887         prototype.
28888         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28889         say sys/sysctl.h instead.
28890         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28891         and vsyslog prototypes.
28892
28893 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28894
28895         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28896         Remove.
28897
28898 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28899
28900         * misc/sys/mman.h: Fix typo in mremap comment.
28901
28902 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28903
28904         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28905         the '\0' terminator.
28906
28907 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28908
28909         [BZ #13550]
28910         * debug/segfault.c: Don't include <bp-checks.h>.
28911         * sysdeps/generic/bp-checks.h: Remove file.
28912         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28913         (__GETDENTS): Don't use CHECK_N.
28914         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28915         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28916         (__getgroups): Don't use CHECK_N.
28917         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28918         (setgroups): Don't use CHECK_N.
28919         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28920         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28921         (__libc_msgrcv): Don't use CHECK_N.
28922         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28923         (__libc_msgsnd): Don't use CHECK_N.
28924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28925         <bp-checks.h>.
28926         (__libc_pread): Don't use CHECK_N.
28927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28928         include <bp-checks.h>.
28929         (__libc_pread64): Don't use CHECK_N.
28930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28931         include <bp-checks.h>.
28932         (__libc_pwrite): Don't use CHECK_N.
28933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28934         include <bp-checks.h>.
28935         (__libc_pwrite64): Don't use CHECK_N.
28936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28937         <bp-checks.h>.
28938         (__libc_pread): Don't use CHECK_N.
28939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28940         include <bp-checks.h>.
28941         (__libc_pread64): Don't use CHECK_N.
28942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28943         include <bp-checks.h>.
28944         (__libc_pwrite): Don't use CHECK_N.
28945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28946         include <bp-checks.h>.
28947         (__libc_pwrite64): Don't use CHECK_N.
28948         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28949         (do_pread): Don't use CHECK_N.
28950         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28951         (do_pread64): Don't use CHECK_N.
28952         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28953         (do_pwrite): Don't use CHECK_N.
28954         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28955         (do_pwrite64): Don't use CHECK_N.
28956         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28957         (__libc_readv): Don't use CHECK_N.
28958         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28959         (semop): Don't use CHECK_N.
28960         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28961         <bp-checks.h>.
28962         (semtimedop): Don't use CHECK_N.
28963         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28964         (__libc_pread): Don't use CHECK_N.
28965         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28966         <bp-checks.h>.
28967         (__libc_pread64): Don't use CHECK_N.
28968         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28969         <bp-checks.h>.
28970         (__libc_pwrite): Don't use CHECK_N.
28971         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28972         <bp-checks.h>.
28973         (__libc_pwrite64): Don't use CHECK_N.
28974         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28975         <bp-checks.h>.
28976         (__libc_msgrcv): Don't use CHECK_N.
28977         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28978         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
28979         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28980         (__libc_writev): Don't use CHECK_N.
28981
28982 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28983
28984         * string/strcpy.c: Removed unused variable.
28985
28986         * Makeconfig (+sysdep-includes): Define with := rather than =.
28987         Use an existing include/ subdir of each sysdeps dir before it.
28988
28989 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28990
28991         * nscd/connection.c (register_traced_file): Comment function.
28992         [HAVE_INOTIFY] (union __inev): Define.
28993         [HAVE_INOTIFY] (inotify_check_files): New function.
28994         [HAVE_INOTIFY] (clear_db_cache): Likewise.
28995         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28996         clear_db_cache.
28997         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28998
28999 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29000
29001         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29002         loaded if not already and that a failure is permanent.
29003
29004 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29005
29006         [BZ #15006]
29007         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29008         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29009
29010 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29011
29012         [BZ #13550]
29013         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29014         (CHECK_1_NULL_OK): Likewise.
29015         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29016         (__fxstat): Do not use CHECK_1.
29017         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29018         <bp-checks.h>.
29019         (___fxstat64): Do not use CHECK_1.
29020         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29021         <bp-checks.h>.
29022         (__fxstatat): Do not use CHECK_1.
29023         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29024         <bp-checks.h>.
29025         (__fxstatat64): Do not use CHECK_1.
29026         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29027         <bp-checks.h>.
29028         (__fxstat): Do not use CHECK_1.
29029         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29030         <bp-checks.h>.
29031         (__fxstatat): Do not use CHECK_1.
29032         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29033         <bp-checks.h>.
29034         (__getresgid): Do not use CHECK_1.
29035         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29036         <bp-checks.h>.
29037         (__getresuid): Do not use CHECK_1.
29038         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29039         <bp-checks.h>.
29040         (__lxstat): Do not use CHECK_1.
29041         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29042         <bp-checks.h>.
29043         (__old_msgctl): Do not use CHECK_1.
29044         (__new_msgctl): Likewise.
29045         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29046         <bp-checks.h>.
29047         (__new_setrlimit): Do not use CHECK_1.
29048         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29049         <bp-checks.h>.
29050         (__old_shmctl): Do not use CHECK_1.
29051         (__new_shmctl): Likewise.
29052         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29053         <bp-checks.h>.
29054         (__xstat): Do not use CHECK_1.
29055         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29056         (__lxstat): Do not use CHECK_1.
29057         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29058         <bp-checks.h>.
29059         (___lxstat64): Do not use CHECK_1.
29060         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29061         (__old_msgctl): Do not use CHECK_1.
29062         (__new_msgctl): Likewise.
29063         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29064         <bp-checks.h>.
29065         (__gettimeofday): Do not use CHECK_1.
29066         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29067         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29068         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29069         <bp-checks.h>.
29070         (__gettimeofday): Do not use CHECK_1.
29071         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29072         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29073         (__new_shmctl): Do not use CHECK_1.
29074         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29075         <bp-checks.h>.
29076         (do_sigtimedwait): Do not use CHECK_1.
29077         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29078         <bp-checks.h>.
29079         (do_sigwaitinfo): Do not use CHECK_1.
29080         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29081         <bp-checks.h>.
29082         (msgctl): Do not use CHECK_1.
29083         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29084         <bp-checks.h>.
29085         (shmctl): Do not use CHECK_1.
29086         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29087         (ustat): Do not use CHECK_1.
29088         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29089         <bp-checks.h>.
29090         (__fxstat): Do not use CHECK_1.
29091         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29092         <bp-checks.h>.
29093         (__fxstatat): Do not use CHECK_1.
29094         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29095         <bp-checks.h>.
29096         (__lxstat): Do not use CHECK_1.
29097         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29098         <bp-checks.h>.
29099         (__xstat): Do not use CHECK_1.
29100         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29101         (__xstat): Do not use CHECK_1.
29102         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29103         (___xstat64): Do not use CHECK_1.
29104
29105         [BZ #13550]
29106         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29107         definitions.
29108         (CHECK_BOUNDS_HIGH): Likewise.
29109         * string/strcpy.c: Do not include <bp-checks.h>.
29110         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29111
29112 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29113
29114         * nscd/nscd-client.h (__nscd_drop_map_ref):
29115         Add __attribute__ ((unused)).
29116         * nis/nss-nisplus.h (niserr2nss): Likewise.
29117
29118         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29119         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29120
29121         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29122         Remove inline keyword.
29123         * include/rounding-mode.h (round_away): Likewise.
29124         * libio/wfileops.c (adjust_wide_data): Likewise.
29125         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29126         (__m128i_strloadu_tolower): Likewise.
29127         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29128         (__m128i_strloadu_tolower): Likewise.
29129         * time/mktime.c (ydhms_diff): Likewise.
29130         * locale/elem-hash.h (elem_hash): Likewise.
29131         * locale/setlocale.c (setdata): Likewise.
29132         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29133         (re_string_wchar_at): Likewise.
29134         (bitset_not, bitset_merge, bitset_mask): Likewise.
29135         [!(__GNUC__ > 3)] (inline): Remove macro.
29136         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29137         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29138         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29139         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29140         * string/memcmp.c (memcmp_bytes): Likewise.
29141         * locale/programs/locarchive.c (compute_hashval): Likewise.
29142         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29143         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29144         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29145         * nss/getent.c (print_rpc, print_protocols): Likewise.
29146         (print_passwd, print_group, print_aliases): Likewise.
29147         * nis/nss-nisplus.h (niserr2nss): Likewise.
29148         * nscd/connections.c (restart_p): Likewise.
29149         Change return type to bool.
29150
29151 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29152
29153         * Makeconfig (all-Depend-files): Add existing
29154         $(sorted-subdirs:=/Depend) files.
29155         (all-subdirs): Remove nss.
29156         * sysdeps/unix/inet/Subdirs: Add it here instead.
29157         * hesiod/Depend: New file.
29158
29159         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29160         instead of calling alloca.
29161
29162         * io/lseek.c (__lseek): Rename to __libc_lseek.
29163         Define __lseek as an alias.
29164
29165         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29166
29167 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29168
29169         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29170         else clause and remove check for non-standard endianness.
29171
29172 2013-02-04  David S. Miller  <davem@davemloft.net>
29173
29174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29175
29176 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29177
29178         [BZ #13550]
29179         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29180         (__ubp_memchr): Remove prototype.
29181         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29182         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29183         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
29184         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29185         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
29186         Remove alias.
29187         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
29188         (__ubp_memchr): Likewise.
29189         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
29190         (__ubp_memchr): Likewise.
29191         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
29192         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
29193         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
29194         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
29195         CHECK_STRING.
29196         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29197         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
29198         (__getcwd): Do not use CHECK_STRING.
29199         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29200         <bp-checks.h>.
29201         (__real_chown): Do not use CHECK_STRING.
29202         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
29203         <bp-checks.h>.
29204         (fchownat): Do not use CHECK_STRING.
29205         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
29206         CHECK_STRING.
29207         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29208         <bp-checks.h>.
29209         (__lchown): Do not use CHECK_STRING.
29210         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29211         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29212         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29213         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
29215         include <bp-checks.h>.
29216         (truncate64): Do not use CHECK_STRING.
29217         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29218         <bp-checks.h>.
29219         (__real_chown): Do not use CHECK_STRING.
29220         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29221         <bp-checks.h>.
29222         (__lchown): Do not use CHECK_STRING.
29223         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29224         <bp-checks.h>.
29225         (__chown): Do not use CHECK_STRING.
29226         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
29227         <bp-checks.h>.
29228         (truncate64): Do not use CHECK_STRING.
29229         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
29230         Likewise.
29231         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
29232         (__xmknod): Do not use CHECK_STRING.
29233         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29234         <bp-checks.h>.
29235         (__xmknodat): Do not use CHECK_STRING.
29236         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29237         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
29238
29239 2013-02-04  Andreas Schwab  <schwab@suse.de>
29240
29241         [BZ #14142]
29242         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
29243         * include/netdb.h: Likewise for h_errno.
29244         * elf/tst-stackguard1.c: Include <tls.h>.
29245
29246 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
29247
29248         * elf/link.h (struct link_map): Extend the l_addr comment.
29249         * include/link.h (struct link_map): Likewise.
29250
29251 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
29252
29253         [BZ #13550]
29254         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
29255         (BOUNDED_1): Remove macro.
29256         * debug/backtrace.c: Don't include <bp-checks.h>.
29257         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
29258         (__backtrace): Likewise.
29259         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
29260         <bp-checks.h>.
29261         (__backtrace): Don't use BOUNDED_1.
29262         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
29263         <bp-checks.h>.
29264         (__backtrace): Don't use BOUNDED_1.
29265         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
29266         (__backtrace): Don't use BOUNDED_1.
29267         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
29268         (shmat): Don't use BOUNDED_N.
29269
29270 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
29271
29272         [BZ #13550]
29273         * sysdeps/generic/bp-start.h: Remove file.
29274         * csu/libc-start.c: Don't include <bp-start.h>.
29275         (LIBC_START_MAIN): Set up __environ directly instead of using
29276         INIT_ARGV_and_ENVIRON.
29277         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
29278         <bp-start.h>.
29279
29280         [BZ #13550]
29281         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
29282         definitions.
29283         (CHECK_FCNTL): Likewise.
29284         (CHECK_N_PAGES): Likewise.
29285
29286         [BZ #13550]
29287         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
29288         definitions.
29289         (CHECK_SIGSET_NULL_OK): Likewise.
29290         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
29291         <bp-checks.h>.
29292         (sigpending): Don't use CHECK_SIGSET.
29293         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
29294         <bp-checks.h>.
29295         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29296         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
29297         <bp-checks.h>.
29298         (do_sigsuspend): Don't use CHECK_SIGSET.
29299         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
29300         use CHECK_SIGSET.
29301         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
29302         (do_sigwait): Don't use CHECK_SIGSET.
29303         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
29304         use CHECK_SIGSET.
29305         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
29306         include <bp-checks.h>.
29307         (sigpending): Don't use CHECK_SIGSET.
29308         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
29309         include <bp-checks.h>.
29310         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29311         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
29312         <bp-checks.h>.
29313         (sigpending): Don't use CHECK_SIGSET.
29314         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
29315         <bp-checks.h>.
29316         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
29317
29318         [BZ #13550]
29319         * sysdeps/generic/bp-semctl.h: Remove file.
29320         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
29321         <bp-checks.h> and <bp-semctl.h>.
29322         (__old_semctl): Don't use CHECK_SEMCTL.
29323         (__new_semctl): Likewise.
29324         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
29325         and <bp-semctl.h>.
29326         (__old_semctl): Don't use CHECK_SEMCTL.
29327         (__new_semctl): Likewise.
29328         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
29329         <bp-checks.h> and <bp-semctl.h>.
29330         (__old_semctl): Don't use CHECK_SEMCTL.
29331         (__new_semctl): Likewise.
29332         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
29333         <bp-checks.h> and <bp-semctl.h>.
29334         (semctl): Don't use CHECK_SEMCTL.
29335
29336         [BZ #13550]
29337         * Makerules (elide-bp-thunks): Remove variable.
29338         (elide-routines.oS): Don't use $(elide-bp-thunks).
29339         (elide-routines.os): Likewise.
29340         (elide-routines.o): Likewise.
29341         (elide-routines.op): Likewise.
29342         (elide-routines.og): Likewise.
29343         (objects): Don't use $(bp-thunks).
29344         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
29345         include.
29346         (common-generated): Do not add s-proto-bp.d.
29347         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
29348         (int): Likewise.
29349         (typ): Likewise.
29350         Do not generate makefile rules for bounded-pointer thunks.
29351         * sysdeps/generic/bp-thunks.h: Remove file.
29352         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
29353         * sysdeps/unix/s-proto-bp.S: Likewise.
29354
29355         [BZ #15062]
29356         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
29357         parts of result separately when argument is not close to line from
29358         -i to i and one part of argument is small.
29359         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29360         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29361         * math/libm-test.inc (cacos_test): Add more tests.
29362         (casin_test): Likewise.
29363         (casinh_test): Likewise.
29364         * sysdeps/i386/fpu/libm-test-ulps: Update.
29365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29366
29367 2013-01-31  David S. Miller  <davem@davemloft.net>
29368
29369         * po/de.po: Update from translation team.
29370
29371 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
29372
29373         * time/tzfile.c: Include stdint.h for SIZE_MAX.
29374
29375 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
29376
29377         * configure.in (_AC_PROG_CC_C89): New definition.
29378         * configure: Regenerate.
29379
29380         * configure.in (AC_PROG_CPP): New definition.
29381         * configure: Regenerate.
29382
29383 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29384
29385         * debug/tst-backtrace.h: New file.
29386         * debug/tst-backtrace2.c: Include tst-backtrace.h.
29387         (ret): Remove variable.
29388         (x): Likewise.
29389         (FAIL): Remove macro.
29390         (NO_INLINE): Likewise.
29391         (fn1): Use match function instead of strstr.
29392         * debug/tst-backtrace3.c: Include tst-backtrace.h.
29393         (ret): Remove variable.
29394         (x): Likewise.
29395         (FAIL): Remove macro.
29396         (NO_INLINE): Likewise.
29397         (fn): Use match function instead of strstr.
29398         * debug/tst-backtrace4.c: Include tst-backtrace.h.
29399         (ret): Remove variable.
29400         (x): Likewise.
29401         (FAIL): Remove macro.
29402         (NO_INLINE): Likewise.
29403         (handle_signal): Use match function instead of strstr.
29404         * debug/tst-backtrace5.c: Include tst-backtrace.h.
29405         (ret): Remove variable.
29406         (x): Likewise.
29407         (FAIL): Remove macro.
29408         (NO_INLINE): Likewise.
29409         (handle_signal): Use match function instead of strstr.
29410
29411 2013-01-23  Roland McGrath  <roland@hack.frob.com>
29412
29413         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
29414
29415 2013-01-23  David S. Miller  <davem@davemloft.net>
29416
29417         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
29418         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
29419         argument of CAS if possible.
29420         * sysdeps/sparc/sparc64/bits/atomic.h
29421         (__arch_compare_and_exchange_val_32_acq): Likewise.
29422         (__arch_compare_and_exchange_val_64_acq): Likewise.
29423
29424 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
29425
29426         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
29427         * sysdeps/posix/ulimit.c: ... this.
29428         Include <limits.h>.
29429         * sysdeps/unix/bsd/ulimit.c: Remove file.
29430
29431 2013-01-23  Adam Conrad  <adconrad@0c3.net>
29432
29433         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
29434         (LDFLAGS-tst-array5): Likewise.
29435
29436 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
29437
29438         [BZ #15036]
29439         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
29440         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
29441         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
29442         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
29443
29444 2013-01-21  David S. Miller  <davem@davemloft.net>
29445
29446         * sysdeps/sparc/backtrace.c: New file.
29447         * sysdeps/sparc/sparc32/backtrace.h: New file.
29448         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
29449         * sysdeps/sparc/sparc64/backtrace.h: New file.
29450         * sysdeps/sparc/sparc64/backtrace.c: Delete.
29451         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
29452         -funwind-tables.
29453
29454 2013-01-21  Andreas Schwab  <schwab@suse.de>
29455
29456         [BZ #15020]
29457         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
29458         closed its stdout.
29459
29460 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
29461
29462         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
29463         "mpa2.h".
29464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29465
29466 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
29467             Mark Mitchell  <mark@codesourcery.com>
29468             Tom de Vries  <tom@codesourcery.com>
29469             Paul Pluzhnikov  <ppluzhnikov@google.com>
29470
29471         * debug/tst-backtrace2.c: New file.
29472         * debug/tst-backtrace3.c: Likewise.
29473         * debug/tst-backtrace4.c: Likewise.
29474         * debug/tst-backtrace5.c: Likewise.
29475         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
29476         (CFLAGS-tst-backtrace3.c): Likewise.
29477         (CFLAGS-tst-backtrace4.c): Likewise.
29478         (CFLAGS-tst-backtrace5.c): Likewise.
29479         (LDFLAGS-tst-backtrace2): Likewise.
29480         (LDFLAGS-tst-backtrace3): Likewise.
29481         (LDFLAGS-tst-backtrace4): Likewise.
29482         (LDFLAGS-tst-backtrace5): Likewise.
29483         (tests): Add new tests tst-backtrace2, tst-backtrace3,
29484         tst-backtrace4 and tst-backtrace5.
29485
29486 2013-01-18  Anton Blanchard  <anton@samba.org>
29487             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29488
29489         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
29490         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
29491         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
29492         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
29493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29494         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
29495         "+r" and remove output regs list as redundant.  Add explicit inline
29496         asm to specify register of return val to work around compiler codegen
29497         bug.  Remove (int) cast on return value.  Add return type parameter to
29498         use in macro so that this macro does not truncate return value for
29499         64-bit values.
29500         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
29501         pass to INTERNAL_VSYSCALL_NCS.
29502         (INLINE_VSYSCALL): Add 'long int' as return type to
29503         INTERNAL_VSYSCALL_NCS macro invocation.
29504         (INTERNAL_VSYSCALL): Add 'long int' as return type to
29505         INTERNAL_VSYSCALL_NCS macro invocation.
29506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29507
29508 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29509
29510         [BZ #14496]
29511         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
29512         Fix application of SIMD FP exception mask.
29513
29514         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
29515         mp_no from a power of two.
29516         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
29517         __mpexp_twomm1.  Use __pow_mp.
29518
29519         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
29520         multiplication.
29521
29522 2013-01-17  David S. Miller  <davem@davemloft.net>
29523
29524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29525
29526 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29527
29528         [BZ #15023]
29529         * include/complex.h: Condition contents on [!_COMPLEX_H].
29530         (__kernel_casinhf): New prototype.
29531         (__kernel_casinh): Likewise.
29532         (__kernel_casinhl): Likewise.
29533         * math/Makefile (libm_calls): Add k_casinh.
29534         * math/k_casinh.c: New file.
29535         * math/k_casinhf.c: Likewise.
29536         * math/k_casinhl.c: Likewise.
29537         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
29538         finite nonzero arguments.
29539         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
29540         finite nonzero arguments.
29541         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
29542         finite nonzero arguments.
29543         * math/s_casinh.c: Do not include <float.h>.
29544         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
29545         * math/s_casinhf.c: Do not include <float.h>.
29546         (__casinhf): Move code for finite nonzero arguments to
29547         k_casinhf.c.
29548         * math/s_casinhl.c: Do not include <float.h>.
29549         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
29550         redefine.
29551         (__casinhl): Move code for finite nonzero arguments to
29552         k_casinhl.c.
29553         * math/libm-test.inc (cacos_test): Add more tests.
29554         * sysdeps/i386/fpu/libm-test-ulps: Update.
29555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29556
29557 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
29558
29559         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
29560         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
29561         [!HAVE_MREMAP]: Remove [defined linux] case.
29562         * malloc/arena.c: Do not include <malloc-sysdep.h>.
29563
29564 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29565
29566         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
29567
29568 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
29569
29570         * elf/elf.h (R_386_SIZE32): New relocation.
29571         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
29572         R_386_SIZE32.
29573         (elf_machine_rela): Likewise.
29574         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29575         R_X86_64_SIZE64 and R_X86_64_SIZE32.
29576
29577 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
29578
29579         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
29580         (FP_FAST_FMA): Do not define.
29581         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
29582         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
29583         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
29584         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
29585         !_SOFT_FLOAT]: Likewise.
29586         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
29587         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
29588         value.
29589         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
29590         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
29591         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
29592         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
29593         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
29594         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
29595         file.
29596
29597 2013-01-16  Andreas Schwab  <schwab@suse.de>
29598
29599         [BZ #14327]
29600         * include/stdlib.h (__mktemp): Add declaration.
29601         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
29602         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
29603
29604 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29605
29606         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
29607         definitions.
29608         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29609         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
29610         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
29611         definitions here.
29612         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29613         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29614         definitions.
29615         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29616         and ONE.
29617         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29618         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29619         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29620         definitions.
29621         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29622         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29623         definitions.
29624         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29625
29626         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29627
29628 2013-01-15  David S. Miller  <davem@davemloft.net>
29629
29630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29631         trunc{,f} to libm-sysdep_routes.
29632         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29634         file.
29635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29637         file.
29638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29639         file.
29640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29642         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29643         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29644         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29645         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29646         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29647         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29648
29649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29650         nearbyint{,f} to libm-sysdep_routes.
29651         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29653         New file.
29654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29655         file.
29656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29657         New file.
29658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29659         file.
29660         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29661         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29662         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29663         file.
29664         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29665         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29666         file.
29667         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29668         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29669         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29670
29671         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29672         libc_feholdexcept and libc_fesetenv.
29673
29674 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
29675
29676         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29677
29678 2013-01-14  David S. Miller  <davem@davemloft.net>
29679
29680         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29681         (SPARC_ASM_VIS2_IFUNC): Likewise.
29682         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29683         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29684         use of 'siam' instruction.
29685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29686         Likewise.
29687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29688         Likewise.
29689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29690         Likewise.
29691         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29693         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29696         file.
29697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29698         file.
29699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29700         file.
29701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29702         file.
29703         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29705         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29706         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29708         new VIS2 routines.
29709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29712         Likewise.
29713         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29714         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29715         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29716         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29718         routines to libm-sysdep_routines.
29719         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29720
29721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29722         fdim/fdimf to libm-sysdep_routines.
29723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29724         file.
29725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29727         file.
29728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29731         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29732         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29733         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29734         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29735
29736 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29737
29738         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29739         to optimize copies.
29740
29741         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29744
29745         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29746         local variable MPTWO.
29747         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29748         Likewise.
29749
29750 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29751
29752         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29753         GLOB_NOESCAPE.
29754
29755 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29756
29757         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29758
29759 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29760
29761         * manual/pattern.texi (glob_t): Document gl_flags.
29762         (glob64_t): Likewise.
29763
29764 2013-01-11  David S. Miller  <davem@davemloft.net>
29765
29766         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29767         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29768         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
29769         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29770         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29771         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29772         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29773         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29774         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29775         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29776         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29777         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29778         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29779
29780         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29781         sparc V9 rather than using V8 code.
29782         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29783         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29784
29785         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29786         Move to...
29787         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29788         Here.
29789
29790 2013-01-11  Roland McGrath  <roland@hack.frob.com>
29791
29792         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29793         not in the main loop.
29794         * configure: Regenerated.
29795
29796 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
29797
29798         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29799         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29800         to just #else.
29801         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
29802         [!__GLIBC_HAVE_LONG_LONG] case.
29803         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29804         condition to just #else.
29805         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29806         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29807         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29808         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29809         unconditional.
29810         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29811         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29812         #elif condition to just #else.
29813         * sysdeps/unix/sysv/linux/sys/sysmacros.h
29814         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29815         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29816         #elif condition to just #else.
29817
29818 2013-01-11  Steve Ellcey  <sellcey@mips.com>
29819
29820         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29821         (EF_MIPS_ARCH_64): Fix value.
29822         (EF_MIPS_ARCH_32R2): New.
29823         (EF_MIPS_ARCH_64R2): New.
29824
29825 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
29826
29827         * Makeconfig (+link-pie-before-libc): New.
29828         (+link-pie-after-libc): Likewise.
29829         (+link-pie-tests): Likewise.
29830         (+link-pie): Rewritten.
29831         (link-before-libc): Remove $(config-LDFLAGS).
29832         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29833         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29834         (config-LDFLAGS): Renamed to ...
29835         (rtld-LDFLAGS): This.
29836         (rtld-tests-LDFLAGS): New macro.
29837         (link-libc-rpath-link): Likewise.
29838         (link-libc-tests-rpath-link): Likewise.
29839         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29840         (link-libc): Prepand $(link-libc-rpath-link).
29841         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29842         (test-program-prefix): New macro.
29843         (test-via-rtld-prefix): Likewise.
29844         (test-program-cmd): Likewise.
29845         (host-test-program-cmd): Likewise.
29846         * Makefile ($(common-objpfx)testrun.sh): Replace
29847         $(run-program-prefix) with $(test-program-prefix).
29848         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29849         $(rtld-LDFLAGS).
29850         ($(common-objpfx)shlib.lds): Likewise.
29851         (build-module-helper): Likewise.
29852         ($(common-objpfx)format.lds): Likewise.
29853         * Rules (binaries-pie-tests): New.
29854         (binaries-pie-notests): Likewise.
29855         (binaries-pie): Rewritten.
29856         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29857         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29858         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29859         (make-test-out): Replace $(host-built-program-cmd) with
29860         $(host-test-program-cmd).
29861         * config.make.in (build-hardcoded-path-in-tests): New variable.
29862         * configure.in (--enable-hardcoded-path-in-tests): New configure
29863         option.
29864         (hardcoded_path_in_tests): New AC_SUBST.
29865         * configure: Regenerated.
29866         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29867         $(built-program-cmd) with $(test-program-cmd).
29868         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29869         (test_program_cmd): This.
29870         * elf/Makefile ($(objpfx)order.out): Run test with
29871         $(test-program-prefix).
29872         ($(objpfx)order2.out): Likewise.
29873         ($(objpfx)tst-initorder.out): Likewise.
29874         ($(objpfx)tst-initorder2.out): Likewise.
29875         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29876         $(test-program-cmd).
29877         ($(objpfx)tst-array1-static.out): Likewise.
29878         ($(objpfx)tst-array2.out): Likewise.
29879         ($(objpfx)tst-array3.out): Likewise.
29880         ($(objpfx)tst-array4.out): Likewise.
29881         ($(objpfx)tst-array5.out): Likewise.
29882         ($(objpfx)tst-array5-static.out): Likewise.
29883         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29884         $(test-program-cmd).
29885         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29886         $(run-program-prefix) with $(test-program-prefix).
29887         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29888         (test_program_prefix): This.
29889         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29890         $(run-program-prefix) with $(test-program-prefix).
29891         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29892         (test_program_prefix): This.
29893         * iconvdata/tst-tables.sh: Likewise.
29894         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29895         $(run-program-prefix) with $(test-program-prefix).
29896         ($(objpfx)tst-translit.out): Likewise.
29897         ($(objpfx)tst-gettext2.out): Likewise.
29898         ($(objpfx)tst-gettext4.out): Likewise.
29899         ($(objpfx)tst-gettext6.out): Likewise.
29900         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29901         (test_program_prefix): This.
29902         * intl/tst-gettext2.sh: Likewise.
29903         * intl/tst-gettext4.sh  Likewise.
29904         * intl/tst-gettext6.sh: Likewise.
29905         * intl/tst-translit.sh: Likewise.
29906         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29907         with $(test-program-cmd).
29908         * libio/Makefile ($(objpfx)test-freopen.out): Replace
29909         $(run-program-prefix) with $(test-program-prefix).
29910         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29911         (test_program_prefix): This.
29912         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29913         $(run-program-prefix) with $(test-program-prefix).
29914         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29915         (test_program_prefix): This.
29916         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29917         * posix/Makefile ($(objpfx)globtest.out): Replace
29918         $(run-via-rtld-prefix) and $(test-wrapper) with
29919         $(test-program-prefix) and $(test-via-rtld-prefix).
29920         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29921         $(test-program-prefix).
29922         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29923         $(host-test-program-cmd).
29924         (tst-spawn-ARGS): Likewise.
29925         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29926         $(test-program-prefix).
29927         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29928         (test_via_rtld_prefix): This.
29929         (test_wrapper): Renamed to ...
29930         (test_program_prefix): This.
29931         (run_program_prefix): Replaced by test_program_prefix.
29932         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29933         (test_program_prefix): This.
29934         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29935         with $(host-test-program-cmd).
29936         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29937         $(run-program-prefix) with $(test-program-prefix).
29938         ($(objpfx)tst-printf.out): Likewise.
29939         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29940         $(test-program-cmd).
29941         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29942         (test_program_prefix): This.
29943         * stdio-common/tst-unbputc.sh: Likewise.
29944         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29945         $(run-program-prefix) with $(test-program-prefix).
29946         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29947         (test_program_prefix): This.
29948         * string/Makefile ($(objpfx)tst-svc.out):  Replace
29949         $(built-program-cmd) with $(test-program-cmd).
29950
29951 2013-01-11  Andreas Jaeger  <aj@suse.de>
29952
29953         [BZ #15003]
29954         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29955         value. Sync with Linux 3.7.
29956
29957 2013-01-10  David S. Miller  <davem@davemloft.net>
29958
29959         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29960         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29961         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29962
29963 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29964
29965         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29966         never set.
29967         * configure: Regenerated.
29968
29969 2013-01-10  David S. Miller  <davem@davemloft.net>
29970
29971         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29972         sparc V9 rather than using V8 code.
29973         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29974         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29975
29976 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29977
29978         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29979         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29980         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29981         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29982         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29983         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29984         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29985         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29986         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29987         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29988         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29989         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29990         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29991         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29992         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29993         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29994         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29995         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29996         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29997         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29998         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29999         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30000         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30001         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30002         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30003         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30004         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30005
30006 2013-01-10  David S. Miller  <davem@davemloft.net>
30007
30008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30009
30010 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30011
30012         * posix/Makefile (tests-static): New variable.
30013         (tests): Add $(tests-static).
30014         (tst-exec-static-ARGS): New variable.
30015         (tst-spawn-static-ARGS): Likewise.
30016         * posix/tst-exec-static.c: New file.
30017         * posix/tst-spawn-static.c: Likewise.
30018         * posix/tst-exec.c: Support run directly.
30019         * posix/tst-spawn.c: Likewise.
30020
30021 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30022
30023         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30024         long.
30025         * math/bits/mathcalls.h (llrint): Likewise.
30026         (llround): Likewise.
30027         * stdlib/stdlib.h (struct drand48_data): Likewise.
30028         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30029         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30030         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30031         Likewise.
30032         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30033         Likewise.
30034         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30035         (elf_greg_t): Likewise.
30036         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30037         (__jmp_buf): Likewise.
30038         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30039         definitions.
30040         (llrint): Likewise, for all definitions.
30041         (llrintl): Likewise.
30042
30043         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30044         Remove [__GNUC__] condition.
30045         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30046         condition to just [__USE_ISOC99].
30047         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30048
30049 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30050
30051         [BZ #14200]
30052         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30053         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30054         defined.
30055         (_POSIX_V6_ILP32_OFF32): Likewise.
30056         (_XBS5_ILP32_OFF32): Likewise.
30057         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30058         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30059
30060 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30061
30062         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30063
30064         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30065         doubles __mpexp_twomm1.  Adjust usage.
30066         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30067         Remove.
30068
30069 2013-01-10  Andreas Schwab  <schwab@suse.de>
30070
30071         [BZ #14964]
30072         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30073         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30074
30075 2013-01-09  David S. Miller  <davem@davemloft.net>
30076
30077         [BZ #15003]
30078         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30079         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30080         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30081         (TCP_FASTOPEN): Define.
30082         (tcp_repair_opt): New structure.
30083         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30084         enum values.
30085         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30086         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30087         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30088         (tcp_cookie_transactions): New structure.
30089
30090 2013-01-09  Anton Blanchard  <anton@samba.org>
30091
30092         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30093         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30094         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30095         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30096
30097 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30098
30099         * include/features.h (__USE_ANSI): Remove.
30100
30101 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30102
30103         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30104
30105         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30106
30107 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30108
30109         * sysdeps/s390/fpu/libm-test-ulps: Update.
30110
30111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30112
30113         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30114         (__acr): Likewise.
30115         (__cpy): Likewise.
30116         (norm): Likewise.
30117         (denorm): Likewise.
30118         (__mp_dbl): Likewise.
30119         (__dbl_mp): Likewise.
30120         (add_magnitudes): Likewise.
30121         (sub_magnitudes): Likewise.
30122         (__add): Likewise.
30123         (__sub): Likewise.
30124         (__mul): Likewise.
30125         (__inv): Likewise.
30126         (__dvd): Likewise.
30127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30128         (__acr): Likewise.
30129         (__cpy): Likewise.
30130         (norm): Likewise.
30131         (denorm): Likewise.
30132         (__mp_dbl): Likewise.
30133         (__dbl_mp): Likewise.
30134         (add_magnitudes): Likewise.
30135         (sub_magnitudes): Likewise.
30136         (__add): Likewise.
30137         (__sub): Likewise.
30138         (__mul): Likewise.
30139         (__inv): Likewise.
30140         (__dvd): Likewise.
30141         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30142         (__acr): Likewise.
30143         (__cpy): Likewise.
30144         (norm): Likewise.
30145         (denorm): Likewise.
30146         (__mp_dbl): Likewise.
30147         (__dbl_mp): Likewise.
30148         (add_magnitudes): Likewise.
30149         (sub_magnitudes): Likewise.
30150         (__add): Likewise.
30151         (__sub): Likewise.
30152         (__mul): Likewise.
30153         (__inv): Likewise.
30154         (__dvd): Likewise.
30155
30156 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30157
30158         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30159         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30160         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30161         2 && __USE_EXTERN_INLINES]: Likewise.
30162
30163 2013-01-08  Andreas Jaeger  <aj@suse.de>
30164
30165         [BZ# 14985]
30166         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30167         Remove.
30168         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30169         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30170
30171 2013-01-07  Anton Blanchard  <anton@samba.org>
30172
30173         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30174         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30175         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30176         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30177         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30178         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30179         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30180         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30181         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30182         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30183         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30184         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30185         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30186         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30187         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
30188         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30189         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30190         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30191         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
30192         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
30193         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
30194         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
30195         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30196         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
30197         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
30198         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
30199         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30200         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30201         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
30202         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30203         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
30204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30205         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30206         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30207         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30208         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30209         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30210         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
30211         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
30212         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
30213         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
30214         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30215         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30216
30217 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
30218
30219         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
30220         (__MALLOC_PMT): Likewise.
30221         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
30222         [__GNUC__], only on [_LIBC].
30223         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30224         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
30225         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
30226         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
30227         forward declaration.
30228         (realloc_hook_ini): Likewise.
30229         (memalign_hook_ini): Likewise.
30230         (__libc_memalign): Do not use __MALLOC_PMT in variable
30231         declaration.
30232         (__libc_valloc): Likewise.
30233         (__libc_pvalloc): Likewise.
30234         (__libc_calloc): Likewise.
30235         (__posix_memalign): Likewise.
30236
30237         [BZ #14996]
30238         * math/s_casinh.c: Include <float.h>.
30239         (__casinh): Do not do computation with squaring and square root
30240         for large arguments.
30241         * math/s_casinhf.c: Include <float.h>.
30242         (__casinhf): Do not do computation with squaring and square root
30243         for large arguments.
30244         * math/s_casinhl.c: Include <float.h>.
30245         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
30246         (__casinhl): Do not do computation with squaring and square root
30247         for large arguments.
30248         * math/libm-test.inc (casin_test): Add more tests.
30249         (casinh_test): Likewise.
30250         * sysdeps/i386/fpu/libm-test-ulps: Update.
30251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30252
30253 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
30254
30255         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
30256         (__x86_64_raw_data_cache_size): Likewise.
30257         (__x86_64_data_cache_size_half): Likewise.
30258         (__x86_64_raw_data_cache_size_half): Likewise.
30259         (__x86_64_shared_cache_size): Likewise.
30260         (__x86_64_raw_shared_cache_size): Likewise.
30261         (__x86_64_shared_cache_size_half): Likewise.
30262         (__x86_64_raw_shared_cache_size_half): Likewise.
30263         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
30264         to ...
30265         (__x86_data_cache_size): This.
30266         (__x86_64_raw_data_cache_size): Renamed to ...
30267         (__x86_raw_data_cache_size): This.
30268         (__x86_64_data_cache_size_half): Renamed to ...
30269         (__x86_data_cache_size_half): This.
30270         (__x86_64_raw_data_cache_size_half): Renamed to ...
30271         (__x86_raw_data_cache_size_half): This.
30272         (__x86_64_shared_cache_size): Renamed to ...
30273         (__x86_shared_cache_size): This.
30274         (__x86_64_raw_shared_cache_size): Renamed to ...
30275         (__x86_raw_shared_cache_size): This.
30276         (__x86_64_shared_cache_size_half): Renamed to ...
30277         (__x86_shared_cache_size_half): This.
30278         (__x86_64_raw_shared_cache_size_half): Renamed to ...
30279         (__x86_raw_shared_cache_size_half): This.
30280         * sysdeps/x86_64/memcpy.S: Updated.
30281         * sysdeps/x86_64/memset.S: Likewise.
30282         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30283         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30284         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30285
30286 2013-01-04  David S. Miller  <davem@davemloft.net>
30287
30288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30289
30290 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
30291
30292         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
30293         1 to avoid redefinition warning.
30294         (__USE_GNU): Don't define.
30295         (init_signaling_nan): Protoize.
30296
30297         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30298
30299 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30300
30301         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
30302         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
30303         (__cpymn): Likewise.
30304         (norm): Remove commented code.
30305         (denorm): Likewise.
30306         (__mp_dbl): Likewise.
30307         (__inv): Likewise.
30308         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
30309         (__cpymn): Likewise.
30310         (norm): Remove commented code.
30311         (denorm): Likewise.
30312         (__mp_dbl): Likewise.
30313         (__inv): Likewise.
30314
30315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
30316         mp_no value for 1.0 and 2.0.
30317         (norm): Use RADIXI instead of radixi.d.
30318         (denorm): Likewise.
30319         (__mul): Use 0.0 instead of zero.d.
30320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
30321         mp_no value for 1.0 and 2.0.
30322         (norm): Use RADIXI instead of radixi.d.
30323         (denorm): Likewise.
30324         (__mul): Use 0.0 instead of zero.d.
30325
30326 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
30327
30328         [BZ #14994]
30329         * math/s_casinh.c (__casinh): Reduce finite argument to first
30330         quadrant then set signs of results at the end.
30331         * math/s_casinhf.c (__casinhf): Likewise.
30332         * math/s_casinhl.c (__casinhl): Likewise.
30333         * math/libm-test.inc (casin_test): Add more tests.
30334         (casinh_test): Likewise.
30335         * sysdeps/i386/fpu/libm-test-ulps: Update.
30336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30337
30338 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30339
30340         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
30341
30342         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
30343
30344         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
30345         declarations.
30346         (denorm): Likewise.
30347         (__mp_dbl): Likewise.
30348         (__inv): Likewise.
30349
30350         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
30351         and adjust the header comment.
30352
30353         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
30354         variable name from declaration.
30355
30356 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
30357
30358         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30359         Initialize COMMON_CPUID_INDEX_7 element.
30360         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
30361         (CPUID_RTM): Likewise.
30362         (HAS_RTM): Likewise.
30363         (COMMON_CPUID_INDEX_7): New enum.
30364
30365 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
30366
30367         [BZ #14981]
30368         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
30369         size is zero, record memory as freed.
30370
30371 2013-01-03  Andreas Jaeger  <aj@suse.de>
30372
30373         * po/ia.po: Add new Interlingua translation.
30374
30375 2012-01-03  Allan McRae  <allan@archlinux.org>
30376
30377         * locale/programs/localedef.c: Fix description of '--posix' flag.
30378
30379 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
30380
30381         * NEWS: Update dates in second copyright notice.
30382         * README: Update copyright dates in example.
30383         * manual/libc.texinfo: Update copyright dates.
30384         * scripts/test-installation.pl: Update copyright date in --version
30385         output.
30386
30387         * hurd/ctty-input.c: Fix copyright notice formatting.
30388         * hurd/ctty-output.c: Likewise.
30389         * hurd/dtable.c: Likewise.
30390         * hurd/hurd-raise.c: Likewise.
30391         * hurd/hurdprio.c: Likewise.
30392         * hurd/msgportdemux.c: Likewise.
30393         * misc/sys/file.h: Likewise.
30394         * misc/sys/ioctl.h: Likewise.
30395         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
30396         * sysdeps/mach/hurd/chdir.c: Likewise.
30397         * sysdeps/mach/hurd/fchdir.c: Likewise.
30398         * sysdeps/mach/hurd/rename.c: Likewise.
30399         * sysdeps/mach/hurd/rmdir.c: Likewise.
30400         * sysdeps/mach/hurd/seekdir.c: Likewise.
30401         * sysdeps/mach/hurd/setsid.c: Likewise.
30402         * sysdeps/posix/wait3.c: Likewise.
30403
30404         * All files with FSF copyright notices: Update copyright dates
30405         using scripts/update-copyrights.
30406         * intl/plural.c: Regenerated.
30407         * locale/programs/charmap-kw.h: Likewise.
30408         * locale/programs/locfile-kw.h: Likewise.
30409
30410 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30411
30412         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
30413         four values.
30414
30415         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
30416         calculation loop and add branch prediction.
30417
30418         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
30419         check access beyond bounds of m1np.
30420
30421         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30422         MPTWO.
30423         (__inv): Remove local variable MPTWO to use the global
30424         constant.
30425         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
30426         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30427         variable MPTWO.
30428         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
30429         MP3HALFS static const.
30430
30431 2013-01-01  David S. Miller  <davem@davemloft.net>
30432
30433         * po/ca.po: Update from translation team.
30434
30435 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
30436
30437         * scripts/update-copyrights: New file.
30438         * Makeconfig: Reformat copyright notice.
30439         * ctype/ctype.h: Likewise.
30440         * debug/swprintf_chk.c: Likewise.
30441         * elf/dl-cache.c: Likewise.
30442         * elf/dl-debug.c: Likewise.
30443         * elf/dl-object.c: Likewise.
30444         * grp/initgroups.c: Likewise.
30445         * hurd/Makefile: Likewise.
30446         * hurd/hurd/signal.h: Likewise.
30447         * hurd/hurdfault.c: Likewise.
30448         * hurd/hurdioctl.c: Likewise.
30449         * hurd/hurdlookup.c: Likewise.
30450         * hurd/intr-msg.c: Likewise.
30451         * iconv/gconv_open.c: Likewise.
30452         * libio/swprintf.c: Likewise.
30453         * locale/lc-ctype.c: Likewise.
30454         * locale/nl_langinfo.c: Likewise.
30455         * mach/Machrules: Likewise.
30456         * mach/Makefile: Likewise.
30457         * malloc/obstack.h: Likewise.
30458         * manual/Makefile: Likewise.
30459         * manual/tsort.awk: Likewise.
30460         * misc/bits/stab.def: Likewise.
30461         * nis/nis_print_group_entry.c: Likewise.
30462         * nis/nis_table.c: Likewise.
30463         * nis/nss_compat/compat-pwd.c: Likewise.
30464         * nis/nss_compat/compat-spwd.c: Likewise.
30465         * po/Makefile: Likewise.
30466         * posix/fnmatch.c: Likewise.
30467         * posix/regex.h: Likewise.
30468         * resolv/Makefile: Likewise.
30469         * resolv/nss_dns/dns-network.c: Likewise.
30470         * resolv/res_hconf.c: Likewise.
30471         * scripts/gen-sorted.awk: Likewise.
30472         * soft-fp/soft-fp.h: Likewise.
30473         * stdio-common/printf.h: Likewise.
30474         * stdlib/monetary.h: Likewise.
30475         * stdlib/random.c: Likewise.
30476         * stdlib/random_r.c: Likewise.
30477         * sysdeps/generic/Makefile: Likewise.
30478         * sysdeps/gnu/Makefile: Likewise.
30479         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30480         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30481         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30482         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30483         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30484         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30485         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30486         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30487         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30488         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30489         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30490         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30491         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30492         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30493         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
30494         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30495         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30496         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30497         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30498         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30499         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30500         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30501         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30502         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30503         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
30504         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
30505         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
30506         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
30507         * sysdeps/mach/hurd/errnos.awk: Likewise.
30508         * sysdeps/mach/hurd/fork.c: Likewise.
30509         * sysdeps/mach/hurd/getcwd.c: Likewise.
30510         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
30511         * sysdeps/mach/hurd/mmap.c: Likewise.
30512         * sysdeps/mach/hurd/utimes.c: Likewise.
30513         * sysdeps/mach/hurd/xmknod.c: Likewise.
30514         * sysdeps/posix/profil.c: Likewise.
30515         * sysdeps/posix/readdir_r.c: Likewise.
30516         * sysdeps/powerpc/bits/mathdef.h: Likewise.
30517         * sysdeps/powerpc/bits/setjmp.h: Likewise.
30518         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
30519         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30521         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
30522         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30523         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
30524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30525         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
30526         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
30527         * sysdeps/pthread/lio_listio.c: Likewise.
30528         * sysdeps/sparc/dl-procinfo.h: Likewise.
30529         * sysdeps/unix/i386/sysdep.S: Likewise.
30530         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
30531         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
30532         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
30533         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
30534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30535         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
30536         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
30537         * sysdeps/unix/sysv/linux/speed.c: Likewise.
30538         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
30539         * sysdeps/wordsize-32/divdi3.c: Likewise.
30540         * time/sys/time.h: Likewise.
30541         * wcsmbs/Makefile: Likewise.
30542
30543 2013-01-01  David S. Miller  <davem@davemloft.net>
30544
30545         * po/fr.po: Update from translation team.
30546
30547         * catgets/gencat.c: Update copyright year.
30548         * csu/version.c: Likewise.
30549         * debug/catchsegv.sh: Likewise.
30550         * debug/pcprofiledump.c: Likewise.
30551         * debug/xtrace.sh: Likewise.
30552         * elf/ldconfig.c: Likewise.
30553         * elf/ldd.bash.in: Likewise.
30554         * elf/pldd.c: Likewise.
30555         * elf/sotruss.ksh: Likewise.
30556         * elf/sprof.c: Likewise.
30557         * iconv/iconv_prog.c: Likewise.
30558         * iconv/iconvconfig.c: Likewise.
30559         * locale/programs/locale.c: Likewise.
30560         * locale/programs/localedef.c: Likewise.
30561         * login/programs/pt_chown.c: Likewise.
30562         * malloc/memusage.sh: Likewise.
30563         * malloc/memusagestat.c: Likewise.
30564         * malloc/mtrace.pl: Likewise.
30565         * nscd/nscd.c: Likewise.
30566         * nss/getent.c: Likewise.
30567         * nss/makedb.c: Likewise.
30568         * posix/getconf.c: Likewise.
30569
30570 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30571
30572         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
30573         numbers.
30574
30575 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
30576
30577         * math/bits/mathcalls.h (modf): Use __nonnull.
30578
30579 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30580
30581         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
30582         (split): Use macro CN instead of the bare value.
30583         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
30584         could be used.
30585         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
30586         instead of the bare value.
30587         (power1): Likewise.
30588
30589 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30590
30591         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
30592         __ATAN_TWOM.
30593         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30594
30595         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
30596         their values.
30597         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30598         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30599         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
30600         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30601
30602 2012-12-28  Andreas Jaeger  <aj@suse.de>
30603
30604         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
30605         values are from Linux 3.7.
30606
30607         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
30608         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
30609
30610 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30611
30612         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30613         TRUE case.
30614
30615         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30616         (norm): Likewise.
30617         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30618         variables with preprocessor constants.
30619         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30620         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30621         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30622
30623 2012-12-27  Bruno Haible  <bruno@clisp.org>
30624
30625         [BZ #14317]
30626         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30627         only if needed.
30628
30629 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30630
30631         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30632         and use variable directly.
30633         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30634
30635         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30636         MPONE.
30637         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30638         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30639         variable MPONE.
30640         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30641         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30642         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30643         include directive.  Remove local variable MPONE.
30644         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30645         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30646         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30647
30648 2012-12-25  David S. Miller  <davem@davemloft.net>
30649
30650         * version.h (RELEASE): Set to "development".
30651         (VERSION): Set to "2.17.90".
30652         * NEWS: Add 2.18 section.
30653
30654 2012-12-21  David S. Miller  <davem@davemloft.net>
30655
30656         * po/hr.po: Update from translation team.
30657
30658 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30659
30660         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30661
30662 2012-12-19  Steve Ellcey  <sellcey@mips.com>
30663
30664         * NEWS:  Mention new memcpy for MIPS.
30665
30666 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30667
30668         * manual/contrib.texi (Contributors): Spelling correction.
30669
30670 2012-12-15  David S. Miller  <davem@davemloft.net>
30671
30672         * po/ru.po: Update from translation team.
30673
30674 2012-12-13  David S. Miller  <davem@davemloft.net>
30675
30676         * NEWS: Mention IFUNC testsuite enhancements.
30677
30678         * po/pl.po: Update from translation team.
30679         * po/bg.po: Likewise.
30680
30681         * manual/contrib.texi (Contributors): Update entries for Hongjiu
30682         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
30683
30684 2012-12-11  David S. Miller  <davem@davemloft.net>
30685
30686         * po/sv.po: Update from translation team.
30687
30688         * po/vi.po: Update from translation team.
30689
30690         * po/cs.po: Update from translation team.
30691
30692         * po/de.po: Update from translation team.
30693         * po/eo.po: Likewise.
30694         * po/nl.po: Likewise.
30695
30696 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30697
30698         [BZ #14246]
30699         * manual/argp.texi (Argp Helper Functions): Move node to follow
30700         Argp Parsing State.
30701
30702         [BZ #14872]
30703         * manual/conf.texi (Limits on File System Capacity): Mention if
30704         terminating null is included in the max size.
30705
30706 2012-12-10  Andreas Jaeger  <aj@suse.de>
30707
30708         * po/cs.po: Update from translation team.
30709
30710 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30711
30712         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30713         void pointer and cast to uintptr_t.
30714         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30715         path.
30716         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30717         * sysdeps/s390/s390-64/memset.S: Likewise.
30718
30719 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
30720
30721         [BZ #14833]
30722         * menual/message.texi (Message Translation): Fix typos.
30723         (Helper programs for gettext): Likewise.
30724
30725 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
30726
30727         [BZ #14898]
30728         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30729         Change to -1.
30730
30731 2012-12-07  David S. Miller  <davem@davemloft.net>
30732
30733         * po/libc.pot: Update.
30734
30735 2012-12-07  Richard Henderson  <rth@redhat.com>
30736
30737         [BZ #10114]
30738         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30739         normal/normal case to before the switch.
30740         (_FP_DIV): Likewise.
30741
30742 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
30743             Mike Frysinger  <vapier@gentoo.org>
30744
30745         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30746         check for __NR_fadvise64_64.
30747
30748 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
30749
30750         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30751         0, not just to plain "0" as a statement.
30752         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30753         with cw.
30754
30755 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
30756
30757         * NEWS: Use sourceware.org in Bugzilla URL.
30758
30759 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30760
30761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30762         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30763
30764         * stdio-common/tst-put-error.c (do_test): Add newline to the
30765         padded test to ensure flush.
30766
30767 2012-12-05  Jeff Law  <law@redhat.com>
30768
30769         * sunrpc/etc.rpc (fedfs_admin): Add entry.
30770
30771 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
30772
30773         * README: Don't refer to ports add-on as distributed separately.
30774         Mention AArch64 in list of systems supported in the ports add-on.
30775
30776         * LICENSES: Add more non-FSF copyright and license notices.
30777
30778         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30779         ((unused)).
30780
30781         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30782
30783         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30784         10000 as width of padded output.
30785
30786 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30787
30788         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30789
30790         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30791         variable LX with __attribute__ ((unused)).
30792         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30793         Likewise.
30794         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30795         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30796         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30797         with __attribute__ ((unused)).
30798
30799 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
30800
30801         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30802
30803 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30804
30805         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30806         (CFLAGS-nldbl-acos.c): New variable.
30807         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30808         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30809         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30810         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30811         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30812         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30813         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30814         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30815         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30816         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30817         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30818         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30819         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30820         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30821         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30822         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30823         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30824         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30825         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30826         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30827         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30828         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30829         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30830         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30831         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30832         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30833         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30834         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30835         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30836         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30837         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30838         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30839         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30840         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30841         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30842         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30843         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30844         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30845         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30846         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30847         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30848         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30849         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30850         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30851         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30852         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30853         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30854         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30855         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30856         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30857         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30858         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30859         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30860         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30861         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30862         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30863         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30864         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30865         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30866         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30867         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30868         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30869         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30870         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30871         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30872         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30873         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30874         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30875         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30876         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30877         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30878         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30879         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30880         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30881         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30882         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30883         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30884         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30885         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30886         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30887         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30888         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30889         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30890         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30891         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30892         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30893         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30894         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30895         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30896         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30897         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30898         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30899         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30900         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30901         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30902         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30903         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30904
30905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30906         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30907
30908         [BZ #14914]
30909         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30910         whole low double instead of just low 47 bits when splitting values
30911         into two parts.
30912
30913 2012-12-03  Allan McRae  <allan@archlinux.org>
30914
30915         * manual/stdio.texi (Predefined Printf Handlers): Remove
30916         @hsep and @vsep usage.
30917
30918 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
30919
30920         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30921         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30922
30923 2012-12-03  Jeff Law  <law@redhat.com>
30924
30925         * time/sys/time.h (settimeofday): Do not mark TV argument
30926         as __nonnull.
30927
30928 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
30929
30930         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30931         when currently writing and seek to current position when not.
30932         * libio/Makefile (tests): Remove bug-fclose1.
30933         * libio/bug-fclose1.c: Delete.
30934
30935 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
30936
30937         * manual/arith.texi (feenableexcept): Fix typo.
30938         (fedisableexcept): Likewise.
30939
30940 2012-11-30  Roland McGrath  <roland@hack.frob.com>
30941
30942         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30943         second, differently-typed declaration, rather than a cast.
30944
30945 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30946
30947         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30948         * include/rpc/svc.h: ... here.
30949
30950 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
30951
30952         [BZ #13013]
30953         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30954         depending n and resplen2 to catch cases where answer
30955         equals answerp2.
30956
30957 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
30958
30959         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30960         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30961
30962 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
30963
30964         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30965
30966 2012-11-29  Roland McGrath  <roland@hack.frob.com>
30967
30968         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30969
30970 2012-11-28  Jeff Law  <law@redhat.com>
30971
30972         [BZ #13761]
30973         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30974         dataset_temporary.  Track alloca usage into alloca_used.
30975         If dataset is large allocate and release it via malloc/free.
30976
30977 2012-06-04  Florian Weimer  <fweimer@redhat.com>
30978
30979         [BZ #14197]
30980         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30981
30982 2012-11-28  David S. Miller  <davem@davemloft.net>
30983
30984         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30985
30986 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30987
30988         [BZ #14803]
30989         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30990         of pi/2 rounded to nearest to 64 bits.
30991         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30992         nearest to 64 bits.
30993         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30994         bits.
30995
30996 2012-11-28  Jeff Law <law@redhat.com>
30997             Martin Osvald <mosvald@redhat.com>
30998
30999         [BZ #14889]
31000         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31001         * sunrpc/svc.c: Include time.h.
31002         (__svc_accept_failed): New function.
31003         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31004         any reason other than EINTR, call __svc_accept_failed.
31005         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31006         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31007
31008 2012-11-28  Andreas Schwab  <schwab@suse.de>
31009
31010         * scripts/abilist.awk: Also handle indirect functions in .opd
31011         section.
31012
31013 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31014
31015         [BZ #13881]
31016         * sysdeps/x86/fpu/powl_helper.c: New file.
31017         * sysdeps/x86/fpu/Makefile: Likewise.
31018         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31019         (p3): New object.
31020         (__ieee754_powl): Use __powl_helper for finite arguments except
31021         integer exponents below 8.
31022         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31023         (p3): New object.
31024         (__ieee754_powl): Use __powl_helper for finite arguments except
31025         integer exponents below 8.
31026         * math/libm-test.inc (pow_test): Add more tests and enable some
31027         previously disabled tests.
31028         * sysdeps/i386/fpu/libm-test-ulps: Update.
31029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31030
31031 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31032             Carlos O'Donell  <carlos_odonell@mentor.com>
31033
31034         * nss/makedb.c (is_prime): Assert that input is odd and greater
31035         than 4.  Note that fact in a comment too.
31036         (next_prime): Add 4 to input.
31037
31038 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31039
31040         [BZ #11741]
31041         * libio/Makefile (tests): Add test case tst-fwrite-error.
31042         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31043         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31044         * libio/tst-fwrite-error.c: New test case.
31045
31046 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31047
31048         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31049         before casting to void *.
31050         * include/libc-internal.h (__pointer_type): New macro.
31051         (__integer_if_pointer_type_sub): Likewise.
31052         (__integer_if_pointer_type): Likewise.
31053         (cast_to_integer): Likewise.
31054         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31055         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31056         before casting to atomic64_t.
31057         (atomic_exchange_acq): Likewise.
31058         (__arch_exchange_and_add_body): Likewise.
31059         (__arch_add_body): Likewise.
31060         (atomic_add_negative): Likewise.
31061         (atomic_add_zero): Likewise.
31062
31063 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31064
31065         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31066         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31067         (add_fdes): Likewise.
31068         (linear_search_fdes): Likewise.
31069         (binary_search_unencoded_fdes): Likewise.
31070
31071 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31072
31073         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31074
31075 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31076
31077         * configure.in: Autodetect C++ header directories.
31078         * configure: Regenerated.
31079
31080 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31081
31082         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31083
31084 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31085
31086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31087
31088 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31089
31090         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31091         LDBL_MANT_DIG == 106]: Disable some tests.
31092         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31093         Likewise.
31094         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31095         Likewise.
31096
31097         [BZ #14871]
31098         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31099         input for small inputs.  Return +/- pi/2 for large inputs.
31100         * math/libm-test.inc (atan_test): Add more tests.
31101
31102         * sysdeps/generic/unwind-dw2-fde-glibc.c
31103         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31104         __attribute__ ((unused)).
31105
31106         [BZ #14645]
31107         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31108         x * y if x and y are nonzero and z is zero.
31109
31110         [BZ #14811]
31111         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31112         nonzero exponents with absolute value below 0x1p-117 to +/-
31113         0x1p-117.
31114
31115         [BZ #14869]
31116         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31117         up arguments below 2**-450, not just those below 2**-500.
31118         * math/libm-test.inc (hypot_test): Add another test.
31119
31120         [BZ #14868]
31121         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31122         Return a+b for ratio over 2**120, not 2**60.
31123         * math/libm-test.inc (hypot_test): Add another test.
31124
31125         * math/libm-test.inc (clog_test): Use
31126         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31127         (clog10_test): Likewise.
31128
31129         [BZ #6778]
31130         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31131
31132 2012-11-22  Andreas Schwab  <schwab@suse.de>
31133
31134         * sysdeps/i386/fpu/libm-test-ulps: Update.
31135
31136 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31137
31138         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31139         printf output with newline.
31140
31141 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31142
31143         [BZ #14865]
31144         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31145         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31146         -z nodlopen, -z initfirst and -z execstack support.
31147         * configure: Regenerated.
31148
31149         * elf/elf.h (DF_1_NODIRECT): New macro.
31150         (DF_1_IGNMULDEF): Likewise.
31151         (DF_1_NOKSYMS): Likewise.
31152         (DF_1_NOHDR): Likewise.
31153         (DF_1_EDITED): Likewise.
31154         (DF_1_NORELOC): Likewise.
31155         (DF_1_SYMINTPOSE): Likewise.
31156         (DF_1_GLOBAUDIT): Likewise.
31157         (DF_1_SINGLETON): Likewise.
31158         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31159         DT_1_SUPPORTED_MASK bits.
31160         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31161
31162 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31163
31164         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31165
31166 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31167
31168         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31169         macro.
31170
31171         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31172         (sendmmsg): Move declarations...
31173         * socket/sys/socket.h: ... here.
31174         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31175         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31176         include it from...
31177         * socket/recvmmsg.c: ... this new file.
31178         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31179         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31180         definition of __sendmmsg hidden.
31181         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31182         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31183         Move ENOSYS stub into and include it from...
31184         * socket/sendmmsg.c: ... this new file.
31185         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
31186         (sysdep_routines): Move recvmmsg and sendmmsg...
31187         * socket/Makefile (routines): ... here.
31188         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
31189         (GLIBC_PRIVATE): Add __sendmmsg.
31190         * include/sys/socket.h (__sendmmsg): Add declarations.
31191         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
31192         sendmmsg.
31193
31194 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
31195
31196         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
31197         variable I1 with __attribute__ ((unused)).
31198         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31199
31200 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31201
31202         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
31203         DUMMY variables with __attribute__ ((unused)).
31204
31205         * bits/byteswap.h: Include <bits/types.h>.
31206         (__bswap_64): Use __uint64_t instead of unsigned long long int.
31207
31208 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31209
31210         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
31211         string_t.  Do not manually set errno.
31212         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
31213         length with __strnlen.  Make sure to both set errno and return it on
31214         failure.
31215
31216 2012-11-19  David S. Miller  <davem@davemloft.net>
31217
31218         With help from Joseph Myers.
31219         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
31220         very large arguments properly.
31221         * math/libm-test.inc (atan_test): New tests.
31222         (atan2_test): New tests.
31223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31225
31226 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
31227
31228         [BZ #14856]
31229         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
31230         Define to 3.
31231
31232         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
31233         [POSIX] (EADDRNOTAVAIL): Likewise.
31234         [POSIX] (EAFNOSUPPORT): Likewise.
31235         [POSIX] (EALREADY): Likewise.
31236         [POSIX] (ECONNABORTED): Likewise.
31237         [POSIX] (ECONNREFUSED): Likewise.
31238         [POSIX] (ECONNRESET): Likewise.
31239         [POSIX] (EDESTADDRREQ): Likewise.
31240         [POSIX] (EDQUOT): Likewise.
31241         [POSIX] (EHOSTUNREACH): Likewise.
31242         [POSIX] (EIDRM): Likewise.
31243         [POSIX] (EISCONN): Likewise.
31244         [POSIX] (ELOOP): Likewise.
31245         [POSIX] (EMULTIHOP): Likewise.
31246         [POSIX] (ENETDOWN): Likewise.
31247         [POSIX] (ENETUNREACH): Likewise.
31248         [POSIX] (ENOBUFS): Likewise.
31249         [POSIX] (ENODATA): Likewise.
31250         [POSIX] (ENOLINK): Likewise.
31251         [POSIX] (ENOMSG): Likewise.
31252         [POSIX] (ENOPROTOOPT): Likewise.
31253         [POSIX] (ENOSR): Likewise.
31254         [POSIX] (ENOSTR): Likewise.
31255         [POSIX] (ENOTCONN): Likewise.
31256         [POSIX] (ENOTSOCK): Likewise.
31257         [POSIX] (EOPNOTSUPP): Likewise.
31258         [POSIX] (EOVERFLOW): Likewise.
31259         [POSIX] (EPROTO): Likewise.
31260         [POSIX] (EPROTONOSUPPORT): Likewise.
31261         [POSIX] (EPROTOTYPE): Likewise.
31262         [POSIX] (ESTALE): Likewise.
31263         [POSIX] (ETIME): Likewise.
31264         [POSIX] (ETXTBSY): Likewise.
31265         [POSIX] (EWOULDBLOCK): Likewise.
31266         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
31267         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
31268         [POSIX] (SEEK_CUR): Likewise.
31269         [POSIX] (SEEK_END): Likewise.
31270         [POSIX || UNIX98] (mode_t): Do not require.
31271         [POSIX] (off_t): Likewise.
31272         [POSIX] (pid_t): Likewise.
31273         [POSIX] (sys/stat.h): Do not allow header.
31274         [POSIX] (unistd.h): Likewise.
31275         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
31276         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
31277         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
31278         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
31279         require.
31280         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
31281         sigevent): Specify elements.
31282         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
31283         entry.
31284         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
31285         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
31286
31287         * conform/data/cpio.h-data [POSIX]: Disable whole file.
31288         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
31289         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
31290         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
31291         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
31292         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
31293         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
31294         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
31295         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
31296         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
31297         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
31298         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
31299         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
31300         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
31301         Likewise.
31302         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
31303         Likewise.
31304         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
31305         Likewise.
31306         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
31307         Likewise.
31308         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
31309         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
31310         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
31311         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
31312         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
31313         Specify lower bound on value.
31314         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
31315         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
31316         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
31317         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
31318         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
31319         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
31320         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
31321         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
31322         value.
31323         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
31324         as optional.
31325         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
31326         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
31327         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
31328         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
31329         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
31330         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
31331         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
31332         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
31333         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
31334         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
31335         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
31336         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
31337         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
31338         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
31339         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
31340         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
31341         entry.
31342         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
31343         optional.
31344         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
31345         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
31346         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
31347         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
31348         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
31349         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
31350         Likewise.
31351         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
31352         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
31353         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
31354         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
31355         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
31356         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
31357         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
31358         as optional.
31359         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
31360         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
31361         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
31362         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
31363         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
31364         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
31365         specify as optional.
31366         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
31367         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
31368         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
31369         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
31370         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
31371         [XPG3] (NL_LANGMAX): Likewise.
31372         [POSIX || XPG3] (NL_MSGMAX): Likewise.
31373         [POSIX || XPG3] (NL_NMAX): Likewise.
31374         [POSIX || XPG3] (NL_SETMAX): Likewise.
31375         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
31376         [XPG3] (NZERO): Likewise.
31377         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
31378         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
31379         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
31380         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
31381         (REG_ERANGE): Expect.
31382         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
31383         optional-constant.
31384         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
31385         Use (void) in prototype.
31386         [POSIX] (*_t): Allow.
31387         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
31388         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
31389         (WRDE_BADVAL): Expect.
31390
31391         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
31392         expect.
31393         [XPG3 || XPG4] (O_RSYNC): Likewise.
31394         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
31395         Likewise.
31396         [XPG3 || XPG4] (pthread_sigmask): Likewise.
31397         [XPG3 || XPG4] (sigqueue): Likewise.
31398         [XPG3 || XPG4] (sigtimedwait): Likewise.
31399         [XPG3 || XPG4] (sigwaitinfo): Likewise.
31400         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
31401         [XPG3 || XPG4] (vsnprintf): Likewise.
31402         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
31403         Likewise.
31404         [XPG3 || XPG4] (blksize_t): Likewise.
31405         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
31406         Likewise.
31407         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
31408         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
31409         [XPG3 || XPG4] (struct itimerspec): Likewise.
31410         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
31411         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
31412         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
31413         [XPG3 || XPG4] (clockid_t): Likewise.
31414         [XPG3 || XPG4] (timer_t): Likewise.
31415         [XPG3 || XPG4] (clock_getres): Likewise.
31416         [XPG3 || XPG4] (clock_gettime): Likewise.
31417         [XPG3 || XPG4] (clock_settime): Likewise.
31418         [XPG3 || XPG4] (nanosleep): Likewise.
31419         [XPG3 || XPG4] (timer_create): Likewise.
31420         [XPG3 || XPG4] (timer_delete): Likewise.
31421         [XPG3 || XPG4] (timer_gettime): Likewise.
31422         [XPG3 || XPG4] (timer_getoverrun): Likewise.
31423         [XPG3 || XPG4] (timer_settime): Likewise.
31424         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
31425         [XPG3 || XPG4] (getlogin_r): Likewise.
31426         [XPG3 || XPG4] (pread): Likewise.
31427         [XPG3 || XPG4] (pthread_atfork): Likewise.
31428         [XPG3 || XPG4] (pwrite): Likewise.
31429
31430         [BZ #14835]
31431         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
31432         <bits/siginfo.h>.
31433
31434 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
31435
31436         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
31437         finalizing MALLSTREAM.
31438
31439         * sysdeps/mach/hurd/syncfs.c: New file.
31440
31441 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31442
31443         [BZ #14719]
31444         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
31445         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
31446         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
31447         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
31448         (_nss_dns_gethostbyname4_r): Likewise.
31449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
31450         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
31451
31452 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
31453
31454         [BZ #13763]
31455         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
31456
31457 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
31458
31459         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
31460         * elf/cache.c (print_entry): Print ",AArch64" for
31461         FLAG_AARCH64_LIB64
31462
31463         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
31464         * elf/cache.c (print_entry): Print ",hard-float" for
31465         FLAG_ARM_LIBHF.
31466
31467 2012-11-18  David S. Miller  <davem@davemloft.net>
31468
31469         With help from Joseph Myers.
31470         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
31471         cutoff to 2**-13.
31472         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
31473         cutoff to 2**-25.
31474         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
31475         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
31476         small.
31477         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
31478         * math/libm-test.inc (y0_test): New tests.
31479         (y1_test): New tests.
31480         * sysdeps/i386/fpu/libm-test-ulps: Update.
31481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31483
31484 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
31485
31486         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
31487         64-bit targets.
31488         * configure: Regenerated.
31489
31490 2012-11-17  David S. Miller  <davem@davemloft.net>
31491
31492         [BZ #14811]
31493         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
31494         nonzero exponents with absolute value below 0x1p-128 to +/-
31495         0x1p-128.
31496
31497 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
31498
31499         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
31500
31501         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
31502
31503         * posix/getconf-speclist.c: New file.
31504         * posix/posix-envs.def: Likewise.
31505         * posix/confstr.c (START_ENV_GROUP): New macro.
31506         (END_ENV_GROUP): Likewise.
31507         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31508         (KNOWN_PRESENT_ENV_STRING): Likewise.
31509         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31510         (UNKNOWN_ENVIRONMENT): Likewise.
31511         (confstr): Include posix-envs.def instead of handling
31512         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
31513         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
31514         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
31515         (END_ENV_GROUP): Likewise.
31516         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
31517         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
31518         (UNKNOWN_ENVIRONMENT): Likewise.
31519         (__sysconf): Include posix-envs.def instead of handling associated
31520         cases directly here.
31521         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
31522         preprocessing getconf-speclist.c rather than running getconf or
31523         generating empty file.
31524
31525 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
31526
31527         * scripts/check-local-headers.sh: Ignore 'mach' headers.
31528
31529 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
31530
31531         [BZ #14672]
31532         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
31533
31534 2012-11-16  David S. Miller  <davem@davemloft.net>
31535
31536         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
31537         smaller than LDBL_EPSILON/2.0L, just return xm1.
31538
31539 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
31540
31541         * elf/tst-array1.c (init): Set constructor priority to 1000.
31542         (fini): Set destructor priority to 1000.
31543         * elf/tst-array2dep.c: Likewise.
31544
31545 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31546
31547         [BZ #11741]
31548         * libio/fileops.c (_IO_new_file_write): Correctly return error.
31549         (_IO_new_file_xsputn): Also return EOF if none of the input
31550         data was written when overflow failed.
31551         * libio/iopadn.c (_IO_padn): Likewise.
31552         * libio/iowpadn.c (_IO_wpadn): Likewise.
31553         * stdio-common/tst-put-error.c: Add copyright notice.
31554         (do_test): Add case for printing padded string.
31555         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
31556         _IO_padn returned error.
31557         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
31558         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
31559         return EOF.
31560
31561 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31562
31563         * libio/libioP.h: Add comment note that the references to C++
31564         bits are now obsolete.
31565
31566 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31567
31568         * math/libm-test.inc (check_complex): Use asprintf.
31569
31570 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
31571
31572         * debug/pcprofiledump.c (print_version): Update copyright year.
31573         * malloc/memusagestat.c (print_version): Likewise.
31574
31575 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
31576
31577         [BZ #14831]
31578         * elf/Makefile (tests): Add tst-audit8.
31579         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
31580         ($(objpfx)tst-audit8.out): New target.
31581         (tst-audit8-ENV): New variable.
31582         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
31583         audit if l_reloc_result is NULL.
31584         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
31585         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
31586         * elf/tst-audit8.c: New file.
31587
31588 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31589
31590         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
31591         * misc/Makefile (CFLAGS-select.c): Define.
31592         * posix/Makefile (CFLAGS-pause.c): Define.
31593
31594 2012-11-13  David S. Miller  <davem@davemloft.net>
31595
31596         * crypt/Makefile: Move test targets after toplevel Rules
31597         inclusion.  Grab any necessary sysdep routines when linking.
31598         * crypt/md5.c (md5_process_block): Remove define, we will always
31599         name it __md5_process_block.
31600         (md5_finish_ctx): Update md5_process_block call.
31601         (md5_stream): Likewise.
31602         (md5_process_bytes): Likewise.
31603         (md5_process_block): Rename to __md5_process_block and move to ...
31604         * crypt/md5-block.c: ... here.
31605         * crypt/sha256.c (sha256_process_block): Move to ...
31606         * crypt/sha256-block.c: ... here.
31607         * crypt/sha512.c (sha512_process_block): Move to ...
31608         * crypt/sha512-block.c: ... here.
31609         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
31610         path.
31611         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
31612         * sysdeps/sparc/sparc64/multiarch/Makefile
31613         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31614         crypt subdir.
31615         (localedef-aux): Add md5 crypto assembler when in locale subdir.
31616         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31617         multiarch changes.
31618         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31619         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31620         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31621         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31622         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31623         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31624         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31625         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31626         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31627         file.
31628         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31629         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31630         file.
31631         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31632
31633 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
31634
31635         * timezone/tzselect.ksh: Update from tzcode git revision
31636         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31637         * timezone/zdump.c: Likewise.
31638         * timezone/zic.c: Likewise.
31639         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31640         in TZVERSION setting, not $(PKGVERSION).
31641         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
31642         REPORT_BUGS_TO settings.
31643
31644         [BZ #14838]
31645         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31646         macro.
31647
31648 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31649
31650         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31651         detection to immediately after _FP_ROUND().
31652         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31653         bits are 0.
31654
31655 2012-11-11  David S. Miller  <davem@davemloft.net>
31656
31657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31658         inttypes.h
31659         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31660         __close rather than their public counterparts.
31661
31662 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
31663
31664         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31665         file.
31666         [UNIX98] (sem_timedwait): Do not expect.
31667         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31668         [XPG4 || UNIX98] (sockatmark): Do not expect.
31669         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31670         (clock_getcpuclockid): Do not expect.
31671         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31672         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31673         Do not expect.
31674         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31675         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31676         [UNIX98] (vwscanf): Likewise.
31677         [UNIX98] (vswscanf): Likewise.
31678
31679 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
31680
31681         * timezone/version.h: Remove file.
31682         * timezone/README: Do not refer to version.h.
31683         * timezone/Makefile ($(objpfx)zic.o): New dependency on
31684         $(objpfx)version.h.
31685         ($(objpfx)zdump.o): Likewise.
31686         ($(objpfx)version.h): New target.
31687
31688         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31689         2012i.
31690         * timezone/README: Don't mention modification to tzselect.ksh.
31691         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31692         work on unmodified tzselect.ksh.  Substitute version numbers in
31693         tzselect.ksh.
31694
31695         * Makefile (format-me): Remove.
31696         (INSTALL): Adjust indentation.  Use commands directly instead of
31697         using $(format-me).
31698
31699         * aclocal.m4 (ACX_PKGVERSION): New macro.
31700         (ACX_BUGURL): Likewise.
31701         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31702         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31703         (REPORT_BUGS_TO): Likewise.
31704         * configure: Regenerated.
31705         * config.h.in (PKGVERSION): New macro.
31706         (REPORT_BUGS_TO): Likewise.
31707         * config.make.in (PKGVERSION): New variable.
31708         (PKGVERSION_TEXI): Likewise.
31709         (REPORT_BUGS_TO): Likewise.
31710         (REPORT_BUGS_TEXI): Likewise.
31711         * Makefile (format-me): Use -I$(common-objpfx)manual.
31712         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31713         ($(common-objpfx)manual/%): New target.
31714         (manual/%): Remove target.
31715         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31716         (print_version): Use PKGVERSION.
31717         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31718         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31719         and REPORT_BUGS_TO.
31720         ($(objpfx)xtrace): Likewise.
31721         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31722         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31723         (print_version): Use PKGVERSION.
31724         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31725         (do_version): Use PKGVERSION.
31726         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31727         REPORT_BUGS_TO.
31728         (common-ldd-rewrite): Likewise.
31729         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31730         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31731         (print_version): Use PKGVERSION.
31732         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31733         * elf/pldd.c (argp_program_bug_address): Remove variable.
31734         (more_help): New function.
31735         (argp): Use more_help.
31736         (print_version): Use PKGVERSION.
31737         * elf/sln.c (main): Use PKGVERSION.
31738         (usage): Use REPORT_BUGS_TO.
31739         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31740         (top level): Use PKGVERSION.
31741         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31742         (print_version): Use PKGVERSION.
31743         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31744         (print_version): Use PKGVERSION.
31745         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31746         (print_version): Use PKGVERSION.
31747         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31748         (print_version): Use PKGVERSION.
31749         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31750         (print_version): Use PKGVERSION.
31751         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31752         (print_version): Use PKGVERSION.
31753         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31754         and BUGURL.
31755         ($(objpfx)memusage): Likewise.
31756         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31757         (do_version): Use PKGVERSION.
31758         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31759         (print_version): Use PKGVERSION.
31760         * malloc/mtrace.pl ($PACKAGE): Remove variable.
31761         ($PKGVERSION): New variable.
31762         ($REPORT_BUGS_TO): Likewise.
31763         (usage): Use $REPORT_BUGS_TO.
31764         (top level): Use $PKGVERSION.
31765         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31766         ($(objpfx)pkgvers.texi): New rule.
31767         ($(objpfx)stamp-pkgvers): Likewise.
31768         * manual/install.texi: Include pkgvers.texi.
31769         (--with-pkgversion): Document new configure option.
31770         (--with-bugurl): Likewise.
31771         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31772         than necessarily for this particular distribution.  Use
31773         REPORT_BUGS_TO for where to report bugs.
31774         * INSTALL: Regenerated.
31775         * manual/libc.texinfo: Include pkgvers.texi.
31776         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31777         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31778         (print_version): Use PKGVERSION.
31779         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31780         (print_version): Use PKGVERSION.
31781         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31782         (print_version): Use PKGVERSION.
31783         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31784         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31785         macro.
31786         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31787         (print_version): Use PKGVERSION.
31788         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31789         (print_version): Use PKGVERSION.
31790         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31791         and PKGVERSION.
31792
31793         * timezone/checktab.awk: Update from tzcode 2012i.
31794         * timezone/ialloc.c: Likewise.
31795         * timezone/private.h: Likewise.
31796         * timezone/scheck.c: Likewise.
31797         * timezone/tzfile.h: Likewise.
31798         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31799         (TZVERSION): Hardcode tzcode version number.
31800         * timezone/zdump.c: Update from tzcode 2012i.
31801         * timezone/zic.c: Likewise.
31802         * timezone/version.h: New file.
31803         * timezone/README: Describe version.h.  Update upstream location.
31804
31805         [BZ #14824]
31806         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31807         (mktemp): Enable declaration.
31808         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31809         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31810         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31811         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31812         Likewise.
31813         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31814         Likewise.
31815         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31816         Likewise.
31817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31818         Likewise.
31819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31820         Likewise.
31821         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31822         Likewise.
31823
31824         [BZ #14821]
31825         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31826         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
31827         for copies of such integer values.
31828         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31829         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31830
31831 2012-11-09  Andreas Jaeger  <aj@suse.de>
31832
31833         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31834         definitions and declarations that are provided by
31835         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31836
31837 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31838
31839         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31840         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31841         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31842         definition.
31843
31844 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31845
31846         * elf/elf.h: Update comment before AArch64 relocations.
31847
31848 2012-11-07  David S. Miller  <davem@davemloft.net>
31849
31850         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31851         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31852         (__start_context): Declare.
31853         (__makecontext_ret): Delete.
31854         (__makecontext): Hook up __start_context instead of
31855         __makecontext_ret.
31856         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31857         (sysdep_routines): Add __start_context when in stdlib.
31858
31859 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31860
31861         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31862         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31863         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
31864         hardcoded "nm".
31865         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
31866         (READELF): New variable.  Use it instead of hardcoded "readelf".
31867
31868 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31869
31870         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31871         * sysdeps/x86/Makefile: Here.
31872         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31873         * sysdeps/x86/tst-xmmymm.sh: This.
31874
31875 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31876
31877         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31878         expectations.
31879         [UNIX98] (pthread_barrier_t): Do not expect.
31880         [UNIX98] (pthread_barrierattr_t): Likewise.
31881         [UNIX98] (pthread_spinlock_t): Likewise.
31882         [UNIX98] (pthread_barrier_destroy): Likewise.
31883         [UNIX98] (pthread_barrier_init): Likewise.
31884         [UNIX98] (pthread_barrier_wait): Likewise.
31885         [UNIX98] (pthread_barrierattr_destroy): Likewise.
31886         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31887         [UNIX98] (pthread_barrierattr_init): Likewise.
31888         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31889         [UNIX98] (pthread_getcpuclockid): Likewise.
31890         [UNIX98] (pthread_mutex_timedlock): Likewise.
31891         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31892         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31893         [UNIX98] (pthread_sigmask): Likewise.
31894         [UNIX98] (pthread_spin_destroy): Likewise.
31895         [UNIX98] (pthread_spin_init): Likewise.
31896         [UNIX98] (pthread_spin_lock): Likewise.
31897         [UNIX98] (pthread_spin_trylock): Likewise.
31898         [UNIX98] (pthread_spin_unlock): Likewise.
31899         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31900         Do not expect.
31901         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31902         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31903         [XPG3 || XPG4] (pthread_cond_t): Likewise.
31904         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31905         [XPG3 || XPG4] (pthread_key_t): Likewise.
31906         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31907         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31908         [XPG3 || XPG4] (pthread_once_t): Likewise.
31909         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31910         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31911         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31912         [XPG3 || XPG4] (pthread_t): Likewise.
31913
31914         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31915         not expect.
31916         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31917
31918         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31919         Change function return type to int.
31920
31921         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31922         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31923         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31924         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31925         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31926         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31927         [!POSIX] (posix_madvise): Likewise.
31928         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31929         && !UNIX98].
31930         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31931         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31932         (mode_t): Likewise.
31933         (posix_mem_offset): Likewise.
31934         (posix_typed_mem_get_info): Likewise.
31935         (posix_typed_mem_open): Likewise.
31936
31937         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31938         Change condition to [XOPEN2K8].
31939
31940         * conform/conformtest.pl: Preprocess allow-header data with -x c
31941         instead of from stdin.
31942         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31943         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31944         [C99-based standards] (cerfc): Likewise.
31945         [C99-based standards] (cexp2): Likewise.
31946         [C99-based standards] (cexpm1): Likewise.
31947         [C99-based standards] (clog10): Likewise.
31948         [C99-based standards] (clog1p): Likewise.
31949         [C99-based standards] (clog2): Likewise.
31950         [C99-based standards] (clgamma): Likewise.
31951         [C99-based standards] (ctgamma): Likewise.
31952         [C99-based standards] (cerff): Likewise.
31953         [C99-based standards] (cerfcf): Likewise.
31954         [C99-based standards] (cexp2f): Likewise.
31955         [C99-based standards] (cexpm1f): Likewise.
31956         [C99-based standards] (clog10f): Likewise.
31957         [C99-based standards] (clog1pf): Likewise.
31958         [C99-based standards] (clog2f): Likewise.
31959         [C99-based standards] (clgammaf): Likewise.
31960         [C99-based standards] (ctgammaf): Likewise.
31961         [C99-based standards] (cerfl): Likewise.
31962         [C99-based standards] (cerfcl): Likewise.
31963         [C99-based standards] (cexp2l): Likewise.
31964         [C99-based standards] (cexpm1l): Likewise.
31965         [C99-based standards] (clog10l): Likewise.
31966         [C99-based standards] (clog1pl): Likewise.
31967         [C99-based standards] (clog2l): Likewise.
31968         [C99-based standards] (clgammal): Likewise.
31969         [C99-based standards] (ctgammal): Likewise.
31970         * conform/data/inttypes.h-data [C99-based standards]: Include
31971         stdint.h-data.  Remove all expectations for stdint.h contents.
31972         [C99-based standards] (PRI*): Do not allow.
31973         [C99-based standards] (SCN*): Likewise.
31974         [C99-based standards] (*_t): Likewise.
31975         [C99-based-standards] (PRId8): Expect macro.
31976         [C99-based-standards] (PRIi8): Likewise.
31977         [C99-based-standards] (PRIo8): Likewise.
31978         [C99-based-standards] (PRIu8): Likewise.
31979         [C99-based-standards] (PRIx8): Likewise.
31980         [C99-based-standards] (PRIX8): Likewise.
31981         [C99-based-standards] (SCNd8): Likewise.
31982         [C99-based-standards] (SCNi8): Likewise.
31983         [C99-based-standards] (SCNo8): Likewise.
31984         [C99-based-standards] (SCNu8): Likewise.
31985         [C99-based-standards] (SCNx8): Likewise.
31986         [C99-based-standards] (PRIdLEAST8): Likewise.
31987         [C99-based-standards] (PRIiLEAST8): Likewise.
31988         [C99-based-standards] (PRIoLEAST8): Likewise.
31989         [C99-based-standards] (PRIuLEAST8): Likewise.
31990         [C99-based-standards] (PRIxLEAST8): Likewise.
31991         [C99-based-standards] (PRIXLEAST8): Likewise.
31992         [C99-based-standards] (SCNdLEAST8): Likewise.
31993         [C99-based-standards] (SCNiLEAST8): Likewise.
31994         [C99-based-standards] (SCNoLEAST8): Likewise.
31995         [C99-based-standards] (SCNuLEAST8): Likewise.
31996         [C99-based-standards] (SCNxLEAST8): Likewise.
31997         [C99-based-standards] (PRIdFAST8): Likewise.
31998         [C99-based-standards] (PRIiFAST8): Likewise.
31999         [C99-based-standards] (PRIoFAST8): Likewise.
32000         [C99-based-standards] (PRIuFAST8): Likewise.
32001         [C99-based-standards] (PRIxFAST8): Likewise.
32002         [C99-based-standards] (PRIXFAST8): Likewise.
32003         [C99-based-standards] (SCNdFAST8): Likewise.
32004         [C99-based-standards] (SCNiFAST8): Likewise.
32005         [C99-based-standards] (SCNoFAST8): Likewise.
32006         [C99-based-standards] (SCNuFAST8): Likewise.
32007         [C99-based-standards] (SCNxFAST8): Likewise.
32008         [C99-based-standards] (PRId16): Likewise.
32009         [C99-based-standards] (PRIi16): Likewise.
32010         [C99-based-standards] (PRIo16): Likewise.
32011         [C99-based-standards] (PRIu16): Likewise.
32012         [C99-based-standards] (PRIx16): Likewise.
32013         [C99-based-standards] (PRIX16): Likewise.
32014         [C99-based-standards] (SCNd16): Likewise.
32015         [C99-based-standards] (SCNi16): Likewise.
32016         [C99-based-standards] (SCNo16): Likewise.
32017         [C99-based-standards] (SCNu16): Likewise.
32018         [C99-based-standards] (SCNx16): Likewise.
32019         [C99-based-standards] (PRIdLEAST16): Likewise.
32020         [C99-based-standards] (PRIiLEAST16): Likewise.
32021         [C99-based-standards] (PRIoLEAST16): Likewise.
32022         [C99-based-standards] (PRIuLEAST16): Likewise.
32023         [C99-based-standards] (PRIxLEAST16): Likewise.
32024         [C99-based-standards] (PRIXLEAST16): Likewise.
32025         [C99-based-standards] (SCNdLEAST16): Likewise.
32026         [C99-based-standards] (SCNiLEAST16): Likewise.
32027         [C99-based-standards] (SCNoLEAST16): Likewise.
32028         [C99-based-standards] (SCNuLEAST16): Likewise.
32029         [C99-based-standards] (SCNxLEAST16): Likewise.
32030         [C99-based-standards] (PRIdFAST16): Likewise.
32031         [C99-based-standards] (PRIiFAST16): Likewise.
32032         [C99-based-standards] (PRIoFAST16): Likewise.
32033         [C99-based-standards] (PRIuFAST16): Likewise.
32034         [C99-based-standards] (PRIxFAST16): Likewise.
32035         [C99-based-standards] (PRIXFAST16): Likewise.
32036         [C99-based-standards] (SCNdFAST16): Likewise.
32037         [C99-based-standards] (SCNiFAST16): Likewise.
32038         [C99-based-standards] (SCNoFAST16): Likewise.
32039         [C99-based-standards] (SCNuFAST16): Likewise.
32040         [C99-based-standards] (SCNxFAST16): Likewise.
32041         [C99-based-standards] (PRId32): Likewise.
32042         [C99-based-standards] (PRIi32): Likewise.
32043         [C99-based-standards] (PRIo32): Likewise.
32044         [C99-based-standards] (PRIu32): Likewise.
32045         [C99-based-standards] (PRIx32): Likewise.
32046         [C99-based-standards] (PRIX32): Likewise.
32047         [C99-based-standards] (SCNd32): Likewise.
32048         [C99-based-standards] (SCNi32): Likewise.
32049         [C99-based-standards] (SCNo32): Likewise.
32050         [C99-based-standards] (SCNu32): Likewise.
32051         [C99-based-standards] (SCNx32): Likewise.
32052         [C99-based-standards] (PRIdLEAST32): Likewise.
32053         [C99-based-standards] (PRIiLEAST32): Likewise.
32054         [C99-based-standards] (PRIoLEAST32): Likewise.
32055         [C99-based-standards] (PRIuLEAST32): Likewise.
32056         [C99-based-standards] (PRIxLEAST32): Likewise.
32057         [C99-based-standards] (PRIXLEAST32): Likewise.
32058         [C99-based-standards] (SCNdLEAST32): Likewise.
32059         [C99-based-standards] (SCNiLEAST32): Likewise.
32060         [C99-based-standards] (SCNoLEAST32): Likewise.
32061         [C99-based-standards] (SCNuLEAST32): Likewise.
32062         [C99-based-standards] (SCNxLEAST32): Likewise.
32063         [C99-based-standards] (PRIdFAST32): Likewise.
32064         [C99-based-standards] (PRIiFAST32): Likewise.
32065         [C99-based-standards] (PRIoFAST32): Likewise.
32066         [C99-based-standards] (PRIuFAST32): Likewise.
32067         [C99-based-standards] (PRIxFAST32): Likewise.
32068         [C99-based-standards] (PRIXFAST32): Likewise.
32069         [C99-based-standards] (SCNdFAST32): Likewise.
32070         [C99-based-standards] (SCNiFAST32): Likewise.
32071         [C99-based-standards] (SCNoFAST32): Likewise.
32072         [C99-based-standards] (SCNuFAST32): Likewise.
32073         [C99-based-standards] (SCNxFAST32): Likewise.
32074         [C99-based-standards] (PRId64): Likewise.
32075         [C99-based-standards] (PRIi64): Likewise.
32076         [C99-based-standards] (PRIo64): Likewise.
32077         [C99-based-standards] (PRIu64): Likewise.
32078         [C99-based-standards] (PRIx64): Likewise.
32079         [C99-based-standards] (PRIX64): Likewise.
32080         [C99-based-standards] (SCNd64): Likewise.
32081         [C99-based-standards] (SCNi64): Likewise.
32082         [C99-based-standards] (SCNo64): Likewise.
32083         [C99-based-standards] (SCNu64): Likewise.
32084         [C99-based-standards] (SCNx64): Likewise.
32085         [C99-based-standards] (PRIdLEAST64): Likewise.
32086         [C99-based-standards] (PRIiLEAST64): Likewise.
32087         [C99-based-standards] (PRIoLEAST64): Likewise.
32088         [C99-based-standards] (PRIuLEAST64): Likewise.
32089         [C99-based-standards] (PRIxLEAST64): Likewise.
32090         [C99-based-standards] (PRIXLEAST64): Likewise.
32091         [C99-based-standards] (SCNdLEAST64): Likewise.
32092         [C99-based-standards] (SCNiLEAST64): Likewise.
32093         [C99-based-standards] (SCNoLEAST64): Likewise.
32094         [C99-based-standards] (SCNuLEAST64): Likewise.
32095         [C99-based-standards] (SCNxLEAST64): Likewise.
32096         [C99-based-standards] (PRIdFAST64): Likewise.
32097         [C99-based-standards] (PRIiFAST64): Likewise.
32098         [C99-based-standards] (PRIoFAST64): Likewise.
32099         [C99-based-standards] (PRIuFAST64): Likewise.
32100         [C99-based-standards] (PRIxFAST64): Likewise.
32101         [C99-based-standards] (PRIXFAST64): Likewise.
32102         [C99-based-standards] (SCNdFAST64): Likewise.
32103         [C99-based-standards] (SCNiFAST64): Likewise.
32104         [C99-based-standards] (SCNoFAST64): Likewise.
32105         [C99-based-standards] (SCNuFAST64): Likewise.
32106         [C99-based-standards] (SCNxFAST64): Likewise.
32107         [C99-based-standards] (PRIdMAX): Likewise.
32108         [C99-based-standards] (PRIiMAX): Likewise.
32109         [C99-based-standards] (PRIoMAX): Likewise.
32110         [C99-based-standards] (PRIuMAX): Likewise.
32111         [C99-based-standards] (PRIxMAX): Likewise.
32112         [C99-based-standards] (PRIXMAX): Likewise.
32113         [C99-based-standards] (SCNdMAX): Likewise.
32114         [C99-based-standards] (SCNiMAX): Likewise.
32115         [C99-based-standards] (SCNoMAX): Likewise.
32116         [C99-based-standards] (SCNuMAX): Likewise.
32117         [C99-based-standards] (SCNxMAX): Likewise.
32118         [C99-based-standards] (PRIdPTR): Likewise.
32119         [C99-based-standards] (PRIiPTR): Likewise.
32120         [C99-based-standards] (PRIoPTR): Likewise.
32121         [C99-based-standards] (PRIuPTR): Likewise.
32122         [C99-based-standards] (PRIxPTR): Likewise.
32123         [C99-based-standards] (PRIXPTR): Likewise.
32124         [C99-based-standards] (SCNdPTR): Likewise.
32125         [C99-based-standards] (SCNiPTR): Likewise.
32126         [C99-based-standards] (SCNoPTR): Likewise.
32127         [C99-based-standards] (SCNuPTR): Likewise.
32128         [C99-based-standards] (SCNxPTR): Likewise.
32129         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32130         allow.
32131         * conform/data/stdint.h-data: Update comments to clarify
32132         requirements.
32133         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32134         type.
32135         [C99-based standards] (INT8_MAX): Likewise.
32136         [C99-based standards] (INT16_MIN): Likewise.
32137         [C99-based standards] (INT16_MAX): Likewise.
32138         [C99-based standards] (INT32_MIN): Likewise.
32139         [C99-based standards] (INT32_MAX): Likewise.
32140         [C99-based standards] (INT64_MIN): Likewise.
32141         [C99-based standards] (INT64_MAX): Likewise.
32142         [C99-based standards] (UINT8_MAX): Likewise.
32143         [C99-based standards] (UINT16_MAX): Likewise.
32144         [C99-based standards] (UINT32_MAX): Likewise.
32145         [C99-based standards] (UINT64_MAX): Likewise.
32146         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32147         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32148         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32149         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32150         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32151         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32152         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32153         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32154         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32155         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32156         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32157         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32158         [C99-based standards] (INT_FAST8_MIN): Likewise.
32159         [C99-based standards] (INT_FAST8_MAX): Likewise.
32160         [C99-based standards] (INT_FAST16_MIN): Likewise.
32161         [C99-based standards] (INT_FAST16_MAX): Likewise.
32162         [C99-based standards] (INT_FAST32_MIN): Likewise.
32163         [C99-based standards] (INT_FAST32_MAX): Likewise.
32164         [C99-based standards] (INT_FAST64_MIN): Likewise.
32165         [C99-based standards] (INT_FAST64_MAX): Likewise.
32166         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32167         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32168         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32169         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32170         [C99-based standards] (INTPTR_MIN): Likewise.
32171         [C99-based standards] (INTPTR_MAX): Likewise.
32172         [C99-based standards] (UINTPTR_MAX): Likewise.
32173         [C99-based standards] (INTMAX_MIN): Likewise.
32174         [C99-based standards] (INTMAX_MAX): Likewise.
32175         [C99-based standards] (UINTMAX_MAX): Likewise.
32176         [C99-based standards] (PTRDIFF_MIN): Likewise.
32177         [C99-based standards] (PTRDIFF_MAX): Likewise.
32178         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32179         [C99-based standards] (SIZE_MAX): Likewise.
32180         [C99-based standards] (WCHAR_MAX): Likewise.
32181         [C99-based standards] (WINT_MAX): Likewise.
32182         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32183         constraint on value.
32184         [C99-based standards] (WCHAR_MIN): Likewise.
32185         [C99-based standards] (WINT_MIN): Likewise.
32186         [C99-based standards] (*_t): Allow.
32187         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
32188         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
32189         Include math.h-data and complex.h-data.  Remove all expectations
32190         of math.h and complex.h contents.
32191         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
32192         at end of line.
32193         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
32194         (struct tm): Expect tag.
32195         [C99-based-standards] (wcstof): Expect function.
32196         [C99-based-standards] (wcstold): Likewise.
32197         [C99-based-standards] (wcstoll): Likewise.
32198         [C99-based-standards] (wcstoull): Likewise.
32199         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
32200         macro-int-constant.  Specify type.
32201         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
32202         constraint on value.
32203         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32204         Specify type.
32205         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
32206         Specify value.
32207         [ISO C standards]: Do not allow headers.
32208         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
32209         wcs[abcdefghijklmnopqrstuvwxyz]*.
32210         [ISO C standards] (*_t): Do not allow.
32211         * conform/data/wctype.h-data [C99-based standards] (iswblank):
32212         Expect function.
32213         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
32214         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
32215         Specify type.
32216         [ISO C standards]: Do not allow headers.
32217         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
32218         is[abcdefghijklmnopqrstuvwxyz]*.
32219         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
32220         to[abcdefghijklmnopqrstuvwxyz]*.
32221         [ISO C standards] (*_t): Do not allow.
32222         * conform/data/stdalign.h-data: New file.
32223         * conform/data/stdbool.h-data: Likewise.
32224         * conform/data/stdnoreturn.h-data: Likewise.
32225
32226 2012-11-07  Roland McGrath  <roland@hack.frob.com>
32227
32228         [BZ #14815]
32229         * manual/filesys.texi (Directory Entries): Typo fix.
32230         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
32231
32232 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32233
32234         * elf/elf.h (EM_AARCH64): New macro.
32235         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
32236         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
32237         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
32238         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
32239         (R_AARCH64_TLSDESC): Likewise.
32240         (NT_ARM_TLS): Likewise.
32241         (NT_ARM_HW_BREAK): Likewise.
32242         (NT_ARM_HW_WATCH): Likewise.
32243
32244 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32245
32246         [BZ #14811]
32247         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
32248         (__ieee754_powl): Saturate nonzero exponents with absolute value
32249         below 0x1p-79 to +/- 0x1p-79.
32250         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
32251         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
32252         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
32253         nonzero exponents with absolute value below 0x1p-32 to +/-
32254         0x1p-32.
32255         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
32256         (__ieee754_powl): Saturate nonzero exponents with absolute value
32257         below 0x1p-79 to +/- 0x1p-79.
32258         * math/libm-test.inc (pow_test): Add more tests.
32259
32260 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32261
32262         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
32263         _dl_s390_cap_flags with kernel. Increase string length.
32264         (_dl_s390_platforms): Add z196 and zEC12.
32265
32266 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32267
32268         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
32269         Change XOPEN21K to XOPEN2K.
32270
32271 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
32272
32273         * string/memmove.c: Use memcpy when possible.
32274
32275 2012-11-06  Andreas Jaeger  <aj@suse.de>
32276
32277         * po/eo.po: Update from translation team.
32278
32279 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
32280
32281         [BZ #14793]
32282         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
32283         exponent and small x and y exponents, scale x or y up.  Increase
32284         by 2 the exponent used in scaling up.
32285         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32286         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32287         * math/libm-test.inc (fma_test): Add more tests.
32288         (fma_test_towardzero): Likewise.
32289         (fma_test_downward): Likewise.
32290         (fma_test_upward): Likewise.
32291
32292 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
32293
32294         [BZ #14805]
32295         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
32296         fenv_t *.
32297
32298         [BZ #14801]
32299         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
32300         namespace for names of struct fields.
32301         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
32302         fenv_t fields.
32303         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
32304         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
32305
32306 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32307
32308         [BZ #3665]
32309         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
32310
32311 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32312
32313         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
32314         PTR_DEMANGLE.
32315
32316         [BZ #5246]
32317         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
32318         PTR_DEMANGLE.
32319
32320 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
32321
32322         [BZ #14797]
32323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
32324         definitely overflow as x * y not x * y + z.
32325         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32326         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32327         * math/libm-test.inc (fma_test): Add more tests.
32328         (fma_test_towardzero): Likewise.
32329         (fma_test_downward): Likewise.
32330         (fma_test_upward): Likewise.
32331
32332 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
32333
32334         [BZ #157]
32335
32336         * include/stub-tag.h: Remove file.
32337         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
32338         '#include' of it.
32339         * manual/maint.texi (Porting): Don't reference it.
32340         * Makerules ($(objpfx)stubs): Likewise.
32341         * dirent/closedir.c: Don't include <stub-tag.h>.
32342         * dirent/dirfd.c: Likewise.
32343         * dirent/fdopendir.c: Likewise.
32344         * dirent/getdents.c: Likewise.
32345         * dirent/getdents64.c: Likewise.
32346         * dirent/opendir.c: Likewise.
32347         * dirent/readdir.c: Likewise.
32348         * dirent/readdir64.c: Likewise.
32349         * dirent/readdir64_r.c: Likewise.
32350         * dirent/readdir_r.c: Likewise.
32351         * dirent/rewinddir.c: Likewise.
32352         * dirent/seekdir.c: Likewise.
32353         * dirent/telldir.c: Likewise.
32354         * gmon/profil.c: Likewise.
32355         * grp/setgroups.c: Likewise.
32356         * inet/if_index.c: Likewise.
32357         * io/access.c: Likewise.
32358         * io/chdir.c: Likewise.
32359         * io/chmod.c: Likewise.
32360         * io/chown.c: Likewise.
32361         * io/close.c: Likewise.
32362         * io/dup.c: Likewise.
32363         * io/dup2.c: Likewise.
32364         * io/dup3.c: Likewise.
32365         * io/euidaccess.c: Likewise.
32366         * io/faccessat.c: Likewise.
32367         * io/fchdir.c: Likewise.
32368         * io/fchmod.c: Likewise.
32369         * io/fchmodat.c: Likewise.
32370         * io/fchown.c: Likewise.
32371         * io/fchownat.c: Likewise.
32372         * io/fcntl.c: Likewise.
32373         * io/flock.c: Likewise.
32374         * io/fstatfs.c: Likewise.
32375         * io/fstatfs64.c: Likewise.
32376         * io/fstatvfs.c: Likewise.
32377         * io/fstatvfs64.c: Likewise.
32378         * io/futimens.c: Likewise.
32379         * io/fxstat.c: Likewise.
32380         * io/fxstat64.c: Likewise.
32381         * io/fxstatat.c: Likewise.
32382         * io/fxstatat64.c: Likewise.
32383         * io/getcwd.c: Likewise.
32384         * io/isatty.c: Likewise.
32385         * io/lchmod.c: Likewise.
32386         * io/lchown.c: Likewise.
32387         * io/link.c: Likewise.
32388         * io/linkat.c: Likewise.
32389         * io/lseek.c: Likewise.
32390         * io/lseek64.c: Likewise.
32391         * io/lxstat64.c: Likewise.
32392         * io/mkdir.c: Likewise.
32393         * io/mkdirat.c: Likewise.
32394         * io/mkfifo.c: Likewise.
32395         * io/mkfifoat.c: Likewise.
32396         * io/open.c: Likewise.
32397         * io/open64.c: Likewise.
32398         * io/openat.c: Likewise.
32399         * io/openat64.c: Likewise.
32400         * io/pipe.c: Likewise.
32401         * io/pipe2.c: Likewise.
32402         * io/poll.c: Likewise.
32403         * io/posix_fadvise.c: Likewise.
32404         * io/posix_fadvise64.c: Likewise.
32405         * io/posix_fallocate.c: Likewise.
32406         * io/posix_fallocate64.c: Likewise.
32407         * io/read.c: Likewise.
32408         * io/readlink.c: Likewise.
32409         * io/readlinkat.c: Likewise.
32410         * io/rmdir.c: Likewise.
32411         * io/sendfile.c: Likewise.
32412         * io/sendfile64.c: Likewise.
32413         * io/statfs.c: Likewise.
32414         * io/statfs64.c: Likewise.
32415         * io/statvfs.c: Likewise.
32416         * io/statvfs64.c: Likewise.
32417         * io/symlink.c: Likewise.
32418         * io/symlinkat.c: Likewise.
32419         * io/ttyname.c: Likewise.
32420         * io/ttyname_r.c: Likewise.
32421         * io/umask.c: Likewise.
32422         * io/unlink.c: Likewise.
32423         * io/unlinkat.c: Likewise.
32424         * io/utime.c: Likewise.
32425         * io/utimensat.c: Likewise.
32426         * io/write.c: Likewise.
32427         * io/xmknod.c: Likewise.
32428         * io/xmknodat.c: Likewise.
32429         * io/xstat.c: Likewise.
32430         * io/xstat64.c: Likewise.
32431         * login/getpt.c: Likewise.
32432         * login/grantpt.c: Likewise.
32433         * login/unlockpt.c: Likewise.
32434         * math/e_acoshl.c: Likewise.
32435         * math/e_acosl.c: Likewise.
32436         * math/e_asinl.c: Likewise.
32437         * math/e_atan2l.c: Likewise.
32438         * math/e_atanhl.c: Likewise.
32439         * math/e_coshl.c: Likewise.
32440         * math/e_expl.c: Likewise.
32441         * math/e_fmodl.c: Likewise.
32442         * math/e_gammal_r.c: Likewise.
32443         * math/e_hypotl.c: Likewise.
32444         * math/e_j0l.c: Likewise.
32445         * math/e_j1l.c: Likewise.
32446         * math/e_jnl.c: Likewise.
32447         * math/e_lgammal_r.c: Likewise.
32448         * math/e_log10l.c: Likewise.
32449         * math/e_log2l.c: Likewise.
32450         * math/e_logl.c: Likewise.
32451         * math/e_powl.c: Likewise.
32452         * math/e_rem_pio2l.c: Likewise.
32453         * math/e_sinhl.c: Likewise.
32454         * math/e_sqrtl.c: Likewise.
32455         * math/fclrexcpt.c: Likewise.
32456         * math/fedisblxcpt.c: Likewise.
32457         * math/feenablxcpt.c: Likewise.
32458         * math/fegetenv.c: Likewise.
32459         * math/fegetexcept.c: Likewise.
32460         * math/fegetround.c: Likewise.
32461         * math/feholdexcpt.c: Likewise.
32462         * math/fesetenv.c: Likewise.
32463         * math/fesetround.c: Likewise.
32464         * math/feupdateenv.c: Likewise.
32465         * math/fgetexcptflg.c: Likewise.
32466         * math/fraiseexcpt.c: Likewise.
32467         * math/fsetexcptflg.c: Likewise.
32468         * math/ftestexcept.c: Likewise.
32469         * math/k_cosl.c: Likewise.
32470         * math/k_rem_pio2l.c: Likewise.
32471         * math/k_sinl.c: Likewise.
32472         * math/k_tanl.c: Likewise.
32473         * math/s_asinhl.c: Likewise.
32474         * math/s_atanl.c: Likewise.
32475         * math/s_cbrtl.c: Likewise.
32476         * math/s_erfl.c: Likewise.
32477         * math/s_expm1l.c: Likewise.
32478         * math/s_log1pl.c: Likewise.
32479         * math/s_tanhl.c: Likewise.
32480         * misc/acct.c: Likewise.
32481         * misc/brk.c: Likewise.
32482         * misc/chflags.c: Likewise.
32483         * misc/chroot.c: Likewise.
32484         * misc/fchflags.c: Likewise.
32485         * misc/fgetxattr.c: Likewise.
32486         * misc/flistxattr.c: Likewise.
32487         * misc/fremovexattr.c: Likewise.
32488         * misc/fsetxattr.c: Likewise.
32489         * misc/fsync.c: Likewise.
32490         * misc/ftruncate.c: Likewise.
32491         * misc/futimes.c: Likewise.
32492         * misc/futimesat.c: Likewise.
32493         * misc/getdomain.c: Likewise.
32494         * misc/getdtsz.c: Likewise.
32495         * misc/gethostid.c: Likewise.
32496         * misc/gethostname.c: Likewise.
32497         * misc/getloadavg.c: Likewise.
32498         * misc/getpagesize.c: Likewise.
32499         * misc/getsysstats.c: Likewise.
32500         * misc/getxattr.c: Likewise.
32501         * misc/gtty.c: Likewise.
32502         * misc/ioctl.c: Likewise.
32503         * misc/lgetxattr.c: Likewise.
32504         * misc/listxattr.c: Likewise.
32505         * misc/llistxattr.c: Likewise.
32506         * misc/lremovexattr.c: Likewise.
32507         * misc/lsetxattr.c: Likewise.
32508         * misc/lutimes.c: Likewise.
32509         * misc/madvise.c: Likewise.
32510         * misc/mincore.c: Likewise.
32511         * misc/mlock.c: Likewise.
32512         * misc/mlockall.c: Likewise.
32513         * misc/mmap.c: Likewise.
32514         * misc/mprotect.c: Likewise.
32515         * misc/msync.c: Likewise.
32516         * misc/munlock.c: Likewise.
32517         * misc/munlockall.c: Likewise.
32518         * misc/munmap.c: Likewise.
32519         * misc/preadv.c: Likewise.
32520         * misc/preadv64.c: Likewise.
32521         * misc/ptrace.c: Likewise.
32522         * misc/pwritev.c: Likewise.
32523         * misc/pwritev64.c: Likewise.
32524         * misc/readv.c: Likewise.
32525         * misc/reboot.c: Likewise.
32526         * misc/remap_file_pages.c: Likewise.
32527         * misc/removexattr.c: Likewise.
32528         * misc/revoke.c: Likewise.
32529         * misc/select.c: Likewise.
32530         * misc/setdomain.c: Likewise.
32531         * misc/setegid.c: Likewise.
32532         * misc/seteuid.c: Likewise.
32533         * misc/sethostid.c: Likewise.
32534         * misc/sethostname.c: Likewise.
32535         * misc/setregid.c: Likewise.
32536         * misc/setreuid.c: Likewise.
32537         * misc/setxattr.c: Likewise.
32538         * misc/sstk.c: Likewise.
32539         * misc/stty.c: Likewise.
32540         * misc/swapoff.c: Likewise.
32541         * misc/swapon.c: Likewise.
32542         * misc/sync.c: Likewise.
32543         * misc/syncfs.c: Likewise.
32544         * misc/syscall.c: Likewise.
32545         * misc/truncate.c: Likewise.
32546         * misc/ualarm.c: Likewise.
32547         * misc/usleep.c: Likewise.
32548         * misc/ustat.c: Likewise.
32549         * misc/utimes.c: Likewise.
32550         * misc/vhangup.c: Likewise.
32551         * misc/writev.c: Likewise.
32552         * posix/_exit.c: Likewise.
32553         * posix/alarm.c: Likewise.
32554         * posix/execve.c: Likewise.
32555         * posix/fexecve.c: Likewise.
32556         * posix/fork.c: Likewise.
32557         * posix/fpathconf.c: Likewise.
32558         * posix/getaddrinfo.c: Likewise.
32559         * posix/getegid.c: Likewise.
32560         * posix/geteuid.c: Likewise.
32561         * posix/getgid.c: Likewise.
32562         * posix/getgroups.c: Likewise.
32563         * posix/getlogin.c: Likewise.
32564         * posix/getlogin_r.c: Likewise.
32565         * posix/getpgid.c: Likewise.
32566         * posix/getpid.c: Likewise.
32567         * posix/getppid.c: Likewise.
32568         * posix/getresgid.c: Likewise.
32569         * posix/getresuid.c: Likewise.
32570         * posix/getsid.c: Likewise.
32571         * posix/getuid.c: Likewise.
32572         * posix/glob64.c: Likewise.
32573         * posix/nanosleep.c: Likewise.
32574         * posix/pathconf.c: Likewise.
32575         * posix/pause.c: Likewise.
32576         * posix/posix_madvise.c: Likewise.
32577         * posix/pread.c: Likewise.
32578         * posix/pread64.c: Likewise.
32579         * posix/pwrite.c: Likewise.
32580         * posix/pwrite64.c: Likewise.
32581         * posix/sched_getaffinity.c: Likewise.
32582         * posix/sched_getp.c: Likewise.
32583         * posix/sched_gets.c: Likewise.
32584         * posix/sched_primax.c: Likewise.
32585         * posix/sched_primin.c: Likewise.
32586         * posix/sched_rr_gi.c: Likewise.
32587         * posix/sched_setaffinity.c: Likewise.
32588         * posix/sched_setp.c: Likewise.
32589         * posix/sched_sets.c: Likewise.
32590         * posix/sched_yield.c: Likewise.
32591         * posix/setgid.c: Likewise.
32592         * posix/setlogin.c: Likewise.
32593         * posix/setpgid.c: Likewise.
32594         * posix/setresgid.c: Likewise.
32595         * posix/setresuid.c: Likewise.
32596         * posix/setsid.c: Likewise.
32597         * posix/setuid.c: Likewise.
32598         * posix/sleep.c: Likewise.
32599         * posix/spawni.c: Likewise.
32600         * posix/sysconf.c: Likewise.
32601         * posix/times.c: Likewise.
32602         * posix/wait.c: Likewise.
32603         * posix/wait3.c: Likewise.
32604         * posix/wait4.c: Likewise.
32605         * posix/waitpid.c: Likewise.
32606         * resolv/gai_sigqueue.c: Likewise.
32607         * resource/getpriority.c: Likewise.
32608         * resource/getrlimit.c: Likewise.
32609         * resource/getrusage.c: Likewise.
32610         * resource/nice.c: Likewise.
32611         * resource/setpriority.c: Likewise.
32612         * resource/setrlimit.c: Likewise.
32613         * resource/ulimit.c: Likewise.
32614         * rt/aio_cancel.c: Likewise.
32615         * rt/aio_fsync.c: Likewise.
32616         * rt/aio_read.c: Likewise.
32617         * rt/aio_sigqueue.c: Likewise.
32618         * rt/aio_suspend.c: Likewise.
32619         * rt/aio_write.c: Likewise.
32620         * rt/clock_getres.c: Likewise.
32621         * rt/clock_gettime.c: Likewise.
32622         * rt/clock_nanosleep.c: Likewise.
32623         * rt/clock_settime.c: Likewise.
32624         * rt/lio_listio.c: Likewise.
32625         * rt/mq_close.c: Likewise.
32626         * rt/mq_getattr.c: Likewise.
32627         * rt/mq_notify.c: Likewise.
32628         * rt/mq_open.c: Likewise.
32629         * rt/mq_receive.c: Likewise.
32630         * rt/mq_send.c: Likewise.
32631         * rt/mq_setattr.c: Likewise.
32632         * rt/mq_timedreceive.c: Likewise.
32633         * rt/mq_timedsend.c: Likewise.
32634         * rt/mq_unlink.c: Likewise.
32635         * rt/shm_open.c: Likewise.
32636         * rt/shm_unlink.c: Likewise.
32637         * rt/timer_create.c: Likewise.
32638         * rt/timer_delete.c: Likewise.
32639         * rt/timer_getoverr.c: Likewise.
32640         * rt/timer_gettime.c: Likewise.
32641         * rt/timer_settime.c: Likewise.
32642         * setjmp/__longjmp.c: Likewise.
32643         * setjmp/setjmp.c: Likewise.
32644         * signal/kill.c: Likewise.
32645         * signal/killpg.c: Likewise.
32646         * signal/raise.c: Likewise.
32647         * signal/sigaction.c: Likewise.
32648         * signal/sigaltstack.c: Likewise.
32649         * signal/sigblock.c: Likewise.
32650         * signal/sigignore.c: Likewise.
32651         * signal/sigintr.c: Likewise.
32652         * signal/signal.c: Likewise.
32653         * signal/sigpause.c: Likewise.
32654         * signal/sigpending.c: Likewise.
32655         * signal/sigqueue.c: Likewise.
32656         * signal/sigreturn.c: Likewise.
32657         * signal/sigset.c: Likewise.
32658         * signal/sigsetmask.c: Likewise.
32659         * signal/sigstack.c: Likewise.
32660         * signal/sigsuspend.c: Likewise.
32661         * signal/sigtimedwait.c: Likewise.
32662         * signal/sigvec.c: Likewise.
32663         * signal/sigwait.c: Likewise.
32664         * signal/sigwaitinfo.c: Likewise.
32665         * signal/sysv_signal.c: Likewise.
32666         * socket/accept.c: Likewise.
32667         * socket/accept4.c: Likewise.
32668         * socket/bind.c: Likewise.
32669         * socket/connect.c: Likewise.
32670         * socket/getpeername.c: Likewise.
32671         * socket/getsockname.c: Likewise.
32672         * socket/getsockopt.c: Likewise.
32673         * socket/isfdtype.c: Likewise.
32674         * socket/listen.c: Likewise.
32675         * socket/recv.c: Likewise.
32676         * socket/recvfrom.c: Likewise.
32677         * socket/recvmsg.c: Likewise.
32678         * socket/send.c: Likewise.
32679         * socket/sendmsg.c: Likewise.
32680         * socket/sendto.c: Likewise.
32681         * socket/setsockopt.c: Likewise.
32682         * socket/shutdown.c: Likewise.
32683         * socket/sockatmark.c: Likewise.
32684         * socket/socket.c: Likewise.
32685         * socket/socketpair.c: Likewise.
32686         * stdio-common/ctermid.c: Likewise.
32687         * stdio-common/cuserid.c: Likewise.
32688         * stdio-common/remove.c: Likewise.
32689         * stdio-common/rename.c: Likewise.
32690         * stdio-common/renameat.c: Likewise.
32691         * stdio-common/tempname.c: Likewise.
32692         * stdlib/getcontext.c: Likewise.
32693         * stdlib/makecontext.c: Likewise.
32694         * stdlib/setcontext.c: Likewise.
32695         * stdlib/swapcontext.c: Likewise.
32696         * stdlib/system.c: Likewise.
32697         * streams/fattach.c: Likewise.
32698         * streams/fdetach.c: Likewise.
32699         * streams/getmsg.c: Likewise.
32700         * streams/getpmsg.c: Likewise.
32701         * streams/putmsg.c: Likewise.
32702         * streams/putpmsg.c: Likewise.
32703         * sysdeps/unix/bsd/getpt.c: Likewise.
32704         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32705         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32706         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32708         Likewise.
32709         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32710         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32711         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32712         * sysvipc/msgctl.c: Likewise.
32713         * sysvipc/msgget.c: Likewise.
32714         * sysvipc/msgrcv.c: Likewise.
32715         * sysvipc/msgsnd.c: Likewise.
32716         * sysvipc/semctl.c: Likewise.
32717         * sysvipc/semget.c: Likewise.
32718         * sysvipc/semop.c: Likewise.
32719         * sysvipc/semtimedop.c: Likewise.
32720         * sysvipc/shmat.c: Likewise.
32721         * sysvipc/shmctl.c: Likewise.
32722         * sysvipc/shmdt.c: Likewise.
32723         * sysvipc/shmget.c: Likewise.
32724         * termios/tcdrain.c: Likewise.
32725         * termios/tcflow.c: Likewise.
32726         * termios/tcflush.c: Likewise.
32727         * termios/tcgetattr.c: Likewise.
32728         * termios/tcgetpgrp.c: Likewise.
32729         * termios/tcsendbrk.c: Likewise.
32730         * termios/tcsetattr.c: Likewise.
32731         * termios/tcsetpgrp.c: Likewise.
32732         * time/adjtime.c: Likewise.
32733         * time/clock.c: Likewise.
32734         * time/getitimer.c: Likewise.
32735         * time/gettimeofday.c: Likewise.
32736         * time/setitimer.c: Likewise.
32737         * time/settimeofday.c: Likewise.
32738         * time/stime.c: Likewise.
32739         * time/time.c: Likewise.
32740
32741 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
32742
32743         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32744         /usr/old/bin.
32745
32746         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32747         instead of spaces.
32748         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32749
32750 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
32751
32752         [BZ #14796]
32753         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32754         FE_TONEAREST before applying Dekker multiplication and Knuth
32755         addition.  Clear inexact exceptions and check for exact zero
32756         results afterwards.
32757         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32758         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32759         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32760         * math/libm-test.inc (fma_test): Add more tests.
32761         (fma_test_towardzero): Likewise.
32762         (fma_test_downward): Likewise.
32763         (fma_test_upward): Likewise.
32764         * sysdeps/generic/math_private.h (default_libc_fesetround): New
32765         function.
32766         (libc_fesetround): New macro.
32767         (libc_fesetroundf): Likewise.
32768         (libc_fesetroundl): Likewise.
32769         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32770         function.
32771         (libc_fesetround_387): Likewise.
32772         (libc_fesetroundf): New macro.
32773         (libc_fesetround): Likewise.
32774         (libc_fesetroundl): Likewise.
32775         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32776         function.
32777         (libc_fesetroundf): New macro.
32778         (libc_fesetround): Likewise.
32779         (libc_fesetroundl): Likewise.
32780         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32781         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32782         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32783         libm_hidden_ver.
32784         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32785         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32786         libm_hidden_def.
32787         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32788         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32789         libm_hidden_ver.
32790         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32791         libm_hidden_def.
32792
32793         [BZ #3439]
32794         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32795         integer constant usable in #if and use that to give value to enum
32796         constant.
32797         (FE_DIVBYZERO): Likewise.
32798         (FE_UNDERFLOW): Likewise.
32799         (FE_OVERFLOW): Likewise.
32800         (FE_INVALID): Likewise.
32801         (FE_INVALID_SNAN): Likewise.
32802         (FE_INVALID_ISI): Likewise.
32803         (FE_INVALID_IDI): Likewise.
32804         (FE_INVALID_ZDZ): Likewise.
32805         (FE_INVALID_IMZ): Likewise.
32806         (FE_INVALID_COMPARE): Likewise.
32807         (FE_INVALID_SOFTWARE): Likewise.
32808         (FE_INVALID_SQRT): Likewise.
32809         (FE_INVALID_INTEGER_CONVERSION): Likewise.
32810         (FE_TONEAREST): Likewise.
32811         (FE_TOWARDZERO): Likewise.
32812         (FE_UPWARD): Likewise.
32813         (FE_DOWNWARD): Likewise.
32814         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32815         (FE_DIVBYZERO): Likewise.
32816         (FE_OVERFLOW): Likewise.
32817         (FE_UNDERFLOW): Likewise.
32818         (FE_INEXACT): Likewise.
32819         (FE_TONEAREST): Likewise.
32820         (FE_DOWNWARD): Likewise.
32821         (FE_UPWARD): Likewise.
32822         (FE_TOWARDZERO): Likewise.
32823         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32824         (FE_UNDERFLOW): Likewise.
32825         (FE_OVERFLOW): Likewise.
32826         (FE_DIVBYZERO): Likewise.
32827         (FE_INVALID): Likewise.
32828         (FE_TONEAREST): Likewise.
32829         (FE_TOWARDZERO): Likewise.
32830         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32831         (FE_OVERFLOW): Likewise.
32832         (FE_UNDERFLOW): Likewise.
32833         (FE_DIVBYZERO): Likewise.
32834         (FE_INEXACT): Likewise.
32835         (FE_TONEAREST): Likewise.
32836         (FE_TOWARDZERO): Likewise.
32837         (FE_UPWARD): Likewise.
32838         (FE_DOWNWARD): Likewise.
32839         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32840         (FE_DIVBYZERO): Likewise.
32841         (FE_OVERFLOW): Likewise.
32842         (FE_UNDERFLOW): Likewise.
32843         (FE_INEXACT): Likewise.
32844         (FE_TONEAREST): Likewise.
32845         (FE_DOWNWARD): Likewise.
32846         (FE_UPWARD): Likewise.
32847         (FE_TOWARDZERO): Likewise.
32848
32849 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
32850
32851         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32852
32853 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
32854
32855         * scripts/cross-test-ssh.sh (command): Use newlines to separate
32856         commands.  Quote $PWD.
32857         (blacklist_exports): Don't use remove_newlines.  Replace "declare
32858         -x" by "export".
32859         (remove_newlines): Remove.
32860
32861 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
32862
32863         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32864         * stdlib/stdlib.h (atof): Moved to ...
32865         * include/bits/stdlib-float.h: Here.  New file.
32866         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32867         * stdlib/bits/stdlib-float.h: New file.
32868         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32869         -mno-sse -mno-mmx.
32870         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32871         <xmmintrin.h>.
32872
32873 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32874
32875         * conform/conformtest.pl (@headers): Add fenv.h.
32876         * conform/data/fenv.h-data: New file.
32877         * include/fenv.h [_ISOMAC]: Disable all contents of file except
32878         include of <math/fenv.h>.
32879
32880         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32881         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32882         && !UNIX98].  Enables tests for XOPEN2K8.
32883         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32884         POSIX2008]: Likewise.
32885
32886         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32887         (struct rusage): Do not expect type or its members.
32888
32889         [BZ #3439]
32890         * math/math.h (FP_NAN): Define macro to integer constant usable in
32891         #if and use that to give value to enum constant.
32892         (FP_INFINITE): Likewise.
32893         (FP_ZERO): Likewise.
32894         (FP_SUBNORMAL): Likewise.
32895         (FP_NORMAL): Likewise.
32896
32897 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
32898
32899         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32900         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32901         arguments.
32902
32903 2012-11-02  Roland McGrath  <roland@hack.frob.com>
32904
32905         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32906         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32907         autoconf-time if not.
32908         * configure.in: Remove AC_PREREQ.
32909
32910 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32911
32912         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32913         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32914         of the internal implementation.
32915
32916 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32917
32918         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32919         except include of <misc/sys/syslog.h>.
32920
32921 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32922
32923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32924         function returns with a NULL context exit with zero.
32925
32926 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32927
32928         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32929
32930 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
32931
32932         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32933         (run_program_cmd): This.
32934         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32935         (tst_langinfo): New variable.  Use it.
32936
32937 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
32938
32939         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32940         floating point opcodes.
32941
32942 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32943
32944         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32945         variable.
32946
32947         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32948
32949         * sysdeps/mach/hurd/powerpc: Remove directory.
32950         * sysdeps/mach/powerpc: Likewise.
32951
32952 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32953
32954         * scripts/check-local-headers.sh: Ignore c++ headers.
32955
32956 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32957
32958         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32959         __libc_cleanup_region_start argument.
32960
32961 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
32962
32963         [BZ #14784]
32964         [BZ #14785]
32965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32966         x * y using scaling, not as x * y + z.
32967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32968         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32969         * math/libm-test.inc (fma_test): Add more tests.
32970         (fma_test_towardzero): Likewise.
32971         (fma_test_downward): Likewise.
32972         (fma_test_upward): Likewise.
32973
32974 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32975
32976         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32977
32978 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32979
32980         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32981         New variable.
32982
32983 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
32984
32985         * rt/tst-shm.c (worker): Correct checking for mmap failure.
32986
32987 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32988
32989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32990         Fix sort order.
32991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32992         Likewise.
32993
32994 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32995
32996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32997         Fix the order of the list for glibc 2.17.
32998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32999         Likewise.
33000
33001 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33002
33003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33004
33005 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33006
33007         [BZ #14610]
33008         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33009         for low part of x being zero before using __atanl (y).
33010         * math/libm-test.inc (atan2_test): Add another test.
33011
33012         * manual/install.texi (Configuring and compiling): Document
33013         general use of test-wrapper and test-wrapper-env.
33014         * INSTALL: Regenerated.
33015
33016         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33017         (__fma): Do not extract and scale down low bits on after-rounding
33018         systems when result rounded to normal precision would have normal
33019         exponent.
33020         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33021         (__fmal): Do not extract and scale down low bits on after-rounding
33022         systems when result rounded to normal precision would have normal
33023         exponent.
33024         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33025         (__fmal): Do not extract and scale down low bits on after-rounding
33026         systems when result rounded to normal precision would have normal
33027         exponent.
33028         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33029         macro.
33030         (fma_test): Add more tests.
33031         (fma_test_towardzero): Likewise.
33032         (fma_test_downward): Likewise.
33033         (fma_test_upward): Likewise.
33034
33035 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33036
33037         * sysdeps/i386/tininess.h: Renamed to ...
33038         * sysdeps/x86/tininess.h: This.
33039         * sysdeps/x86_64/tininess.h: Removed.
33040
33041 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33042
33043         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33044         input.  Use $(build-program-cmd).
33045         ($(objpfx)tst-array1-static.out): Likewise.
33046         ($(objpfx)tst-array2.out): Likewise.
33047         ($(objpfx)tst-array3.out): Likewise.
33048         ($(objpfx)tst-array4.out): Likewise.
33049         ($(objpfx)tst-array5.out): Likewise.
33050         ($(objpfx)tst-array5-static.out): Likewise.
33051
33052 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33053
33054         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33055         if defined.
33056
33057         * nss/nsswitch.h (nss_interface_function): Provide new
33058         macro for use with NSS functions.
33059         * grp/initgroups.c: Use new macro.
33060         * nss/getXXbyYY.c: Likewise.
33061         * nss/getXXbyYY_r.c: Likewise.
33062         * nss/getXXent.c: Likewise.
33063         * nss/getXXent_r.c: Likewise.
33064         * sysdeps/posix/getaddrinfo.c: Likewise.
33065
33066 2012-10-30  Andreas Jaeger  <aj@suse.de>
33067
33068         * po/ru.po: Update Russion translation from translation project.
33069
33070 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33071
33072         [BZ #14152]
33073         [BZ #14783]
33074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33075         result and shift together with sticky bit instead of replicating
33076         round-to-nearest rounding.
33077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33078         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33079         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33080         missing underflow exceptions.
33081         (fma_test_towardzero): Add more tests.
33082         (fma_test_downward): Likewise.
33083         (fma_test_upward): Likewise.
33084
33085         [BZ #14047]
33086         * sysdeps/generic/tininess.h: New file.
33087         * sysdeps/i386/tininess.h: Likewise.
33088         * sysdeps/sh/tininess.h: Likewise.
33089         * sysdeps/x86_64/tininess.h: Likewise.
33090         * stdlib/tst-strtod-underflow.c: Likewise.
33091         * stdlib/tst-tininess.c: Likewise.
33092         * stdlib/strtod_l.c: Include <tininess.h>.
33093         (round_and_return): Do not set errno for exact underflow cases.
33094         Force an underflow exception when setting errno for underflow.
33095         Determine underflow based on rounding to normal precision if
33096         TININESS_AFTER_ROUNDING.
33097         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33098         ERANGE for exact underflow cases.
33099         * stdlib/Makefile (tests): Add tst-tininess and
33100         tst-strtod-underflow.
33101         ($(objpfx)tst-tininess): Use $(link-libm).
33102         ($(objpfx)tst-strtod-underflow): Likewise.
33103
33104 2012-10-30  Andreas Jaeger  <aj@suse.de>
33105
33106         [BZ#14767]
33107         * elf/Makefile (tests): Remove conditional for have-initfini-array
33108         since this is now always required and the variable does not exist
33109         anymore.
33110         (tests-static): Likewise.
33111         (modules-names): Likewise.
33112
33113         * po/eo.po: Add Esperanto translation from translation project.
33114
33115         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33116         merged with constructor/destructor.
33117         (init_array): Likewise.
33118         * elf/tst-array2dep.c (fini_array): Likewise.
33119         (init_array): Likewise.
33120
33121 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33122
33123         * manual/message.texi: Delete @cartouche tags.
33124
33125 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33126
33127         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33128         EOPNOTSUPP.
33129         * sysdeps/mach/hurd/fsync.c: Likewise.
33130
33131         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33132         [_POSIX_REALTIME_SIGNALS]: Change condition to
33133         [_POSIX_REALTIME_SIGNALS > 0].
33134
33135 2012-10-27  Andreas Jaeger  <aj@suse.de>
33136
33137         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33138         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33139         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33140         [__WORDSIZE != 64]: Likewise.
33141
33142 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33143
33144         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33145         *  iconvdata/tst-tables.sh: Likewise.
33146
33147 2012-10-25  David S. Miller  <davem@davemloft.net>
33148
33149         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33150         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33151         of strtoull.
33152
33153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33154         ifunc-impl-list.c
33155         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33156         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33157         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33158         file.
33159
33160 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33161
33162         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33163         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33164         __getdirentries.
33165
33166 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33167             Jim Blandy  <jimb@codesourcery.com>
33168
33169         * scripts/cross-test-ssh.sh: New file.
33170         * manual/install.texi (Configuring and compiling): Document use of
33171         cross-test-ssh.sh.
33172         * INSTALL: Regenerated.
33173
33174 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33175
33176         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33177         EOPNOTSUPP.
33178
33179 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33180
33181         * Makeconfig (run-program-prefix): Fix comment.
33182
33183 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33184             Jim Blandy  <jimb@codesourcery.com>
33185
33186         * Makeconfig (test-wrapper): New variable,
33187         (test-wrapper-env): Likewise.
33188         [$(cross-compiling) = yes && $(test-wrapper) != ""]
33189         (run-built-tests): Define to yes.
33190         (run-program-prefix): Use $(test-wrapper).
33191         (built-program-cmd): Likewise.
33192         * Rules (make-test-out): Use $(test-wrapper-env) and
33193         $(host-built-program-cmd).
33194         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
33195         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
33196         tst-pathopt.sh.
33197         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
33198         $(test-wrapper-env) to tst-rtld-load-self.sh.
33199         ($(objpfx)order2.out): Use $(test-wrapper).
33200         ($(objpfx)tst-initorder.out): Likewise.
33201         ($(objpfx)tst-initorder2.out): Likewise.
33202         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
33203         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
33204         (test_wrapper_env): New variable.  Use it to run ld.so.
33205         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
33206         Use it to run ld.so.
33207         (test_wrapper_env): Likewise.
33208         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
33209         $(test-wrapper) to run-iconv-test.sh.
33210         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
33211         (ICONV): Use $test_wrapper.
33212         * posix/Makefile ($(objpfx)globtest.out): Pass
33213         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
33214         globtest.sh, not $(run-program-prefix).
33215         * posix/globtest.sh (run_via_rtld_prefix): New variable.
33216         (test_wrapper): Likewise.
33217         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
33218         set together with run_via_rtld_prefix.
33219         (run_program_prefix): Define in terms of test_wrapper and
33220         run_via_rtld_prefix.
33221
33222 2012-10-24  Roland McGrath  <roland@hack.frob.com>
33223
33224         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
33225         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
33226         Targets removed.
33227
33228         [BZ #14743]
33229         * include/time.h: Remove librt_hidden_proto (clock_gettime).
33230         Declare __clock_getres, __clock_gettime, __clock_settime,
33231         __clock_nanosleep, and __clock_getcpuclockid.
33232         * rt/clock_gettime.c: Define __clock_gettime as an alias.
33233         Remove librt_hidden_def (clock_gettime).
33234         * sysdeps/unix/clock_gettime.c: Likewise.
33235         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
33236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
33237         * rt/clock_getres.c: Define __clock_getres as an alias.
33238         * sysdeps/posix/clock_getres.c: Likewise.
33239         * rt/clock_settime.c: Define __clock_settime as an alias.
33240         * sysdeps/unix/clock_settime.c: Likewise.
33241         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
33242         * sysdeps/unix/clock_nanosleep.c: Likewise.
33243         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
33244         * rt/clock-compat.c: New file.
33245         * rt/Makefile (librt-routines): Add clock-compat and move
33246         $(clock-routines) to ...
33247         (routines): ... here, new variable.
33248         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
33249         Don't add get_clockfreq here.
33250         * rt/Versions (libc: GLIBC_2.17): New version set.
33251         Add clock_* symbols here.
33252         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
33253         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
33254         (GLIBC_2.17): Add clock_* symbols.
33255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
33256         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
33257         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33259         Likewise.
33260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33261         Likewise.
33262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33263         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
33264         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
33265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
33266         * NEWS: Mention the move.
33267
33268         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
33269         Use __open, __read, __close rather than their public counterparts.
33270         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33271         (__get_clockfreq_via_cpuinfo): Likewise.
33272         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
33273         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
33274
33275         * config.h.in (HAVE_IFUNC): New #undef.
33276         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
33277         was successful.
33278         * configure: Regenerated.
33279
33280 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33281
33282         * configure.in: Move READELF check to start of file.
33283         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
33284         libc_cv_asm_gnu_indirect_function in the process.
33285         * configure: Regenerated.
33286
33287 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
33288
33289         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
33290         send the output to /dev/null.
33291         (libc_cv_cc_with_libunwind): Likewise.
33292         (libc_cv_as_noexecstack): Likewise.
33293         * configure: Regenerate.
33294
33295 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
33296
33297         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
33298
33299         * posix/globtest.sh (TMPDIR): Do not set.
33300         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
33301         (testout): Likewise.
33302
33303 2012-10-24  Andreas Jaeger  <aj@suse.de>
33304
33305         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
33306         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
33307         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
33308         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
33309         posix_fadvise64, posix_fallocate64.
33310
33311         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
33312         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
33313         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
33314         Likewise.
33315         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
33316         Likewise.
33317         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
33318
33319         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
33320         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
33321         <bits/fcntl-linux.h>.
33322         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
33323
33324         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
33325         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
33326         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
33327         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
33328         [__WORDSIZE != 64]: Likewise.
33329
33330 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33331
33332         * Makeconfig (run-built-tests): New variable.
33333         * Rules [$(cross-compiling) = yes]: Change condition to
33334         [$(run-built-tests) = no].
33335         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
33336         to [$(run-built-tests) = yes].
33337         * elf/Makefile [$(cross-compiling) = no]: Likewise
33338         * grp/Makefile [$(cross-compiling) = no]: Likewise.
33339         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
33340         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
33341         * intl/Makefile [$(cross-compiling) = no]: Likewise.
33342         * io/Makefile [$(cross-compiling) = no]: Likewise.
33343         * libio/Makefile [$(cross-compiling) = no]: Likewise.
33344         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
33345         * misc/Makefile [$(cross-compiling) = no]: Likewise.
33346         * posix/Makefile [$(cross-compiling) = no]: Likewise.
33347         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
33348         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
33349         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
33350         * string/Makefile [$(cross-compiling) = no]: Likewise.
33351
33352         * posix/Makefile ($(objpfx)globtest.out): Pass
33353         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
33354         $(rtld-installed-name).
33355         * posix/globtest.sh (elf_objpfx): Remove variable.
33356         (rtld_installed_name): Likewise.
33357         (library_path): Likewise.
33358         (run_program_prefix): New variable.  Use for running globtest
33359         binary.
33360
33361 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
33362             Joseph Myers  <joseph@codesourcery.com>
33363
33364         * Makeconfig (host-built-program-cmd): New variable.
33365         * elf/Makefile (tst-stackguard1-ARGS): Use
33366         $(host-built-program-cmd).
33367         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
33368         (tst-spawn-ARGS): Likewise.
33369         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
33370
33371 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
33372             Jim Blandy  <jimb@codesourcery.com>
33373
33374         * Makeconfig (run-via-rtld-prefix): New variable.
33375         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
33376         (built-program-cmd): Likewise.
33377
33378 2012-10-22  Andreas Jaeger  <aj@suse.de>
33379
33380         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
33381         __O_RSYNC if it exists, otherwise to O_SYNC.
33382
33383 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
33384             Joseph Myers  <joseph@codesourcery.com>
33385
33386         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
33387         /dev/null.
33388         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
33389         from /dev/null
33390         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
33391         /dev/null.
33392
33393 2012-10-22  Andreas Jaeger  <aj@suse.de>
33394
33395         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
33396         Define always.
33397         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
33398
33399         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33400         bits/fcntl-linux.h.
33401
33402         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
33403         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
33404
33405         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
33406         to __O_LARGEFILE.
33407         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
33408         to __O_LARGEFILE.
33409
33410 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
33411             Joseph Myers  <joseph@codesourcery.com>
33412
33413         * config.make.in (NM): New variable.
33414
33415 2012-10-21  Andreas Jaeger  <aj@suse.de>
33416
33417         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
33418         definitions and declarations that are provided by
33419         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33420
33421 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33422
33423         [BZ #14683]
33424         * elf/Makefile (tests-static): Add tst-leaks1-static.
33425         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
33426         ($(objpfx)tst-leaks1-static): New rule.
33427         ($(objpfx)tst-leaks1-static-mem): Likewise.
33428         (tst-leaks1-static-ENV): New macro.
33429         * elf/dl-open.c (dl_open_worker): Check the main application
33430         only if SHARED is defined.
33431         * elf/tst-leaks1-static.c: New file.
33432
33433 2012-10-20  Andreas Jaeger  <aj@suse.de>
33434
33435         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
33436         generic values for Linux.
33437         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
33438         and declarations that are provided by <bits/fcntl-linux.h> and
33439         include <bits/fcntl-linux.h>.
33440         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33441         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33442
33443 2012-10-20  Roland McGrath  <roland@hack.frob.com>
33444
33445         * io/fcntl.h: Move include of <bits/types.h> to the top and
33446         include it unconditionally.
33447
33448 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
33449
33450         * wcsmbs/Makefile (tests-ifunc): New variable.
33451         (tests): Add $(tests-ifunc).
33452         * wcsmbs/test-wcschr-ifunc.c: New file.
33453         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33454         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33455         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33456         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33457         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33458
33459         * string/Makefile (tests-ifunc): New variable.
33460         (tests): Add $(tests-ifunc).
33461         * string/test-memccpy.c (TEST_NAME): New macro.
33462         * string/test-memchr.c (TEST_NAME): Likewise.
33463         * string/test-memcmp.c (TEST_NAME): Likewise.
33464         * string/test-memcpy.c (TEST_NAME): Likewise.
33465         * string/test-memmem.c (TEST_NAME): Likewise.
33466         * string/test-memmove.c (TEST_NAME): Likewise.
33467         * string/test-memset.c (TEST_NAME): Likewise.
33468         * string/test-rawmemchr.c (TEST_NAME): Likewise.
33469         * string/test-stpcpy.c (TEST_NAME): Likewise.
33470         * string/test-stpncpy.c (TEST_NAME): Likewise.
33471         * string/test-strcasecmp.c (TEST_NAME): Likewise.
33472         * string/test-strcasestr.c (TEST_NAME): Likewise.
33473         * string/test-strcat.c (TEST_NAME): Likewise.
33474         * string/test-strchr.c (TEST_NAME): Likewise.
33475         * string/test-strcmp.c(TEST_NAME): Likewise.
33476         * string/test-strcpy.c (TEST_NAME): Likewise.
33477         * string/test-strcspn.c (TEST_NAME): Likewise.
33478         * string/test-strlen.c (TEST_NAME): Likewise.
33479         * string/test-strncasecmp.c (TEST_NAME): Likewise.
33480         * string/test-strncmp.c (TEST_NAME): Likewise.
33481         * string/test-strncpy.c (TEST_NAME): Likewise.
33482         * string/test-strnlen.c (TEST_NAME): Likewise.
33483         * string/test-strpbrk.c (TEST_NAME): Likewise.
33484         * string/test-strrchr.c (TEST_NAME): Likewise.
33485         * string/test-strspn.c (TEST_NAME): Likewise.
33486         * string/test-strstr.c (TEST_NAME): Likewise.
33487         * string/test-bcopy-ifunc.c: New file.
33488         * string/test-bzero-ifunc.c: Likewise.
33489         * string/test-memccpy-ifunc.c: Likewise.
33490         * string/test-memchr-ifunc.c: Likewise.
33491         * string/test-memcmp-ifunc.c: Likewise.
33492         * string/test-memcpy-ifunc.c: Likewise.
33493         * string/test-memmem-ifunc.c: Likewise.
33494         * string/test-memmove-ifunc.c: Likewise.
33495         * string/test-mempcpy-ifunc.c: Likewise.
33496         * string/test-memset-ifunc.c: Likewise.
33497         * string/test-rawmemchr-ifunc.c: Likewise.
33498         * string/test-stpcpy-ifunc.c: Likewise.
33499         * string/test-stpncpy-ifunc.c: Likewise.
33500         * string/test-strcasecmp-ifunc.c: Likewise.
33501         * string/test-strcasestr-ifunc.c: Likewise.
33502         * string/test-strcat-ifunc.c: Likewise.
33503         * string/test-strchr-ifunc.c: Likewise.
33504         * string/test-strchrnul-ifunc.c: Likewise.
33505         * string/test-strcmp-ifunc.c: Likewise.
33506         * string/test-strcpy-ifunc.c: Likewise.
33507         * string/test-strcspn-ifunc.c: Likewise.
33508         * string/test-strlen-ifunc.c: Likewise.
33509         * string/test-strncasecmp-ifunc.c: Likewise.
33510         * string/test-strncat-ifunc.c: Likewise.
33511         * string/test-strncmp-ifunc.c: Likewise.
33512         * string/test-strncpy-ifunc.c: Likewise.
33513         * string/test-strnlen-ifunc.c: Likewise.
33514         * string/test-strpbrk-ifunc.c: Likewise.
33515         * string/test-strrchr-ifunc.c: Likewise.
33516         * string/test-strspn-ifunc.c: Likewise.
33517         * string/test-strstr-ifunc.c: Likewise.
33518
33519         * debug/Makefile (tests-ifunc): New variable.
33520         (tests): Add $(tests-ifunc).
33521         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
33522         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
33523         * debug/test-stpcpy_chk-ifunc.c: New file.
33524         * debug/test-strcpy_chk-ifunc.c: Likewise.
33525
33526 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33527
33528         [BZ #13601]
33529         * elf/dl-load.c (open_verify): Retry read if the entire ELF
33530         header is not read in.
33531
33532 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
33533
33534         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
33535         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
33536         directly.  Pass built executable to script as
33537         $(built-program-cmd).
33538         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
33539         $testprogram without using LD_LIBRARY_PATH and $ldso.
33540
33541         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
33542         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
33543         $(rtld-installed-name).
33544         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
33545         (rtld_installed_name): Likewise.
33546         (library_path): Likewise.
33547         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
33548         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
33549         $(run-program-prefix) to tst-tables.sh.
33550         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
33551         it to run tst-table-from and tst-table-to.
33552         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
33553         Pass it to tst-table.sh.
33554         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
33555         $(run-program-prefix) to tst-gettext.sh.
33556         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
33557         tst-translit.sh.
33558         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
33559         tst-gettext2.sh.
33560         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
33561         to run tst-gettext.
33562         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
33563         to run tst-gettext2.
33564         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
33565         to run tst-translit.
33566         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
33567         $(run-program-prefix) to tst-mtrace.sh.
33568         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
33569         to run tst-mtrace.
33570         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
33571         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
33572         $(rtld-installed-name).
33573         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
33574         (rtld_installed_name): Likewise.
33575         (run_program_prefix): New variable.  Use it to run wordexp-test.
33576
33577         * Makeconfig (ARCH): Remove all definitions.
33578         (machine): Likewise.
33579         [ARCH]: Remove conditional code.
33580         [!objdir]: Give error.
33581         [!objdir] (objpfx): Remove.
33582         [!objdir] (common-objpfx): Likewise.
33583         [!objdir] (common-objdir): Likewise.
33584         * configure.in (config_makefile): Remove.  Hardcode Makefile in
33585         AC_CONFIG_FILES call.
33586         * configure: Regenerated.
33587
33588         [BZ #13888]
33589         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
33590         or TMPDIR.
33591         (testout): Likewise.
33592
33593         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
33594         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
33595         $(rtld-installed-name).
33596         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
33597         (rtld_installed_name): Likwise.
33598         (runit): Remove function.
33599         (run_getconf): New variable,  Use it for running getconf binary.
33600
33601 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
33602
33603         [BZ #14716]
33604         * string/test-memmem.c (check_result): New function.
33605         (do_one_test): Use it.
33606         (check1): New function.
33607         (test_main): Use it.
33608
33609 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
33610
33611         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33612
33613 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
33614
33615         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33616         (_G_LSEEK64): Likewise.
33617         (_G_MMAP64): Likewise.
33618         (_G_FSTAT64): Likewise.
33619         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33620         (_G_LSEEK64): Likewise.
33621         (_G_MMAP64): Likewise.
33622         (_G_FSTAT64): Likewise.
33623         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33624         unconditional.  Call __mmap64 directly.
33625         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33626         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
33627         __lseek64 directly.
33628         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33629         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
33630         __mmap64 directly.
33631         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33632         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33633         __lseek64 directly.
33634         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33635         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33636         __lseek64 directly.
33637         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33638         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
33639         __lseek64 directly.
33640         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33641         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
33642         __fxstat64 directly.
33643         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33644         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33645         unconditional.
33646         (freopen64) [!_G_OPEN64]: Remove conditional code.
33647         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33648         unconditional.
33649         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33650         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33651         unconditional.
33652         (ftello64) [!_G_LSEEK64]: Remove conditional code.
33653         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33654         unconditional.
33655         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33656         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33657         unconditional.
33658         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33659         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33660         unconditional.
33661         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33662         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33663         unconditional.
33664         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33665         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33666         unconditional.
33667         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33668
33669 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33670
33671         [BZ #12140]
33672         * manual/memory.texi (Malloc Tunable Parameters): Add note
33673         about free list pointers overwriting some perturb bytes.
33674         Wording suggested by Roland McGrath.
33675
33676 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
33677
33678         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33679         (lgamma_test): Likewise.
33680         (tgamma_test): Likewise.
33681
33682 2012-10-16  Florian Weimer  <fweimer@redhat.com>
33683
33684         [BZ #14700]
33685         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33686         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33687
33688 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
33689
33690         * NEWS: Mention BZ #14716.
33691         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33692         when removing AVAILABLE1_USES_J macro.
33693
33694 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
33695
33696         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33697         (__bswap_64): __uint64_t for unsigned 64-bit int.
33698
33699 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33700
33701         * include/string.h (memmem): Declare libc hidden alias.
33702         * string/memmem.c (memmem): Define libc hidden alias.
33703         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33704         __read, __close instead of open, read, close.
33705
33706 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33707
33708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33709         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33710         global and hidden.
33711         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33712         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33713         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33714         Likewise.
33715         (__rawmemchr_sse2): Likewise.
33716         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33717         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33718         (__strchr_sse2): Likewise.
33719         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33720         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33721         (__strcasecmp_sse2): Likewise.
33722         (__strncasecmp_sse2): Likewise.
33723         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33724         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33725         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33726         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33727         (__strrchr_sse2): Likewise.
33728         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33729         ifunc-impl-list.c.
33730         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33731         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33732         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33733         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33734         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33735         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33736         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33737         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33738         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33739         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33740         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33741         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33742         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33743         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33744         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33745         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33746         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33747         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33748         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33749         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33750         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33751         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33752         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33753         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33754         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33755         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33756         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33757         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33758         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33759         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33760
33761         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33762         global and hidden.
33763         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33764         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33765         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33766         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33767         Likewise.
33768         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33769         Likewise.
33770         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33771         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33772         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33773         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33774         ifunc-impl-list.c.
33775         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33776         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33777         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33778         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33779         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33780         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33781         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33782         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33783         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33784         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33785         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33786         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33787         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33788         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33789         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33790         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33791         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33792         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33793         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33794         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33795         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33796         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33797         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33798         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33799         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33800         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33801         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33802         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33803         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33804         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33805         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33806         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33807         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33808         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33809         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33810         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33811         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33812         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33813         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33814         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33815         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33816
33817         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33818         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33819         * include/ifunc-impl-list.h: New file.
33820         * misc/ifunc-impl-list.c: Likewise.
33821         * misc/Makefile (routines): Add ifunc-impl-list.
33822         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33823         * string/test-string.h: Include <ifunc-impl-list.h>.
33824         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33825         TEST_NAME]: New variables.
33826         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33827         are defined.
33828         (test_init): Call __libc_ifunc_impl_list to initialize
33829         func_list if TEST_IFUNC and TEST_NAME are defined.
33830
33831         * string/Makefile (strop-tests): Add bcopy and bzero.
33832         * string/test-bcopy.c: New file.
33833         * string/test-bzero.c: Likewise.
33834         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33835         defined.
33836         * string/test-memset.c: Support bzero test if TEST_BZERO is
33837         defined.
33838         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33839         __libc_memmove.
33840         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33841         __libc_memset.
33842         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33843         of memset.
33844
33845 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
33846
33847         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33848         * configure: Regenerated.
33849
33850         * Makeconfig (+link-static-before-libc): Don't include
33851         $(link-static-libc).
33852
33853         * libio/libio.h (_IO_pos_t): Remove.
33854
33855 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33856
33857         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
33858         McGrath.
33859
33860 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33861
33862         * crypt/crypt-entry.c: Include fips-private.h.
33863         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33864         * crypt/md5c-test.c (main): Tolerate disabled MD5.
33865         * sysdeps/unix/sysv/linux/fips-private.h: New file.
33866         * sysdeps/generic/fips-private.h: New file, dummy fallback.
33867
33868 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33869
33870         * crypt/crypt-private.h: Include stdbool.h.
33871         (_ufc_setup_salt_r): Return bool.
33872         * crypt/crypt-entry.c: Include errno.h.
33873         (__crypt_r): Return NULL with EINVAL for bad salt.
33874         * crypt/crypt_util.c (bad_for_salt): New.
33875         (_ufc_setup_salt_r): Check that salt is long enough and within
33876         the specified alphabet.
33877         * crypt/badsalttest.c: New file.
33878         * crypt/Makefile (tests): Add it.
33879         ($(objpfx)badsalttest): New.
33880
33881 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
33882
33883         * NEWS: Add entry for BZ #14602.
33884
33885 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33886
33887         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33888         type-generic.
33889         * math/libm-test.inc: Update comment listing what functions and
33890         macros are tested.
33891         (isgreater_test): New function.
33892         (isgreaterequal_test): Likewise.
33893         (isless_test): Likewise.
33894         (islessequal_test): Likewise.
33895         (islessgreater_test): Likewise.
33896         (isunordered_test): Likewise.
33897         (main): Call the new functions.
33898
33899 2012-10-09  Roland McGrath  <roland@hack.frob.com>
33900
33901         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33902         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33903         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33904         * sysdeps/i386/configure: Regenerated.
33905         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33906         * sysdeps/mach/configure: Regenerated.
33907         * sysdeps/mach/hurd/configure: Regenerated.
33908         * sysdeps/powerpc/configure: Regenerated.
33909         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33910         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33911         * sysdeps/s390/s390-32/configure: Regenerated.
33912         * sysdeps/s390/s390-64/configure: Regenerated.
33913         * sysdeps/sh/configure: Regenerated.
33914         * sysdeps/sparc/configure: Regenerated.
33915         * sysdeps/unix/sysv/linux/configure: Regenerated.
33916         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33917         * sysdeps/x86_64/configure: Regenerated.
33918
33919         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33920         defined.  Don't check if MAP is NULL.
33921
33922 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33923
33924         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33925         (_G_stat64): Likewise.
33926         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33927         (_G_stat64): Likewise.
33928         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33929         instead of struct _G_stat64.
33930         * libio/fileops.c (mmap_remap_check): Likewise.
33931         (decide_maybe_mmap): Likewise.
33932         (_IO_new_file_seekoff): Likewise.
33933         (_IO_file_stat): Likewise.
33934         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33935         _G_off64_t.
33936         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33937         instead of struct _G_stat64.
33938         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33939
33940 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
33941
33942         [BZ #14602]
33943         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33944         Replace with ...
33945         (CHECK_EOL): New macro.
33946         (two_way_short_needle): Check beginning of haystack for EOL.  Use
33947         CHECK_EOL.
33948         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33949         Replace with CHECK_EOL.
33950         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33951         Replace with CHECK_EOL.
33952
33953 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
33954
33955         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33956         type-generic.
33957         * math/libm-test.inc: Update comment listing what functions and
33958         macros are tested.
33959         (finite_test): New function.
33960         (isinf_test): Likewise.
33961         (isnan_test): Likewise.
33962         (fpclassify_test): Test subnormal input.
33963         (isfinite_test): Likewise.
33964         (isnormal_test): Likewise.
33965         (main): Call the new functions.
33966
33967 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
33968
33969         [BZ #14660]
33970         * Makerules (%.dynsym): Force C locale when running
33971         $(OBJDUMP) --dynamic-syms.
33972
33973 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
33974
33975         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33976         <stdint.h>.
33977
33978 2012-10-06  David S. Miller  <davem@davemloft.net>
33979
33980         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33981         upper 32-bits of the length value in %o2 since we use branch-on-register
33982         tests which consider the entire 64-bit register.
33983
33984 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
33985
33986         * string/test-strstr.c (check2): Add a test for page boundary.
33987
33988 2012-10-05  David S. Miller  <davem@davemloft.net>
33989
33990         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33991         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33992         file.
33993         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33994         sysdep_routines.
33995         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33996         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33997         and bzero when HWCAP_SPARC_CRYPTO is present.
33998
33999 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34000
34001         [BZ #14602]
34002         * string/test-strstr.c (check2): New function.
34003         (test_main): Call check2.
34004
34005         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34006         and bug-strchr1.
34007         * string/bug-strcasestr1.c (do_test): Moved to ...
34008         * string/test-strcasestr.c (check1): Here.  New function.
34009         (do_one_test): Break out result checking code into ...
34010         (check_result): This.  New function.
34011         (do_one_test): Call check_result.
34012         (test_main): Call check1.
34013         * string/bug-strchr1.c (do_test): Moved to ...
34014         * string/test-strchr.c (check1): Here.  New function.
34015         (do_one_test): Break out result checking code into ...
34016         (check_result): This.  New function.
34017         (do_one_test): Call check_result.
34018         (test_main): Call check1.
34019         * string/bug-strstr1.c (main): Moved to ...
34020         * string/test-strstr.c (check1): Here.  New function.
34021         (do_one_test): Break out result checking code into ...
34022         (check_result): This.  New function.
34023         (do_one_test): Call check_result.
34024         (test_main): Call check1.
34025         * string/bug-strcasestr1.c: Removed.
34026         * string/bug-strchr1.c: Likewise.
34027         * string/bug-strstr1.c: Likewise.
34028
34029         * elf/Makefile (dl-routines): Add hwcaps.
34030         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34031         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34032         (_dl_important_hwcaps): Moved to ...
34033         * elf/dl-hwcaps.c: Here.  New file.
34034         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34035
34036         [BZ #14557]
34037         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34038         if IS_IN_rtld isn't defined.
34039
34040         * elf/dl-support.c (_dl_sysinfo_map): New.
34041         Include "get-dynamic-info.h" and "setup-vdso.h".
34042         (_dl_non_dynamic_init): Call setup_vdso.
34043         * elf/dynamic-link.h: Don't include <assert.h>.
34044         (elf_get_dynamic_info): Moved to ...
34045         * elf/get-dynamic-info.h: Here.  New file.
34046         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34047         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34048         * elf/setup-vdso.h: Here.  New file.
34049         * elf/rtld.c: Include "setup-vdso.h".
34050         (dl_main): Call setup_vdso.
34051
34052 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34053
34054         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34055         creal in comment listing functions tested.  List finite, isinf,
34056         isnan, isless, islessequal, isgreater, isgreaterequal,
34057         islessgreater, isunordered, lgamma_r and pow10 as functions and
34058         macros not tested.  Mention which functions not tested are aliases
34059         for other functions.  Fix typo.  Note that signs of NaNs are not
34060         tested.
34061
34062         * scripts/config.guess: Update from config.git.
34063         * scripts/config.sub: Likewise.
34064
34065 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34066
34067         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34068         * misc/madvise.c (madvise): Renamed to __madvise.
34069         Make madvise a weak alias.
34070         * include/sys/mman.h: Declare __madvise.
34071         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34072         * sysdeps/unix/syscalls.list
34073         (madvise): Make __madvise the strong name, and madvise a weak alias.
34074         * sysdeps/unix/sysv/linux/syscalls.list
34075         (madvise, mmap): Remove redundant entries.
34076         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34077         * malloc/malloc.c (mtrim): Likewise.
34078         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34079
34080 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34081
34082         * sysdeps/mach/hurd/dl-cache.c: File removed.
34083         * config.h.in (USE_LDCONFIG): New #undef.
34084         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34085         * configure: Regenerated.
34086         * elf/Makefile (dl-routines): Add dl-cache only under
34087         [$(use-ldconfig) = yes].
34088         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34089         cache on [USE_LDCONFIG].
34090         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34091         [USE_LDCONFIG].
34092         * elf/rtld.c (dl_main): Likewise.
34093
34094 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34095
34096         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34097         _SC_LEVEL4_CACHE_LINESIZE.
34098
34099 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34100
34101         * sysdeps/unix/bsd/confstr.h: File removed.
34102
34103 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34104
34105         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34106         sys/sdt-config.h.
34107
34108 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34109
34110         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34111         Make 'mapoff' field ElfW(Off) rather than off_t.
34112
34113 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34114
34115         * nscd/Makefile: Remove nscd-cflags and all its users.
34116         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34117         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34118
34119         [BZ #10631]
34120         * malloc.c (malloc_printerr): Clarify error message.
34121
34122 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34123
34124         [BZ #14648]
34125         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34126         Set bit_FMA_Usable if FMA is supported.
34127         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34128         macro.
34129         (bit_FMA4_Usable): Updated.
34130         (index_FMA_Usable): New macro.
34131         (CPUID_FMA): Likewise
34132         (HAS_FMA): Defined with bit_FMA_Usable.
34133
34134 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34135
34136         * bits/types.h (__swblk_t): Type removed.
34137         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34138         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34139         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34140         (__SWBLK_T_TYPE): Likewise.
34141         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34142         (__SWBLK_T_TYPE): Likewise.
34143         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34144         (__SWBLK_T_TYPE): Likewise.
34145         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34146         (__SWBLK_T_TYPE): Likewise.
34147
34148 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34149             Honza Horak <hhorak@redhat.com>
34150
34151         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34152         (xdr_mapname): Use YPMAXMAP as maxsize.
34153         (xdr_peername): Use YPMAXPEER as maxsize.
34154         (xdr_keydat): Use YPAXRECORD as maxsize.
34155         (xdr_valdat): Use YPMAXRECORD as maxsize.
34156
34157 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34158
34159         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34160
34161         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34162         * csu/init-first.c: ... here.
34163         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34164         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34165         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34166         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34167         * sysdeps/i386/init-first.c: File removed.
34168         * sysdeps/sh/init-first.c: File removed.
34169
34170 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34171
34172         [BZ #14645]
34173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34174         if x * y might underflow to zero and z is zero.
34175         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34176         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34177         * math/libm-test.inc (min_subnorm_value): New variable.
34178         (fma_test): Add more tests.
34179         (fma_test_towardzero): Likewise.
34180         (fma_test_downward): Likewise
34181         (fma_test_upward): Likewise.
34182         (initialize): Set min_subnorm_value.
34183
34184 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
34185
34186         [BZ #14638]
34187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
34188         0 + 0.
34189         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
34190         mode for addition resulting in exact zero.
34191         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
34192         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
34193         exact 0 + 0.
34194         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34195         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34196         * math/libm-test.inc (fma_test): Add more tests.
34197         (fma_test_towardzero): New function.
34198         (fma_test_downward): Likewise.
34199         (fma_test_upward): Likewise.
34200         (main): Call the new functions.
34201
34202 2012-09-28  David S. Miller  <davem@davemloft.net>
34203
34204         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
34205
34206 2012-09-28  Roland McGrath  <roland@hack.frob.com>
34207
34208         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
34209         instead of SIGALRM.
34210
34211         * sysdeps/gnu/_G_config.h: Moved to ...
34212         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
34213         * sysdeps/mach/hurd/_G_config.h: Moved to ...
34214         * sysdeps/generic/_G_config.h: ... here.
34215
34216         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
34217
34218         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
34219
34220         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
34221         Conditionalize target on [libnss_test1.so-version].
34222
34223         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
34224
34225         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
34226         (elfobjdir): Move out of conditionals.
34227
34228         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
34229         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
34230         (__nss_lookup_function): Conditionalize label remove_from_tree on
34231         [!DO_STATIC_NSS || SHARED], matching its only use.
34232
34233 2012-09-28  David S. Miller  <davem@davemloft.net>
34234
34235         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
34236         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
34237         file.
34238         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34239         sysdep_routines.
34240         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34241         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
34242         when HWCAP_SPARC_CRYPTO is present.
34243
34244 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34245
34246         * io/tst-mknodat.c: Create a FIFO instead of a socket.
34247
34248 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
34249
34250         [BZ #6530]
34251         * stdio-common/vfprintf.c (process_string_arg): Revert
34252         2000-07-22 change.
34253
34254 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
34255
34256         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
34257         for testcase.
34258         * stdio-common/tst-sprintf.c: Include <locale.h>
34259         (main): Test sprintf's handling of incomplete multibyte
34260         characters.
34261
34262 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
34263
34264         * elf/dl-runtime.c (VERSYMIDX): Removed.
34265         * elf/dl-version.c (VERSYMIDX): Likewise.
34266         * elf/do-rel.h (VERSYMIDX): Likewise.
34267         (VALIDX): Likewise.
34268         * elf/dynamic-link.h (VERSYMIDX): Likewise.
34269         * elf/rtld.c (VALIDX): Likewise.
34270         (ADDRIDX): Likewise.
34271         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
34272         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
34273         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
34274         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
34275         (VALIDX): Likewise.
34276         (ADDRIDX): Likewise.
34277
34278 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34279
34280         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
34281
34282 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
34283
34284         [BZ #11438]
34285         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
34286         to global scope.
34287         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
34288         addresses are in the same scope as 192.0.2/24.
34289         * posix/gai.conf: Document new scope table defaults.
34290
34291 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34292
34293         [BZ #5298]
34294         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
34295         for ftell.  Compute offsets from write pointers instead.
34296         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34297
34298 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34299
34300         [BZ #14543]
34301         * libio/Makefile (tests): New test case tst-fseek.
34302         * libio/tst-fseek.c: New test case to verify that fseek/ftell
34303         combination works in wide mode.
34304         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
34305         state when the external buffer state changes.
34306
34307 2012-09-27  David S. Miller  <davem@davemloft.net>
34308
34309         [BZ #14376]
34310         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
34311         pass reloc->r_addend in as the 'high' argument to
34312         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
34313
34314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34315
34316 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
34317
34318         * rt/tst-aio2.c: Include <pthread.h>.
34319         * rt/tst-aio3.c: Likewise.
34320
34321 2012-09-27  Steve Ellcey  <sellcey@mips.com>
34322
34323         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
34324
34325 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
34326
34327         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
34328         contents on [SHARED].
34329
34330 2012-09-26  Marek Polacek  <polacek@redhat.com>
34331
34332         [BZ #14530]
34333         [BZ #13741]
34334         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
34335         for C++ and GCC <4.3 as well as for non GCC compilers.
34336
34337 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
34338
34339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34340
34341 2012-09-25  Roland McGrath  <roland@hack.frob.com>
34342
34343         * Makefile.in (all, install): Declare with .PHONY.
34344         Reported by Michael Hope <michael.hope@linaro.org>.
34345
34346 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
34347
34348         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
34349         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
34350         system header.
34351         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
34352         Likewise.
34353         (sydep_routines): Add the new and the internal functions.
34354         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
34355         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
34356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
34357         (GLIBC_2.17): Add the new function.
34358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
34359         (GLIBC_2.17): Likewise.
34360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
34361         (GLIBC_2.17): Likewise.
34362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
34363         (GLIBC_2.17): Likewise.
34364         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
34365
34366 2012-09-25  Alan Modra  <amodra@gmail.com>
34367
34368         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
34369         Add release barrier before setting once_control to say
34370         initialisation is done.  Add hints on lwarx.  Use macro in
34371         place of isync.
34372         (clear_once_control): Add release barrier.
34373
34374 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34375
34376         [BZ #13629]
34377         * math/s_clog.c (__clog): Handle more values close to |z| = 1
34378         specially.
34379         * math/s_clog10.c (__clog10): Likewise.
34380         * math/s_clog10f.c (__clog10f): Likewise.
34381         * math/s_clog10l.c (__clog10l): Likewise.
34382         * math/s_clogf.c (__clogf): Likewise.
34383         * math/s_clogl.c (__clogl): Likewise.
34384         * math/Makefile (libm-calls): Add x2y2m1.
34385         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
34386         (__x2y2m1): Likewise.
34387         (__x2y2m1l): Likewise.
34388         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
34389         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
34390         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
34391         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
34392         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
34393         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
34394         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
34395         * sysdeps/i386/fpu/libm-test-ulps: Update.
34396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34397
34398         [BZ #14621]
34399         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
34400         int as type of variable DEPTH.
34401         (glob): Use size_t instead of int as type of variables NEWCOUNT
34402         and OLD_PATHC.
34403
34404 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34405
34406         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34407         Add s_sincosf-sse2.
34408         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
34409         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
34410         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
34411         macros for using routine as __sincosf_ia32.
34412         Use macro for function declaration and weak_alias.
34413         * sysdeps/i386/fpu/libm-test-ulps: Update.
34414
34415         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
34416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34417
34418         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
34419         subnormal argument.
34420         * math/s_cexpf.c (__cexpf): Likewise.
34421         * math/s_csinf.c (__csinf): Likewise.
34422         * math/s_csinhf.c (__csinhf): Likewise.
34423         * math/s_ctanf.c (__ctanf): Likewise.
34424         * math/s_ctanhf.c (__ctanhf): Likewise.
34425         * math/s_ccosh.c (__ccoshf): Likewise.
34426         * math/s_cexp.c (__cexpl): Likewise.
34427         * math/s_csin.c (__csin): Likewise.
34428         * math/s_csinh.c (__csinh): Likewise.
34429         * math/s_ctan.c (__ctan): Likewise.
34430         * math/s_ctanh.c (ctanh): Likewise.
34431         * math/s_ccoshl.c (__ccoshl): Likewise.
34432         * math/s_cexpl.c (__cexpl): Likewise.
34433         * math/s_csinl.c (__csinl): Likewise.
34434         * math/s_csinhl.c (__csinhl): Likewise.
34435         * math/s_ctanl.c (__ctanl): Likewise.
34436         * math/s_ctanhl.c (__ctanhl): Likewise.
34437
34438 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
34439
34440         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
34441         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
34442         (_IO_off_t): Define to __off_t, not _G_off_t.
34443         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
34444         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
34445         (_IO_wint_t): Define to wint_t, not _G_wint_t.
34446         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
34447         type of __dummy and __dummy2 fields.
34448         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
34449         (_G_ssize_t): Likewise.
34450         (_G_off_t): Likewise.
34451         (_G_pid_t): Likewise.
34452         (_G_uid_t): Likewise.
34453         (_G_wchar_t): Likewise.
34454         (_G_wint_t): Likewise.
34455         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
34456         (_G_ssize_t): Likewise.
34457         (_G_off_t): Likewise.
34458         (_G_pid_t): Likewise.
34459         (_G_uid_t): Likewise.
34460         (_G_wchar_t): Likewise.
34461         (_G_wint_t): Likewise.
34462         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
34463         (_G_ssize_t): Likewise.
34464         (_G_off_t): Likewise.
34465         (_G_pid_t): Likewise.
34466         (_G_uid_t): Likewise.
34467         (_G_wchar_t): Likewise.
34468         (_G_wint_t): Likewise.
34469
34470 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34471
34472         * malloc/arena.c: Include malloc-sysdep.h.
34473         (shrink_heap): Use check_may_shrink_heap to decide if madvise
34474         is sufficient to shrink the heap or an unmap is needed.
34475         * sysdeps/generic/malloc-sysdep.h: New file.  Define
34476         new function check_may_shrink_heap.
34477         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
34478         new function check_may_shrink_heap.
34479
34480 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34481
34482         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
34483         comments.
34484
34485 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
34486
34487         * catgets/test-gencat.sh: Add "set -e".
34488         * elf/tst-pathopt.sh: Likewise.
34489         * grp/tst_fgetgrent.sh: Likewise.
34490         * iconvdata/run-iconv-test.sh: Likewise.
34491         * intl/tst-gettext.sh: Likewise.
34492         * intl/tst-gettext2.sh: Likewise.
34493         * intl/tst-gettext4.sh: Likewise.
34494         * intl/tst-gettext6.sh: Likewise.
34495         * intl/tst-translit.sh: Likewise.
34496         * io/ftwtest-sh: Likewise.
34497         * libio/test-freopen.sh: Likewise.
34498         * malloc/tst-mtrace.sh: Likewise.
34499         * posix/globtest.sh: Likewise.
34500         * posix/tst-getconf.sh: Likewise.
34501         * posix/wordexp-tst.sh: Likewise.
34502         * stdio-common/tst-printf.sh: Likewise.
34503         * stdio-common/tst-unbputc.sh: Likewise.
34504         * stdlib/tst-fmtmsg.sh: Likewise.
34505         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34506         * catgets/Makefile: Do not specify -e option when running
34507         testsuite shell scripts.
34508         * elf/Makefile: Likewise.
34509         * grp/Makefile: Likewise.
34510         * iconvdata/Makefile: Likewise.
34511         * intl/Makefile: Likewise.
34512         * io/Makefile: Likewise.
34513         * libio/Makefile: Likewise.
34514         * malloc/Makefile: Likewise.
34515         * posix/Makefile: Likewise.
34516         * stdio-common/Makefile: Likewise.
34517         * stdlib/Makefile: Likewise.
34518         * sysdeps/x86_64/Makefile: Likewise.
34519
34520         * io/ftwtest-sh: Add copyright header.
34521         * posix/globtest.sh: Likewise.
34522         * posix/tst-getconf.sh: Likewise.
34523         * posix/wordexp-tst.sh: Likewise.
34524         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
34525
34526 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
34527
34528         [BZ #13679]
34529         * Makeconfig (+link): Defined as $(+link-static) if
34530         $(build-shared) isn't yes.
34531         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
34532         isn't yes.
34533         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
34534
34535         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
34536
34537         [BZ #14562]
34538         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
34539         new chunk size with MALLOC_ALIGN_MASK.
34540
34541 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
34542
34543         [BZ #5044]
34544         * stdio-common/printf_fphex.c: Include <stdbool.h> and
34545         <rounding-mode.h>.
34546         (__printf_fphex): Determine rounding using get_rounding_mode and
34547         round_away.
34548         * stdio-common/tst-printf-round.c (struct hex_test): New
34549         structure.
34550         (hex_tests): New variable.
34551         (test_hex_in_one_mode): New function.
34552         (do_test): Also run tests for hex float output.
34553
34554 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
34555
34556         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34557         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34558         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
34559         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
34560         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
34561         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
34562         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34563         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
34564
34565 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
34566
34567         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
34568         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
34569         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
34570         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
34571
34572 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
34573
34574         [BZ #14579]
34575         * elf/rtld.c (dl_main): Limit the check for self loading to normal
34576         mode only.
34577         * elf/tst-rtld-load-self.sh: New test.
34578         * elf/Makefile: Run it.
34579
34580 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
34581
34582         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
34583         (tst-writev-ENV): Remove.
34584         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
34585
34586 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
34587
34588         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
34589
34590 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
34591
34592         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
34593         unconditional.
34594         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
34595         Likewise.
34596         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
34597         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
34598         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
34599         Likewise.
34600
34601 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
34602
34603         [BZ #14587]
34604         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
34605         * config.make.in (have-cpp-asm-debuginfo): Removed.
34606         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
34607         * configure: Regenerated.
34608
34609 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
34610
34611         [BZ #5044]
34612         * stdio-common/printf_fp.c: Include <stdbool.h> and
34613         <rounding-mode.h>.
34614         (___printf_fp): Determine rounding using get_rounding_mode and
34615         round_away.
34616         * stdio-common/tst-printf-round.c: New file.
34617         * stdio-common/Makefile (tests): Add tst-printf-round.
34618         (link-libm): New variable.
34619         ($(objpfx)tst-printf-round): Depend in $(link-libm).
34620
34621 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
34622
34623         [BZ #14576]
34624         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34625         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34626         Likewise.
34627         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34628         Likewise.
34629
34630 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
34631
34632         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34633         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34634         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34635         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34636
34637 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
34638
34639         [BZ #14518]
34640         * include/rounding-mode.h: New file.
34641         * sysdeps/generic/get-rounding-mode.h: Likewise.
34642         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34643         * stdlib/strtod_l.c: Include <rounding-mode.h>.
34644         (MAX_VALUE): New macro.
34645         (MIN_VALUE): Likewise.
34646         (overflow_value): New function.
34647         (underflow_value): Likewise.
34648         (round_and_return): Use overflow_value and underflow_value to
34649         determine return values in overflow and underflow cases.  Use
34650         round_away to determine rounding depending on rounding mode.
34651         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34652         determine return values in overflow and underflow cases.
34653         * stdlib/tst-strtod-round.c: Include <fenv.h>.
34654         (struct test_results): New structure.
34655         (struct test): Use struct test_results to store expected results
34656         for all rounding modes.
34657         (TEST): Include expected results for all rounding modes.
34658         (test_in_one_mode): New function.
34659         (do_test): Use test_in_one_mode to compute and check results.
34660         Check results for all rounding modes.
34661         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34662         $(link-libm).
34663
34664 2012-12-09  Allan McRae  <allan@archlinux.org>
34665
34666         * sysdeps/i386/fpu/libm-test-ulps: Update
34667
34668 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
34669
34670         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34671         (_G_int32_t): Likewise.
34672         (_G_uint16_t): Likewise.
34673         (_G_uint32_t): Likewise.
34674         (_G_HAVE_BOOL): Likewise.
34675         (_G_HAVE_ATEXIT): Likewise.
34676         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34677         (_G_HAVE_IO_FILE_OPEN): Likewise.
34678         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34679         (_G_int32_t): Likewise.
34680         (_G_uint16_t): Likewise.
34681         (_G_uint32_t): Likewise.
34682         (_G_HAVE_BOOL): Likewise.
34683         (_G_HAVE_ATEXIT): Likewise.
34684         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34685         (_G_HAVE_IO_FILE_OPEN): Likewise.
34686         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34687         (_G_int32_t): Likewise.
34688         (_G_uint16_t): Likewise.
34689         (_G_uint32_t): Likewise.
34690         (_G_HAVE_BOOL): Likewise.
34691         (_G_HAVE_ATEXIT): Likewise.
34692         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34693         (_G_HAVE_IO_FILE_OPEN): Likewise.
34694
34695 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
34696
34697         * csu/libc-tls.c: Update copyright years.
34698
34699 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34700
34701         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34702         [!_G_USING_THUNKS]: Remove conditional code.
34703         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34704         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34705
34706         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34707         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34708         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34709         (_G_VTABLE_LABEL_PREFIX): Likewise.
34710         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34711         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34712         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34713         (_G_VTABLE_LABEL_PREFIX): Likewise.
34714         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34715         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34716         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34717         (_G_VTABLE_LABEL_PREFIX): Likewise.
34718         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34719
34720 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
34721
34722         * libio/Makefile: Include ../Makeconfig before tests.
34723         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34724         only if $(build-shared) is yes.
34725
34726         * iconv/gconv_db.c: Update copyright years.
34727
34728 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34729
34730         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34731         unwind info if defined PIC. Fix special cases description.
34732         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34733
34734         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34735         DP_HI_MASK entry.
34736         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34737
34738 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
34739
34740         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34741
34742         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34743         is NULL.
34744
34745         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34746         (LDLIBS-tst-chk4): This.
34747         (LDFLAGS-tst-chk5): Renamed to ...
34748         (LDLIBS-tst-chk5): This.
34749         (LDFLAGS-tst-chk6): Renamed to ...
34750         (LDLIBS-tst-chk6): This.
34751         (LDFLAGS-tst-lfschk4): Renamed to ...
34752         (LDLIBS-tst-lfschk4): This.
34753         (LDFLAGS-tst-lfschk5): Renamed to ...
34754         (LDLIBS-tst-lfschk5): This.
34755         (LDFLAGS-tst-lfschk6): Renamed to ...
34756         (LDLIBS-tst-lfschk6): This.
34757
34758         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34759         on $(common-objpfx)soversions.mk.
34760
34761 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
34762
34763         [BZ #10014]
34764         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34765         example host name.
34766
34767 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34768
34769         * malloc/arena.c (arena_get_retry): New function that gets
34770         another arena for the caller to try its request on.
34771         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34772         current arena cannot fulfill the request.
34773         (__libc_memalign): Likewise.
34774         (__libc_memalign): Likewise.
34775         (__libc_pvalloc): Likewise.
34776         (__libc_calloc): Likewise.
34777
34778 2012-09-05  John Tobey  <john.tobey@gmail.com>
34779
34780         [BZ #13542]
34781         * manual/arith.texi (Operations on Complex): Fix description
34782         of carg branch cut.
34783
34784 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34785
34786         [BZ #10014]
34787         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34788         host name.
34789
34790         [BZ #10038]
34791         * manual/memory.texi (Memory): Make order of menu items match
34792         order of sections.
34793
34794 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34795
34796         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34797         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
34798         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34799
34800 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34801
34802         * csu/libc-tls.c (static_dtv): Renamed to ...
34803         (_dl_static_dtv): This.  Make it global.
34804         (_dl_initial_dtv): Removed.
34805         (__libc_setup_tls): Updated.
34806         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34807         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34808         DL_INITIAL_DTV.
34809
34810 2012-09-06  Petr Machata  <pmachata@redhat.com>
34811
34812         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34813         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34814         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34815         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34816
34817 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34818
34819         [BZ #14545]
34820         * csu/libc-tls.c (_dl_initial_dtv): New variable.
34821         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34822         freeing dtv[-1].
34823
34824 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34825
34826         [BZ #14544]
34827         * Makeconfig (link-static-before-libc): Replace $(+prector)
34828         with $(+prectorT).
34829         (link-static-after-libc): Replace $(+postctor) with
34830         $(+postctorT).
34831         (link-bounded): Replace $(+prector)/$(+postctor) with
34832         $(+prectorT)/$(+postctorT).
34833         (+prectorT): New macro.
34834         (+postctorT): Likewise.
34835
34836 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34837
34838         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34839         (round_str): Handle values above the maximum for IBM long double
34840         as inexact.
34841         * stdlib/tst-strtod-round.c (tests): Regenerated.
34842
34843 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34844
34845         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34846         assembler flag.
34847         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34848         zarch_nohighgprs around the zarch optimized routines.
34849         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34850         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34851         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34852         for zarch.
34853
34854 2012-09-05  David S. Miller  <davem@davemloft.net>
34855
34856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34857
34858         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34859         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34860         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34861         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34862         entries.
34863
34864 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34865
34866         * malloc/arena.c: Fold copyright years.
34867         * malloc/mcheck.c, malloc/memusage.c: Likewise.
34868
34869 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34870
34871         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34872
34873 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34874
34875         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
34876
34877 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34878
34879         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34880         change internal state upon failure.
34881
34882 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34883
34884         * malloc/mcheck.c (mcheck_check_all): Fix typo.
34885         * malloc/memusage.c (mmap): Likewise.
34886         (mmap64, mremap): Likewise.  Adjust name in comment.
34887
34888 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34889
34890         * libio/fileops.c: Fix typos in comments.
34891         * libio/oldfileops.c: Likewise.
34892         * libio/wfileops.c: Likewise.
34893
34894 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34895
34896         [BZ #1349]
34897         * malloc/Makefile (tests): Add tst-malloc-usable test case.
34898         (tst-malloc-usable-ENV): Set environment for test case.
34899         * malloc/hooks.c (malloc_check_get_size): New function to get
34900         requested size.
34901         * malloc/malloc.c (musable): Use malloc_check_get_size.
34902         * malloc/tst-malloc-usable.c: New test case.
34903
34904 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34905
34906         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34907
34908 2012-09-05  Allan McRae  <allan@archlinux.org>
34909
34910         [BZ #13966]
34911         * configure.in (CXX_SYSINCLUDES): Use compiler output to
34912         determine header location.
34913         * configure: Regenerated.
34914
34915 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34916
34917         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34918         float format.
34919         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34920         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34921         format.
34922         (test): Regenerate.
34923
34924 2012-09-04  David S. Miller  <davem@davemloft.net>
34925
34926         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34927         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34928         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34929
34930 2012-09-04  Florian Weimer  <fweimer@redhat.com>
34931
34932         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34933         failures.
34934
34935         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34936
34937 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
34938
34939         [BZ #9914]
34940         * libio/iogetdelim.c: Include <limits.h>.
34941         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34942         + len + 1 would overflow.
34943
34944 2012-09-03  Andreas Jaeger  <aj@suse.de>
34945
34946         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34947         * sysdeps/i386/fpu/libm-test-ulps: Update.
34948
34949 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34950
34951         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34952         Add s_sinf-sse2, s_conf-sse2.
34953
34954         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34955         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34956         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34957         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34958
34959         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34960         for using routine as __sinf_ia32.
34961         Use macro for function declaration and weak_alias.
34962         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34963         for using routine as __cosf_ia32.
34964         Use macro for function declaration and weak_alias.
34965
34966         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34967         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34968
34969         * sysdeps/x86_64/fpu/s_sinf.S: New file.
34970         * sysdeps/x86_64/fpu/s_cosf.S: New file.
34971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34972
34973         * math/libm-test.inc (cos_test): Add more test cases.
34974         (sin_test): Likewise.
34975         (sincos_test): Likewise.
34976
34977 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34978
34979         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34980         (IFUNC_RESOLVE): Make pointers to the specialized implementations
34981         hidden.
34982         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34983
34984 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
34985
34986         [BZ #14538]
34987         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34988         first element of the GOT.
34989         (elf_machine_load_address): Return the difference between
34990         the runtime address of _DYNAMIC and elf_machine_dynamic ().
34991
34992 2012-09-01  Allan McRae  <allan@archlinux.org>
34993
34994         [BZ #13412]
34995         * configure.in (AWK): Require gawk version 3.0 or later.
34996         * configure: Regenerated.
34997
34998 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
34999
35000         * sysdeps/unix/sysv/linux/kernel-features.h
35001         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35002         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35003         [__NR_clock_getres]: Make code unconditional.
35004         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35005         (clock_getcpuclockid): Remove code left unreachable by removal of
35006         conditionals.
35007         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35008         code unconditional.
35009         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35010         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35011         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35012         Make code unconditional.
35013         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35014         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35015         * sysdeps/unix/sysv/linux/clock_settime.c
35016         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35017         conditional code.
35018         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35019         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35020
35021 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35022
35023         [BZ #14476]
35024         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35025         scripts/test-installation.pl.
35026
35027         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35028         and $ld_so_version if it is set.
35029
35030 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35031
35032         [BZ #14516]
35033         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35034         failure if reading from procfs failed.
35035         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35036
35037 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35038
35039         * sysdeps/unix/sysv/linux/kernel-features.h
35040         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35041         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35042         Remove conditional code.
35043         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35044         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35045         Remove conditional code.
35046         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35047         * sysdeps/unix/sysv/linux/i386/fxstat.c
35048         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35049         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35050         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35051         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35052         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35053         * sysdeps/unix/sysv/linux/i386/lxstat.c
35054         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35055         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35056         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35057         Remove conditional code.
35058         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35059         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35060         Remove conditional code.
35061         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35062         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35063         <kernel-features.h>.
35064         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35065         Remove.
35066         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35067         Remove conditional code.
35068         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35069         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35070         Remove conditional.
35071
35072 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35073
35074         [BZ #5400]
35075         * NEWS: Add fixed bug number.
35076
35077 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35078
35079         [BZ #14519]
35080         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35081         underflowing exponent in case of negative sign.
35082         * stdlib/tst-strtod-round-data: Add more tests.
35083         * stdlib/tst-strtod-round.c (tests): Regenerated.
35084
35085         [BZ #3479]
35086         * stdlib/strtod_l.c (NDIG): Remove.
35087         (HEXNDIG): Likewise.
35088         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35089         smallest representable value.
35090         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35091         lie within an exact representation of 1/2 ulp of the result.
35092         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35093         unconditionally.
35094         (TENS_P9_IDX): Define unconditionally.
35095         (TENS_P9_SIZE): Likewise.
35096         (TENS_P10_IDX): Likewise.
35097         (TENS_P10_SIZE): Likewise.
35098         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35099         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35100         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35101         entries for 10^2^13 and 10^2^14.
35102         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35103         (TENS_P13_IDX): Define.
35104         (TENS_P13_SIZE): Likewise.
35105         (TENS_P14_IDX): Likewise.
35106         (TENS_P14_SIZE): Likewise.
35107         (_fpioconst_pow10): Change array size to
35108         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35109         unconditional.
35110         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35111         1024]: Add entries for 10^2^13 and 10^2^14.
35112         [LAST_POW10 > _LAST_POW10]: Remove #error.
35113         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35114         (_fpioconst_pow10): Change array size to
35115         FPIOCONST_POW10_ARRAY_SIZE.
35116         * stdlib/gen-fpioconst.c: New file.
35117         * stdlib/gen-tst-strtod-round.c: Likewise.
35118         * stdlib/tst-strtod-round-data: Likewise.
35119         * stdlib/tst-strtod-round.c: Likewise.
35120         * stdlib/Makefile (tests): Add tst-strtod-round.
35121
35122         [BZ #14459]
35123         * stdlib/strtod_l.c: Include <stdint.h>.
35124         (NDEBUG): Do not define.
35125         (round_and_return): Change EXPONENT parameter to type intmax_t.
35126         Rearrange calculations to avoid internal overflow possibilities.
35127         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35128         Rearrange calculations to avoid internal overflow possibilities.
35129         Assert that number fits inside MPNSIZE limbs.
35130         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35131         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35132         calculations and add assertions to avoid internal overflow
35133         possibilities.  Add casts to avoid signed/unsigned operations.
35134         * stdlib/tst-strtod-overflow.c: New file.
35135         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35136
35137 2012-08-25  Marek Polacek  <polacek@redhat.com>
35138
35139         * time/time.h: Fix some typos in comments.
35140
35141 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35142
35143         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35144         * posix/tst-rfc3484-2.c: Likewise.
35145         * posix/tst-rfc3484-3.c: Likewise.
35146
35147 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35148
35149         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35150         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35151
35152 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35153
35154         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35155         #include of fxstatat64.c.
35156
35157 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35158
35159         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35160         * shadow/getspent_r.c: Likewise.
35161         * shadow/getspnam.c: Likewise.
35162         * shadow/getspnam_r.c: Likewise.
35163         * gshadow/getsgent.c: Likewise.
35164         * gshadow/getsgent_r.c: Likewise.
35165         * gshadow/getsgnam.c: Likewise.
35166         * gshadow/getsgnam_r.c: Likewise.
35167         * inet/getnetbyad.c: Likewise.
35168         * inet/getnetbyad_r.c: Likewise.
35169         * inet/getnetbynm.c: Likewise.
35170         * inet/getnetbynm_r.c: Likewise.
35171         * inet/getnetent.c: Likewise.
35172         * inet/getnetent_r.c: Likewise.
35173         * inet/getproto.c: Likewise.
35174         * inet/getproto_r.c: Likewise.
35175         * inet/getprtent.c: Likewise.
35176         * inet/getprtent_r.c: Likewise.
35177         * inet/getprtname.c: Likewise.
35178         * inet/getprtname_r.c: Likewise.
35179         * inet/getrpcbyname.c: Likewise.
35180         * inet/getrpcbyname_r.c: Likewise.
35181         * inet/getrpcbynumber.c: Likewise.
35182         * inet/getrpcbynumber_r.c: Likewise.
35183         * inet/getrpcent.c: Likewise.
35184         * inet/getrpcent_r.c: Likewise.
35185         * inet/getaliasent.c: Likewise.
35186         * inet/getaliasent_r.c: Likewise.
35187         * inet/getaliasname.c: Likewise.
35188         * inet/getaliasname_r.c: Likewise.
35189         * nscd/getgrgid_r.c: Likewise.
35190         * nscd/getgrnam_r.c: Likewise.
35191         * nscd/gethstbyad_r.c: Likewise.
35192         * nscd/gethstbynm3_r.c: Likewise.
35193         * nscd/getpwnam_r.c: Likewise.
35194         * nscd/getpwuid_r.c: Likewise.
35195         * nscd/getsrvbynm_r.c: Likewise.
35196         * nscd/getsrvbypt_r.c: Likewise.
35197         * nscd/gai.c: Likewise.
35198
35199         * configure.in (build_nscd): New substituted variable, set
35200         by --disable-build-nscd and defaults to $use_nscd.
35201         * configure: Regenerated.
35202         * config.make.in (build-nscd): New substituted variable.
35203         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
35204         Change conditional to require [$(build-nscd) = yes] as well.
35205         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
35206
35207         [BZ# 13696]
35208         * configure.in (use_nscd): New substituted variable, set by
35209         --disable-nscd.  If enabled, define USE_NSCD.
35210         * configure: Regenerated.
35211         * config.h.in: Add USE_NSCD.
35212         * config.make.in (use-nscd): New substituted variable.
35213         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
35214         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
35215         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
35216         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
35217         (CFLAGS-getgrnam_r.c): Likewise.
35218         (CFLAGS-initgroups.c): Likewise.
35219         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
35220         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
35221         Variables removed.
35222         * inet/getnetgrent_r.c
35223         (nscd_setnetgrent): New function, broken out of ...
35224         (setnetgrent): ... here.  Call it.
35225         (innetgr): Conditionalize nscd bits on [USE_NSCD].
35226         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
35227         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
35228         * nscd/Makefile (routines, aux): Move definitions after include of
35229         Makeconfig.  Conditionalize on [$(use-nscd) != no].
35230         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
35231         Conditionalize on [USE_NSCD].
35232         (is_nscd, nscd_init_cb): Likewise.
35233         (nss_load_library): Conditionalize init callback on [USE_NSCD].
35234         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
35235         * nss/nss_db/db-init.c: Likewise.
35236         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
35237         [USE_NSCD].
35238         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
35239         (make_request): Use it.
35240         (cache_valid_p): New function.
35241         (__check_pf): Use it.
35242         * NEWS: Add item for --disable-nscd.
35243
35244 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
35245
35246         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
35247         to support sed >= 4.2.1-20-ga9bf076.
35248         * configure: Regenerated.
35249
35250 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35251
35252         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
35253         Conditionalize whole body on [IREL].
35254
35255 2012-08-22  Jeff Law <law@redhat.com>
35256
35257         [BZ #14505]
35258         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
35259         if the family is PF_UNSPEC.
35260
35261 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
35262
35263         * Makerules (lib-version): Rename from V.
35264         (install-lib-nosubdir): Change V to lib-version.
35265
35266 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
35267
35268         [BZ #14252]
35269         * powerpc32/power6/wcschr.c: New file.
35270         * powerpc32/power6/wcscpy.c: New file.
35271         * powerpc32/power6/wcsrchr.c: New file.
35272         * powerpc64/power6/wcschr.c: New file.
35273         * powerpc64/power6/wcscpy.c: New file.
35274         * powerpc64/power6/wcsrchr.c: New file.
35275
35276 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35277
35278         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
35279         (two_way_short_needle): Use it.
35280         * string/strstr.c (AVAILABLE1_USES_J): Define.
35281         * string/strcasestr.c: Likewise.
35282
35283         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
35284         array references.
35285         * string/strcasestr.c (TOLOWER): Make side-effect safe.
35286
35287         [BZ #11607]
35288         * NEWS: Add an entry.
35289         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
35290         define their defaults.
35291         (two_way_short_needle): Detect end-of-string on-the-fly.
35292         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
35293         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
35294         * string/bug-strcasestr1.c: New test.
35295         * string/Makefile: Run it.
35296
35297 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
35298
35299         [BZ #11607]
35300         * string/str-two-way.h (two_way_short_needle): Optimize matching of
35301         the first character.
35302
35303 2012-08-21  Roland McGrath  <roland@hack.frob.com>
35304
35305         * csu/elf-init.c (__libc_csu_irel): Function removed.
35306         * csu/libc-start.c (apply_irel): New function.
35307         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
35308
35309 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
35310
35311         * sysdeps/unix/sysv/linux/kernel-features.h
35312         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
35313         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35314         <kernel-features.h>.
35315         [__NR_fadvise64_64]: Make code unconditional.
35316         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
35317         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35318         !__NR_fadvise64_64)]: Likewise.
35319         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
35320         !__NR_fadvise64_64))]: Likewise.
35321         [__NR_fadvise64]: Make code unconditional.
35322         [!__NR_fadvise64]: Remove conditional code.
35323         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
35324         <kernel-features.h>.
35325         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35326         unconditional.
35327         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35328         conditional code.
35329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
35330         not include <kernel-features.h>.
35331         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35332         unconditional.
35333         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35334         conditional code.
35335         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
35336         include <kernel-features.h>.
35337         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
35338         unconditional.
35339         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
35340         conditional code.
35341
35342 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35343
35344         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
35345         slight instruction rearrangements per scrollpipe analysis.
35346         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
35347
35348 2012-08-20  Roland McGrath  <roland@hack.frob.com>
35349
35350         * manual/syslog.texi (syslog; vsyslog, closelog):
35351         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
35352         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
35353
35354         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
35355         DSOCAPS to match condition on defining it.
35356
35357 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
35358
35359         * sysdeps/unix/sysv/linux/kernel-features.h
35360         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
35361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
35362         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35363         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
35365         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35366         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
35368         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
35369         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
35370
35371         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
35372         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
35373
35374         * sysdeps/unix/sysv/linux/kernel-features.h
35375         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
35376         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
35377         unconditional.
35378         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35379         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
35380         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35381         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35382         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
35383         Make code unconditional.
35384         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35385         (__mmap64) [!__NR_mmap2]: Likewise.
35386         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
35387         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
35388         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35389         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
35390         [__NR_mmap2]: Make code unconditional.
35391         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
35392         (__mmap64) [!__NR_mmap2]: Likewise.
35393
35394 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35395
35396         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
35397
35398 2012-08-18  Andreas Jaeger  <aj@suse.de>
35399
35400         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
35401
35402 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35403
35404         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
35405         * include/unistd.h (__have_sock_cloexec): Likewise.
35406         (__have_pipe2): Likewise.
35407         (__have_dup3): Likewise.
35408
35409 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
35410
35411         [BZ #9685]
35412         * include/unistd.h (__have_pipe2): Change define into an extern int.
35413         (__have_dup3): Likewise.
35414         * socket/have_sock_cloexec.c: Include fcntl.h.
35415         (__have_pipe2): New variable.
35416         (__have_dup3): Likewise.
35417
35418 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
35419
35420         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
35421
35422 2012-08-17  Marek Polacek  <polacek@redhat.com>
35423
35424         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
35425         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
35426
35427 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35428
35429         * configure.in: Add AC_SUBST for sysheaders.
35430         * configure: Regenerated.
35431         * config.make.in (sysheaders): New substituted variable.
35432
35433         * sysdeps/unix/mkfifo.c: Moved ...
35434         * sysdeps/posix/mkfifo.c: ... here.
35435         * sysdeps/unix/mkfifoat.c: Moved ...
35436         * sysdeps/posix/mkfifoat.c: ... here.
35437
35438         * sysdeps/unix/utime.c: Moved ...
35439         * sysdeps/posix/utime.c: ... here.
35440
35441         * sysdeps/unix/time.c: Moved ...
35442         * sysdeps/posix/time.c: ... here.
35443         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
35444         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
35445
35446         * sysdeps/unix/nice.c: Moved ...
35447         * sysdeps/posix/nice.c: ... here.
35448
35449         * sysdeps/unix/alarm.c: Moved ...
35450         * sysdeps/posix/alarm.c: ... here.
35451
35452         * intl/Makefile ($(codeset_mo)): Depend on the input file.
35453
35454 2012-08-17  Jeff Law <law@redhat.com>
35455
35456         * intl/Makefile (codeset_mo): New variable.
35457         ($(codeset_mo)): New target.
35458         (tst-codeset.out): Depend on that.  Remove explicit rule.
35459         (tst-gettext3.out, tst-gettext5.out): Likewise.
35460         (LOCPATH-ENV, tst-codeset-ENV): New variables.
35461         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
35462         * intl/tst-codeset.sh: Remove.
35463         * intl/tst-gettext3.sh: Likewise.
35464         * intl/tst-gettext5.sh: Likewise.
35465
35466 2012-08-17  Roland McGrath  <roland@hack.frob.com>
35467
35468         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
35469         * sysdeps/unix/syscalls.list: ... here.
35470
35471         * sysdeps/posix/getaddrinfo.c
35472         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
35473         (gaiconf_init, gaiconf_reload): Use them.
35474         [!_STATBUF_ST_NSEC]
35475         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
35476         Define using time_t rather than struct timespec.
35477
35478         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
35479         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
35480         Macros removed.
35481         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
35482         [!NO_THREADS].
35483         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
35484         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
35485         Likewise.
35486
35487         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
35488         __libc_cleanup_push argument.
35489
35490         * bits/param.h: New file.
35491         * misc/sys/param.h: New file.
35492         * include/sys/param.h: New file.
35493         * misc/Makefile (headers): Add bits/param.h.
35494         * sysdeps/generic/sys/param.h: File removed.
35495         * sysdeps/unix/sysv/linux/bits/param.h: New file.
35496         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
35497         * sysdeps/mach/hurd/bits/param.h: New file.
35498         * sysdeps/mach/hurd/sys/param.h: File removed.
35499
35500         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
35501         last change.
35502
35503         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
35504         [_IO_MTSAFE_IO].
35505         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
35506         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
35507         New macros.
35508
35509         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
35510         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
35511         rather than -D_IO_MTSAFE_IO conditionally.
35512         * stdio-common/Makefile (CPPFLAGS): Likewise.
35513         * wcsmbs/Makefile (CPPFLAGS): Likewise.
35514         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
35515         Use $(libio-mtsafe).
35516         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
35517         of -D_IO_MTSAFE_IO.
35518         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
35519         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
35520         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
35521         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
35522         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
35523         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
35524         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
35525         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
35526         (CFLAGS-fread_u_chk.c): Likewise.
35527         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
35528         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
35529         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
35530         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
35531         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
35532         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
35533         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
35534         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
35535         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
35536
35537         * libio/Makefile: Test [$(libc-reentrant) = yes]
35538         instead of [$(filter %REENTRANT, $(defines)) nonempty].
35539
35540         * Makeconfig
35541         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
35542         * sysdeps/pthread/configure: File removed.
35543         * sysdeps/pthread/Makeconfig: New file.
35544         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
35545         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
35546
35547 2012-08-16  Gary Benson  <gbenson@redhat.com>
35548
35549         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
35550         unmapping the first object in a namespace.
35551
35552 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35553
35554         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
35555         (__internal_setnetgrent): ... this.  Add internal_function to
35556         definition.  Add libc_hidden_def.
35557         (setnetgrent): Update caller.
35558         (internal_endnetgrent): Renamed to ...
35559         (__internal_endnetgrent): ... this.  Add internal_function to
35560         definition.  Add libc_hidden_def.
35561         (endnetgrent): Update caller.
35562         (internal_getnetgrent_r): Renamed to ...
35563         (__internal_getnetgrent_r): ... this.  Add internal_function to
35564         definition.  Add libc_hidden_def.
35565         (__getnetgrent_r): Update caller.
35566         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
35567
35568 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35569
35570         * stdlib/longlong.h: Update from GCC.
35571
35572 2012-08-16  Roland McGrath  <roland@hack.frob.com>
35573
35574         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
35575         on _QL, which is set by umul_ppmm but never used.
35576         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
35577         variables, which are set by GMP macros but never used.
35578         * stdio-common/_itowa.c (_itowa): Likewise.
35579         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
35580         * stdlib/mod_1.c (mpn_mod_1): Likewise.
35581
35582 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
35583
35584         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
35585         struct La_sh_regs is not constant.
35586         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
35587         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
35588         and struct La_sparc64_regs are not constant.
35589
35590 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
35591
35592         * sysdeps/unix/sysv/linux/kernel-features.h
35593         (__ASSUME_POSIX_TIMERS): Remove.
35594         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35595         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35596         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
35597         Make code unconditional.
35598         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35599         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
35600         Make code unconditional.
35601         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35602         * sysdeps/unix/sysv/linux/clock_nanosleep.c
35603         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
35604         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35605         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
35606         Make code unconditional.
35607         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
35608         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
35609         (__libc_missing_posix_timers): Remove.
35610
35611 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35612
35613         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35614         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35615
35616         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35617
35618         * elf/dl-sym.c: Include <stdlib.h>.
35619
35620         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35621         constants, which avoids warnings in 32-bit builds.
35622
35623         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35624         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35625
35626         * misc/lseek.c: File moved to ...
35627         * io/lseek.c: ... here.
35628
35629         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35630
35631         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35632         shifting LEN more than 31 bits at once.
35633
35634 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35635
35636         [BZ #14195]
35637         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35638         segmentation fault for a case of two empty input strings.
35639         * string/test-strncasecmp.c (check1): Renamed to...
35640         (bz12205): ...this.
35641         (bz14195): Add new testcase for two empty input strings and N > 0.
35642         (test_main): Call new testcase, adapt for renamed function.
35643
35644 2012-08-15  Andreas Jaeger  <aj@suse.de>
35645
35646         [BZ #14090]
35647         * crypt/md5test2.c: New test, based on test supplied by Serge
35648         Belyshev <belyshev@depni.sinp.msu.ru>.
35649         * crypt/Makefile (xtests): Add md5test-giant..
35650         * crypt/Makefile ($(objpfx)md5test-giant): Add.
35651
35652 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
35653
35654         [BZ #14090]
35655         * crypt/md5.c (md5_process_block): Don't assume the buffer
35656         length is less than 2**32.
35657         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35658         length is less than 2**64.
35659
35660 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35661
35662         * string/str-two-way.h: Include <sys/param.h>.
35663         (MAX): Macro removed.
35664
35665         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35666         Move #define and #undef of memmove to just before and after
35667         including <string.h>.
35668
35669         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35670         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35671         and after including <string.h>.  Move declarations of
35672         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35673         to before #include "string/memmove.c".
35674
35675         * include/dirent.h: Declare __getdirentries.
35676
35677         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35678         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35679
35680 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
35681
35682         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35683         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35684         * sysdeps/i386/configure: Regenerated.
35685         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35686         STABS_CURRENT_FILE, and STABS_FUN.
35687         (END): Remove call to STABS_FUN_END.
35688         (STABS_CURRENT_FILE1): Delete.
35689         (STABS_CURRENT_FILE): Likewise.
35690         (STABS_FUN): Likewise.
35691         (STABS_FUN_END): Likewise.
35692         (STABS_FUN2): Likewise.
35693         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35694         * sysdeps/x86_64/configure: Regenerated.
35695
35696 2012-08-14  Roland McGrath  <roland@hack.frob.com>
35697
35698         * elf/dl-open.c: Include <atomic.h>.
35699         * elf/dl-lookup.c: Likewise.
35700
35701 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35702
35703         * sysdeps/unix/sysv/linux/kernel-features.h
35704         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35705         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35706         unconditionally.
35707         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35708         unconditionally.
35709         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35710         condition on __ASSUME_CLONE_THREAD_FLAGS.
35711
35712 2012-08-14  Andreas Jaeger  <aj@suse.de>
35713
35714         * sysdeps/i386/fpu/libm-test-ulps: Update.
35715
35716 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35717
35718         * include/atomic.h (atomic_exchange_and_add): Split into ...
35719         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35720         New atomic macros.
35721
35722 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
35723
35724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35725
35726 2012-08-13  Jeff Law <law@redhat.com>
35727
35728         * manual/stdio.texi (snprintf): Clarify handling of the trailing
35729         null byte in the output string.
35730
35731 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
35732
35733         * sysdeps/unix/sysv/linux/kernel-features.h
35734         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35735         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35736         (__ASSUME_ARG_MAX_STACK_BASED): Define.
35737         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35738         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35739         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
35740         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35741
35742 2012-08-09  Jeff Law <law@redhat.com>
35743
35744         [BZ #13939]
35745         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35746         When avoid_arena is set, don't retry in the that arena.  Pick the
35747         next one, whatever it might be.
35748         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35749         (arena_lock): Pass in new parameter to arena_get2.
35750         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35751         arena_get2.
35752         (__libc_malloc): Unify retrying after main arena failure with
35753         __libc_memalign version.
35754         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35755
35756 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
35757
35758         [BZ #14166]
35759         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35760         to __redirect_strstr.
35761         (__strstr_sse42): Use typeof __redirect_strstr.
35762         (__strstr_ia32): Likewise.
35763         (__libc_strstr): New prototype.
35764         (strstr): Renamed to ...
35765         (__libc_strstr): This.
35766         (strstr): New strong alias of __libc_strstr.
35767         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35768         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35769         __redirect_time.
35770         Include <time.h>.
35771         (__libc_time): New prototype.
35772         (time_ifunc): Replace time with __libc_time.
35773         (time): New strong alias and hidden definition of __libc_time.
35774         (__GI_time): Remove strong alias.
35775         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35776         Include <stddef.h>.
35777         (memmove): Redefined to __redirect_memmove.
35778         (__memmove_sse2): Use typeof __redirect_memmove.
35779         (__memmove_ssse3): Likewise.
35780         (__memmove_ssse3_back): Likewise.
35781         (__libc_memmove): New prototype.
35782         (memmove): Renamed to ...
35783         (__libc_memmove): This.
35784         (memmove): New strong alias of __libc_memmove.
35785
35786 2012-08-08  Mark Salter  <msalter@redhat.com>
35787
35788         * elf/elf.h
35789         (R_MN10300_TLS_GD): Define.
35790         (R_MN10300_TLS_LD): Likewise.
35791         (R_MN10300_TLS_LDO): Likewise.
35792         (R_MN10300_TLS_GOTIE): Likewise.
35793         (R_MN10300_TLS_IE): Likewise.
35794         (R_MN10300_TLS_LE): Likewise.
35795         (R_MN10300_TLS_DTPMOD): Likewise.
35796         (R_MN10300_TLS_DTPOFF): Likewise.
35797         (R_MN10300_TLS_TPOFF): Likewise.
35798         (R_MN10300_SYM_DIFF): Likewise.
35799         (R_MN10300_ALIGN): Likewise.
35800         (R_MN10300_NUM): Update.
35801
35802 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
35803
35804         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35805         Remove.
35806
35807 2012-08-08  Roland McGrath  <roland@hack.frob.com>
35808
35809         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35810
35811         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35812         sysdeps/unix -> sysdeps/posix move.
35813         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35814
35815 2012-08-07      Allan McRae     <allan@archlinux.org>
35816
35817         [BZ #14303]
35818         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35819         (SUNOS_CPP): Likewise.
35820         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35821         not found.
35822         (open_input): Call CPP using execvp.
35823
35824 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35825
35826         * sysdeps/unix/sysv/linux/kernel-features.h
35827         (__ASSUME_PROT_GROWSUPDOWN): Remove.
35828         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35829         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35830         (__ASSUME_WAITID_SYSCALL): Likewise.
35831         * sysdeps/unix/sysv/linux/dl-execstack.c
35832         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35833         code unconditional.
35834         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35835         conditional code.
35836         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35837         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35838         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35839         code.
35840         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35841         unconditional.
35842         [__ASSUME_WAITID_SYSCALL]: Likewise.
35843         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35844
35845 2012-08-07  Roland McGrath  <roland@hack.frob.com>
35846
35847         * sysdeps/unix/closedir.c: Renamed to ...
35848         * sysdeps/posix/closedir.c: ... here.
35849         * sysdeps/unix/dirfd.c: Renamed to ...
35850         * sysdeps/posix/dirfd.c: ... here.
35851         * sysdeps/unix/dirstream.h: Renamed to ...
35852         * sysdeps/posix/dirstream.h: ... here.
35853         * sysdeps/unix/fdopendir.c: Renamed to ...
35854         * sysdeps/posix/fdopendir.c: ... here.
35855         * sysdeps/unix/opendir.c: Renamed to ...
35856         * sysdeps/posix/opendir.c: ... here.
35857         * sysdeps/unix/readdir.c: Renamed to ...
35858         * sysdeps/posix/readdir.c: ... here.
35859         * sysdeps/unix/readdir_r.c: Renamed to ...
35860         * sysdeps/posix/readdir_r.c: ... here.
35861         * sysdeps/unix/rewinddir.c: Renamed to ...
35862         * sysdeps/posix/rewinddir.c: ... here.
35863         * sysdeps/unix/seekdir.c: Renamed to ...
35864         * sysdeps/posix/seekdir.c: ... here.
35865         * sysdeps/unix/telldir.c: Renamed to ...
35866         * sysdeps/posix/telldir.c: ... here.
35867         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35868         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35869         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35870         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35871
35872         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35873         * bits/fcntl.h: ... here.
35874
35875         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35876         not 0.
35877         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35878         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35879         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35880         (struct flock): Move l_start, l_len to the beginning.
35881         Use __pid_t for l_pid.
35882         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35883         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35884         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35885         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35886         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35887         [__USE_LARGEFILE64] (struct flock64): New type.
35888         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35889
35890         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35891         * bits/dirent.h: ... here.
35892
35893         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35894         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35895
35896 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35897
35898         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35899         Change from 2.6.0 to 2.6.16.
35900         * sysdeps/unix/sysv/linux/configure: Regenerated.
35901         * sysdeps/unix/sysv/linux/kernel-features.h
35902         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35903         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35904         version.
35905         (__ASSUME_UTIMES): Likewise.
35906         (__ASSUME_CLONE_STOPPED): Remove.
35907         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35908         architectures, not kernel version.
35909         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35910         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35911         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35912         (__ASSUME_WAITID_SYSCALL): Likewise.
35913         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35914         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35915         * README: State 2.6.16 as minimum Linux kernel version.  Do not
35916         refer to older versions.
35917
35918 2012-08-06  Roland McGrath  <roland@hack.frob.com>
35919
35920         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35921         Define alphasort64 as an alias.
35922         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35923         Define versionsort64 as an alias.
35924         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35925         Define scandir64 as an alias.
35926         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35927         Define scandirat64 as an alias.
35928         * dirent/alphasort64.c (alphasort64):
35929         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35930         * dirent/versionsort64.c: Likewise.
35931         * dirent/scandir64.c: Likewise.
35932         * dirent/scandirat64.c: Likewise.
35933         * sysdeps/wordsize-64/alphasort.c: File removed.
35934         * sysdeps/wordsize-64/alphasort64.c: File removed.
35935         * sysdeps/wordsize-64/scandir.c: File removed.
35936         * sysdeps/wordsize-64/scandir64.c: File removed.
35937         * sysdeps/wordsize-64/scandirat.c: File removed.
35938         * sysdeps/wordsize-64/scandirat64.c: File removed.
35939         * sysdeps/wordsize-64/versionsort.c: File removed.
35940         * sysdeps/wordsize-64/versionsort64.c: File removed.
35941         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35942         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35943         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35944         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35945         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35946         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35947         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35948         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35949
35950         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35951         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35952         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35953         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35954         [defined __arch64__ || defined __sparcv9]
35955         (__INO_T_MATCHES_INO64_T): New macro.
35956         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35957         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35958         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35959         * sysdeps/unix/sysv/linux/bits/dirent.h
35960         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35961         (_DIRENT_MATCHES_DIRENT64): New macro.
35962
35963         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35964         Define lockf64 as an alias.
35965         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35966         Define fseeko64 as an alias.
35967         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35968         Define ftello64 as an alias.
35969         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35970         Define _IO_fgetpos64 and fgetpos64 as aliases.
35971         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35972         Define _IO_fsetpos64 and fsetpos64 as aliases.
35973         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35974         Conditionalize body on this.
35975         * libio/fseeko64.c: Likewise.
35976         * libio/ftello64.c: Likewise.
35977         * libio/iofgetpos64.c: Likewise.
35978         * libio/iofsetpos64.c: Likewise.
35979         * sysdeps/wordsize-64/lockf.c: File removed.
35980         * sysdeps/wordsize-64/lockf64.c: File removed.
35981         * sysdeps/wordsize-64/fseeko.c: File removed.
35982         * sysdeps/wordsize-64/fseeko64.c: File removed.
35983         * sysdeps/wordsize-64/ftello.c: File removed.
35984         * sysdeps/wordsize-64/ftello64.c: File removed.
35985         * sysdeps/wordsize-64/iofgetpos.c: File removed.
35986         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35987         * sysdeps/wordsize-64/iofsetpos.c: File removed.
35988         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35989         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35990         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35991         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35992         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35993         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35994         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35995         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35996         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35997         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35998         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35999
36000         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36001         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36002         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36003         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36004         [defined __arch64__ || defined __sparcv9]
36005         (__OFF_T_MATCHES_OFF64_T): New macro.
36006         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36007         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36008         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36009         (__OFF_T_MATCHES_OFF64_T): New macro.
36010
36011 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36012
36013         * stdlib/secure-getenv.c (__secure_getenv): Replace
36014         GLIBC_2_16 with GLIBC_2_17.
36015
36016 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36017
36018         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36019         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36020
36021 2012-08-03  David S. Miller  <davem@davemloft.net>
36022
36023         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36024
36025 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36026
36027         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36028         Remove.
36029         (__ASSUME_CORRECT_SI_PID): Likewise.
36030         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36031         (__ASSUME_TMPFS_NAME): Likewise.
36032         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36033         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36034         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36035         (HAVE_AUX_SECURE): Make definition unconditional.
36036         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36037         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36038
36039 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36040
36041         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36042         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36043         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36044         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36045         __eloop_threshold instead of SYMLOOP_MAX.
36046
36047         * sysdeps/generic/eloop-threshold.h: New file.
36048         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36049         of MAXSYMLINKS.
36050         * elf/chroot_canon.c (chroot_canon): Likewise.
36051
36052 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36053
36054         [BZ #13717]
36055         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36056         Change to 2.6.0 everywhere.
36057         * sysdeps/unix/sysv/linux/configure: Regenerated.
36058         * sysdeps/unix/sysv/linux/kernel-features.h
36059         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36060         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36061         kernel versions.
36062         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36063         (__ASSUME_FUTEX_REQUEUE): Remove.
36064         (__ASSUME_STATFS64): Define unconditionally.
36065         (__ASSUME_AT_SECURE): Likewise.
36066         (__ASSUME_CORRECT_SI_PID): Likewise.
36067         (__ASSUME_TGKILL): Define without depending on kernel version for
36068         i386.
36069         (__ASSUME_UTIMES): Likewise.
36070         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36071         kernel version.
36072         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36073         (__ASSUME_TMPFS_NAME): Likewise.
36074         * README: Update reference to Linux kernel versions.
36075
36076 2012-08-02  Marek Polacek  <polacek@redhat.com>
36077
36078         [BZ# 14150]
36079         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36080         libc_cv_asm_type_prefix with %.
36081         * configure: Regenerated.
36082         * include/libc-symbols.h: Remove comment about
36083         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36084         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36085         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36086         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36087         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36088         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36089         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36090         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36091         * elf/tst-unique2mod1.c: Likewise.
36092         * elf/tst-unique1mod2.c: Likewise.
36093         * elf/tst-unique1mod1.c: Likewise.
36094         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36095         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36096         Replace ASM_TYPE_DIRECTIVE with .type.
36097         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36098         * sysdeps/i386/sysdep.h: Likewise.
36099         * sysdeps/x86_64/sysdep.h: Likewise.
36100         * sysdeps/sh/sysdep.h: Likewise.
36101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36102         Do not define ASM_TYPE_DIRECTIVE.
36103         * sysdeps/powerpc/sysdep.h: Likewise.
36104         * sysdeps/powerpc/powerpc32/sysdep.h:
36105         Replace ASM_TYPE_DIRECTIVE with .type.
36106         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36107         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36108         * sysdeps/i386/fpu/e_powf.S: Likewise.
36109         * sysdeps/i386/fpu/e_expl.S: Likewise.
36110         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36111         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36112         * sysdeps/i386/fpu/e_pow.S: Likewise.
36113         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36114         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36115         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36116         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36117         * sysdeps/i386/fpu/e_log2.S: Likewise.
36118         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36119         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36120         * sysdeps/i386/fpu/e_powl.S: Likewise.
36121         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36122         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36123         * sysdeps/i386/fpu/e_logl.S: Likewise.
36124         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36125         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36126         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36127         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36128         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36129         * sysdeps/i386/fpu/e_log.S: Likewise.
36130         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36131         * sysdeps/i386/fpu/e_logf.S: Likewise.
36132         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36133         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36134         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36135         * sysdeps/i386/fpu/e_log10.S: Likewise.
36136         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36137         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36138         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36139         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36140         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36141         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36142         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36143         * sysdeps/i386/i686/strtok.S: Likewise.
36144         * sysdeps/i386/i386-mcount.S: Likewise.
36145         * sysdeps/i386/strtok.S: Likewise.
36146         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36147         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36148         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36149         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36150         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36151         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36152         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36153         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36154         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36155         * sysdeps/x86_64/_mcount.S: Likewise.
36156         * sysdeps/x86_64/strtok.S: Likewise.
36157         * sysdeps/sh/_mcount.S: Likewise.
36158
36159 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36160
36161         * libio/iofopen.c: Include <fcntl.h>.
36162         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36163         (_IO_fopen64, fopen64): Define as aliases.
36164         * libio/iofopen64.c: Include <fcntl.h>.
36165         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36166         Conditionalize body on this.
36167         * sysdeps/wordsize-64/iofopen.c: File removed.
36168         * sysdeps/wordsize-64/iofopen64.c: File removed.
36169
36170 2012-08-01  Marek Polacek  <polacek@redhat.com>
36171
36172         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36173         Use dlfcn directly instead of a variable.
36174         (binfmt-subdir): Do not define.
36175         (dlfcn): Likewise.
36176
36177 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36178
36179         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36180         Remove all definitions.
36181         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36182         <kernel-features.h>.
36183         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36184         (miss_F_GETOWN_EX): Remove all definitions.
36185         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
36186         macro definition.
36187         [!__ASSUME_FCNTL64]: Remove conditional code.
36188         [__ASSUME_FCNTL64]: Make code unconditional.
36189         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
36190         <kernel-features.h>.
36191         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
36192         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
36193         (lockf64) [__NR_fcntl64]: Make code unconditional.
36194         (lockf64) [__ASSUME_FCNTL64]: Likewise.
36195
36196         * sysdeps/unix/sysv/linux/kernel-features.h
36197         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
36198         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
36199         Make code unconditional.
36200         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36201         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
36203         [__NR_vfork]: Make code unconditional.
36204         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36205         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
36207         [__NR_vfork]: Make code unconditional.
36208         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
36209         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
36210
36211 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36212
36213         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
36214         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
36215
36216         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36217         Define mkstemp64 as an alias.
36218         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36219         Define mkstemps64 as an alias.
36220         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36221         Define mkostemp64 as an alias.
36222         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
36223         Define mkostemps64 as an alias.
36224         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
36225         Conditionalize body on this.
36226         * misc/mkostemp64.c: Likewise.
36227         * misc/mkostemps64.c: Likewise.
36228         * misc/mkstemps64.c: Likewise.
36229         * sysdeps/wordsize-64/mkstemp64.c: File removed.
36230         * sysdeps/wordsize-64/mkostemp64.c: File removed.
36231         * sysdeps/wordsize-64/mkostemp.c: File removed.
36232         * sysdeps/wordsize-64/mkstemp.c: File removed.
36233         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
36234         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
36235         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
36236         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
36237
36238         [BZ #14138]
36239         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
36240         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
36241         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
36242         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
36243
36244         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
36245         compat_symbol macros from <shlib-compat.h> rather than the underlying
36246         default_symbol_version and symbol_version macros, so that DEFAULT
36247         lines in shlib-versions are respected.
36248         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
36249
36250 2012-08-01  Florian Weimer  <fweimer@redhat.com>
36251
36252         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
36253         Declare with warn_unused_result.
36254         (setgid, setregid, setegid, setresgid): Likewise.
36255         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
36256         Likewise.
36257         * WUR-REPORT: Remove set*id functions.
36258
36259 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
36260
36261         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
36262
36263 2012-07-31  Roland McGrath  <roland@hack.frob.com>
36264
36265         [BZ #10191]
36266         * include/sys/socket.h (__libc_accept, __libc_accept4):
36267         Add attribute_hidden.
36268         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
36269
36270         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
36271         use of PTR_MANGLE.
36272         * inet/getnetgrent_r.c (setup): Likewise.
36273
36274         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
36275
36276 2012-07-31  David S. Miller  <davem@davemloft.net>
36277
36278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36279
36280 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
36281
36282         [BZ #13629]
36283         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
36284         value between 1.0 and 2.0 and smaller part has absolute value less
36285         than 1.0.
36286         * math/s_clog10.c (__clog10): Likewise.
36287         * math/s_clog10f.c (__clog10f): Likewise.
36288         * math/s_clog10l.c (__clog10l): Likewise.
36289         * math/s_clogf.c (__clogf): Likewise.
36290         * math/s_clogl.c (__clogl): Likewise.
36291         * math/libm-test.inc (clog_test): Add more tests.
36292         (clog10_test): Likewise.
36293         * sysdeps/i386/fpu/libm-test-ulps: Update.
36294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36295
36296 2012-07-31  Florian Weimer  <fweimer@redhat.com>
36297
36298         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
36299         Exit with zero in case no suitable GID is found, and write a
36300         message to standard error.
36301
36302 2012-07-30  Roland McGrath  <roland@hack.frob.com>
36303
36304         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
36305         rather than to 1.
36306         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
36307         (MAXPATHLEN): Removed.
36308         (NOGROUP, NODEV): New macros.
36309         (setbit, clrbit, isset, isclr): New macros.
36310         (howmany, roundup, powerof2): New macros.
36311         (DEV_BSIZE): New macro.
36312
36313         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
36314         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
36315
36316         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
36317         definition on [!__NO_LONG_DOUBLE_MATH].
36318
36319         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
36320         PTR_MANGLE and PTR_DEMANGLE.
36321
36322         * socket/accept4.c (accept4): Rename to __libc_accept4.
36323         Define accept4 as a weak alias.
36324
36325         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
36326         on [_DIRENT_HAVE_D_TYPE].
36327         * io/ftw.c (ftw_dir): Likewise.
36328
36329         * io/xmknod.c (__xmknod): Don't check PATH for being null.
36330
36331         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
36332
36333         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
36334         Use the BSD numbers rather than the arbitrary ones we had.
36335         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
36336         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
36337         (SIGXCPU, SIGXFSZ): New macros.
36338         (_NSIG): Now 32.
36339
36340         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
36341         initializer on [_LIBC_REENTRANT].
36342
36343         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
36344         definitions inside [_POSIX_MAPPED_FILES].
36345
36346         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
36347
36348         * dirent/opendir.c: Include <fcntl.h>.
36349
36350         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
36351         (__libc_getspecific): Likewise.
36352         (__libc_key_create): Likewise.
36353
36354         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
36355         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
36356         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
36357         (tmpfile64): Define as alias.
36358         * sysdeps/wordsize-64/tmpfile.c: File removed.
36359         * sysdeps/wordsize-64/tmpfile64.c: File removed.
36360         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
36361         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
36362
36363         * stdio-common/vfscanf.c: Include <stdbool.h>.
36364         * nss/makedb.c: Likewise.
36365         * stdio-common/_i18n_number.h: Likewise.
36366         * argp/argp-help.c: Likewise.
36367         * posix/wordexp.c: Likewise.
36368         * sysdeps/posix/spawni.c: Likewise.
36369         * nss/nss_files/files-initgroups.c: Likewise.
36370         * stdio-common/reg-modifier.c: Include <stdlib.h>.
36371         * nss/nss_files/files-initgroups.c: Likewise.
36372         * nss/nss_db/db-netgrp.c: Likewise.
36373         * nss/nss_db/db-initgroups.c: Likewise.
36374         * io/fchmodat.c: Include <sys/stat.h>.
36375
36376         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
36377         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
36378
36379         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
36380         [HAVE_MMAP].
36381
36382         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
36383         Add multiple inclusion protection.
36384
36385 2012-07-27  David S. Miller  <davem@davemloft.net>
36386
36387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36388
36389 2012-07-27  Gary Benson  <gbenson@redhat.com>
36390
36391         [BZ #14298]
36392         * elf/rtld.c: Include <stap-probe.h>.
36393         (dl_main): Added static probes "init_start" and "init_complete".
36394         * elf/dl-load.c: Include <stap-probe.h>.
36395         (lose): Take new parameter "nsid".
36396         Added static probe "map_failed".
36397         (_dl_map_object_from_fd): Pass namespace id to lose.
36398         Added static probe "map_start".
36399         (open_verify): Pass namespace id to lose.
36400         * elf/dl-open.c: Include <stap-probe.h>.
36401         (dl_open_worker) Added static probes "map_complete", "reloc_start"
36402         and "reloc_complete".
36403         * elf/dl-close.c: Include <stap-probe.h>.
36404         (_dl_close_worker): Added static probes "unmap_start" and
36405         "unmap_complete".
36406         * elf/rtld-debugger-interface.txt: New file documenting the above.
36407
36408 2012-07-26  Roland McGrath  <roland@hack.frob.com>
36409
36410         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
36411         rather than a string variable.
36412         * sunrpc/rpc_main.c (h_output): Likewise.
36413         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
36414
36415 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
36416
36417         * inet/check_native.c: New file.
36418
36419 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
36420
36421         [BZ #13629]
36422         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
36423         if larger part has absolute value 1.0.
36424         * math/s_clog10.c (__clog10): Likewise.
36425         * math/s_clog10f.c (__clog10f): Likewise.
36426         * math/s_clog10l.c (__clog10l): Likewise.
36427         * math/s_clogf.c (__clogf): Likewise.
36428         * math/s_clogl.c (__clogl): Likewise.
36429         * math/libm-test.inc (clog_test): Add more tests.
36430         (clog10_test): Likewise.
36431         * sysdeps/i386/fpu/libm-test-ulps: Update.
36432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36433
36434         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
36435         (pltexit): Likewise.
36436         (La_regs): Likewise.
36437         (La_retval): Likewise.
36438         (int_retval): Likewise.
36439         Update #error for removed macros to refer only to definitions in
36440         tst-audit.h.
36441         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
36442         macro.
36443         (pltexit): Likewise.
36444         (La_regs): Likewise.
36445         (La_retval): Likewise.
36446         (int_retval): Likewise.
36447         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
36448         macro.
36449         (pltexit): Likewise.
36450         (La_regs): Likewise.
36451         (La_retval): Likewise.
36452         (int_retval): Likewise.
36453         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
36454         macro.
36455         (pltexit): Likewise.
36456         (La_regs): Likewise.
36457         (La_retval): Likewise.
36458         (int_retval): Likewise.
36459         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
36460         macro.
36461         (pltexit): Likewise.
36462         (La_regs): Likewise.
36463         (La_retval): Likewise.
36464         (int_retval): Likewise.
36465         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
36466         macro.
36467         (pltexit): Likewise.
36468         (La_regs): Likewise.
36469         (La_retval): Likewise.
36470         (int_retval): Likewise.
36471         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
36472         macro.
36473         (pltexit): Likewise.
36474         (La_regs): Likewise.
36475         (La_retval): Likewise.
36476         (int_retval): Likewise.
36477         * sysdeps/generic/tst-audit.h: Update comment to refer only to
36478         macro definitions in tst-audit.h.
36479         * sysdeps/i386/tst-audit.h: New file.
36480         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
36481         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
36482         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
36483         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
36484         * sysdeps/sh/tst-audit.h: Likewise.
36485         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
36486         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
36487         * sysdeps/x86_64/tst-audit.h: Likewise.
36488
36489 2012-07-26  Andreas Jaeger  <aj@suse.de>
36490
36491         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
36492         ptrace.
36493
36494         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
36495         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
36496         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
36497         PTRACE_O_MASK.
36498         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
36499         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
36500         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
36501
36502         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
36503         value.
36504
36505         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
36506         _sigsys.
36507         (si_call_addr, si_syscall, si_arch): Define new macro.
36508         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
36509         _sigsys.
36510         (si_call_addr, si_syscall, si_arch): Define new marcro.
36511         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
36512         _sigsys.
36513         (si_call_addr, si_syscall, si_arch): Define new macro.
36514         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
36515         _sigsys.
36516         (si_call_addr, si_syscall, si_arch): Define new macro.
36517
36518 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36519
36520         [BZ #13717]
36521         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36522         Change to 2.4.21 where previously 2.4.1.
36523         * sysdeps/unix/sysv/linux/configure: Regenerated.
36524         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
36525         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
36526         Linux kernel version.
36527         (__ASSUME_STD_AUXV): Remove.
36528         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
36529         kernel version.
36530         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
36531         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
36532         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
36533         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
36534         (__ASSUME_NETLINK_SUPPORT): Likewise.
36535         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
36536         (__no_netlink_support): Remove conditional definition.
36537         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
36538         Remove.
36539         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36540         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
36541         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
36542         (if_nameindex_ioctl): Remove.
36543         (if_nameindex_netlink): Do not handle __no_netlink_support.
36544         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36545         code.
36546         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
36547         Remove conditional code.
36548         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
36549         code.
36550         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
36551         unconditional.
36552         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
36553         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
36554         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
36555         Remove.
36556         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
36557         [!__ASSUME_STD_AUXV]: Remove conditional code.
36558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
36559         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
36560         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
36561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
36562         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
36563         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36564         code.
36565         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
36567         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
36568         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36569         conditional code.
36570         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
36571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
36572         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
36573         code.
36574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
36575         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
36576         conditional code.
36577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
36578         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36579         code unconditional.
36580         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36581         conditional code.
36582         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36583         unconditional.
36584         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36585         conditional code.
36586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36587         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36588         unconditional.
36589         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36590         conditional code.
36591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36592         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36593         code unconditional.
36594         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36595         conditional code.
36596         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36597         unconditional.
36598         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36599         conditional code.
36600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36601         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
36602         code unconditional.
36603         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36604         conditional code.
36605         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
36606         unconditional.
36607         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
36608         conditional code.
36609
36610 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
36611
36612         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36613         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36614         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36615         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36616         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36617         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36618         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36619         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36620         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36621         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36622         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36623         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36624         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36625         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36626         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36627         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36628         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36629         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36630         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36631         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36632         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36633         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36634         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36635
36636 2012-07-25  Florian Weimer  <fweimer@redhat.com>
36637
36638         * Versions.def: Add GLIBC_2.17.
36639         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36640         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36641         Introduce __libc_secure_getenv.
36642         * stdlib/Versions (2.17): Add secure_getenv
36643         (GLIBC_PRIVATE): Add __libc_secure_getenv.
36644         * stdlib/secure-getenv.c: Rename __secure_getenv to
36645         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
36646         symbol __secure_getenv for GLIBC_2.0.
36647         * stdlib/tst-secure-getenv.c: New.
36648         * stdlib/Makefile (tests): Add testcase.
36649         * manual/startup.texi (Environment Access): Document
36650         secure_getenv.
36651         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36652         __libc_secure_getenv.
36653         * inet/ruserpass.c (ruserpass): Likewise.
36654         * malloc/mtrace.c (mtrace): Likewise.
36655         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36656         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36657         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36658         * sysdeps/posix/tempname.c: Likewise.  Evaluate
36659         HAVE_SECURE_GETENV.
36660         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36661         __secure_getenv to __libc_secure_getenv.
36662         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36664         Likewise.
36665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36666         Likewise.
36667         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36668         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36669         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36674
36675 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36676
36677         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36678         (struct La_i86_retval): Likewise.
36679         (struct La_x86_64_regs): Likewise.
36680         (struct La_x86_64_retval): Likewise.
36681         (struct La_x32_regs): Likewise.
36682         (struct La_x32_retval): Likewise.
36683         (struct La_ppc32_regs): Likewise.
36684         (struct La_ppc32_retval): Likewise.
36685         (struct La_ppc64_regs): Likewise.
36686         (struct La_ppc64_retval): Likewise.
36687         (struct La_sh_regs): Likewise.
36688         (struct La_sh_retval): Likewise.
36689         (struct La_s390_32_regs): Likewise.
36690         (struct La_s390_32_retval): Likewise.
36691         (struct La_s390_64_regs): Likewise.
36692         (struct La_s390_64_retval): Likewise.
36693         (struct La_sparc32_regs): Likewise.
36694         (struct La_sparc32_retval): Likewise.
36695         (struct La_sparc64_regs): Likewise.
36696         (struct La_sparc64_retval): Likewise.
36697         (struct audit_ifaces): Remove architecture-specific pltenter and
36698         pltexit members.
36699         * sysdeps/i386/ldsodefs.h: New file.
36700         * sysdeps/powerpc/ldsodefs.h: Likewise.
36701         * sysdeps/s390/ldsodefs.h: Likewise.
36702         * sysdeps/sh/ldsodefs.h: Likewise.
36703         * sysdeps/sparc/ldsodefs.h: Likewise.
36704         * sysdeps/x86_64/ldsodefs.h: Likewise.
36705
36706 2012-07-25  Marek Polacek  <polacek@redhat.com>
36707
36708         [BZ #6808]
36709         * math/libm-test.inc (yn_test): Add another test.
36710         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36711         to ERANGE when the result is +-Inf.
36712         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36713         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36714         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36715         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36716
36717 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36718
36719         * conform/data/time.h-data (NULL): Use macro-constant.  Require
36720         equal to 0.
36721         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
36722         clock_t.
36723         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
36724
36725 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
36726
36727         * configure.in <sysdeps resolving>: Correct printing
36728         Implies_before.
36729         * configure: Regenerate.
36730
36731 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
36732
36733         * math/w_ilogb.c: Include <limits.h>.
36734         * math/w_ilogbl.c: Likewise.
36735
36736 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36737
36738         * manual/lang.texi (__va_copy): Document primarily as ISO C99
36739         va_copy.  Document allowing for unavailable va_copy only as
36740         pre-C99 compatibility.
36741         * manual/string.texi (Copying and Concatenation): Use va_copy
36742         instead of __va_copy in concat example.
36743
36744 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
36745
36746         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36747         (__sendto): Use create_address_port.  Initialize APORT and deallocate
36748         it if not null.
36749
36750         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36751         with O_NOLINK passed to __file_name_lookup.
36752
36753         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36754         with O_NOLINK passed to __file_name_lookup.
36755
36756         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36757         negative N or less than NGIDS.
36758
36759         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36760         type to string_t.  Set ERANGE as errno and return it if NAME is not big
36761         enough.  Use memcpy instead of strncpy.
36762
36763 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36764
36765         * elf/Makefile (check-data): Remove.
36766         (localplt.data): New vpath directive.
36767         ($(objpfx)check-localplt.out): Use localplt.data from vpath
36768         instead of $(check-data).
36769         * scripts/data/localplt-generic.data: Move to ...
36770         * sysdeps/generic/localplt.data: ... here.
36771         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36772         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36773         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36775         ... here.
36776         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36778         ... here.
36779         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36781         ... here.
36782         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36783         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36784         ... here.
36785         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36787         ... here.
36788         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36790         ... here.
36791
36792 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36793
36794         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36795         PPC32 and PPC64 files.
36796         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36797         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36798
36799 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36800
36801         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36802         __makecontext_ret to ...
36803         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36804         ... here and call exit if uc_link is NULL.  New file.
36805         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36806         __makecontext_ret.S.
36807         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36808         __makecontext_ret to ...
36809         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36810         ... here and call exit if uc_link is NULL.  New file.
36811         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36812         __makecontext_ret.S.
36813
36814 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36815
36816         * elf/elf.h (R_390_IRELATIVE): New definition.
36817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36818         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
36819         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36820         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36821         (elf_machine_lazy_rel): Likewise.
36822         * sysdeps/s390/dl-irel.h: New file.
36823         * sysdeps/s390/s390-64/memcpy.S: New asm code.
36824         * sysdeps/s390/s390-64/memset.S: New asm code.
36825         * sysdeps/s390/s390-64/memcmp.S: New asm code.
36826         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36827         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36828         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36829         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36830         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36831         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36832         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36833         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36834         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36835         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36836         * sysdeps/s390/s390-32/memcpy.S: New asm code.
36837         * sysdeps/s390/s390-32/memset.S: New asm code.
36838         * sysdeps/s390/s390-32/memcmp.S: New asm code.
36839
36840 2012-07-17  Marek Polacek  <polacek@redhat.com>
36841
36842         [BZ #14349]
36843         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36844         * sysdeps/s390/s390-64/configure.in: Likewise.
36845         * sysdeps/sparc/configure.in: Likewise.
36846         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36847         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36848         * sysdeps/i386/configure.in: Likewise.
36849         * sysdeps/x86_64/configure.in: Likewise.
36850         * sysdeps/sh/configure.in: Likewise.
36851         * sysdeps/s390/s390-32/configure: Regenerated.
36852         * sysdeps/s390/s390-64/configure: Likewise.
36853         * sysdeps/x86_64/configure: Likewise.
36854         * sysdeps/sh/configure: Likewise.
36855         * sysdeps/powerpc/powerpc64/configure: Likewise.
36856         * sysdeps/powerpc/powerpc32/configure: Likewise.
36857         * sysdeps/sparc/configure: Likwise.
36858         * sysdeps/i386/configure: Likewise.
36859
36860         * elf/dl-open.c: Comment fixes.
36861
36862 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
36863
36864         * Makefile [CXX] (check-data): Remove.
36865         [CXX] (c++-types.data): New vpath directive.
36866         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36867         vpath.  Do not allow for C++ type data being missing.
36868         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36869         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36870         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36871         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36872         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36873         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36874         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36876         ... here.
36877         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36879         ... here.
36880         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36882         ... here.
36883         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36885         ... here.
36886         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36887         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36888         ... here.
36889         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36890         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36891         ... here.
36892         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36893         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36894         ... here.
36895         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36897
36898         * elf/tls-macros.h (TLS_LE): Move architecture-specific
36899         definitions to architecture-specific files.
36900         (TLS_IE): Likewise.
36901         (TLS_LD): Likewise.
36902         (TLS_GD): Likewise.
36903         * sysdeps/i386/tls-macros.h: New file.
36904         * sysdeps/powerpc/tls-macros.h: Likewise.
36905         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36906         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36907         * sysdeps/sh/tls-macros.h: Likewise.
36908         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36909         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36910         * sysdeps/x86_64/tls-macros.h: Likewise.
36911
36912 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36913
36914         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36915         zero value for regular exit case.
36916
36917         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36918         (__start_context): Preserve zero value for regular exit case.
36919
36920 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36921             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36922
36923         * manual/setjmp.texi (setcontext): Clarify normal process
36924         termination when uc_link is the null pointer.
36925         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36926         exit call.
36927
36928 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
36929
36930         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36931         preprocessor.  Test for each exception mask separately.
36932
36933 2012-07-16  Andreas Jaeger  <aj@suse.de>
36934
36935         * po/ru.po: Update from translation team.
36936
36937 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
36938
36939         * conform/data/string.h-data (NULL): Use macro-constant.  Require
36940         equal to 0.
36941         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36942         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36943         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36944         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36945         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36946
36947 2012-07-13  Andreas Jaeger  <aj@suse.de>
36948
36949         * po/fr.po: Update from translation team.
36950
36951 2012-07-12  Marek Polacek  <polacek@redhat.com>
36952
36953         [BZ #14173]
36954         * math/libm-test.inc (yn_test): Add test for BZ #14173.
36955         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36956         loop condition.
36957
36958 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
36959
36960         [BZ #13717]
36961         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36962         Change to 2.4.1 where previously 2.4.0.
36963         * sysdeps/unix/sysv/linux/configure: Regenerated.
36964         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36965         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36966         version.
36967         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36968         (__ASSUME_AT_CLKTCK): Remove.
36969         (__ASSUME_AT_PAGESIZE): Likewise.
36970         (__ASSUME_AT_XID): Likewise.
36971         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36972         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36973         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36974         unconditionally.
36975         (HAVE_AUX_PAGESIZE): Likewise.
36976         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36977         [__ASSUME_AT_CLKTCK]: Make code unconditional.
36978         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36979
36980 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
36981
36982         [BZ #14307]
36983         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36984         the temporary buffer used to invoke __gethostbyname2_r,
36985         __gethostbyaddr_r and gethostbyname4_r to make room for struct
36986         host_data / struct gaih_addrtuple.
36987         * resolv/nss_dns/dns-host.c (global scope): Move definition of
36988         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36989         header file nss/nsswitch.h.
36990         * nss/nsswitch.h (global scope): Add definition of implementation
36991         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36992         resolv/nss_dns/dns-host.c).
36993
36994 2012-07-11  Andreas Jaeger  <aj@suse.de>
36995
36996         * po/fr.po: Update from translation team.
36997
36998         * po/sv.po: Update from translation team
36999         * po/fr.po: Another update from translation team.
37000
37001 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37002
37003         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37004         for subnormals or multiply small sinh result by itself.
37005         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37007
37008 2012-07-11  David S. Miller  <davem@davemloft.net>
37009
37010         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37011
37012 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37013
37014         [BZ #14347]
37015         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37016         (INTERNAL_MARK): Shift it here.
37017
37018 2012-07-10  Marek Polacek  <polacek@redhat.com>
37019
37020         [BZ #14151]
37021         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37022         libc_cv_asm_global_directive with .globl.
37023         * configure: Regenerated.
37024         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37025         with .globl.
37026         * sysdeps/i386/configure: Regenerated.
37027         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37028         with .globl.
37029         * sysdeps/x86_64/configure: Regenerated.
37030         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37031         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37032         * elf/tst-unique2mod2.c: Likewise.
37033         * elf/tst-unique2mod1.c: Likewise.
37034         * elf/tst-unique1mod2.c: Likewise.
37035         * elf/tst-unique1mod1.c: Likewise.
37036         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37037         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37038         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37039         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37040         * sysdeps/mach/sysdep.h: Likewise.
37041         * sysdeps/i386/sysdep.h: Likewise.
37042         * sysdeps/i386/i386-mcount.S: Likewise.
37043         * sysdeps/x86_64/_mcount.S: Likewise.
37044         * sysdeps/x86_64/sysdep.h: Likewise.
37045         * sysdeps/sh/_mcount.S: Likewise.
37046         * sysdeps/sh/sysdep.h: Likewise.
37047         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37048         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37049         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37050         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37051         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37052         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37053         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37054         * locale/localeinfo.h: Likewise.
37055         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37056         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37057
37058 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37059
37060         [BZ #14336]
37061         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37062         system".
37063         * manual/message.texi (The Uniforum approach): Likewise.
37064         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37065         (glibc iconv Implementation): Likewise.
37066
37067 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37068
37069         [BZ #14337]
37070         * math/s_clog.c (__clog): Avoid scaling a value down where that
37071         could result in underflow.
37072         * math/s_clog10.c (__clog10): Likewise.
37073         * math/s_clog10f.c (__clog10f): Likewise.
37074         * math/s_clog10l.c (__clog10l): Likewise.
37075         * math/s_clogf.c (__clogf): Likewise.
37076         * math/s_clogl.c (__clogl): Likewise.
37077         * math/libm-test.inc (clog_test): Add more tests.
37078         (clog10_test): Likewise.
37079         * sysdeps/i386/fpu/libm-test-ulps: Update.
37080         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37081
37082 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37083
37084         [BZ #14283]
37085         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37086         by 7 not 8 to examine high bit of fractional part.
37087
37088         [BZ #14042]
37089         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37090         for call to __mcount_internal.
37091         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37092         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37093         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37094
37095 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37096
37097         [BZ #14154]
37098         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37099         approximation for values within 0x1p-13f of an odd multiple of
37100         pi/4.
37101         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37102         exception.  Add more tests.
37103         * sysdeps/i386/fpu/libm-test-ulps: Update.
37104
37105         [BZ #6778]
37106         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37107         inputs and return -1 for them.  Do not check for +Inf in case not
37108         reachable for +Inf.
37109         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37110         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37111         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37112         and return -1 for them.  Do not check for +Inf in case not
37113         reachable for +Inf.
37114         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37115         define.
37116         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37117         and return -1 for them.  Do not check for +Inf in case not
37118         reachable for +Inf.
37119         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37120         spurious underflow.
37121         * sysdeps/i386/fpu/libm-test-ulps: Update.
37122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37123
37124 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37125
37126         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37127
37128 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37129
37130         [BZ #14157]
37131         [BZ #14331]
37132         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37133         could result in spurious underflow.  Scale down values above
37134         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37135         * math/s_csqrtf.c (__csqrtf): Likewise.
37136         * math/s_csqrtl.c (__csqrtl): Likewise.
37137         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37138         spurious underflow.
37139         * sysdeps/i386/fpu/libm-test-ulps: Update.
37140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37141
37142 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37143
37144         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37145         xopen-msg.sed.
37146         * catgets/xopen-msg.awk: New file.
37147         * catgets/xopen-msg.sed: Removed.
37148
37149         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37150         po2text.sed.
37151         * intl/po2test.awk: New file.
37152         * intl/po2test.sed: Removed.
37153
37154 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37155
37156         [BZ #14328]
37157         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37158         or multiply small sinh result by itself.
37159         * math/s_ctanf.c (__ctanf): Likewise.
37160         * math/s_ctanh.c (__ctanh): Likewise.
37161         * math/s_ctanhf.c (__ctanhf): Likewise.
37162         * math/s_ctanhl.c (__ctanhl): Likewise.
37163         * math/s_ctanl.c (__ctanl): Likewise.
37164         * math/libm-test.inc (ctan_test_tonearest): New function.
37165         (ctan_test_towardzero): Likewise.
37166         (ctan_test_downward): Likewise.
37167         (ctan_test_upward): Likewise.
37168         (ctanh_test_tonearest): Likewise.
37169         (ctanh_test_towardzero): Likewise.
37170         (ctanh_test_downward): Likewise.
37171         (ctanh_test_upward): Likewise.
37172         (main): Call these new functions.
37173         * sysdeps/i386/fpu/libm-test-ulps: Update.
37174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37175
37176 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37177
37178         * .gitignore: Delete /ports entry.
37179
37180 2012-07-03  Andreas Jaeger  <aj@suse.de>
37181
37182         * po/bg.po: Update from translation team.
37183         * po/cs.po: Likewise.
37184         * po/de.po: Likewise.
37185         * po/hr.po: Likewise.
37186         * po/nl.pl: Likewise.
37187         * po/pl.po: Likewise.
37188         * po/vi.po: Likewise.
37189
37190 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
37191
37192         * Makeconfig [!+link] (+link-before-libc): New variable.
37193         [!+link] (+link-after-libc): Likewise.
37194         [!+link] (+link-tests): Likewise.
37195         [!+link] (+link): Define in terms of $(+link-before-libc) and
37196         $(+link-after-libc).
37197         [!+link-static] (+link-static-before-libc): New variable.
37198         [!+link-static] (+link-static-after-libc): Likewise.
37199         [!+link-static] (+link-static-tests): Likewise.
37200         [!+link-static] (+link-static): Define in terms of
37201         $(+link-static-before-libc) and $(+link-static-after-libc).
37202         [build-shared] (link-libc-before-gnulib): New variable.
37203         [build-shared] (link-libc-tests): Likewise.
37204         [build-shared] (link-libc): Define in terms of
37205         $(link-libc-before-gnulib).
37206         [!build-shared] (link-libc-tests): New variable.
37207         (link-libc-static-tests): New variable.
37208         [!gnulib] (gnulib-arch): New variable.
37209         [!gnulib] (gnulib-tests): Likewise.
37210         [!gnulib] (static-gnulib-arch): Likewise.
37211         [!gnulib] (static-gnulib-tests): Likewise.
37212         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
37213         Define with "=" instead of ":=".
37214         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
37215         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
37216         * Rules (binaries-all-notests): New variable.
37217         (binaries-all-tests): Likewise.
37218         (binaries-static-notests): Likewise.
37219         (binaries-static-tests): Likewise.
37220         (binaries-all): Define using $(binaries-all-notests) and
37221         $(binaries-all-tests).
37222         (binaries-static): Define using $(binaries-static-notests) and
37223         $(binaries-static-tests).
37224         (binaries-shared-tests): New variable.
37225         (binaries-shared-notests): Likewise.
37226         (binaries-shared): Remove variable.
37227         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
37228         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
37229         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
37230         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
37231         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
37232         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
37233         * elf/Makefile (sln-modules): New variable.
37234         (extra-objs): Add $(sln-modules:=.o).
37235         (ldconfig-modules): Add static-stubs.
37236         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
37237         * elf/static-stubs.c: New file.
37238
37239         [BZ #14283]
37240         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
37241         by 7 not 8 to examine high bit of fractional part.  Use volatile
37242         variables when splitting into final array of floats if
37243         __FLT_EVAL_METHOD__ != 0.
37244         * math/libm-test.inc (cos_test): Add another test.
37245         (sin_test): Likewise.
37246         * sysdeps/i386/fpu/libm-test-ulps: Update.
37247
37248         [BZ #14273]
37249         * math/libm-test.inc (cosh_test): Add more tests.
37250
37251         * version.h (RELEASE): Set to "development".
37252         (VERSION): Set to "2.16.90".
37253
37254 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
37255
37256         * NEWS: Update copyright. Remove last-updated date.
37257         Mention math library bug fixes and timezone data changes.
37258         * README: Mention GNU/Hurd, x32, and HPPA support status.
37259
37260 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
37261
37262         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
37263
37264 2012-06-27  Andreas Jaeger  <aj@suse.de>
37265
37266         * manual/contrib.texi (Contributors): Add Samuel Thibault.
37267
37268 2012-06-25  Andreas Jaeger  <aj@suse.de>
37269
37270         * sysdeps/s390/fpu/libm-test-ulps: Update.
37271
37272 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
37273             Thomas Schwinge  <thomas@codesourcery.com>
37274
37275         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
37276         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
37277         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
37278         fanotify_mark.
37279
37280 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
37281
37282         * sysdeps/mach/start.c: Remove file.
37283         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
37284         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
37285         * sysdeps/sh/init-first.c: Likewise.
37286
37287         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
37288         registers for frame unwinding purposes, add CFI directives.
37289         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37290         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
37291         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
37292         Likewise.
37293
37294         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
37295         __fortify_fail returning.
37296         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
37297
37298         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
37299         sysdeps/sh/____longjmp_chk.S.
37300         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
37301         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
37302         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
37303         (gen-as-const-headers): Append sigaltstack-offsets.sym.
37304
37305         * sysdeps/sh/abort-instr.h: New file.
37306         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
37307         process in case exit returns.
37308
37309         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
37310         initialize the GOT register before use.
37311
37312         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
37313         calculation of ARGC > 4.
37314
37315         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
37316         meaningful names to some local labels.
37317
37318 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
37319             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37320
37321         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
37322         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
37323         (__arch_compare_and_exchange_val_16_acq): Likewise.
37324         (__arch_compare_and_exchange_val_32_acq): Likewise.
37325         (atomic_exchange_and_add): Fix gUSA sequence.
37326         (atomic_add): Likewise.
37327         (atomic_add_negative): Likewise.
37328         (atomic_add_zero): Likewise.
37329         (atomic_bit_test_set): Likewise.
37330
37331 2012-06-22  Andreas Schwab  <schwab@redhat.com>
37332
37333         [BZ #13579]
37334         * include/link.h (struct link_map): Add l_free_initfini.
37335         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
37336         l_initfini.
37337         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
37338         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
37339         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
37340         set.
37341
37342 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
37343
37344         * configure.in: Use AC_LANG_SOURCE.
37345         * configure: Regenerate.
37346
37347 2012-06-22  Roland McGrath  <roland@hack.frob.com>
37348
37349         * configure.in (libc_cv_localstatedir): New substituted variable.
37350         * configure: Regenerated.
37351         * config.make.in (localstatedir): New variable, substituted from
37352         libc_cv_localstatedir.
37353         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
37354         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
37355         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
37356         * sysdeps/gnu/configure: Regenerated.
37357
37358 2012-06-21  Jeff Law  <law@redhat.com>
37359
37360         [BZ #14277]
37361         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
37362         free.  Simplify list management for _LIBC case.
37363
37364 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
37365
37366         [BZ #14273]
37367         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
37368         Clear sign bit of 64-bit integer value before comparing against
37369         overflow value.
37370
37371         * sysdeps/mach/configure: Regenerated.
37372
37373 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
37374
37375         [BZ #14278]
37376         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
37377
37378 2012-06-21  Jeff Law  <law@redhat.com>
37379
37380         [BZ #13882]
37381         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
37382         uint16_t for elements in the "seen" array to avoid char overflows.
37383         * elf/dl-fini.c (_dl_sort_fini): Likewise.
37384         * elf/dl-open.c (dl_open_worker): Likewise.
37385
37386 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
37387
37388         * scripts/list-sources.sh: Scan PORTS for translations.
37389         * po/libc.pot: Regenerated.
37390
37391 2012-06-21  Andreas Jaeger  <aj@suse.de>
37392
37393         [BZ #12194]
37394         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
37395         warning.
37396         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
37397         * bits/byteswap-16.h (__bswap_16): Likewise.
37398         * bits/byteswap.h (__bswap_constant_16): Likewise.
37399
37400 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
37401
37402         [BZ #14117]
37403         * sysdeps/i386/fpu_control.h: Removed.
37404         * sysdeps/x86_64/fpu_control.h: Moved to ...
37405         * sysdeps/x86/fpu_control.h: Here.
37406
37407         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
37408         (_FPU_SETCW): Likewise.
37409
37410 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
37411
37412         [BZ #14117]
37413         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
37414         * sysdeps/x86/fpu/bits/mathinline.h: This.
37415         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
37416
37417         [BZ #14050]
37418         [BZ #14117]
37419         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
37420         functions if __x86_64__ is defined.
37421
37422 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
37423
37424         * string/endian.h: Add !__ASSEMBLER__ condition for including
37425         conversion interfaces.
37426
37427 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
37428
37429         [BZ #14241]
37430         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
37431         of ABS(x) in calculating zero to negative powers other than odd
37432         integers.
37433         * math/libm-test.inc (pow_test): Add more tests.
37434
37435 2012-06-15  Andreas Jaeger  <aj@suse.de>
37436
37437         * manual/contrib.texi (Contributors): Update entry of Liubov
37438         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
37439         Machado Filho.
37440
37441 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
37442
37443         * string/string.h: Add __wur to GNU version of strerror_r.
37444
37445 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
37446
37447         [BZ #14229]
37448         * string/Makefile (tests): Add tst-strtok_r.
37449         * string/tst-strtok_r.c: New file.
37450         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
37451         RAX_LP/RDX_LP on SAVE_PTR.
37452
37453 2012-06-14  Roland McGrath  <roland@hack.frob.com>
37454
37455         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
37456
37457 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
37458
37459         * libm_test.inc (csqrt_test): Allow more spurious underflow
37460         exceptions.
37461         (j0_test): Likewise.
37462         (j1_test): Likewise.
37463         (y0_test): Likewise.
37464         (y1_test): Likewise.
37465
37466 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
37467
37468         * po/Makefile (libc.pot): Use UTF-8 charset.
37469
37470 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
37471
37472         [BZ #14210]
37473         Suppress sign-conversion warning from FD_SET.
37474         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
37475         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
37476         not unsigned long int.
37477         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
37478
37479 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
37480
37481         [BZ #14050]
37482         [BZ #14117]
37483         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
37484         __extern_always_inline instead of __extern_inline.
37485         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
37486         (__signbit): Likewise.
37487         (__signbitl): Support C++ namespace.
37488         (lrintf): New inline function.
37489         (lrint): Likewise.
37490         (llrintf): Likewise.
37491         (llrint): Likewise.
37492         (fmaxf): Likewise.
37493         (fmax): Likewise.
37494         (fminf): Likewise.
37495         (fmin): Likewise.
37496         (rint): Likewise.
37497         (rintf): Likewise.
37498         (ceil): Likewise.
37499         (ceilf): Likewise.
37500         (floor): Likewise.
37501         (floorf): Likewise.
37502         (nearbyint): Likewise.
37503         (nearbyintf): Likewise.
37504
37505 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
37506
37507         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
37508         non-default versions.
37509
37510 2012-06-11  Roland McGrath  <roland@hack.frob.com>
37511
37512         [BZ #14218]
37513         * manual/argp.texi (Argp): Reword argp_parse description slightly.
37514
37515 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
37516
37517         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
37518         (FE_UPWARD, FE_DOWNWARD): Don't define.
37519         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
37520         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37521
37522         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
37523         reading it.
37524         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37525         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37526
37527 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37528
37529         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37530         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
37531         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
37532         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
37533
37534 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
37535
37536         [BZ #14117]
37537         * sysdeps/i386/fpu/bits/fenv.h: Removed.
37538         * sysdeps/i386/fpu/Implies: New file.
37539         * sysdeps/x86_64/fpu/Implies: Likewise.
37540         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
37541         * sysdeps/x86/fpu/bits/fenv.h: This.
37542
37543         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
37544         __SSE_MATH__.
37545
37546 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37547
37548         [BZ #14134]
37549         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
37550         character 0xffff that matches the last element of the
37551         conversion table.
37552
37553 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37554
37555         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
37556         fmodl commit.
37557
37558 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37559
37560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
37561         values higher than 25.6283.
37562
37563 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37564
37565         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
37566         subnormal exponent extraction and add some __builtin_expect.
37567         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
37568         Fix for subnormal mantissa calculation.
37569
37570 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
37571
37572         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
37573         cpu2 is -1 and errno is not ENOSYS.
37574
37575 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
37576
37577         [BZ #14117]
37578         * sysdeps/i386/i486/bits/string.h: Renamed to ...
37579         * sysdeps/x86/bits/string.h: This.
37580         * sysdeps/x86_64/bits/string.h: Removed.
37581
37582         * sysdeps/i386/i486/bits/string.h: Define inline functions only
37583         if not compiling for x86-64, but compiling for >= i486.
37584
37585         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
37586         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
37587
37588         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
37589         New macro from Linux kernel 3.4.0.
37590         (FP_XSTATE_MAGIC2): Likewise.
37591         (FP_XSTATE_MAGIC2_SIZE): Likewise.
37592         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
37593         (struct _fpx_sw_bytes): New struct.
37594         (struct _xsave_hdr): Likewise.
37595         (struct _ymmh_state): Likewise.
37596         (struct _xstate): Likewise.
37597
37598         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
37599         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
37600         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
37601         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
37602         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
37603         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
37604
37605         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
37606         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
37607         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
37608         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
37609         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
37610         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
37611
37612 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37613
37614         [BZ #13743]
37615         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37616         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37617         (sysdep_headers): Include sys/platform/ppc.h.
37618         * sysdeps/powerpc/test-gettimebase.c: Test for
37619         __ppc_get_timebase() to catch future ISA opcode/insn changes.
37620         * manual/Makefile (appendices): Include platform.texi.
37621         * manual/contrib.texi (Contributors): Update @node pointers.
37622         * manual/maint.texi (Maintenance): Likewise.
37623         (Platform): New node.
37624         * manual/platform.texi: New file.  Document the new features.
37625
37626 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37627             Jakub Jelinek  <jakub@redhat.com>
37628
37629         [BZ #14188]
37630         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37631         where __builtin_expect is unavailable.
37632
37633 2012-06-03  David S. Miller  <davem@davemloft.net>
37634
37635         * stdlib/longlong.h: Updated from GCC.
37636
37637 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
37638
37639         [BZ #14042]
37640         * sysdeps/powerpc/powerpc32/mcount.c: New file.
37641         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37642         __mcount_internal.
37643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37644         (GLIBC_2.16): Likewise.
37645
37646 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37647
37648         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37649
37650 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37651
37652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37653         (default-abi): New variable.
37654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37655         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37656         variable.
37657         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37658         Likewise.
37659         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37660         Likewise.
37661         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37662         Likewise.
37663
37664         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37665         definition.  Document in comment.
37666
37667 2012-06-01  David S. Miller  <davem@davemloft.net>
37668
37669         * stdlib/longlong.h: Updated from GCC.
37670
37671 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37672
37673         [BZ #14117]
37674         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37675         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37676         sys/debugreg.h sys/io.h here.
37677         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37678         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37679         sys/io.h.
37680         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37681         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37682         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37683         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37684         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37685         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37686
37687         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37688         Define only if __x86_64__ is defined.
37689
37690 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37691
37692         [BZ #14048]
37693         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37694         Use int64_t for variable i.
37695         * math/libm-test.inc (fmod_test): Add more tests.
37696
37697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37698         z computation is not scheduled after fetestexcept.
37699         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37700         Use math_force_eval instead of asm to ensure calculation scheduled
37701         before exception test.
37702         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37703         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37704
37705 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37706
37707         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37708         computation is not scheduled after fetestexcept.
37709
37710 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37711
37712         [BZ #14117]
37713         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37714         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37715
37716 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37717
37718         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37719         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37720
37721 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37722
37723         [BZ #14117]
37724         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37725         <bits/wordsize.h>.
37726         (__WCHAR_MIN): Support __WORDSIZE == 64.
37727         (__WCHAR_MAX): Likewise.
37728
37729         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37730         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37731
37732         [BZ #14183]
37733         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37734         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37735
37736         [BZ #14117]
37737         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37738         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37739
37740         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37741         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37742
37743         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37744         Defined to 1 if __x86_64__ isn't defined.
37745         (_STAT_VER_LINUX_OLD): New.
37746         (st_atime): Remove duplicate.
37747         (st_mtime): Likewise.
37748         (st_ctime): Likewise.
37749
37750 2012-05-31  David S. Miller  <davem@davemloft.net>
37751
37752         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37753         entries.
37754
37755 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
37756
37757         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37758         gen-libm-test.pl.
37759
37760         [BZ #14132]
37761         * elf/dl-reloc.c: Include <_itoa.h>.
37762         (_dl_reloc_bad_type): Remove use of INTUSE.
37763         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37764         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37765         * stdio-common/psiginfo.c (psiginfo): Likewise.
37766         * stdio-common/psignal.c (psignal): Likewise.
37767         * string/strsignal.c (strsignal): Likewise.
37768         * include/signal.h (_sys_siglist): Declare hidden proto.
37769         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
37770         INTVARDEF with libc_hidden_data_def.
37771         * stdio-common/itoa-udigits.c: Likewise.
37772         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37773         (_itoa_lower_digits_internal): Remove declaration.
37774         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37775         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37776         (_sys_sigabbrev_internal): Remove aliases.
37777         (_sys_siglist): Define hidden alias.
37778
37779 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
37780
37781         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37782         bits/sysctl.h.
37783
37784 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37785
37786         [BZ #14117]
37787         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37788         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37789
37790         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37791         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37792         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37793         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37794         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37795         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37796
37797         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37798         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37799         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37800
37801         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37802         with __addr.
37803         (insw): Likewise.
37804         (insl): Likewise.
37805         (outsb): Likewise.
37806         (outsw): Likewise.
37807         (outsl): Likewise.
37808
37809         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37810         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37811         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37812
37813         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37814         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37815         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37816         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37817         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37818         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37819
37820         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37821         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37822
37823         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37824         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37825
37826         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37827         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37828         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37829
37830         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37831         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37832         to ...
37833         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37834
37835         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37836         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37837         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37838
37839         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37840         for x86-64.
37841         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37842
37843 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
37844
37845         * math/math.h (M_El): Use two more decimal places.
37846         (M_LOG2El): Likewise.
37847         (M_LOG10El): Likewise.
37848         (M_LN2l): Likewise.
37849         (M_LN10l): Likewise.
37850         (M_PIl): Likewise.
37851         (M_PI_2l): Likewise.
37852         (M_PI_4l): Likewise.
37853         (M_1_PIl): Likewise.
37854         (M_2_PIl): Likewise.
37855         (M_2_SQRTPIl): Likewise.
37856         (M_SQRT2l): Likewise.
37857         (M_SQRT1_2l): Likewise.
37858
37859 2012-05-31  David S. Miller  <davem@davemloft.net>
37860
37861         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37862         values between float registers.
37863         * sysdeps/sparc/sparc64/memset.S: Likewise.
37864         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37865
37866 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
37867
37868         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37869         -D_FORTIFY_SOURCE=1.
37870         (CPPFLAGS-tst-longjmp_chk.c): Define.
37871         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37872         (CPPFLAGS-tst-longjmp_chk2.c): Define.
37873         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37874         CFLAGS-tst-wchar-h.c.
37875
37876 2012-05-31  Marek Polacek  <polacek@redhat.com>
37877
37878         [BZ #14132]
37879         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37880         __endmntent_internal): Remove declaration.
37881         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37882         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37883         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37884
37885 2012-05-30  David S. Miller  <davem@davemloft.net>
37886
37887         * sysdeps/sparc/sparc32/soft-fp/q_util.c
37888         (___Q_simulate_exceptions): Use real FP ops rather than writing
37889         into the %fsr.
37890         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37891         Likewise.
37892
37893 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37894
37895         [BZ #14117]
37896         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37897         * sysdeps/x86/bits/xtitypes.h: This.
37898
37899         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37900         * sysdeps/x86/bits/wordsize.h: This.
37901
37902         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37903         * sysdeps/x86/bits/huge_vall.h: This.
37904
37905         * sysdeps/i386/bits/select.h: Removed.
37906         * sysdeps/x86_64/bits/select.h: Renamed to ...
37907         * sysdeps/x86/bits/select.h: This.
37908
37909         * sysdeps/i386/bits/setjmp.h: Removed.
37910         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37911         * sysdeps/x86/bits/setjmp.h: This.
37912
37913         * sysdeps/i386/bits/mathdef.h: Removed.
37914         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37915         * sysdeps/x86/bits/mathdef.h: This.
37916
37917 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
37918
37919         [BZ #14132]
37920         * include/sys/socket.h (__connect_internal)
37921         (__libc_sa_len_internal): Remove declaration.
37922         (__connect, __libc_sa_len): Declare hidden_proto.
37923         (SA_LEN): Remove use of INTUSE.
37924         * socket/connect.c: Add libc_hidden_def.
37925         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37926         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37927         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37928         alias.
37929         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37930         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37931         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37932         of adding _internal alias.
37933
37934 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37935
37936         [BZ #14117]
37937         * sysdeps/i386/bits/link.h: Removed.
37938         * sysdeps/i386/bits/linkmap.h: Likewise.
37939         * sysdeps/x86_64/bits/link.h: Renamed to ...
37940         * sysdeps/x86/bits/link.h: This.
37941         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37942         * sysdeps/x86/bits/linkmap.h: This.
37943
37944         * sysdeps/i386/bits/endian.h: Removed.
37945         * sysdeps/x86_64/bits/endian.h: Renamed to ...
37946         * sysdeps/x86/bits/endian.h: This.
37947
37948         * sysdeps/i386/bits/byteswap.h: Removed.
37949         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37950         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37951         * sysdeps/x86/bits/byteswap.h: This.
37952         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37953         * sysdeps/x86/bits/byteswap-16.h: This.
37954         * sysdeps/i386/Implies: Add x86.
37955         * sysdeps/x86_64/Implies: Likewise.
37956
37957 2012-05-30  David S. Miller  <davem@davemloft.net>
37958
37959         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37960         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37961         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37962         (FP_TRAPPING_EXCEPTIONS): Define.
37963         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37964         (FP_TRAPPING_EXCEPTIONS): Define.
37965         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37966         subnormals only when inexact has been signalled or underflow
37967         exceptions are enabled.
37968         (_FP_PACK_CANONICAL): Likewise.
37969
37970 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37971
37972         [BZ #14183]
37973         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37974         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37975
37976 2012-05-30  Richard Henderson  <rth@twiddle.net>
37977
37978         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37979         with #ifndef NOT_IN_libc.
37980
37981         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
37982         marked to avoid plt entry.
37983
37984 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37985
37986         [BZ #14112]
37987         * Makeconfig (default-abi): New macro.
37988         (abi-includes): Likewise.
37989         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
37990         $(abi-$(default-abi)-lib-soname) for soname if defined.
37991         ($(common-objpfx)gnu/lib-names.stmp): Generate from
37992         abi-variants.
37993         * Makefile (installed-stubs): Likewise.
37994         * include/stubs-biarch.h: Removed.
37995         * scripts/lib-names.awk: Only handle one library at a time.
37996         * scripts/soversions.awk: Remove WORDSIZE support.
37997         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37998         entries.
37999         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38000         Removed.
38001         (syscall-list-default-condition): Likewise.
38002         (syscall-list-default-condition): Likewise.
38003         (syscall-list-includes): Likewise.
38004         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38005         syscall-list-* with abi-*.  Handle undefined abi-variants.
38006         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38007         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38008         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38009         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38010         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38011         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38012         Removed.
38013         (syscall-list-32-options): Likewise.
38014         (syscall-list-32-condition): Likewise.
38015         (syscall-list-64-options): Likewise.
38016         (syscall-list-64-condition): Likewise.
38017         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38018         macro.
38019         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38020         Renamed to ...
38021         (abi-*): This.
38022         (abi-64-ld-soname): New macro.
38023         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38024         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38025         Renamed to ...
38026         (abi-*): This.
38027         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38028         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38029
38030 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38031
38032         * sysdeps/unix/sysv/linux/kernel-features.h
38033         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38034         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38035         include <kernel-features.h>.
38036         [!__NR_ftruncate64]: Remove conditional code.
38037         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38038         [__NR_ftruncate64]: Make code unconditional.
38039         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38040         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38041         include <kernel-features.h>.
38042         [!__NR_ftruncate64]: Remove conditional code.
38043         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38044         [__NR_ftruncate64]: Make code unconditional.
38045         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38047         include <kernel-features.h>.
38048         [!__NR_ftruncate64]: Remove conditional code.
38049         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38050         [__NR_ftruncate64]: Make code unconditional.
38051         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38053         include <kernel-features.h>.
38054         [!__NR_ftruncate64]: Remove conditional code.
38055         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38056         [__NR_ftruncate64]: Make code unconditional.
38057         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38058
38059         * configure.in (libc_cv_fpie): Weaken to a compile test using
38060         LIBC_TRY_CC_OPTION.
38061         * configure: Regenerated.
38062
38063 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38064
38065         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38066         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38067         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38069         Refreshed.
38070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38074         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38075         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38076         Refreshed.
38077
38078 2012-05-27  David S. Miller  <davem@davemloft.net>
38079
38080         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38081         (___Q_zero): New.
38082         (__Q_simulate_exceptions): Return void.  Change to simulate
38083         exceptions by writing into the %fsr.
38084         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38085         (__Qp_handle_exceptions): Likewise.
38086         (numbers): Delete.
38087         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38088         __Qp_handle_exceptions.
38089         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38090         __Qp_handle_exceptions.
38091         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38092         as unused and give dummy FP_RND_NEAREST initializer.
38093         (FP_INHIBIT_RESULTS): Define.
38094         (___Q_simulate_exceptions): Update declaration.
38095         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38096         formatting.
38097         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38098         as unused and give dummy FP_RND_NEAREST initializer.
38099         (__Qp_handle_exceptions): Update declaration.
38100         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38101         formatting.
38102
38103 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38104
38105         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38106         the temporary FPU control word.
38107         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38108         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38109         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38110         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38111         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38112         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38113         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38114         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38115         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38116         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38117         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38118
38119 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38120
38121         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38122         fields.
38123
38124 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38125
38126         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38127         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38128         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38129         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38130         Likewise.
38131         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38132         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38133         Likewise.
38134
38135 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38136
38137         * po/h.po: Update from translation team.
38138
38139 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38140
38141         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38142
38143         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38144         handling of denormals.
38145         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38146         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38147         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38148         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38149         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38150         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38151         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38152         Likewise.
38153
38154 2012-05-26  Marek Polacek  <polacek@redhat.com>
38155
38156         [BZ #14152]
38157         * math/libm-test.inc (fma_test): Don't always expect underflow
38158         exception.
38159
38160 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38161
38162         [BZ #12416]
38163         * elf/tst-execstack.c: Include stackinfo.h.
38164         (do_test): Adjust test case to ensure that pthread_getattr_np
38165         behaviour remains the same after marking stack executable.
38166
38167 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38168
38169         * sysdeps/unix/sysv/linux/kernel-features.h
38170         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38171         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38172         kernel-features.h.
38173         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38174         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38175         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38176         kernel-features.h.
38177         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38178         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38179
38180 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38181
38182         * configure.in: Define the default includes to being none.
38183         * configure: Regenerated.
38184
38185 2012-05-25  Roland McGrath  <roland@hack.frob.com>
38186
38187         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
38188         * sysdeps/x86_64/setjmp.S: Likewise.
38189         * sysdeps/i386/bsd-setjmp.S: Likewise.
38190         * sysdeps/i386/bsd-_setjmp.S: Likewise.
38191         * sysdeps/i386/setjmp.S: Likewise.
38192         * sysdeps/i386/__longjmp.S: Likewise.
38193         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38194         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
38195
38196         * include/stap-probe.h: New file.
38197         * configure.in: Handle --enable-systemtap.
38198         * configure: Regenerated.
38199         * config.h.in (USE_STAP_PROBE): New #undef.
38200         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
38201         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
38202         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38203
38204 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38205
38206         [BZ #13717]
38207         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
38208         to 2.4.0 where earlier.
38209         * sysdeps/unix/sysv/linux/configure: Regenerated.
38210         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
38211         <kernel-features.h>.
38212         [__ASSUME_32BITUIDS]: Make code unconditional.
38213         [!__ASSUME_32BITUIDS]: Remove conditional code.
38214         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
38215         <kernel-features.h>.
38216         [__ASSUME_32BITUIDS]: Make code unconditional.
38217         [!__ASSUME_32BITUIDS]: Remove conditional code.
38218         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
38219         [__ASSUME_32BITUIDS]: Make code unconditional.
38220         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
38221         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
38222         <kernel-features.h>.
38223         [__ASSUME_32BITUIDS]: Make code unconditional.
38224         [!__ASSUME_32BITUIDS]: Remove conditional code.
38225         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
38226         <kernel-features.h>.
38227         [__ASSUME_32BITUIDS]: Make code unconditional.
38228         [!__ASSUME_32BITUIDS]: Remove conditional code.
38229         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
38230         <kernel-features.h>.
38231         [__ASSUME_32BITUIDS]: Make code unconditional.
38232         [!__ASSUME_32BITUIDS]: Remove conditional code.
38233         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
38234         <kernel-features.h>.
38235         [__ASSUME_32BITUIDS]: Make code unconditional.
38236         [!__ASSUME_32BITUIDS]: Remove conditional code.
38237         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
38238         <kernel-features.h>.
38239         [__ASSUME_32BITUIDS]: Make code unconditional.
38240         [!__ASSUME_32BITUIDS]: Remove conditional code.
38241         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
38242         <kernel-features.h>.
38243         [__ASSUME_32BITUIDS]: Make code unconditional.
38244         [!__ASSUME_32BITUIDS]: Remove conditional code.
38245         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
38246         <kernel-features.h>.
38247         [__ASSUME_32BITUIDS]: Make code unconditional.
38248         [!__ASSUME_32BITUIDS]: Remove conditional code.
38249         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
38250         <kernel-features.h>.
38251         [__ASSUME_32BITUIDS]: Make code unconditional.
38252         [!__ASSUME_32BITUIDS]: Remove conditional code.
38253         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
38254         <kernel-features.h>.
38255         [__ASSUME_32BITUIDS]: Make code unconditional.
38256         [!__ASSUME_32BITUIDS]: Remove conditional code.
38257         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
38258         <kernel-features.h>.
38259         [__ASSUME_32BITUIDS]: Make code unconditional.
38260         [!__ASSUME_32BITUIDS]: Remove conditional code.
38261         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
38262         <kernel-features.h>.
38263         [__NR_setresgid] (__setresgid): Do not declare.
38264         [__ASSUME_32BITUIDS]: Make code unconditional.
38265         [!__ASSUME_32BITUIDS]: Remove conditional code.
38266         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
38267         <kernel-features.h>.
38268         [__NR_setresuid] (__setresuid): Do not declare.
38269         [__ASSUME_32BITUIDS]: Make code unconditional.
38270         [!__ASSUME_32BITUIDS]: Remove conditional code.
38271         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
38272         <kernel-features.h>.
38273         [__ASSUME_32BITUIDS]: Make code unconditional.
38274         [!__ASSUME_32BITUIDS]: Remove conditional code.
38275         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
38276         <kernel-features.h>.
38277         [__ASSUME_32BITUIDS]: Make code unconditional.
38278         [!__ASSUME_32BITUIDS]: Remove conditional code.
38279         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
38280         <kernel-features.h>.
38281         [__ASSUME_32BITUIDS]: Make code unconditional.
38282         [!__ASSUME_32BITUIDS]: Remove conditional code.
38283         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
38284         <kernel-features.h>.
38285         [__ASSUME_32BITUIDS]: Make code unconditional.
38286         [!__ASSUME_32BITUIDS]: Remove conditional code.
38287         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
38288         <kernel-features.h>.
38289         [__ASSUME_32BITUIDS]: Make code unconditional.
38290         [!__ASSUME_32BITUIDS]: Remove conditional code.
38291         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
38292         <kernel-features.h>.
38293         [__ASSUME_32BITUIDS]: Make code unconditional.
38294         [!__ASSUME_32BITUIDS]: Remove conditional code.
38295         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
38296         <kernel-features.h>.
38297         [__ASSUME_32BITUIDS]: Make code unconditional.
38298         [!__ASSUME_32BITUIDS]: Remove conditional code.
38299         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
38300         <kernel-features.h>.
38301         [__ASSUME_32BITUIDS]: Make code unconditional.
38302         [!__ASSUME_32BITUIDS]: Remove conditional code.
38303         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
38304         <kernel-features.h>.
38305         [__ASSUME_32BITUIDS]: Make code unconditional.
38306         [!__ASSUME_32BITUIDS]: Remove conditional code.
38307         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
38308         <kernel-features.h>.
38309         [__ASSUME_32BITUIDS]: Make code unconditional.
38310         [!__ASSUME_32BITUIDS]: Remove conditional code.
38311         * sysdeps/unix/sysv/linux/kernel-features.h
38312         (__ASSUME_SETRESUID_SYSCALL): Remove.
38313         (__ASSUME_SETRESGID_SYSCALL): Likewise.
38314         (__ASSUME_32BITUIDS): Likewise.
38315         (__ASSUME_LDT_WORKS): Likewise.
38316         (__ASSUME_O_DIRECTORY): Likewise.
38317         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
38318         architecture but not kernel version.
38319         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
38320         (__ASSUME_MMAP2_SYSCALL): Likewise.
38321         (__ASSUME_STAT64_SYSCALL): Likewise.
38322         (__ASSUME_IPC64): Likewise.
38323         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
38324         <kernel-features.h>.
38325         [__ASSUME_32BITUIDS]: Make code unconditional.
38326         [!__ASSUME_32BITUIDS]: Remove conditional code.
38327         * sysdeps/unix/sysv/linux/opendir.c: Do not include
38328         <kernel-features.h>.
38329         [__ASSUME_O_DIRECTORY]: Make code unconditional.
38330         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
38331         132096]: Remove conditional code.
38332         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
38333         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
38334         <kernel-features.h>.
38335         [__ASSUME_32BITUIDS]: Make code unconditional.
38336         [!__ASSUME_32BITUIDS]: Remove conditional code.
38337         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
38338         <kernel-features.h>.
38339         [__ASSUME_32BITUIDS]: Make code unconditional.
38340         [!__ASSUME_32BITUIDS]: Remove conditional code.
38341         * sysdeps/unix/sysv/linux/setegid.c: Do not include
38342         <kernel-features.h>.
38343         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
38344         unconditional.
38345         (__setresgid): Do not declare.
38346         [__ASSUME_32BITUIDS]: Make code unconditional.
38347         [!__ASSUME_32BITUIDS]: Remove conditional code.
38348         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
38349         <kernel-features.h>.
38350         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
38351         unconditional.
38352         (__setresuid): Do not declare.
38353         [__ASSUME_32BITUIDS]: Make code unconditional.
38354         [!__ASSUME_32BITUIDS]: Remove conditional code.
38355         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
38356         <kernel-features.h>.
38357         [__ASSUME_32BITUIDS]: Make code unconditional.
38358         [!__ASSUME_32BITUIDS]: Remove conditional code.
38359         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
38360         <kernel-features.h>.
38361         [__ASSUME_32BITUIDS]: Make code unconditional.
38362         [!__ASSUME_32BITUIDS]: Remove conditional code.
38363
38364 2012-05-25  Richard Henderson  <rth@twiddle.net>
38365
38366         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
38367         dl_hwcap to ifunc resolver.
38368         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
38369         elf_ifunc_invoke.
38370         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
38371         dl_hwcap to ifunc resolver.
38372         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
38373
38374 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38375
38376         [BZ #14153]
38377         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
38378         for |x| <= 2**-26, not 2**-57.
38379         * math/libm-test.inc (acos_test): Do not allow spurious underflow
38380         exception.
38381
38382 2012-05-24  Jeff Law  <law@redhat.com>
38383
38384         * stdio-common/Makefile (tests): Add bug25.
38385         * stdio-common/bug25.c: New test.
38386
38387 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38388
38389         [BZ #13576]
38390         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
38391         multiple of MALLOC_ALIGNMENT in size.
38392         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
38393
38394 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38395
38396         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
38397         Require >= 256.
38398         (FILENAME_MAX): Use macro-int-constant.
38399         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
38400         (_IOFBF): Use macro-int-constant.
38401         (_IOLBF): Likewise.
38402         (_IONBF): Likewise.
38403         (SEEK_CUR): Likewise.
38404         (SEEK_END): Likewise.
38405         (SEEK_SET): Likewise.
38406         (TMP_MAX): Likewise.
38407         (EOF): Use macro-int-constant.  Require < 0.
38408         (NULL): Use macro-constant.  Require == 0.
38409         (stdin): Require type to be FILE *.
38410         (stdout): Likewise.
38411         (stderr): Likewise.
38412         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
38413         macro-int-constant.
38414         (EXIT_SUCCESS): Likewise.
38415         (NULL): Use macro-constant.  Require == 0.
38416         (RAND_MAX): Use macro-int-constant.
38417         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
38418         [C99-based standards] (strtof): Require function.
38419         [C99-based standards] (strtold): Likewise.
38420         [C99-based standards] (strtoll): Likewise.
38421         [C99-based standards] (strtoull): Likewise.
38422         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38423         [ISO || ISO99 || ISO11] (limits.h): Likewise.
38424         [ISO || ISO99 || ISO11] (math.h): Likewise.
38425         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
38426         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38427         [ISO || ISO99 || ISO11] (*_t): Do not allow.
38428
38429 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
38430
38431         [BZ #14132]
38432         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
38433         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
38434         * intl/dgettext.c (DCGETTEXT): Likewise.
38435         * intl/gettext.c (DCGETTEXT): Likewise.
38436         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
38437         * posix/regex_internal.h (gettext): Likewise.
38438         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
38439         Remove declaration.
38440         * include/argz.h (__argz_count_internal)
38441         (__argz_stringify_internal): Remove declaration.
38442         (__argz_count, __argz_stringify): Declare hidden proto.
38443         * intl/dcgettext.c: Remove use of INTDEF.
38444         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
38445         * string/argz-stringify.c: Likewise.
38446         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38447         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38448         Declare hidden proto.
38449         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
38450         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
38451         Declare hidden proto.
38452         * include/stdio.h (__asprintf_internal): Don't declare.
38453         (__asprintf): Don't define as macro.  Declare hidden proto.
38454         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
38455         (__fsetlocking): Declare hidden proto.
38456         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
38457         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
38458         hidden proto.
38459         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
38460         (_IO_setlinebuf): Remove use of INTUSE.
38461         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
38462         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
38463         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
38464         Remove declaration.
38465         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
38466         (_IO_do_flush): Remove use of INTUSE.
38467         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
38468         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
38469         (_IO_adjust_column, _IO_least_wmarker)
38470         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
38471         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
38472         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
38473         (_IO_default_doallocate, _IO_wdefault_doallocate)
38474         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
38475         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
38476         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
38477         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
38478         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
38479         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
38480         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
38481         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
38482         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
38483         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
38484         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
38485         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
38486         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
38487         proto.
38488         (_IO_flush_all_internal, _IO_adjust_column_internal)
38489         (_IO_default_uflow_internal, _IO_default_finish_internal)
38490         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
38491         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
38492         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
38493         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
38494         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
38495         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
38496         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
38497         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
38498         (_IO_file_close_internal, _IO_file_close_it_internal)
38499         (_IO_file_underflow_internal, _IO_file_overflow_internal)
38500         (_IO_file_init_internal, _IO_file_attach_internal)
38501         (_IO_file_fopen_internal, _IO_file_read_internal)
38502         (_IO_file_sync_internal, _IO_file_seek_internal)
38503         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
38504         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
38505         (_IO_str_underflow_internal, _IO_str_overflow_internal)
38506         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
38507         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
38508         (_IO_list_all_internal, _IO_link_in_internal)
38509         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
38510         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
38511         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
38512         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
38513         (_IO_do_write_internal, _IO_padn_internal)
38514         (_IO_getline_info_internal, _IO_getline_internal)
38515         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
38516         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
38517         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
38518         (_IO_vfscanf_internal, _IO_vfprintf_internal)
38519         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
38520         (_IO_init_internal, _IO_un_link_internal): Don't declare.
38521         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
38522         with libc_hidden_ver, remove use of INTUSE.
38523         * libio/genops.c: Likewise.
38524         * libio/freopen.c: Likewise.
38525         * libio/freopen64.c: Likewise.
38526         * libio/iofclose.c: Likewise.
38527         * libio/iofdopen.c: Likewise.
38528         * libio/iofflush.c: Likewise.
38529         * libio/iofflush_u.c: Likewise.
38530         * libio/iofgets.c: Likewise.
38531         * libio/iofgets_u.c: Likewise.
38532         * libio/iofopen.c: Likewise.
38533         * libio/iofopncook.c: Likewise.
38534         * libio/iofread.c: Likewise.
38535         * libio/iofread_u.c: Likewise.
38536         * libio/ioftell.c: Likewise.
38537         * libio/iofwrite.c: Likewise.
38538         * libio/iogetline.c: Likewise.
38539         * libio/iogets.c: Likewise.
38540         * libio/iogetwline.c: Likewise.
38541         * libio/iopadn.c: Likewise.
38542         * libio/iopopen.c: Likewise.
38543         * libio/ioseekoff.c: Likewise.
38544         * libio/ioseekpos.c: Likewise.
38545         * libio/iosetbuffer.c: Likewise.
38546         * libio/iosetvbuf.c: Likewise.
38547         * libio/ioungetc.c: Likewise.
38548         * libio/ioungetwc.c: Likewise.
38549         * libio/iovdprintf.c: Likewise.
38550         * libio/iovsprintf.c: Likewise.
38551         * libio/iovsscanf.c: Likewise.
38552         * libio/memstream.c: Likewise.
38553         * libio/obprintf.c: Likewise.
38554         * libio/oldfileops.c: Likewise.
38555         * libio/oldiofclose.c: Likewise.
38556         * libio/oldiofdopen.c: Likewise.
38557         * libio/oldiofopen.c: Likewise.
38558         * libio/oldiopopen.c: Likewise.
38559         * libio/oldstdfiles.c: Likewise.
38560         * libio/putc.c: Likewise.
38561         * libio/setbuf.c: Likewise.
38562         * libio/setlinebuf.c: Likewise.
38563         * libio/stdfiles.c: Likewise.
38564         * libio/strops.c: Likewise.
38565         * libio/vasprintf.c: Likewise.
38566         * libio/vscanf.c: Likewise.
38567         * libio/vsnprintf.c: Likewise.
38568         * libio/vswprintf.c: Likewise.
38569         * libio/wfiledoalloc.c: Likewise.
38570         * libio/wfileops.c: Likewise.
38571         * libio/wgenops.c: Likewise.
38572         * libio/wmemstream.c: Likewise.
38573         * libio/wstrops.c: Likewise.
38574         * libio/__fpurge.c: Likewise.
38575         * libio/__fsetlocking.c: Likewise.
38576         * assert/assert.c: Likewise.
38577         * debug/fgets_chk.c: Likewise.
38578         * debug/fgets_u_chk.c: Likewise.
38579         * debug/fread_chk.c: Likewise.
38580         * debug/fread_u_chk.c: Likewise.
38581         * debug/gets_chk.c: Likewise.
38582         * debug/obprintf_chk.c: Likewise.
38583         * debug/vasprintf_chk.c: Likewise.
38584         * debug/vdprintf_chk.c: Likewise.
38585         * debug/vsnprintf_chk.c: Likewise.
38586         * debug/vsprintf_chk.c: Likewise.
38587         * malloc/mtrace.c: Likewise.
38588         * misc/error.c: Likewise.
38589         * misc/syslog.c: Likewise.
38590         * stdio-common/asprintf.c: Likewise.
38591         * stdio-common/fxprintf.c: Likewise.
38592         * stdio-common/getw.c: Likewise.
38593         * stdio-common/isoc99_fscanf.c: Likewise.
38594         * stdio-common/isoc99_scanf.c: Likewise.
38595         * stdio-common/isoc99_vfscanf.c: Likewise.
38596         * stdio-common/isoc99_vscanf.c: Likewise.
38597         * stdio-common/isoc99_vsscanf.c: Likewise.
38598         * stdio-common/printf-prs.c: Likewise.
38599         * stdio-common/printf_fp.c: Likewise.
38600         * stdio-common/printf_fphex.c: Likewise.
38601         * stdio-common/printf_size.c: Likewise.
38602         * stdio-common/putw.c: Likewise.
38603         * stdio-common/scanf.c: Likewise.
38604         * stdio-common/sprintf.c: Likewise.
38605         * stdio-common/tmpfile.c: Likewise.
38606         * stdio-common/vfprintf.c: Likewise.
38607         * stdio-common/vfscanf.c: Likewise.
38608         * stdlib/strfmon_l.c: Likewise.
38609         * sunrpc/openchild.c: Likewise.
38610         * sunrpc/xdr_stdio.c: Likewise.
38611         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
38612         * sysdeps/mach/hurd/tmpfile.c: Likewise.
38613
38614 2012-05-24  Roland McGrath  <roland@hack.frob.com>
38615
38616         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38617
38618         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38619         in the third column, to generate for the shared library an IFUNC
38620         that uses _dl_vdso_vsym.
38621         * Makerules (COMPILE.c, compile-stdin.c): New variables.
38622         * Makeconfig (object-suffixes-noshared): New variable.
38623
38624         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38625         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38626         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38627         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38628
38629         [BZ #14132]
38630         * include/sys/time.h (__gettimeofday): Remove macro.
38631         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38632         * time/gettimeofday.c (__gettimeofday): Remove #undef.
38633         Remove INTDEF.
38634         (__gettimeofday): Add libc_hidden_def.
38635         (gettimeofday): Add libc_hidden_weak.
38636         * sysdeps/mach/gettimeofday.c: Likewise.
38637         * sysdeps/posix/gettimeofday.c: Likewise.
38638         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38639         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38640         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38641         (__gettimeofday_internal): Remove strong_alias.
38642         (__gettimeofday): Add libc_hidden_def.
38643         (gettimeofday): Add libc_hidden_weak.
38644         * sysdeps/unix/syscalls.list (gettimeofday):
38645         Remove __gettimeofday_internal alias.
38646
38647 2012-05-24  Daniel Jacobowitz  <drow@false.org>
38648             H.J. Lu  <hongjiu.lu@intel.com>
38649
38650         [BZ #12495]
38651         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38652         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38653         (largebin_index_32_big): New.
38654         (largebin_index): Use it for 16-byte alignment.
38655         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
38656         correction with front_misalign.
38657
38658 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38659
38660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38662         Likewise.
38663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38664         Likewise.
38665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38666         Likewise.
38667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38668         Likewise.
38669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38670         Likewise.
38671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38672         Likewise.
38673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38674         Likewise.
38675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38676         Likewise.
38677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38678         Likewise.
38679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38680         Likewise.
38681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38682         Likewise.
38683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38684         Likewise.
38685
38686         * scripts/data/c++-types-x32-linux-gnu.data: New file.
38687         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38688
38689 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38690
38691         [BZ #10846]
38692         [BZ #14036]
38693         * math/libm-test.inc (exp_test): Add test from bug 14036.
38694         (pow_test): Add test from bug 10846.
38695
38696         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38697         and other flags.
38698         (special_function): Do not include flags in test name.
38699         (parse_args): Likewise.
38700         * sysdeps/i386/fpu/libm-test-ulps: Update.
38701         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38702         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38703         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38705
38706         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38707         exceptions.
38708         * math/libm-test.inc ("Philosophy"): Update comment about
38709         exception testing.
38710         (UNDERFLOW_EXCEPTION): New macro.
38711         (UNDERFLOW_EXCEPTION_OK): Likewise.
38712         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38713         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38714         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38715         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38716         (INVALID_EXCEPTION_OK): Update value.
38717         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38718         (OVERFLOW_EXCEPTION_OK): Likewise.
38719         (IGNORE_ZERO_INF_SIGN): Likewise.
38720         (test_exceptions): Handle underflow exceptions.
38721         (acos_test): Update for underflow exception expectations.
38722         (cexp_test): Likewise.
38723         (clog_test): Likewise.
38724         (clog10_test): Likewise.
38725         (csqrt_test): Likewise.
38726         (ctan_test): Likewise.
38727         (ctanh_test): Likewise.
38728         (exp_test): Likewise.
38729         (exp10_test): Likewise.
38730         (exp2_test): Likewise.
38731         (expm1_test): Likewise.
38732         (fma_test): Likewise.
38733         (j0_test): Likewise.
38734         (jn_test): Likewise.
38735         (nexttoward_test): Likewise.
38736         (pow_test): Likewise.
38737         (scalbn_test): Likewise.
38738         (scalbln_test): Likewise.
38739         (tan_test): Likewise.
38740         (y1_test): Likewise.
38741         * sysdeps/i386/fpu/libm-test-ulps: Update.
38742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38743
38744 2012-05-23  David S. Miller  <davem@davemloft.net>
38745
38746         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38747         (__libc_sigaction): Remove unused local variables.
38748
38749 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38750
38751         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38752
38753 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
38754
38755         mktime: avoid signed integer overflow
38756         * time/mktime.c (__mktime_internal): Do not mishandle the case
38757         where diff == INT_MIN.
38758
38759         mktime: simplify computation of average
38760         * time/mktime.c (ranged_convert): Use new time_t_avg function
38761         instead of rolling our own (probably-slower) code.
38762
38763         mktime: do not assume signed right shift propagates sign bit
38764         * time/mktime.c (isdst_differ): New static function.
38765         (__mktime_internal): No need to normalize tm_isdst now.
38766         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38767         tm_isdst values.
38768
38769         mktime: merge another wrapv change from gnulib
38770         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38771         from some compilers.
38772
38773         mktime: remove incorrect attempt at unusual arithmetics
38774         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38775         The code didn't really work on such machines anyway.
38776         (TYPE_MINIMUM): Assume two's complement.
38777         (twos_complement_arithmetic): Verify that long_int and time_t
38778         are two's complement (or unsigned, in the latter case).
38779
38780         mktime: check signed shifts on long_int and time_t, too
38781         * time/mktime.c (SHR): Check that shifts work as desired
38782         on the types long_int and time_t too, as SHR is used on
38783         such types.
38784
38785         mktime: do not assume 'long' is wide enough
38786         * time/mktime.c (verify): Move decl up.
38787         (long_int): New type.
38788         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38789         to remove assumption in the code that 'long' is wide enough to
38790         store year values.  This assumption is not true on x32 and on
38791         some non-glibc platforms.
38792
38793         mktime: merge wrapv change from gnulib
38794         * time/mktime.c (WRAPV): New macro.
38795         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38796         (guess_time_tm, __mktime_internal): Do not assume that signed
38797         integer overflow wraps around; modern compilers generate code
38798         where this assumption is no longer valid.
38799
38800 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38801
38802         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38803         Replace "jmp L(pseudo_end)" with "ret".
38804         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38805         Likewise.
38806
38807 2012-05-23  Andreas Jaeger  <aj@suse.de>
38808
38809         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38810         * sysdeps/unix/sysv/linux/poll.c: Remove file.
38811
38812 2012-05-23  Andreas Jaeger  <aj@suse.de>
38813             Maximilian Attems  <max@stro.at>
38814
38815         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38816         New macros.
38817
38818 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38819
38820         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38821         code so that pseudo_end is just ret and the stack pointer is
38822         correct also for static library in error case.
38823
38824 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
38825
38826         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38827         move to syscalls.list.
38828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38832
38833         * manual/install.texi (Running make install): Do not mention Linux
38834         kernel version for which pt_chown is not needed.
38835         (Linux): Do not mention problems with nscd with 2.0 kernels.
38836         * INSTALL: Regenerated.
38837
38838 2012-05-23  Andreas Jaeger  <aj@suse.de>
38839
38840         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38841         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38842         macro.
38843         * sysdeps/unix/sysv/linux/s390/bits/mman.h
38844         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38845         * sysdeps/unix/sysv/linux/sh/bits/mman.h
38846         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38847         * sysdeps/unix/sysv/linux/i386/bits/mman.h
38848         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38849         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38850         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38851         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38852         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38853         * sysdeps/unix/sysv/linux/bits/in.h
38854         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38855
38856 2012-05-22  Roland McGrath  <roland@hack.frob.com>
38857
38858         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38859         (PREPARE_VERSION): Just use assert instead, it will be elided
38860         under [NDEBUG] anyway.
38861
38862 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38863
38864         * sysdeps/unix/sysv/linux/Makefile: Include
38865         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38866         (sysdep_routines): Remove sysctl.
38867         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38868         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38869         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38870         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38871         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38872
38873 2012-05-22  Andreas Jaeger  <aj@suse.de>
38874
38875         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38876         that pseudo_end is just ret and the stack pointer is correct also
38877         for static library in error case.
38878
38879 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38880
38881         [BZ #14122]
38882         * nss/nsswitch.c (defconfig_entries): New variable.
38883         (__nss_database_lookup): Don't leak defconfig entries.
38884         (nss_parse_service_list): Don't leak on error paths.
38885         (free_database_entries): New function.
38886         (free_defconfig): New function.
38887         (free_mem): Move common code to free_database_entries.
38888
38889 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38890
38891         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38892         Add arch_prctl.
38893         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38894
38895         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38896         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38898         New macro.
38899         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38900         (INTERNAL_SYSCALL_TYPES): Likewise.
38901         (LOAD_ARGS_TYPES_[1-6]): Likewise.
38902         (LOAD_REGS_TYPES_[1-6]): Likewise.
38903         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38904         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38905
38906 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38907
38908         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38909         copysignl for GLIBC_2_0.
38910         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38911         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38912         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38913         logbl for GLIBC_2_0.
38914         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38915         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38916
38917 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38918
38919         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38920         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38921
38922         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38923         Use "neg %eax".
38924
38925         * time/mktime.c: Update copyright years.
38926
38927 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
38928
38929         mktime: merge comment-quoting-style change from gnulib
38930         * time/mktime.c: Quote 'like this' in comments.
38931         The GNU coding standards suggest that we no longer quote `like this',
38932         as "`" and "'" are typically rendered asymmetrically nowadays.
38933         The typical gnulib style is to quote 'like this' when quoting
38934         code, and "like this" when quoting English.
38935
38936         * time/mktime.c (compile-command): Add "-I.".
38937
38938         mktime: merge mktime-internal.h change from gnulib
38939         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38940
38941         mktime: merge time_r change from gnulib
38942         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38943
38944         mktime: merge DEBUG change from gnulib
38945         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38946         case system <time.h> has a #define.
38947
38948         mktime: merge <sys/types.h> change from gnulib
38949         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38950         since <time.t> is now guaranteed to define time_t.
38951
38952         mktime: merge HAVE_CONFIG_H change from gnulib
38953         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38954
38955 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38956
38957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38958         Use "neg %eax".
38959
38960         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38961         __rlim_t cast.
38962         (struct rusage): Use anonymous union to pad each field to
38963         __syscall_slong_t.
38964
38965 2012-05-21  David S. Miller  <davem@davemloft.net>
38966
38967         * Makefules (o-iterator): Remove .s cases.
38968         (compile-command.s): Delete.
38969         (COMPILE.s): Delete.
38970         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38971
38972 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
38973
38974         * configure.in (libc_cv_predef_stack_protector): Only consider
38975         "foobar" and "__stack_chk_fail" lines in libc_undefs.
38976         * configure: Regenerated.
38977
38978 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38979
38980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38981         New macro.  Use R*LP on int and pointer.
38982         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38983         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38984         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38985         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38986
38987         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38988         [__WORDSIZE_TIME64_COMPAT32] instead of
38989         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38990         (struct utmp): Likewise.
38991         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38992         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38993         Renamed to ...
38994         (__WORDSIZE_TIME64_COMPAT32): This.
38995         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38996         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38997         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38998         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38999         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39000         (__WORDSIZE_TIME64_COMPAT32): New macro.
39001
39002 2012-05-21  Andreas Jaeger  <aj@suse.de>
39003
39004         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39005         only if [SHARED]. Add prototype for __wcschr_ia32.
39006
39007 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39008
39009         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39010         of %rbp unmolested in the jmp_buf while mangling the low bits.
39011         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39012         unmolested high bits of %rbp while demangling the low bits.
39013         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39014
39015 2012-05-21  Andreas Jaeger  <aj@suse.de>
39016
39017         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39018         * sunrpc/svc_simple.c: Use it for registerrpc.
39019         * sunrpc/xcrypt.c: Use it for passwd2des.
39020
39021         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39022
39023 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39024
39025         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39026         Don't define if [__SYSCALL_WORDSIZE != 32].
39027         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39028         New macro.
39029
39030 2012-05-21  Bruno Haible  <bruno@clisp.org>
39031             Andreas Jaeger  <aj@suse.de>
39032
39033         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39034         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39035         inptr and inend for must_buffer_ch.
39036         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39037         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39038         * stdio-common/Makefile (tests): Remove bug15.
39039         (bug15-ENV): Remove macro.
39040         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39041         anymore.
39042
39043 2012-05-19  Andreas Jaeger  <aj@suse.de>
39044             Roland McGrath  <roland@hack.frob.com>
39045
39046         * manual/contrib.texi: Completely rewritten. It contains now an
39047         alphabetical list of contributors and their contributions.
39048
39049 2012-05-21  Richard Henderson  <rth@twiddle.net>
39050
39051         * misc/getauxval.c (__getauxval): Use unsigned long int.
39052         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39053         (getauxval): Use unsigned long int.
39054
39055 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39056
39057         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39058
39059 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39060
39061         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39062         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39063         __alignof__ (long double).
39064
39065 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39066
39067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39068
39069 2012-05-20  Richard Henderson  <rth@twiddle.net>
39070
39071         * misc/getauxval.c: New file.
39072         * misc/sys/auxv.h: New file.
39073         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39074         (routines): Add getauxval.
39075         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39076         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39077         * elf/dl-sysdep.c (_dl_auxv): Remove.
39078         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39079         * elf/dl-support.c (_dl_auxv): New variable.
39080         (_dl_aux_init): Initialize it.
39081         * manual/startup.texi (Auxiliary Vector): New node.
39082         * sysdeps/generic/bits/hwcap.h: New file.
39083         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39084         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39085         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39086         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39087         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39088         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39090         Update.
39091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39092         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39093         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39094         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39096         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39097         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39098         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39099
39100 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39101
39102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39103
39104 2012-05-19  David S. Miller  <davem@davemloft.net>
39105
39106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39107
39108 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39109
39110         [BZ #14123]
39111         * math/s_ccosh.c: Include <float.h>
39112         (__ccosh): Avoid internal overflow calculating sinh and cosh
39113         values before multiplying by sin and cos values.
39114         * math/s_ccoshf.c: Likewise.
39115         * math/s_ccoshl.c: Likewise.
39116         * math/s_csin.c: Likewise.
39117         * math/s_csinf.c: Likewise.
39118         * math/s_csinl.c: Likewise.
39119         * math/s_csinh.c: Likewise.
39120         * math/s_csinhf.c: Likewise.
39121         * math/s_csinhl.c: Likewise.
39122         * math/libm-test.inc (ccos_test): Add more tests.
39123         (ccosh_test): Likewise.
39124         (csin_test): Likewise.
39125         (csinh_test): Likewise.
39126         * sysdeps/i386/fpu/libm-test-ulps: Update.
39127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39128
39129 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39130
39131         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39132         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39133
39134         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39135
39136 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39137
39138         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39139         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39140         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39141         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39142         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39143         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39144         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39145         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39146         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39147         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39148         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39149         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39150         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39151         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39152         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39153         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39154         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39155         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39156         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39157         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39158         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39159         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39160         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39161         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39162         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39163         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39164         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39165         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39166         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39167         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39168         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39169
39170 2012-05-18  Andreas Jaeger  <aj@suse.de>
39171
39172         * csu/.gitignore: Delete.
39173
39174 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39175
39176         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39177         (timex): Use __syscall_slong_t.
39178
39179 2012-05-18  Andreas Jaeger  <aj@suse.de>
39180             Carlos O'Donell  <carlos_odonell@mentor.com>
39181
39182         * manual/install.texi (Configuring and compiling): Update
39183         description about files modified in the source directory.
39184         * INSTALL: Regenerated.
39185
39186 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39187
39188         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
39189         value.  Use "or" to set return value to -1.
39190         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
39191         negate return value.
39192
39193 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39194
39195         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
39196         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
39197         failure if the compiler has Graphite support disabled.
39198         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
39199         Likewise.
39200         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
39201         (CFLAGS-memmove.c): Likewise.
39202         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
39203         Likewise.
39204
39205 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39206
39207         * sysdeps/x86_64/x32/_itoa.h: New file.
39208
39209         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
39210         getdents system call only if kernel and user dirents have the
39211         same d_ino and d_off.
39212
39213         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39214         LLONG_MAX != LONG_MAX.
39215         (_itoa_word): Use _ITOA_WORD_TYPE on value.
39216         (_fitoa_word): Likewise.
39217
39218         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
39219         years.
39220         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
39221         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
39222         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
39223
39224         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
39225         include <bits/wordsize.h>.  Check __x86_64__ instead of
39226         __WORDSIZE.
39227         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
39228         if __x86_64__ is defined.  Use anonymous union on fpstate.
39229
39230         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
39231         anonymous union.
39232
39233 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
39234
39235         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39236         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
39237         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
39238         Refer to _rtld_local_ro instead of _rtld_global_ro.
39239         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
39240         Likewise.
39241         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
39242         Likewise.
39243         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
39244         Likewise.
39245         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
39246         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
39247         of _rtld_global, and rtld_progname instead of _dl_argv[0].
39248
39249         * sysdeps/powerpc/powerpc32/dl-machine.c
39250         (__elf_machine_runtime_setup) [PROF]: Don't reference
39251         _dl_prof_resolve.
39252
39253 2012-05-18  Andreas Jaeger  <aj@suse.de>
39254
39255         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
39256         function only available for GCCs before 3.4 since GCC 3.4
39257         introduced a builtin.
39258         (lrint): Likewise.
39259         (llrintf): Likewise.
39260         (llrint): Likewise.
39261         (fmaxf): Likewise.
39262         (fmax): Likewise.
39263         (fminf): Likewise.
39264         (fmin): Likewise.
39265         (rint): Likewise.
39266         (rintf): Likewise.
39267         (nearbyint): Likewise.
39268         (nearbyintf): Likewise.
39269         (ceil): Likewise.
39270         (ceilf): Likewise.
39271         (floor): Likewise.
39272         (floorf): Likewise.
39273
39274 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39275
39276         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
39277         on both fields and cast pointer to __syscall_ulong_t.
39278
39279         * bits/types.h (__fsword_t): New type.
39280         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
39281         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
39282         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39283         (__FSWORD_T_TYPE): Likewise.
39284         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39285         (__FSWORD_T_TYPE): Likewise.
39286         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39287         (__FSWORD_T_TYPE): Likewise.
39288         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
39289         (__FSWORD_T_TYPE): Likewise.
39290         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
39291         __SWORD_TYPE with __fsword_t.
39292         (statfs64): Likewise.
39293
39294 2012-05-17  David S. Miller  <davem@davemloft.net>
39295
39296         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
39297
39298 2012-05-17  Andreas Jaeger  <aj@suse.de>
39299
39300         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
39301         warning.
39302
39303 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39304
39305         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
39306
39307 2012-05-17  Andreas Jaeger  <aj@suse.de>
39308
39309         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
39310         when it is used.
39311
39312 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39313
39314         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
39315
39316 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39317
39318         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
39319         * sysdeps/x86_64/tst-mallocalign1.c: New file.
39320
39321 2012-05-17  Andreas Jaeger  <aj@suse.de>
39322             Carlos O'Donell  <carlos_odonell@mentor.com>
39323
39324         [BZ #14059]
39325         * sysdeps/x86_64/multiarch/init-arch.h
39326         (bit_YMM_Usable): Rename to...
39327         (bit_AVX_Usable): ... this.
39328         (bit_FMA4_Usable): New macro.
39329         (bit_XMM_state): New macro.
39330         (bit_YMM_state): New macro.
39331         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
39332         [__ASSEMBLER__] (index_AVX_Usable): ... this.
39333         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
39334         (CPUID_OSXSAVE): New macro.
39335         (CPUID_AVX): New macro.
39336         (CPUID_FMA4): New macro.
39337         (index_YMM_Usable): Rename to...
39338         (index_AVX_Usable): ... this.
39339         (HAS_AVX): Use HAS_ARCH_FEATURE.
39340         (HAS_FMA4): Likewise.
39341         (HAS_YMM_USABLE): Remove.
39342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39343         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
39344         are present.
39345         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
39346         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
39347         * sysdeps/x86_64/multiarch/Makefile: Likewise.
39348         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
39349         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
39350
39351 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
39352
39353         * math/libm-test.c: Support platforms without multiple rounding modes.
39354         * math/bug-nextafter.c: Support platforms without FP exceptions.
39355         * math/bug-nexttoward.c: Likewise.
39356         * math/test-fenv.c: Likewise.
39357         * math/test-misc.c: Likewise.
39358         * stdlib/bug-getcontext.c: Likewise.
39359
39360 2012-05-17  Andreas Jaeger  <aj@suse.de>
39361
39362         * manual/examples/search.c (critter_cmp): Change signature to
39363         avoid warnings.
39364         * manual/string.texi (Collation Functions): Likewise.
39365
39366 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39367
39368         * bits/types.h: Fold copyright years.
39369         * bits/typesizes.h: Likewise.
39370         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
39371         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
39372         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
39373         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
39374         * time/time.h: Likewise.
39375
39376 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
39377
39378         [BZ #208]
39379         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
39380         in instead of returning them.  Return void.
39381         (__libc_mallinfo): Accumulate over all arenas.
39382         (__malloc_stats): Adjust for change in int_mallinfo interface.
39383
39384 2012-05-16  Roland McGrath  <roland@hack.frob.com>
39385
39386         [BZ #10375]
39387         * configure.in (NM): Add AC_CHECK_TOOL for it.
39388         (libc_extra_cflags): New substituted variable.
39389         Check for -fstack-protector being used implicitly.
39390         * configure: Regenerated.
39391         * config.make.in (config-extra-cflags): New variable,
39392         gets @libc_extra_cflags@.
39393         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
39394
39395         [BZ #10375]
39396         * configure.in: Check for _FORTIFY_SOURCE being predefined.
39397         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
39398         * configure: Regenerated.
39399         * config.make.in (CPPUNDEFS): New substituted variable.
39400         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
39401         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
39402         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
39403
39404 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39405
39406         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
39407         (mq_attr): Use __syscall_slong_t.
39408
39409 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39410
39411         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
39412         Check __x86_64__ instead of __WORDSIZE.
39413         (_STAT_VER_LINUX): Likewise.
39414         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
39415         __syscall_ulong_t and __syscall_slong_t.
39416         (stat64): Likewise.
39417
39418 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39419
39420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
39421
39422 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39423
39424         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
39425
39426 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39427
39428         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
39429         __syscall_ulong_t.
39430
39431         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
39432         include <bits/wordsize.h>.  Check __x86_64__ instead of
39433         __WORDSIZE.
39434         (greg_t): Use "__extension__ long long int" if __x86_64__ is
39435         defined.
39436         (mcontext_t): Replace "unsigned long" with "unsigned long long".
39437
39438         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
39439         include <bits/wordsize.h>.  Check __x86_64__ instead of
39440         __WORDSIZE.
39441         (user_regs_struct): Use "__extension__ unsigned long long"
39442         instead of "unsigned long" if __x86_64__ is defined.
39443         (user): Likewise.  Pad after pointer field if __ILP32__ is
39444         defined.
39445
39446 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
39447
39448         * configure.in (makeinfo): Require version 4.5 or later.  Allow
39449         versions 5 to 9.
39450         * configure: Regenerated.
39451         * manual/install.texi (texinfo): Increase version requirement to
39452         4.5 or later.
39453         * INSTALL: Regenerated.
39454
39455         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
39456
39457 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39458
39459         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
39460
39461         * sysdeps/x86_64/x32/ffs.c: New file.
39462
39463         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
39464         __syscall_ulong_t.
39465         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
39466         defined.  Use __syscall_ulong_t.
39467         (shminfo): Use __syscall_ulong_t.
39468         (shm_info): Likewise.
39469
39470         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
39471         __syscall_ulong_t.
39472
39473         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
39474         <bits/wordsize.h>.
39475         (msgqnum_t): Use __syscall_ulong_t.
39476         (msglen_t): Likewise.
39477         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
39478         __syscall_ulong_t.
39479
39480         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
39481         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39482
39483         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
39484
39485         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
39486         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
39487
39488         * sysvipc/sys/msg.h (msgbuf): Replace long int with
39489         __syscall_slong_t.
39490
39491         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
39492         include <bits/wordsize.h>.  Check __x86_64__ instead of
39493         __WORDSIZE.
39494
39495         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
39496         "unsigned long long int" if __x86_64__ is defined.
39497         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
39498
39499         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
39500         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39501         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
39502
39503         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
39504         <stdint.h>.
39505         (GET_PC): Cast to uintptr_t first.
39506         (GET_FRAME): Likewise.
39507         (GET_STACK): Likewise.
39508
39509         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
39510         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
39511         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
39512         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
39513         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
39514         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
39515         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
39516         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
39517         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
39518         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
39519         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
39520         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
39521         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39522         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
39523         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
39524         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
39525         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
39526         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
39527         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
39528         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
39529         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
39530         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
39531         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
39532         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
39533         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
39534         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
39535         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
39536         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
39537         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
39538
39539 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
39540
39541         * Makerules (+depfiles): Also collect depfiles from .oS in
39542         $(extra-objs).
39543         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
39544         .oS, $(libnldbl-routines)).
39545
39546         * Makerules (native-compile-mkdep-flags): Define.
39547         * sunrpc/Makefile (extra-objs): Add $(addprefix
39548         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
39549         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
39550         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
39551         calling $(make-target-directory).
39552
39553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39554
39555         * bits/types.h (__snseconds_t): Removed.
39556         * time/time.h (struct timespec): Replace __snseconds_t with
39557         __syscall_slong_t.
39558         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
39559         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
39560         Likewise.
39561         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39562         (__SNSECONDS_T_TYPE): Likewise.
39563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39564         (__SNSECONDS_T_TYPE): Likewise.
39565         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39566         (__SNSECONDS_T_TYPE): Likewise.
39567
39568 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39569
39570         * sysdeps/mach/hurd/bits/typesizes.h
39571         (__SYSCALL_SLONG_TYPE): New macro.
39572         (__SYSCALL_ULONG_TYPE): Likewise.
39573
39574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39575
39576         * bits/types.h (__syscall_slong_t): New type.
39577         (__syscall_ulong_t): Likewise.
39578
39579         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
39580         (__SYSCALL_ULONG_TYPE): Likewise.
39581         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39582         (__SYSCALL_SLONG_TYPE): Likewise.
39583         (__SYSCALL_ULONG_TYPE): Likewise.
39584         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
39585         (__SYSCALL_SLONG_TYPE): Likewise.
39586         (__SYSCALL_ULONG_TYPE): Likewise.
39587         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39588         (__SYSCALL_SLONG_TYPE): Likewise.
39589         (__SYSCALL_ULONG_TYPE): Likewise.
39590
39591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39592
39593         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
39594         Add sigaltstack-offsets.sym.
39595         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
39596         <sigaltstack-offsets.h>.
39597         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
39598         longjmp_msg pointer.
39599         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
39600         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
39601         signal stack.
39602         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
39603
39604 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39605
39606         * elf/stackguard-macros.h: Remove file.
39607         * sysdeps/generic/stackguard-macros.h: New file.
39608         * sysdeps/i386/stackguard-macros.h: Likewise.
39609         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
39610         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
39611         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
39612         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39613         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39614         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39615         * sysdeps/x86_64/stackguard-macros.h: Likewise.
39616         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39617         <elf/stackguard-macros.h>.
39618
39619         [BZ #14109]
39620         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39621         __aligned__ in attribute.
39622         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39623         (gregset_t): Likewise.
39624
39625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39626
39627         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39628         * sysdeps/x86_64/64/Implies-after: Here.  New file.
39629         * sysdeps/x86_64/x32/Implies-after: New file.
39630
39631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39632
39633         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39634         and access return value for _dl_profile_fixup.  Use R10_LP to
39635         load frame size.
39636
39637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39638
39639         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39640
39641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39642
39643         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39644         * sysdeps/x86_64/x32/sysdep.h: New file.
39645
39646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39647
39648         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39649         * sysdeps/x86_64/setjmp.S: Likewise.
39650
39651 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39652
39653         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39654         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39655         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39656         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39657         remove unused global constant.
39658
39659 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
39660
39661         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39662         include of <not-cancel.h>.
39663
39664 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39665
39666         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39667
39668 2012-05-15  Jeff Law  <law@redhat.com>
39669             Andreas Jaeger  <aj@suse.de>
39670
39671         [BZ #13594]
39672         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39673         out from...
39674         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39675         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39676         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39677         code changing __hst_map_handle.map.
39678
39679 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39680
39681         * configure.in (sysnames): Look for Implies-before and Implies-after
39682         files.
39683         * configure: Regenerated.
39684
39685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39686
39687         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39688         8-byte data alignment with LP_SIZE alignment.
39689
39690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39691
39692         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39693         into R10_LP.
39694
39695 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39696
39697         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39698
39699 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39700
39701         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39702         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39703         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39704         Likewise.
39705         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39706
39707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39708
39709         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39710         (stackinfo_sub_sp): Likewise.
39711
39712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39713
39714         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39715         RAX_LP.
39716
39717 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39718
39719         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39720         into R*_LP.
39721
39722 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39723
39724         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39725         sizes into R*_LP.
39726
39727 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39728
39729         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39730
39731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39732
39733         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39734         into R11_LP and load __x86_64_shared_cache_size_half into
39735         R8_LP.
39736
39737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39738
39739         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39740         R8_LP.
39741
39742 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39743
39744         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39745         logb for POWER7.
39746         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39747         logbf for POWER7.
39748         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39749         logbl for POWER7.
39750         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39751         powerpc32/power7/fpu/s_logb.c via #include.
39752         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39753         powerpc32/power7/fpu/s_logbf.c via #include.
39754         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39755         powerpc32/power7/fpu/s_logbl.c via #include.
39756
39757 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39758
39759         * README.libm: Remove file.
39760
39761 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39762
39763         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39764         count for x32.  Use R*_LP and omit operand-size suffix.
39765
39766 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39767
39768         * shlib-versions: Move x86_64-.*-linux.* entries to ...
39769         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
39770         * sysdeps/x86_64/x32/shlib-versions: New file.
39771
39772 2012-05-14  Roland McGrath  <roland@hack.frob.com>
39773
39774         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39775         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39776         Use _dl_fatal_printf instead.
39777
39778 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39779
39780         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39781         set if not set by the user.  Do not allow for being unset.
39782         * sysdeps/unix/sysv/linux/configure: Regenerated.
39783
39784 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39785
39786         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39787         the `q' suffix from lea and replace .quad with ASM_ADDR.
39788
39789 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39790
39791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39792         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
39793         instead of $17.
39794         (PTR_DEMANGLE): Likewise.
39795
39796 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39797
39798         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39799         (LP_OP): Likewise.
39800         (ASM_ADDR): Likewise.
39801         (RAX_LP): Likewise.
39802         (RBP_LP): Likewise.
39803         (RBX_LP): Likewise.
39804         (RCX_LP): Likewise.
39805         (RDI_LP): Likewise.
39806         (RSI_LP): Likewise.
39807         (RSP_LP): Likewise.
39808         (R8_LP): Likewise.
39809         (R9_LP): Likewise.
39810         (R10_LP): Likewise.
39811         (R10_LP): Likewise.
39812         (R11_LP): Likewise.
39813         (R12_LP): Likewise.
39814         (R13_LP): Likewise.
39815         (R14_LP): Likewise.
39816         (R15_LP): Likewise.
39817
39818 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39819
39820         * sysdeps/x86_64/x32/dl-machine.h: New file.
39821
39822 2012-05-14  Andreas Jaeger  <aj@suse.de>
39823
39824         * manual/Makefile (subdir): Remove export of subdir.
39825         (all): Remove target.
39826         (.PHONY): Remove all from list.
39827         (mkinstalldirs): Remove.
39828         (.PHONY): Remove installdirs from list.
39829         ($(inst_infodir)/libc.info): Use make-target-directory.
39830         (installdirs): Remove.
39831         (subdir_%): Remove.
39832         (glibc-targets): Remove.
39833         (lib): Remove.
39834         (stubs): Remove.
39835         ($(objpfx)stubs ../po/manual.pot): Remove.
39836         ($(objpfx)stamp%): Remove.
39837         (make-target-directory): Remove.
39838         (subdir_install): Remove.
39839         (routines): Remove.
39840         (aux): Remove.
39841         (sources): Remove.
39842         (objects): Remove.
39843         (headers): Remove.
39844
39845         [BZ #13750]
39846         * manual/.gitignore: Remove, it's not needed anymore.
39847         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39848         all files in it.
39849         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39850         directory.
39851         (texis): Renamed to $(objpfx)texis.
39852         (texis-path): New, contains path to generated files.
39853         (chapters.%): Use texis-path for complete path, add extra argument
39854         libc-texinfo.sh.
39855         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39856         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39857         (summary,texi, stamp-summary): Use complete path of
39858         files. Generate files in build dir.
39859         (dir-add.texi): Build in build dir.
39860         (libm-err.texi,stamp-libm-err): Likewise.
39861         (version.texi, stamp-version): Likewise.
39862         (.%c.texi): Likewise.
39863         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39864         (mostlyclean): Remove target.
39865         (realclean): Remove target.
39866         (generated): Add new variable with contents from mostlyclean and
39867         realclean, remove entries duplicated in common-mostlyclean, add
39868         stamp-libm-err and stamp-version.
39869         (generated-dirs): Add libc directory.
39870         ($(inst_infodir)/libc.info): Install files from build dir.
39871
39872         * manual/install.texi (Configuring and compiling): Adjust since
39873         the info files are not part of the tar ball anymore.
39874
39875 2012-05-14  Andreas Jaeger  <aj@suse.de>
39876
39877         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39878         variable.
39879
39880 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39881
39882         [BZ #13717]
39883         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39884         to 2.2.0 where earlier.
39885         * sysdeps/unix/sysv/linux/configure: Regenerated.
39886         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39887         Remove conditional code.
39888         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39889         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39890         Remove conditional code.
39891         [!__NR_lchown]: Likewise.
39892         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39893         [__NR_lchown]: Likewise.
39894         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39895         comment referencing __ASSUME_LCHOWN_SYSCALL.
39896         * sysdeps/unix/sysv/linux/i386/sigaction.c
39897         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39898         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39899         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39900         Remove conditional code.
39901         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39902         (__protocol_available): Remove #if 0 code.
39903         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39904         conditional code.
39905         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39906         * sysdeps/unix/sysv/linux/kernel-features.h
39907         (__ASSUME_GETCWD_SYSCALL): Don't define.
39908         (__ASSUME_REALTIME_SIGNALS): Likewise.
39909         (__ASSUME_PREAD_SYSCALL): Likewise.
39910         (__ASSUME_PWRITE_SYSCALL): Likewise.
39911         (__ASSUME_POLL_SYSCALL): Likewise.
39912         (__ASSUME_LCHOWN_SYSCALL): Likewise.
39913         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39914         non-SPARC.
39915         (__ASSUME_SIOCGIFNAME): Don't define.
39916         (__ASSUME_MSG_NOSIGNAL): Likewise.
39917         (__ASSUME_SENDFILE): Define unconditionally.
39918         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39919         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39920         conditional code.
39921         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39922         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39923         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39924         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39925         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39926         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39927         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39929         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39930         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39932         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39933         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39935         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39936         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39938         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39939         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39941         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39942         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39944         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39945         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39947         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39948         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39950         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39951         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39952         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39953         Remove conditional code.
39954         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39955         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39956         Remove conditional code.
39957         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39958         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39959         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39960         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39961         Remove conditional code.
39962         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39963         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39964         Remove conditional code.
39965         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39966         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39967         Remove conditional code.
39968         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39969         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39970         Remove conditional code.
39971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39972         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39973         Remove conditional code.
39974         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39975         * sysdeps/unix/sysv/linux/sh/pwrite64.c
39976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39978         * sysdeps/unix/sysv/linux/sigaction.c
39979         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39980         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39981         * sysdeps/unix/sysv/linux/sigpending.c
39982         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39983         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39984         * sysdeps/unix/sysv/linux/sigprocmask.c
39985         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39986         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39987         * sysdeps/unix/sysv/linux/sigsuspend.c
39988         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39989         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39990         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39991         (__libc_missing_rt_sigs): Remove.
39992         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39993         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39994         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39995         Remove conditional code.
39996         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39997         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39998         return 1.
39999         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40000         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40001         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40002         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40003
40004 2012-05-14  Andreas Jaeger  <aj@suse.de>
40005
40006         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40007         it's not used in glibc.
40008         (__coshm1): Likewise.
40009         (__acosh1p): Likewise.
40010         (__sgn): Likewise.
40011
40012         * manual/string.texi (Copying and Concatenation): Add missing
40013         variable in concat example.
40014         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40015
40016 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40017
40018         [BZ #14103]
40019         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40020         __builtin_clzl with __builtin_clzll.
40021
40022 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40023
40024         [BZ #14104]
40025         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40026         libc_freeres_ptr.
40027
40028 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40029
40030         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40031         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40032         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40033         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40034
40035 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40036
40037         * NEWS: Update ia64 info.
40038
40039 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40040
40041         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40042         used as bcopy.
40043
40044 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40045
40046         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40047         * sysdeps/unix/syscalls.list (dup3): Likewise.
40048         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40049         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40050
40051 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40052
40053         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40054         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40055
40056 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40057
40058         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40059         thread pointer.
40060         (TLS_IE): Use mov/add instead of movq/addq to load thread
40061         pointer.
40062         (TLS_GD_PREFIX): New.
40063         (TLS_GD): Use it.
40064
40065 2012-05-11  David S. Miller  <davem@davemloft.net>
40066
40067         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40068         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40069         (_FPU_SETCW): Likewise.
40070
40071 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40072
40073         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40074         is 32-byte aligned.
40075
40076 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40077
40078         [BZ #11837]
40079         * iconvdata/gb18030.c: Update tables.
40080         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40081         characters specially.
40082         (BODY for TO_LOOP): Add encoding of missing ranges.
40083
40084 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40085
40086         [BZ #13673]
40087         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40088         * sysdeps/mach/hurd/dup3.c: Likewise.
40089         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40090         * sysdeps/powerpc/memmove.c:: Likewise.
40091
40092 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40093
40094         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40095         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40096
40097 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40098
40099         * elf/elf.h (R_X86_64_RELATIVE64): New.
40100         (R_X86_64_NUM): Updated.
40101         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40102         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40103         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40104         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40105         tst-quad1pie tst-quad2pie
40106         (modules-names): Add tst-quadmod1 tst-quadmod2.
40107         ($(objpfx)tst-quad1): New dependency.
40108         ($(objpfx)tst-quad2): Likewise.
40109         ($(objpfx)tst-quad1pie): Likewise.
40110         ($(objpfx)tst-quad2pie): Likewise.
40111         * sysdeps/x86_64/tst-quad1.c: New file.
40112         * sysdeps/x86_64/tst-quad1pie.c: New file.
40113         * sysdeps/x86_64/tst-quad2.c: Likewise.
40114         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40115         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40116         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40117         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40118         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40119
40120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40121
40122         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40123         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40124         * streams/stropts.h (t_scalar_t): Define type.
40125
40126         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40127         (_PATH_PRESERVE): Set to "/var/lib".
40128         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40129
40130         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40131         instead of int.
40132
40133         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40134         if __dir_mkfile succeeded.
40135
40136         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40137         checking for _hurd_dtablesize.  Unlock it right after having
40138         finished _hurd_dtable allocation.
40139
40140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40141
40142         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40143         * sysdeps/mach/hurd/configure: Regenerated.
40144         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40145         special-casing to...
40146         * sysdeps/gnu/configure.in: ... this new file.
40147         * sysdeps/unix/sysv/linux/configure: Regenerated.
40148         * sysdeps/gnu/configure: New generated file.
40149
40150         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40151         for Linux: use nsec instead of usec, as well as:
40152         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40153         members of type struct timespec.
40154         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40155         New macros.
40156         (struct stat64): Likewise.
40157         (_STATBUF_ST_NSEC): New macro.
40158         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40159
40160         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40161         __strtoul_internal rather than strtoul.
40162
40163 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40164
40165         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40166         and reject them.
40167
40168 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40169
40170         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40171         which preserves existing values.
40172         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40173
40174 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40175
40176         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40177         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40178         greater than FD_SETSIZE.
40179
40180 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40181
40182         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40183         allocated, call __vm_protect to finish enabling the existing space, and
40184         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
40185         allocate the remainder.
40186
40187 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40188
40189         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
40190         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
40191
40192 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40193
40194         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
40195         sysdeps/mach/hurd/readlink.c.
40196
40197         * posix/tst-sysconf.c (posix_options): Only use
40198         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
40199         _POSIX_SYNCHRONIZED_IO when they are defined
40200         * sysdeps/mach/hurd/bits/posix_opt.h:
40201         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
40202         (_XOPEN_REALTIME): Undefine macro.
40203         (_XOPEN_REALTIME_THREADS): Undefine macro.
40204         (_XOPEN_SHM): Undefine macro.
40205         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
40206         macro to -1.
40207         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
40208         macro to -1.
40209         (_POSIX_ASYNC_IO): Undefine macro.
40210         (_POSIX_PRIORITIZED_IO): Undefine macro.
40211         (_POSIX_SPIN_LOCKS): Define macro to -1.
40212
40213         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
40214         SA_NODEFER, SA_RESETHAND.
40215         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
40216         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
40217         F_DUPFD_CLOEXEC.
40218
40219 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40220
40221         * elf/Makefile (pldd-modules): Define unconditionally.
40222
40223 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40224
40225         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
40226
40227 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40228
40229         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
40230         Return ENOENT when name is empty.
40231         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
40232
40233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40234
40235         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
40236
40237         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
40238
40239 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40240
40241         Fix mlock in all cases except non-readable pages.
40242         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
40243         instead of VM_PROT_ALL as parameter to __vm_wire function.
40244
40245         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
40246         (__mkdir): When path is `/', just fail with EEXIST.
40247         * sysdeps/mach/hurd/mkdirat.c: Likewise.
40248
40249 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40250
40251         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
40252         <sys/uio.h> (for writev).
40253         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
40254         and <sys/param.h> (for MIN).
40255
40256 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40257
40258         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
40259         REQUESTED_TIME.  Properly set the remaining time and return EINTR
40260         if interrupted.
40261
40262 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40263
40264         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
40265         Depend on against $(link-rpcuserlibs).
40266
40267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40268
40269         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
40270         (__libc_stack_end): Do not use attribute_relro.
40271         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
40272         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
40273         to libthread-provided value.
40274         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
40275         attribute_relro.
40276
40277 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40278
40279         [BZ #3748]
40280         * bits/libc-lock.h (__libc_once_get): New macro.
40281         * sysdeps/mach/bits/libc-lock.h: Likewise.
40282         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
40283         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
40284         instead of using implementation details.
40285
40286         * libio/fileops.c: Unconditionally include <kernel-features.h>.
40287         * libio/freopen.c: Likewise.
40288         * libio/freopen64.c: Likewise.
40289         * misc/syslog.c: Likewise.
40290         * nscd/connections.c: Likewise.
40291         * nscd/netgroupcache.c: Likewise.
40292         * sysdeps/posix/getcwd.c: Likewise.
40293
40294 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40295
40296         * math/w_ilogbf.c: Add #include <limits.h>.
40297
40298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40299
40300         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
40301         path instead of returning without unlocking.
40302
40303         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
40304         immediate-write ioctls.
40305         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
40306
40307 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40308
40309         * sysdeps/mach/hurd/i386/init-first.c (init): Use
40310         __builtin_frame_address instead of making assumptions about the
40311         location of the return address relative to DATA.  Force early load of
40312         the return address.
40313         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
40314         __builtin_frame_address.
40315
40316         dup3 for GNU Hurd.
40317         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
40318         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
40319         implement dup3 and do some further code clean-ups.
40320         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
40321         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
40322
40323 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40324
40325         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
40326
40327         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
40328         HURD_CRITICAL_END around holding _hurd_dtable_lock.
40329         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
40330         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
40331         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
40332         d->port.lock.
40333
40334         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
40335         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
40336         when handler == SIG_ERR, not when handler != SIG_ERR.
40337
40338 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40339
40340         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
40341         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
40342         definitions.
40343
40344         accept4 for GNU Hurd.
40345         * include/sys/socket.h (__libc_accept4): New prototype.
40346         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
40347         to implement __libc_accept4.
40348         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
40349         __libc_accept4.
40350         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
40351
40352         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
40353         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
40354         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
40355         signal-defines.sym.
40356
40357 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40358
40359         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
40360
40361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40362
40363         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
40364         assertion on O_CLOEXEC flag.
40365         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
40366         * hurd/intern-fd.c: Likewise.
40367         * hurd/port2fd.c: Likewise.
40368
40369 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40370
40371         [BZ #3906]
40372         * bits/in.h (IPV6_PKTINFO): Define new macro.
40373         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
40374
40375 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40376
40377         [BZ #13954]
40378         [BZ #13955]
40379         [BZ #13956]
40380         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
40381         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40382         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
40383         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40384         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40385         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40386         * math/libm-test.inc (logb_test) : Additional logb tests.
40387
40388 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
40389             Andreas Jaeger  <aj@suse.de>
40390
40391         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
40392         * configure: Regenerated.
40393         * config.h.in (LINK_OBSOLETE_RPC): New macro.
40394         * config.make.in (link-obsolete-rpc): New substituted variable.
40395         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
40396         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
40397         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40398         (shared-only-routines): Don't set it under [link-obsolete-rpc],
40399         so that libc.a contains the symbols.
40400         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
40401         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
40402         * sunrpc/auth_none.c: Likewise.
40403         * sunrpc/auth_unix.c: Likewise.
40404         * sunrpc/authdes_prot.c: Likewise.
40405         * sunrpc/authuxprot.c: Likewise.
40406         * sunrpc/clnt_gen.c: Likewise.
40407         * sunrpc/clnt_perr.c: Likewise.
40408         * sunrpc/clnt_raw.c: Likewise.
40409         * sunrpc/clnt_simp.c: Likewise.
40410         * sunrpc/clnt_tcp.c: Likewise.
40411         * sunrpc/clnt_udp.c: Likewise.
40412         * sunrpc/clnt_unix.c: Likewise.
40413         * sunrpc/des_crypt.c: Likewise.
40414         * sunrpc/des_soft.c: Likewise.
40415         * sunrpc/get_myaddr.c: Likewise.
40416         * sunrpc/key_call.c: Likewise.
40417         * sunrpc/key_prot.c: Likewise.
40418         * sunrpc/netname.c: Likewise.
40419         * sunrpc/pm_getmaps.c: Likewise.
40420         * sunrpc/pm_getport.c: Likewise.
40421         * sunrpc/pmap_clnt.c: Likewise.
40422         * sunrpc/pmap_prot.c: Likewise.
40423         * sunrpc/pmap_prot2.c: Likewise.
40424         * sunrpc/pmap_rmt.c: Likewise.
40425         * sunrpc/publickey.c: Likewise.
40426         * sunrpc/rpc_cmsg.c: Likewise.
40427         * sunrpc/rpc_common.c: Likewise.
40428         * sunrpc/rpc_dtable.c: Likewise.
40429         * sunrpc/rpc_prot.c: Likewise.
40430         * sunrpc/rpc_thread.c: Likewise.
40431         * sunrpc/rtime.c: Likewise.
40432         * sunrpc/svc.c: Likewise.
40433         * sunrpc/svc_auth.c: Likewise.
40434         * sunrpc/svc_raw.c: Likewise.
40435         * sunrpc/svc_run.c: Likewise.
40436         * sunrpc/svc_tcp.c: Likewise.
40437         * sunrpc/svc_udp.c: Likewise.
40438         * sunrpc/svc_unix.c: Likewise.
40439         * sunrpc/svcauth_des.c: Likewise.
40440         * sunrpc/xcrypt.c: Likewise.
40441         * sunrpc/xdr.c: Likewise.
40442         * sunrpc/xdr_array.c: Likewise.
40443         * sunrpc/xdr_float.c: Likewise.
40444         * sunrpc/xdr_intXX_t.c: Likewise.
40445         * sunrpc/xdr_mem.c: Likewise.
40446         * sunrpc/xdr_rec.c: Likewise.
40447         * sunrpc/xdr_ref.c: Likewise.
40448         * sunrpc/xdr_sizeof.c: Likewise.
40449         * sunrpc/xdr_stdio.c: Likewise.
40450
40451 2012-05-10  Roland McGrath  <roland@hack.frob.com>
40452
40453         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
40454         change.  Update copyright years.
40455
40456 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40457
40458         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
40459
40460 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
40461             Joseph Myers  <joseph@codesourcery.com>
40462             Paul Pluzhnikov  <ppluzhnikov@google.com>
40463
40464         [BZ #14012]
40465         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
40466         requiring rpcgen.
40467         [cross-compiling] (extra-libs): Likewise.
40468         [cross-compiling] (extra-libs-others): Likewise.
40469         [cross-compiling] (librpcsvc-routines): Likewise.
40470         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
40471         [cross-compiling] (omit-deps): Likewise.
40472         (sunrpc-CPPFLAGS): New variable.
40473         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
40474         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
40475         (cross-rpcgen-objs): New variable.
40476         (extra-objs): Append $(cross-rpcgen-objs).
40477         ($(cross-rpcgen-objs)): New rule.
40478         ($(objpfx)cross-rpcgen): Likewise.
40479         (rpcgen-cmd): Define to use $(built-program-file).  Expand
40480         comment.
40481         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
40482         ($(objpfx)x%.stmp): Likewise.
40483         * sunrpc/proto.h [IS_IN_build] (_): Define.
40484         [IS_IN_build] (_libc_intl_domainname): Likewise.
40485
40486 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40487
40488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
40489         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
40490         and R_X86_64_TPOFF64.
40491
40492 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
40493
40494         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
40495         sysdeps/unix/sysv/syscalls.list.
40496         (stime): Likewise.
40497         (utime): Likewise.
40498         * sysdeps/unix/sysv/syscalls.list: Remove file.
40499
40500 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
40501
40502         [BZ #3440]
40503         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
40504         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
40505         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
40506         (__LC_IDENTIFICATION): Make these macros useful in #if
40507         expressions, as required by C99.
40508
40509 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
40510
40511         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
40512         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
40513         after this.
40514
40515 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
40516
40517         * stdlib/longlong.h: Updated from GCC.
40518
40519 2012-05-09  Andreas Jaeger  <aj@suse.de>
40520
40521         * nscd/nscd.c (run_modes): Make named enum, reorder so that
40522         default is first entry.
40523         (run_mode): Set type.
40524         (main): Remove informal message about syslog.
40525         (options): Fix typo.
40526
40527         [BZ #14053]
40528         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
40529         to asm.
40530         (lrint): Likewise.
40531         (llrintf): Likewise.
40532         (llrint): Likewise.
40533         (rint): Likewise.
40534         (rintf): Likewise.
40535         (nearbyint): Likewise.
40536         (nearbyintf): Likewise.
40537
40538 2012-05-09  Andreas Jaeger  <aj@suse.de>
40539             Pedro Alves  <palves@redhat.com>
40540
40541         * nscd/nscd.c (run_mode): Use enum.
40542         (main): Cleanup coding style issue.
40543
40544 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
40545             Andreas Jaeger  <aj@suse.de>
40546
40547         * nscd/nscd.c (go_background): Replaced with...
40548         (run_mode): ... this.
40549         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
40550         (options): Add -F --foreground.
40551         (main): Implement it.
40552         (parse_opt): Parse it.
40553
40554 2012-05-09  Andreas Jaeger  <aj@suse.de>
40555
40556         [BZ #14083]
40557         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
40558         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
40559         -Wconversion warning.
40560         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
40561         Likewise.
40562
40563 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
40564
40565         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
40566         == 0.
40567         (LC_ALL): Use macro-int-constant.
40568         (LC_COLLATE): Likewise.
40569         (LC_CTYPE): Likewise.
40570         (LC_MESSAGES): Likewise.
40571         (LC_MONETARY): Likewise.
40572         (LC_NUMERIC): Likewise.
40573         (LC_TIME): Likewise.
40574         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
40575         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40577         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
40578         Specify type.
40579         [C99-based standards] (float_t): Expect type.
40580         [C99-based standards] (double_t): Expect type.
40581         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
40582         type.
40583         [C99-based standards] (HUGE_VALL): Likewise.
40584         [C99-based standards] (INFINITY): Likewise.
40585         [C99-based standards] (NAN): Likewise.
40586         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
40587         [C99-based standards] (FP_NAN): Likewise.
40588         [C99-based standards] (FP_NORMAL): Likewise.
40589         [C99-based standards] (FP_SUBNORMAL): Likewise.
40590         [C99-based standards] (FP_ZERO): Likewise.
40591         [C99-based standards] (FP_FAST_FMA): Use
40592         optional-macro-int-constant.  Specify type.  Require == 1.
40593         [C99-based standards] (FP_FAST_FMAF): Likewise.
40594         [C99-based standards] (FP_FAST_FMAL): Likewise.
40595         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
40596         [C99-based standards] (FP_ILOGBNAN): Likewise.
40597         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
40598         Specify type.
40599         [C99-based standards] (MATH_ERREXCEPT): Likewise.
40600         [C99-based standards] (math_errhandling): Specify type.
40601         [ISO99 || ISO11] (signgam): Do not allow.
40602         [non-C99-based standards] (copysignf): Do not allow.
40603         [non-C99-based standards] (exp2f): Likewise.
40604         [non-C99-based standards] (log2f): Likewise.
40605         [non-C99-based standards] (modff): Allow.
40606         [non-C99-based standards] (erff): Do not allow.
40607         [non-C99-based standards] (erfcf): Likewise.
40608         [non-C99-based standards] (gammaf): Likewise.
40609         [non-C99-based standards] (hypotf): Likewise.
40610         [non-C99-based standards] (j0f): Likewise.
40611         [non-C99-based standards] (j1f): Likewise.
40612         [non-C99-based standards] (jnf): Likewise.
40613         [non-C99-based standards] (lgammaf): Likewise.
40614         [non-C99-based standards] (tgammaf): Likewise.
40615         [non-C99-based standards] (y0f): Likewise.
40616         [non-C99-based standards] (y1f): Likewise.
40617         [non-C99-based standards] (ynf): Likewise.
40618         [non-C99-based standards] (isnanf): Likewise.
40619         [non-C99-based standards] (acoshf): Likewise.
40620         [non-C99-based standards] (asinhf): Likewise.
40621         [non-C99-based standards] (atanhf): Likewise.
40622         [non-C99-based standards] (cbrtf): Likewise.
40623         [non-C99-based standards] (expm1f): Likewise.
40624         [non-C99-based standards] (ilogbf): Likewise.
40625         [non-C99-based standards] (log1pf): Likewise.
40626         [non-C99-based standards] (logbf): Likewise.
40627         [non-C99-based standards] (nextafterf): Likewise.
40628         [non-C99-based standards] (remainderf): Likewise.
40629         [non-C99-based standards] (rintf): Likewise.
40630         [non-C99-based standards] (scalbf): Likewise.
40631         [non-C99-based standards] (copysignl): Likewise.
40632         [non-C99-based standards] (exp2l): Likewise.
40633         [non-C99-based standards] (log2l): Likewise.
40634         [non-C99-based standards] (modfl): Allow.
40635         [non-C99-based standards] (erfl): Do not allow.
40636         [non-C99-based standards] (erfcl): Likewise.
40637         [non-C99-based standards] (gammal): Likewise.
40638         [non-C99-based standards] (hypotl): Likewise.
40639         [non-C99-based standards] (j0l): Likewise.
40640         [non-C99-based standards] (j1l): Likewise.
40641         [non-C99-based standards] (jnl): Likewise.
40642         [non-C99-based standards] (lgammal): Likewise.
40643         [non-C99-based standards] (tgammal): Likewise.
40644         [non-C99-based standards] (y0l): Likewise.
40645         [non-C99-based standards] (y1l): Likewise.
40646         [non-C99-based standards] (ynl): Likewise.
40647         [non-C99-based standards] (isnanl): Likewise.
40648         [non-C99-based standards] (acoshl): Likewise.
40649         [non-C99-based standards] (asinhl): Likewise.
40650         [non-C99-based standards] (atanhl): Likewise.
40651         [non-C99-based standards] (cbrtl): Likewise.
40652         [non-C99-based standards] (expm1l): Likewise.
40653         [non-C99-based standards] (ilogbl): Likewise.
40654         [non-C99-based standards] (log1pl): Likewise.
40655         [non-C99-based standards] (logbl): Likewise.
40656         [non-C99-based standards] (nextafterl): Likewise.
40657         [non-C99-based standards] (remainderl): Likewise.
40658         [non-C99-based standards] (rintl): Likewise.
40659         [non-C99-based standards] (scalbl): Likewise.
40660         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40661         [non-C99-based standards] (FP_*): Do not allow.
40662         [C99-based standards] (FP_*): Change to
40663         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40664         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40665         allow.
40666         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40667         (SIG_ERR): Likewise.
40668         [X/Open-based standards] (SIG_HOLD): Likewise.
40669         (SIG_IGN): Likewise.
40670         (SIGABRT): Use macro-int-constant.  Specify type.  Require
40671         positive value.
40672         (SIGFPE): Likewise.
40673         (SIGILL): Likewise.
40674         (SIGINT): Likewise.
40675         (SIGSEGV): Likewise.
40676         (SIGTER): Likewise.
40677         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40678         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40679         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40680         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40681         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40682         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40683         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40684         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40685         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40686         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40687         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40688         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40689         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40690         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40691         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40692         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40693         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40694         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40695         [X/Open-based standards] (SIGTRAP): Likewise.
40696         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40697         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40698         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40699         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40700         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40701         allow.
40702
40703 2012-05-08  Ian Wienand  <ianw@vmware.com>
40704
40705         [BZ #14080]
40706         * time/tzset.c (__tzset_parse_tz): Update default rules for
40707         daylight time changes in the Energy Policy Act of 2005.
40708
40709 2012-05-09  Andreas Jaeger  <aj@suse.de>
40710
40711         [BZ #13983]
40712         * elf/ldconfig.c (parse_conf): Change string to make clear that
40713         ldconfig only issued a warning if ld.so.conf does not exist.
40714
40715 2012-05-08  David S. Miller  <davem@davemloft.net>
40716
40717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40718         movxtod instead of popping the value on the stack.
40719
40720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40721
40722 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
40723
40724         * config.h.in: Add HAVE_ARM_PCS_VFP.
40725
40726 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
40727
40728         [BZ #13979]
40729         * include/features.h: Warn if user requests __FORTIFY_SOURCE
40730         checking but the checks are disabled for any reason.
40731
40732 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
40733
40734         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40735         and ELF64_R_TYPE with ELFW(R_TYPE).
40736
40737 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
40738
40739         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40740         (ulimit): Likewise.
40741
40742         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40743         (settimeofday): Likewise.
40744
40745 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
40746
40747         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
40748         a struct th_u2 inside the union, and move tu_block/tu_code into
40749         a new th_u3 union of tu_block/tu_code inside of that.  Move
40750         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
40751         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
40752         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40753         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40754         (th_stuff): Change to th_u1.tu_stuff.
40755         (th_data): Define.
40756         (th_msg): Change to th_u1.th_u2.tu_data.
40757
40758 2012-05-07  David S. Miller  <davem@davemloft.net>
40759
40760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40761
40762         [BZ #14074]
40763         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40764         (SETUP_PIC_REG): Use it.
40765         (SETUP_PIC_REG_LEAF): Use it.
40766
40767 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
40768
40769         [BZ #13885]
40770         [BZ #13923]
40771         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40772         USE_AS_EXPM1L.
40773         (EXPL_FINITE): Likewise.
40774         (FLDLOG): Likewise.
40775         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40776         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40777         e_expl.S.
40778         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40779         USE_AS_EXPM1L.
40780         (EXPL_FINITE): Likewise.
40781         (FLDLOG): Likewise.
40782         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40783         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40784         e_expl.S.
40785         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
40786         test of -max_value argument for long double.
40787         * sysdeps/i386/fpu/libm-test-ulps: Update.
40788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40789
40790 2012-05-06  David S. Miller  <davem@davemloft.net>
40791
40792         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40793         quad soft-float symbols whose references which are compiler
40794         generated.
40795         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40796
40797 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
40798
40799         [BZ #13884]
40800         [BZ #13914]
40801         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40802         USE_AS_EXP10L.
40803         (EXPL_FINITE): Likewise.
40804         (FLDLOG): Likewise.
40805         (c0): Likewise.
40806         (c1): Likewise.
40807         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40808         Adjust comments for base varying.
40809         (__expl_finite): Change alias to EXPL_FINITE.
40810         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40811         e_expl.S.
40812         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40813         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40814         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40815         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40816         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40817         USE_AS_EXP10L.
40818         (EXPL_FINITE): Likewise.
40819         (FLDLOG): Likewise.
40820         (c0): Likewise.
40821         (c1): Likewise.
40822         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40823         Adjust comments for base varying.
40824         (__expl_finite): Change alias to EXPL_FINITE.
40825         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
40826         tests for bugs.
40827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40828
40829         [BZ #14064]
40830         * math/libm-test.inc (check_float_internal): Correct ulp
40831         calculation for subnormal expected results.
40832
40833 2012-05-06  Andreas Jaeger  <aj@suse.de>
40834
40835         * Makeconfig (+math-flags): New, set to -frounding-math.
40836         (+cflags): Add +math-flags so that all of glibc gets compiled with
40837         it.
40838
40839         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40840
40841 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
40842
40843         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40844         Disable one test.
40845
40846         [BZ #13787]
40847         [BZ #13922]
40848         [BZ #14036]
40849         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40850         (__ieee754_expl): Allow for and saturate large arguments.
40851         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40852         (u_threshold): Likewise.
40853         (__exp): Call __ieee754_exp before checking for overflow and
40854         underflow.
40855         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40856         (u_threshold): Likewise.
40857         (__expf): Call __ieee754_expf before checking for overflow and
40858         underflow.
40859         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40860         (u_threshold): Likewise.
40861         (__expl): Call __ieee754_expl before checking for overflow and
40862         underflow.
40863         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40864         (__ieee754_expl): Allow for and saturate large arguments.
40865         * math/libm-test.inc (exp_test): Add another test.  Do not allow
40866         missing overflow exception on overflow.
40867         (expm1_test): Do not allow missing overflow exception on overflow.
40868
40869         * sysdeps/i386/fpu/e_expl.c: Move to ...
40870         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
40871         rather than using inline asm.
40872         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40873         * sysdeps/x86_64/fpu/e_expl.S: Copy from
40874         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40875
40876         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40877         (nice): Likewise.
40878         (poll): Likewise.
40879         (signal): Likewise.
40880         (time): Likewise.
40881         (times): Likewise.
40882
40883 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40884
40885         * sysdeps/unix/syscalls.list (adjtime): Add entry from
40886         sysdeps/unix/common/syscalls.list.
40887         (fchmod): Likewise.
40888         (fchown): Likewise.
40889         (ftruncate): Likewise.
40890         (getrusage): Likewise.
40891         (gettimeofday): Likewise.
40892         (setpgid): Likewise.
40893         (setregid): Likewise.
40894         (setreuid): Likewise.
40895         (sigaction): Likewise.
40896         (truncate): Likewise.
40897         (vhangup): Likewise.
40898         * sysdeps/unix/common/syscalls.list: Remove file.
40899         * sysdeps/unix/bsd/Implies: Don't include unix/common.
40900         * sysdeps/unix/sysv/linux/Implies: Likewise.
40901
40902 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
40903
40904         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40905         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40906         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40907         Moved to ...
40908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40909         Here.
40910         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40911         to ...
40912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40913         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40914         to ...
40915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40916         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40917         to ...
40918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40919         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40920         to ...
40921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40922         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40923         to ...
40924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40925         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40926         to ...
40927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40928         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40929         to ...
40930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40931         Here.
40932         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40933         to ...
40934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40935         Here.
40936         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40937         to ...
40938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40939         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40940         Moved to ...
40941         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40942         Here.
40943         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40944         to ...
40945         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40946
40947 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40948
40949         * sysdeps/unix/common/bits/dirent.h: Remove file.
40950         * sysdeps/unix/common/bits/fcntl.h: Likewise.
40951
40952         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40953         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40954         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40955         * sysdeps/unix/bsd/isatty.c: Likewise.
40956         * sysdeps/unix/bsd/tcdrain.c: Likewise.
40957         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40958         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40959
40960 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40961
40962         [BZ #13563]
40963         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40964         long double comparison inaccuracies.
40965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40967
40968 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
40969
40970         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40971         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40972
40973 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40974
40975         [BZ #14049]
40976         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40977         nonzero digits before rounding a hex value.
40978         * stdlib/tst-strtod.c (tests): Add another test.
40979
40980 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40981
40982         * sysdeps/s390/fpu/libm-test-ulps: Update.
40983
40984 2012-05-03  Andreas Jaeger  <aj@suse.de>
40985
40986         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40987         does not get optimized out.
40988         (malloc_opt_barrier): New.
40989
40990 2012-05-03  Andreas Jaeger  <aj@suse.de>
40991             Roland McGrath  <roland@hack.frob.com>
40992
40993         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40994         intermediate file deletion.
40995         (generated): Add .symlist files.
40996
40997 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
40998
40999         [BZ #13775]
41000         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41001         Redirect under this condition.
41002         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41003         [__USE_GNU] (__dprintf_chk): Not under this condition.
41004         [__USE_GNU] (__vdprintf_chk): Likewise.
41005         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41006         under this condition.
41007         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41008         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41009         [__USE_XOPEN2K8] (vdprintf): Likewise.
41010         [__USE_GNU] (__dprintf_chk): Not under this condition.
41011         [__USE_GNU] (__vdprintf_chk): Likewise.
41012         [__USE_GNU] (dprintf): Likewise.
41013         [__USE_GNU] (vdprintf): Likewise.
41014
41015 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41016
41017         * elf/Makefile (common-generated): Set this instead of generated for
41018         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41019         $(all-built-dso)-derived lists.
41020
41021 2012-05-03  Andreas Jaeger  <aj@suse.de>
41022
41023         * sysdeps/i386/fpu/libm-test-ulps: Update.
41024
41025         * FAQ: Removed.
41026         * FAQ.in: Likewise.
41027         * scripts/gen-FAQ.pl: Likewise.
41028         * manual/install.texi (Installation): Point to online location of
41029         FAQ.
41030         * Makefile (files-for-dist): Remove FAQ.
41031         (FAQ): Remove.
41032
41033 2012-05-02  Allan McRae  <allan@archlinux.org>
41034
41035         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41036         (LDFLAGS-reldepmod5.so): Likewise.
41037         (LDFLAGS-reldep6mod1.so): Likewise.
41038         (LDFLAGS-reldep6mod4.so): Likewise.
41039         (LDFLAGS-reldep8mod3.so): Likewise.
41040         (LDFLAGS-unload4mod1.so): Likewise.
41041         (LDFLAGS-unload4mod2.so): Likewise.
41042         (LDFLAGS-tst-initorder): Likewise.
41043         (LDFLAGS-tst-initordera2.so): Likewise.
41044         (LDFLAGS-tst-initordera3.so): Likewise.
41045         (LDFLAGS-tst-initordera4.so): Likewise.
41046         (LDFLAGS-tst-initorderb2.so): Likewise.
41047         (LDFLAGS-noload): Likewise.
41048         (LDFLAGS-next): Likewise.
41049         (LDFLAGS-order2mod1.so): Likewise.
41050         (LDFLAGS-order2mod2.so): Likewise.
41051         (LDFLAGS-tst-initorder2): Likewise.
41052         (LDFLAGS-tst-initorder2a.so): Likewise.
41053         (LDFLAGS-tst-initorder2b.so): Likewise.
41054         (LDFLAGS-tst-initorder2c.so): Likewise.
41055         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41056
41057 2012-05-02  David S. Miller  <davem@davemloft.net>
41058
41059         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41060
41061 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41062
41063         [BZ #14055]
41064         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41065
41066 2012-05-02  Andreas Jaeger  <aj@suse.de>
41067
41068         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41069         since we manipulate rounding mode.
41070         (CPPFLAGS-test-idouble.c): Likewise.
41071         (CPPFLAGS-test-ifloat.c): Likewise.
41072         (CFLAGS-test-ldouble.c): Likewise.
41073         (CFLAGS-test-double.c): Likewise.
41074         (CFLAGS-test-float.c): Likewise.
41075         (CFLAGS-test-misc.c): Likewise.
41076         (CFLAGS-test-test-fenv.c): Likewise.
41077
41078 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41079
41080         [BZ #2550]
41081         [BZ #2570]
41082         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41083         comparisons to determine direction to adjust input.
41084
41085 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41086
41087         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41088         output to the target.
41089
41090         * scripts/localplt.awk: New file.
41091         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41092         (check-localplt-CFLAGS): Variable removed.
41093         ($(all-built-dso:=.jmprel)): New static pattern rule.
41094         (generated): Add those targets.
41095         (localplt-built-dso): New variable.
41096         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41097
41098         * elf/check-localplt.c: File removed.
41099
41100         * scripts/check-execstack.awk: New file.
41101         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41102         (check-execstack-CFLAGS): Variable removed.
41103         ($(objpfx)check-execstack.h): Target removed.
41104         ($(objpfx)execstack-default): New target.
41105         (generated): Add that instead of check-execstack.h.
41106         ($(all-built-dso:=.phdr)): New static pattern rule.
41107         (generated): Add those targets.
41108         * elf/check-execstack.c: File removed.
41109
41110         * scripts/check-textrel.awk: New file.
41111         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41112         (check-textrel-CFLAGS): Variable removed.
41113         (all-built-dso): Use := to define.o
41114         ($(all-built-dso:=.dyn)): New static pattern rule.
41115         (generated): Add those targets.
41116         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41117         * config.make.in (READELF): New substituted variable.
41118         * elf/check-textrel.c: File removed.
41119
41120 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41121
41122         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41123         allow.
41124         * conform/data/ctype.h-data [C99-based standards] (isblank):
41125         Expect function.
41126         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41127         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41128         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41129         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41130         Specify type.  Require positive value.
41131         (EILSEQ): Likewise.
41132         (ERANGE): Likewise.
41133         [ISO || POSIX] (EILSEQ): Do not expect.
41134         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41135         Specify type.  Require positive value.
41136         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41137         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41138         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41139         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41140         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41141         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41142         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41143         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41144         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41145         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41146         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41147         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41148         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41149         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41150         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41151         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41152         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41153         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41154         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41155         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41156         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41157         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41158         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41159         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41160         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41161         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41162         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41163         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41164         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41165         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41166         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41167         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41168         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41169         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41170         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41171         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41172         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41173         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41174         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41175         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41176         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41177         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41178         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41179         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41180         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41181         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41182         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41183         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
41184         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
41185         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
41186         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
41187         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
41188         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
41189         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
41190         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
41191         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
41192         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
41193         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
41194         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
41195         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
41196         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
41197         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
41198         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
41199         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
41200         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
41201         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
41202         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
41203         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
41204         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
41205         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
41206         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
41207         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
41208         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
41209         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
41210         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
41211         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
41212         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
41213         Require >= 2.
41214         (FLT_ROUNDS): Expect as macro, not constant.
41215         (FLT_MANT_DIG): Use macro-int-constant.
41216         (DBL_MANT_DIG): Likewise.
41217         (LDBL_MANT_DIG): Likewise.
41218         (FLT_DIG): Likewise.
41219         (DBL_DIG): Likewise.
41220         (LDBL_DIG): Likewise.
41221         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
41222         (DBL_MIN_EXP): Likewise.
41223         (LDBL_MIN_EXP): Likewise.
41224         (FLT_MAX_EXP): Use macro-int-constant.
41225         (DBL_MAX_EXP): Likewise.
41226         (LDBL_MAX_EXP): Likewise.
41227         (FLT_MAX_10_EXP): Likewise.
41228         (DBL_MAX_10_EXP): Likewise.
41229         (LDBL_MAX_10_EXP): Likewise.
41230         (FLT_MAX): Use macro-constant.
41231         (DBL_MAX): Likewise.
41232         (LDBL_MAX): Likewise.
41233         (FLT_EPSILON): Use macro-constant.  Give upper bound.
41234         (DBL_EPSILON): Likewise.
41235         (LDBL_EPSILON): Likewise.
41236         (FLT_MIN): Likewise.
41237         (DBL_MIN): Likewise.
41238         (LDBL_MIN): Likewise.
41239         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
41240         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
41241         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
41242         [ISO11] (FLT_HAS_SUBNORM): Likewise.
41243         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
41244         [ISO11] (DBL_DECIMAL_DIG): Likewise.
41245         [ISO11] (FLT_DECIMAL_DIG): Likewise.
41246         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
41247         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
41248         [ISO11] (FLT_TRUE_MIN): Likewise.
41249         [ISO11] (LDBL_TRUE_MIN): Likewise.
41250         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41251         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
41252         (SCHAR_MIN): Use macro-int-constant.  Specify type.
41253         (SCHAR_MAX): Likewise.
41254         (UCHAR_MAX): Likewise.
41255         (CHAR_MIN): Likewise.
41256         (CHAR_MAX): Likewise.
41257         (MB_LEN_MAX): Use macro-int-constant.
41258         (SHRT_MIN): Use macro-int-constant.  Specify type.
41259         (SHRT_MAX): Likewise.
41260         (USHRT_MAX): Likewise.
41261         (INT_MAX): Likewise.
41262         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
41263         bound negative.
41264         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41265         bound with "U".
41266         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41267         bound with "L".
41268         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
41269         bound negative.  Suffix upper bound with "L".
41270         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
41271         bound with "UL".
41272         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
41273         Specify type.
41274         [C99-based standards] (LLONG_MAX): Likewise.
41275         [C99-based standards] (ULLONG_MAX): Likewise.
41276         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
41277         == 0.
41278         [ISO11] (max_align_t): Require type.
41279         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41280
41281         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
41282         from $CFLAGS, without defining away __attribute__ calls.
41283         (checknamespace): Use $CFLAGS_namespace.
41284
41285         * conform/conformtest.pl (@keywords): Only include C99 keywords
41286         for standards based on C99 or C11.
41287
41288         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
41289         Disable tests.
41290         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
41291         UNIX98]: Likewise.
41292
41293         * conform/conformtest.pl: Handle "macro-int-constant" and test for
41294         usability of symbols in #if.
41295
41296         * conform/conformtest.pl: If macro or constant types start
41297         "promoted:", expect the symbol to be of the following type
41298         promoted by the integer promotions.
41299
41300         * conform/conformtest.pl: Parse all "constant" and "macro" lines
41301         in one place.  Also handle "macro-constant".
41302
41303         * conform/conformtest.pl: Only accept expected macro values with
41304         "==".  Parse all "macro" lines in one place.
41305         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
41306
41307         * conform/conformtest.pl: Handle braced types on "constant" lines
41308         instead of handling "typed-constant".
41309         * conform/data/signal.h-data: Use "constant" instead of
41310         "typed-constant".
41311
41312         * conform/conformtest.pl: Handle "optional-" at start of lines in
41313         one place rather than duplicating several cases.  Handle each
41314         format of "macro" line with initial "optional-".
41315
41316         * conform/conformtest.pl: Only accept expected constant or
41317         optional-constant values with "==".  Parse all "constant" lines in
41318         one place.  Parse all "optional-constant" lines in one place.
41319         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
41320         * conform/data/fmtmsg.h-data: Likewise.
41321         * conform/data/netinet/in.h-data: Likewise.
41322         * conform/data/tar.h-data: Likewise.
41323         * conform/data/limits.h-data: Use "==" form on "constant" and
41324         "optional-constant" lines.
41325
41326         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
41327         Use -std=c99 for XOPEN2K.
41328         (@knownproblems): Remove.
41329         (newtoken): Don't check %isknown.
41330
41331         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
41332         Do not expect macro.
41333         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
41334         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
41335         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
41336         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
41337         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
41338         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
41339         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
41340         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
41341         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
41342         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
41343         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
41344         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
41345         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
41346         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
41347         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
41348         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
41349         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
41350         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
41351         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
41352         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
41353         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
41354         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
41355         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
41356         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
41357         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
41358         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
41359         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
41360         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
41361         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
41362         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
41363         [XPG3] (acosh): Likewise.
41364         [XPG3] (asinh): Likewise.
41365         [XPG3] (atanh): Likewise.
41366         [XPG3] (cbrt): Likewise.
41367         [XPG3] (expm1): Likewise.
41368         [XPG3] (ilogb): Likewise.
41369         [XPG3] (log1p): Likewise.
41370         [XPG3] (logb): Likewise.
41371         [XPG3] (nextafter): Likewise.
41372         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
41373         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
41374         [XPG3] (remainder): Likewise.
41375         [XPG3] (rint): Likewise.
41376         [XPG3 || XPG4 || UNIX98] (round): Likewise.
41377         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
41378         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
41379         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
41380         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
41381         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
41382         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
41383         [UNIX98 || XOPEN2K] (scalb): Expect.
41384         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
41385         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
41386         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
41387         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
41388         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
41389         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
41390         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
41391         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
41392         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
41393         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
41394         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
41395         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
41396         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
41397         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
41398         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
41399         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
41400         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
41401         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
41402         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
41403         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
41404         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
41405         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
41406         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
41407         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
41408         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
41409         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
41410         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
41411         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
41412         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
41413         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
41414         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
41415         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
41416         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
41417         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
41418         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
41419         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
41420         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
41421         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
41422         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
41423         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
41424         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
41425         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
41426         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
41427         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
41428         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
41429         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
41430         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
41431         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
41432         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
41433         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
41434         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
41435         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
41436         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
41437         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
41438         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
41439         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
41440         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
41441         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
41442         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
41443         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
41444         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
41445         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
41446         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
41447         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
41448         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
41449         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
41450         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
41451         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
41452         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
41453         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
41454         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
41455         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
41456         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
41457         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
41458         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
41459         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
41460         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
41461         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
41462         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
41463         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
41464         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
41465         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
41466         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
41467         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
41468         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
41469         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
41470         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
41471         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
41472         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
41473         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
41474         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
41475         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
41476         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
41477         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
41478         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
41479         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
41480         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
41481         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
41482         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
41483         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
41484         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
41485         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
41486         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
41487         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
41488         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
41489         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
41490         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
41491         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
41492         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
41493         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
41494         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
41495         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
41496         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
41497         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
41498         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
41499         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
41500         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
41501         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
41502         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
41503         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
41504         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
41505         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
41506         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
41507         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
41508         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
41509         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
41510         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
41511         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
41512         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
41513         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
41514         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
41515         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
41516         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
41517         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
41518         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
41519         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
41520         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
41521
41522         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
41523         _XOPEN_SOURCE_EXTENDED for XPG4.
41524
41525         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
41526
41527         * Makeconfig (localtime): Remove variable.
41528         (inst_localtime-file): Likewise.
41529
41530 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41531
41532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41533         Update.
41534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41535         Update.
41536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41537         Update.
41538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41539         Update.
41540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41541         Update.
41542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
41543         Update.
41544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41545         Update.
41546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
41547         Update.
41548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41549         Update.
41550
41551 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41552
41553         [BZ #2550]
41554         [BZ #2570]
41555         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
41556         comparisons to determine direction to adjust input.
41557         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
41558         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
41559         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
41560         Likewise.
41561         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
41562         Likewise.
41563         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
41564         Likewise.
41565         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
41566         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
41567         Likewise.
41568         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
41569         Likewise.
41570         * math/libm-test.inc (nexttoward_test): Add more tests.
41571
41572 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
41573
41574         [BZ #14040]
41575         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
41576         in version GLIBC_2.1, not GLIBC_2.0.
41577         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
41578         Likewise.
41579
41580 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
41581
41582         [BZ #13942]
41583         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
41584         (1 - x) * (1 + x).
41585         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41586         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
41587         * math/libm-test.inc (acos_test): Add more tests.
41588         (asin_test): Likewise.
41589         * sysdeps/i386/fpu/libm-test-ulps: Update.
41590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41591
41592         [BZ #14034]
41593         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
41594         of square root.
41595         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
41596         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
41597         * math/libm-test.inc (acos_test_tonearest): New function.
41598         (acos_test_towardzero): Likewise.
41599         (acos_test_downward): Likewise.
41600         (acos_test_upward): Likewise.
41601         (asin_test_tonearest): Likewise.
41602         (asin_test_towardzero): Likewise.
41603         (asin_test_downward): Likewise.
41604         (asin_test_upward): Likewise.
41605         (main): Call the new functions.
41606         * sysdeps/i386/fpu/libm-test-ulps: Update.
41607         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41608
41609         [BZ #13884]
41610         [BZ #13924]
41611         * math/e_exp10.c: Include <float.h>.
41612         (__ieee754_exp10): Handle underflow here rather than multiplying
41613         large negative argument by M_LN10.
41614         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41615         of __ieee754_expf.
41616         * math/e_exp10l.c: Include <float.h>.
41617         (__ieee754_exp10l): Handle underflow here rather than multiplying
41618         large negative argument by M_LN10l.
41619         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
41620         spurious overflow exception on underflow.
41621
41622 2012-04-29  Marek Polacek  <polacek@redhat.com>
41623
41624         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41625         (__fortify_function): New macro.
41626         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41627         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41628         __extern_always_inline.
41629         * libio/bits/stdio2.h: Likewise.
41630         * libio/bits/stdio.h: Likewise.
41631         * string/string.h: Likewise.
41632         * string/bits/string3.h: Likewise.
41633         * include/stdio.h: Likewise.
41634         * stdlib/bits/stdlib.h: Likewise.
41635         * stdlib/stdlib.h: Likewise.
41636         * rt/bits/mqueue2.h: Likewise.
41637         * rt/mqueue.h: Likewise.
41638         * posix/bits/unistd.h: Likewise.
41639         * posix/unistd.h: Likewise.
41640         * io/bits/poll2.h: Likewise.
41641         * io/bits/fcntl2.h: Likewise.
41642         * io/fcntl.h: Likewise.
41643         * io/sys/poll.h: Likewise.
41644         * misc/bits/syslog.h: Likewise.
41645         * misc/bits/syslog-ldbl.h: Likewise.
41646         * misc/sys/syslog.h: Likewise.
41647         * socket/bits/socket2.h: Likewise.
41648         * socket/sys/socket.h: Likewise.
41649         * debug/tst-chk1.c: Likewise.
41650         * wcsmbs/bits/wchar2.h: Likewise.
41651         * wcsmbs/bits/wchar-ldbl.h: Likewise.
41652         * wcsmbs/wchar.h: Likewise.
41653
41654 2012-04-29  Andreas Jaeger  <aj@suse.de>
41655
41656         * Makerules (tests): Remove enable-check-abi protection.
41657         (check-abi-warn): Remove.
41658         (check-abi-%): Remove check-abi-warn usage.
41659
41660         * configure.in: Remove check-abi configure option.
41661         * configure: Regenerated.
41662         * config.make.in (enable-check-abi): Remove.
41663
41664 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
41665
41666         [BZ #14033]
41667         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41668         double functions to double *_finite functions.
41669
41670         [BZ #13941]
41671         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41672         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41673         LDBL_MIN_EXP.
41674         * stdio-common/Makefile (tests): Add tst-sprintf3.
41675         * stdio-common/tst-sprintf3.c: New file.
41676
41677         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41678         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41679
41680 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41681
41682         * conform/conformtest.pl: Remove duplicate typed-constant
41683         handling.
41684
41685 2012-04-28  David S. Miller  <davem@davemloft.net>
41686
41687         * Makerules (%.abilist): Add vpath on sysdep_dirs.
41688         (check-abi-%): Remove AWK script prerequisite and explicit
41689         abilist directory.
41690         (check-abi): Rewrite to just diff the symlist with the abilist.
41691         (config-tls, config-abi-config): Delete, no longer used.
41692         (update-abi-%): Remove AWK script and explicit abilist directory.
41693         (update-abi): Rewrite to simply compare and conditionally copy the
41694         symlist and the sysdep abilist file.  Remove update-abi-config
41695         checks.
41696         * abilist/ld.abilist: Remove.
41697         * abilist/libBrokenLocale.abilist: Remove.
41698         * abilist/libanl.abilist: Remove.
41699         * abilist/libcrypt.abilist: Remove.
41700         * abilist/libdl.abilist: Remove.
41701         * abilist/librt.abilist: Remove.
41702         * abilist/libthread_db.abilist: Remove.
41703         * abilist/libutil.abilist: Remove.
41704         * scripts/extract-abilist.awk: Remove.
41705         * scripts/merge-abilist.awk: Remove.
41706         * sysdeps/generic/libcidn.abilist: New file.
41707         * sysdeps/generic/libnss_compat.abilist: New file.
41708         * sysdeps/generic/libnss_db.abilist: New file.
41709         * sysdeps/generic/libnss_dns.abilist: New file.
41710         * sysdeps/generic/libnss_files.abilist: New file.
41711         * sysdeps/generic/libnss_hesiod.abilist: New file.
41712         * sysdeps/generic/libnss_nis.abilist: New file.
41713         * sysdeps/generic/libnss_nisplus.abilist: New file.
41714         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41715         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41716         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41717         file.
41718         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41719         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41720         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41721         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41722         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41723         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41724         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41725         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41726         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41727         file.
41728         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41729         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41730         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41731         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41732         file.
41733         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41734         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41735         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41736         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41737         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41738         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41739         file.
41740         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41741         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41742         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41743         file.
41744         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41745         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41746         New file.
41747         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41748         New file.
41749         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41750         New file.
41751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41752         New file.
41753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41754         New file.
41755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41756         New file.
41757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41758         New file.
41759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41760         New file.
41761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41762         New file.
41763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41764         New file.
41765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41766         New file.
41767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41768         New file.
41769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41770         New file.
41771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41772         file.
41773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41774         New file.
41775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41776         New file.
41777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41778         file.
41779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41780         New file.
41781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41782         New file.
41783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41784         file.
41785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41786         New file.
41787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41788         New file.
41789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41790         New file.
41791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41792         New file.
41793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41794         New file.
41795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41796         New file.
41797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41799         file.
41800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41801         New file.
41802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41803         file.
41804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41805         file.
41806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41807         file.
41808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41809         file.
41810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41811         file.
41812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41813         New file.
41814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41815         file.
41816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41817         file.
41818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41819         New file.
41820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41821         file.
41822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41823         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41824         file.
41825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41826         New file.
41827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41828         file.
41829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41830         file.
41831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41832         file.
41833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41834         file.
41835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41836         file.
41837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41838         New file.
41839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41840         file.
41841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41842         file.
41843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41844         New file.
41845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41846         file.
41847         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41848         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41849         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41850         file.
41851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41852         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41853         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41854         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41855         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41856         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41857         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41858         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41859         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41860         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41862         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41863         file.
41864         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41865         New file.
41866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41867         file.
41868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41869         file.
41870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41871         file.
41872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41873         file.
41874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41875         file.
41876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41877         New file.
41878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41879         New file.
41880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41881         file.
41882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41883         New file.
41884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41885         file.
41886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41888         file.
41889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41890         New file.
41891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41892         file.
41893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41894         file.
41895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41896         file.
41897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41898         file.
41899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41900         file.
41901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41902         New file.
41903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41904         New file.
41905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41906         file.
41907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41908         New file.
41909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41910         file.
41911
41912 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41913
41914         * conform/conformtest.pl: Fix typo in handling typed-constant from
41915         allow-header.
41916
41917 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41918
41919         * README: Cut down references to pre-2.6 Linux kernels and
41920         Linuxthreads.  Update lists of configurations in libc and ports
41921         and sort alphabetically.  Say "or newer" with Linux kernel version
41922         requirements.
41923
41924         * config.h.in [IS_IN_build]: Allow compiling without optimization.
41925
41926 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41927
41928         [BZ #887]
41929         * math/libm-test.inc (logb_test_downward): New test to expose
41930         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41931         rounding mode.
41932
41933 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41934
41935         [BZ #14027]
41936         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41937         to be done.
41938         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41939         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41940
41941 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
41942
41943         * sysdeps/unix/i386/brk.S: Remove file.
41944         * sysdeps/unix/i386/dl-brk.S: Likewise.
41945         * sysdeps/unix/i386/pipe.S: Likewise.
41946         * sysdeps/unix/i386/sigreturn.S: Likewise.
41947         * sysdeps/unix/i386/syscall.S: Likewise.
41948         * sysdeps/unix/i386/vfork.S: Likewise.
41949         * sysdeps/unix/i386/wait.S: Likewise.
41950
41951         * sysdeps/unix/common/tcsendbrk.c: Move to ...
41952         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41953
41954         * configure.in (arm*-none*): Do not allow without
41955         --enable-hacker-mode.
41956         (netbsd*): Remove case setting base_os.
41957         (386bsd*): Likewise.
41958         (freebsd*): Likewise.
41959         (bsdi*): Likewise.
41960         (osf*): Likewise.
41961         (sunos*): Likewise.
41962         (ultrix*): Likewise.
41963         (newsos*): Likewise.
41964         (dynix*): Likewise.
41965         (*bsd*): Likewise.
41966         (sysv*): Likewise.
41967         (isc*): Likewise.
41968         (esix*): Likewise.
41969         (sco*): Likewise.
41970         (minix*): Likewise.
41971         (irix4*): Likewise.
41972         (irix6*): Likewise.
41973         (solaris[2-9]*): Likewise.
41974         (none): Likewise.
41975         * configure: Regenerated.
41976
41977 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41978
41979         [BZ #11521]
41980         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41981         overflow or cancellation in calculating denominator.
41982         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41983         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41984         down expression to avoid unexpected rounding in newer GCCs.
41985         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41986
41987 2012-04-26  David S. Miller  <davem@davemloft.net>
41988
41989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41990         long-double compat symbols.
41991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41996         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41997         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42004
42005 2012-04-25  David S. Miller  <davem@davemloft.net>
42006
42007         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42008         HWCAP_* values only after the memory barriers have been defined.
42009         (atomic_full_barrier): Define.
42010         (atomic_read_barrier): Define.
42011         (atomic_write_barrier): Define.
42012
42013 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42014
42015         * shlib-versions: Add libgcc_s version information.
42016         * sysdeps/generic/libgcc_s.h: Remove.
42017         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42018         libgcc_s.h.
42019         * sysdeps/gnu/unwind-resume.c: Likewise.
42020         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42021
42022 2012-04-25  David S. Miller  <davem@davemloft.net>
42023
42024         * sysdeps/unix/sparc/brk.S: Delete.
42025         * sysdeps/unix/sparc/dl-brk.S: Delete.
42026         * sysdeps/unix/sparc/pipe.S: Delete.
42027         * sysdeps/unix/sparc/sysdep.S: Delete.
42028         * sysdeps/unix/sparc/sysdep.h: Delete.
42029         * sysdeps/unix/sparc/vfork.S: Delete.
42030         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42031         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42032         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42033         (ret_ERRVAL, r0, r1, MOVE): Define.
42034         (JUMPTARGET): Remove.
42035         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42036         sysdeps/unix/sparc/sysdep.h
42037         (ENTRY, END): Remove.
42038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42039
42040 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42041
42042         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42043         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42044         -DIS_IN_build.
42045
42046         * timezone/README: Update upstream location and email address for
42047         tzcode and tzdata.
42048         * timezone/zdump.c: Update from tzcode 2012b.
42049         * timezone/zic.c: Likewise.
42050
42051         * configure.in (libc_cv_as_needed): Remove test.
42052         * configure: Regenerated.
42053         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42054         conditional definition.
42055         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42056         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42057         * config.make.in (have-as-needed): Remove variable.
42058
42059 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42060             Paul Pluzhnikov  <ppluzhnikov@google.com>
42061
42062         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42063         strings correctly.
42064
42065 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42066
42067         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42068         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42069         * sysdeps/sh/strlen.S: Likewise.
42070
42071 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42072
42073         * sysdeps/unix/fork.S: Remove file.
42074         * sysdeps/unix/i386/fork.S: Likewise.
42075         * sysdeps/unix/sparc/fork.S: Likewise.
42076
42077         * sysdeps/unix/system.c: Remove file.
42078         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42079
42080         * sysdeps/unix/getegid.S: Remove file.
42081         * sysdeps/unix/geteuid.S: Likewise.
42082
42083 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42084
42085         * scripts/check-localplt.awk: New file.
42086         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42087         of diff.
42088         * scripts/data/localplt-generic.data: Add a comment.
42089
42090         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42091         NODE when __dir_mkfile failed.
42092         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42093         Reported by Ludovic Courtès <ludo@gnu.org>.
42094
42095 2012-04-24  Andreas Jaeger  <aj@suse.de>
42096
42097         * Makerules (common-clean): Also remove gen-as-const-headers
42098         files.
42099
42100 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42101
42102         * Makerules (native-compile): Do not change working directory for
42103         build.  Use $(OUTPUT_OPTION) in command.
42104         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42105
42106 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42107
42108         [BZ #13886]
42109         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42110         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42111         * math/libm-test.inc (floor_test): Add more tests.
42112         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42113
42114 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42115
42116         * sysdeps/unix/getdents.c: Remove file.
42117         * sysdeps/unix/sysv/getdents.c: Likewise.
42118         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42119
42120         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42121         sysdeps/unix/mman/syscalls.list.
42122         (mmap): Likewise.
42123         (mprotect): Likewise.
42124         (msync): Likewise.
42125         (munmap): Likewise.
42126         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42127         * sysdeps/unix/mman/syscalls.list: Remove.
42128         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42129
42130         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42131         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42132         * configure: Regenerated.
42133         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42134         $(libgcc_s_suffix).
42135         * config.make.in (libgcc_s_suffix): Remove variable.
42136
42137 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42138
42139         * sysdeps/unix/sysv/gethostname.c: Move to ...
42140         * sysdeps/posix/gethostname.c: ... here.
42141
42142         * sysdeps/unix/execve.S: Remove file.
42143
42144         * sysdeps/unix/_exit.S: Remove file.
42145
42146 2012-04-23  Andreas Jaeger  <aj@suse.de>
42147
42148         [BZ #13739]
42149         * manual/Makefile: Remove make dist support, there's no
42150         need for a stand-alone documentation tar ball.
42151         (TEXI2DVI): Define always, it's not in Makeconfig.
42152         (dist): Removed.
42153         (tar-it): Removed.
42154         (edition): Removed.
42155         (glibc-doc-$(edition).tar): Removed
42156         (%.Z): Removed.
42157         (%.gz): Removed.
42158         (%.uu): Removed.
42159         (ETAGS): Remove, it's in Makeconfig.
42160         (move-if-change): Remove, it's in Makeconfig.
42161
42162 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42163
42164         [BZ #13970]
42165         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42166         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42167         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42168         (strtod_l, strtof_l, strtold_l): Remove __wur.
42169         It is not necessarily an error to ignore strtol's return value.
42170         One can reliably look at the stored endptr to decide whether
42171         the number had valid syntax.
42172
42173 2012-04-21  Andreas Jaeger  <aj@suse.de>
42174
42175         [BZ #13739]
42176         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42177
42178 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42179
42180         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42181         * sysdeps/unix/sysv/Versions: Remove file.
42182
42183 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
42184
42185         [BZ #13927]
42186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42187
42188 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
42189
42190         [BZ #7064]
42191         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
42192         version from __vm86.
42193
42194 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
42195
42196         * sysdeps/unix/common/lxstat.c: Remove file.
42197         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
42198
42199         * sysdeps/unix/sysv/Makefile: Remove file.
42200
42201         * sysdeps/unix/sysv/direct.h: Remove file.
42202
42203         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
42204         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
42205         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
42206         * sysdeps/unix/sysv/bits/signum.h: Likewise.
42207         * sysdeps/unix/sysv/bits/stat.h: Likewise.
42208         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
42209         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
42210
42211         * sysdeps/unix/sysv/setrlimit.c: Remove file.
42212
42213         * sysdeps/unix/xmknod.c: Remove file.
42214         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
42215
42216         * sysdeps/unix/sysv/settimeofday.c: Remove file.
42217
42218         * sysdeps/unix/sysv/i386/time.S: Remove file.
42219
42220         * sysdeps/unix/fxstat.c: Remove file.
42221         * sysdeps/unix/xstat.c: Likewise.
42222         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
42223
42224         * sysdeps/unix/sysv/sigaction.c: Remove file.
42225
42226         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
42227         (sysdep_headers): Remove variable.
42228         [termio.h not in sysdep_headers] (generated): Likewise.
42229         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
42230         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
42231         * sysdeps/unix/sysv/tcdrain.c: Likewise.
42232         * sysdeps/unix/sysv/tcflow.c: Likewise.
42233         * sysdeps/unix/sysv/tcflush.c: Likewise.
42234         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
42235         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
42236         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
42237         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
42238         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
42239
42240         * sysdeps/unix/siglist.c: Remove file.
42241
42242         * sysdeps/unix/getppid.S: Remove file.
42243
42244         * sysdeps/unix/mkdir.c: Remove file.
42245         * sysdeps/unix/rmdir.c: Likewise.
42246
42247 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
42248
42249         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
42250         ERR_MAX value.
42251         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
42252         errlist-compat value.
42253
42254 2012-04-18  David S. Miller  <davem@davemloft.net>
42255
42256         * sysdeps/generic/memcopy.h (reg_char): Delete.
42257         * debug/strcat_chk.c: Use char, not reg_char.
42258         * debug/strcpy_chk.c: Likewise.
42259         * debug/strncat_chk.c: Likewise.
42260         * debug/strncpy_chk.c: Likewise.
42261         * string/memchr.c: Likewise.
42262         * string/memrchr.c: Likewise.
42263         * string/rawmemchr.c: Likewise.
42264         * string/strcat.c: Likewise.
42265         * string/strchr.c: Likewise.
42266         * string/strchrnul.c: Likewise.
42267         * string/strcmp.c: Likewise.
42268         * string/strcpy.c: Likewise.
42269         * string/strncat.c: Likewise.
42270         * string/strncmp.c: Likewise.
42271         * string/strncpy.c: Likewise.
42272
42273 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42274
42275         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
42276         __builtin_memcopy is called when src and dest ranges are known to not
42277         overlap.
42278
42279 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42280
42281         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
42282         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
42283         fwd_align_merge macro call.
42284         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
42285         bwd_align_merge macro call.
42286         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42287
42288 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
42289
42290         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
42291         bwd_align_merge macros.
42292         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
42293         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
42294         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42295
42296 2012-04-18  David S. Miller  <davem@davemloft.net>
42297
42298         * sysdeps/sparc/sparc64/memcopy.h: Delete.
42299
42300 2012-04-18  Andreas Jaeger  <aj@suse.de>
42301
42302         [BZ# 6794]
42303         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
42304         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
42305         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42306
42307         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
42308         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
42309         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42310
42311         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
42312         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
42313         Adjust for changed ldbl-128 files.
42314
42315         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
42316         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
42317         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
42318
42319 2012-04-17  David S. Miller  <davem@davemloft.net>
42320
42321         * sysdeps/sparc/sparc32/memcopy.h: Delete.
42322
42323 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
42324
42325         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
42326         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
42327         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
42328         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
42329         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
42330         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
42331
42332 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42333
42334         [BZ #6794]
42335         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
42336         * math/libm-test.inc: Add ilogb errno and exception tests.
42337         * math/w_ilogb.c: New file: ilogb wrapper.
42338         * math/w_ilogbf.c: New file: ilogbf wrapper.
42339         * math/w_ilogbl.c: New file: ilogbl wrapper.
42340         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
42341         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
42342         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
42343         exception being thrown with 0.0 as argument.
42344         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
42345         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
42346         exception being thrown with 0.0 as argument.
42347         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
42348         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42349         exception being thrown with 0.0 as argument.
42350         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
42351         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
42352         exception being thrown with 0.0 as argument.
42353         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
42354         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
42355         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
42356         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
42357         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
42358         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
42359         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
42360         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
42361         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
42362
42363 2012-04-17  Petr Baudis  <pasky@ucw.cz>
42364
42365         * include/sys/uio.h: Change __vector to __iovec to avoid clash
42366         with altivec.
42367
42368 2012-04-16  Marek Polacek  <polacek@redhat.com>
42369
42370         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
42371
42372 2012-04-16  Marek Polacek  <polacek@redhat.com>
42373
42374         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
42375         operands of fdivp instruction.
42376
42377 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42378
42379         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
42380         * elf/tst-auditmod3b.c: Likewise.
42381         * elf/tst-auditmod4b.c: Likewise.
42382         * elf/tst-auditmod5b.c: Likewise.
42383         * elf/tst-auditmod6b.c: Likewise.
42384         * elf/tst-auditmod6c.c: Likewise.
42385         * elf/tst-auditmod7b.c: Likewise.
42386         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
42387         * sysdeps/x86_64/preconfigure.in: Likewise.
42388         * sysdeps/x86_64/preconfigure: Regenerated.
42389
42390 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
42391
42392         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
42393         __ILP32__.
42394
42395 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
42396
42397         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
42398         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
42399
42400 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
42401
42402         [BZ #13973]
42403         * locale/iso-639.def: Fix gl language name. Spotted by
42404         Yaron Shahrabani.
42405
42406 2012-04-12  Roland McGrath  <roland@hack.frob.com>
42407
42408         [BZ #2074]
42409         * libio/libio.h (__io_write_fn): Update comment.
42410
42411 2012-04-12  Petr Baudis  <pasky@ucw.cz>
42412
42413         [BZ #2074]
42414         * stdio.texi (Hook Functions): The user provided writer function
42415         is not allowed to return -1.
42416
42417 2012-04-11  David S. Miller  <davem@davemloft.net>
42418
42419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42420
42421 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
42422
42423         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
42424         Add a leading slash to rtkaio.
42425
42426 2012-04-11  Jim Meyering  <meyering@redhat.com>
42427
42428         [BZ #11959]
42429         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
42430         It is not necessarily an error to ignore fwrite's return
42431         value.  One can reliably use ferror to test for errors after
42432         the fact.
42433
42434 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42435
42436         * bits/types.h (__snseconds_t): New type.
42437         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
42438
42439         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
42440         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42441         (__SNSECONDS_T_TYPE): Likewise.
42442         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42443         (__SNSECONDS_T_TYPE): Likewise.
42444         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42445         (__SNSECONDS_T_TYPE): Likewise.
42446
42447 2012-04-10  Andreas Jaeger  <aj@suse.de>
42448
42449         [BZ #2636]
42450         * manual/time.texi (Processor Time): Return type of times is
42451         elapsed real time since an arbitrary point in the past.
42452         (CPU Time): Move CLK_TCK from here...
42453         (Processor Time): ...to here.  Correct description.
42454         * manual/conf.texi (Constants for Sysconf): Correct description of
42455         _SC_CLK_TCK.
42456
42457 2012-04-10  David S. Miller  <davem@davemloft.net>
42458
42459         [BZ #13967]
42460         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
42461         where the is a gap between DT_REL(A) and DT_JMPREL.
42462
42463 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
42464
42465         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
42466         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42467         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42468
42469 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42470
42471         * elf/dl-support.c (_dl_inhibit_cache): New variable.
42472         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
42473         (dl_main): Handle --inhibit-cache.
42474         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
42475         _dl_inhibit_cache.
42476         * elf/dl-load.c (_dl_map_object): Use it.
42477         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
42478
42479 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42480
42481         [BZ #13872]
42482         * sysdeps/i386/fpu/e_powl.S (p78): New object.
42483         (__ieee754_powl): Saturate large exponents rather than testing for
42484         overflow of y*log2(x).
42485         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42486         * math/libm-test.inc (pow_test): Do not permit spurious overflow
42487         exceptions.
42488
42489         [BZ #11521]
42490         * math/s_ctan.c: Include <float.h>.
42491         (__ctan): Avoid internal overflow or cancellation in calculating
42492         denominator.
42493         * math/s_ctanf.c: Likewise.
42494         * math/s_ctanl.c: Likewise.
42495         * math/s_ctanh.c: Likewise.
42496         * math/s_ctanhf.c: Likewise.
42497         * math/s_ctanhl.c: Likewise.
42498         * math/libm-test.inc (ctan_test): Add more tests.
42499         (ctanh_test): Likewise.
42500         * sysdeps/i386/fpu/libm-test-ulps: Update.
42501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42502
42503 2012-04-09  Andreas Jaeger  <aj@suse.de>
42504
42505         [BZ #6894]
42506         * manual/filesys.texi (Directory Entries): Mention that d_namlen
42507         is an optional BSD extension.
42508
42509         [BZ #10254]
42510         * manual/stdio.texi (Opening Streams): Document additional fopen
42511         parameters.
42512
42513 2012-04-09  Roland McGrath  <roland@hack.frob.com>
42514
42515         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
42516         %eax without telling the compiler.
42517
42518 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
42519
42520         [BZ # 13963]
42521         * manual/install.texi: Use sourceware.org.
42522
42523 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
42524
42525         [BZ #13873]
42526         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
42527         (__ieee754_pow): Generate overflow and underflow using huge*huge
42528         and tiny*tiny rather than just returning constant infinity or zero
42529         for large exponents.
42530         * math/libm-test.inc (pow_test): Require overflow exceptions for
42531         applicable cases of large exponents.
42532
42533         [BZ #706]
42534         * sysdeps/i386/fpu/e_pow.S (p10): New object.
42535         (__ieee754_pow): Use iterative multiplication algorithm only for
42536         integer exponents with absolute value below 1024.  Check for odd
42537         integer exponents when using algorithm for real exponents.
42538         * math/libm-test.inc (pow_test): Add more tests.
42539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42540
42541 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
42542
42543         [BZ #13705]
42544         * math/libm-test.inc (exp_test): Do not allow overflow exception
42545         on underflow test.
42546
42547 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
42548
42549         [BZ #13705]
42550         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
42551         instead of __kernel_standard_f.
42552
42553 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
42554
42555         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
42556         * sysdeps/x86_64/memset_chk.S: Likewise.
42557
42558 2012-04-08  Andreas Jaeger  <aj@suse.de>
42559
42560         [BZ #10153]
42561         * manual/startup.texi (Environment Access): Describe return value
42562         for putenv and setenv.
42563
42564         [BZ #6895]
42565         * manual/filesys.texi (Directory Entries): Add description for
42566         DT_LNK.
42567
42568         [BZ #6890]
42569         * manual/filesys.texi (Directory Entries): Clarify that it's file
42570         system not operating system in the description of DT_UNKNOWN.
42571
42572         [BZ #6578]
42573         * manual/syslog.texi (closelog): Fix reference, it's openlog.
42574
42575 2012-04-08  Stephen Compall  <s11@member.fsf.org>
42576
42577         [BZ #6649]
42578         * manual/llio.texi (Opening and Closing Files): Add cross
42579         reference to explain mode argument.
42580
42581 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
42582
42583         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
42584         * sysdeps/x86_64/memset_chk.S: Likewise.
42585
42586 2012-04-07  David S. Miller  <davem@davemloft.net>
42587
42588         * elf/elf.h (R_SPARC_WDISP10): Define.
42589         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
42590         R_SPARC_SIZE32.
42591         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
42592         R_SPARC_SIZE64 and R_SPARC_H34.
42593
42594 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
42595
42596         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
42597         conditions and remove no longer applicable assertion.
42598
42599 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42600
42601         * bits/byteswap.h: Include <features.h>.
42602         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
42603         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
42604
42605 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
42606
42607         * bits/byteswap.h (__bswap_16): Removed.
42608         Include <bits/byteswap-16.h> to get __bswap_16.
42609         * sysdeps/i386/bits/byteswap.h: Likewise.
42610         * sysdeps/s390/bits/byteswap.h: Likewise.
42611         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42612         * bits/byteswap-16.h: New file.
42613         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42614         * sysdeps/s390/bits/byteswap-16.h: Likewise.
42615         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42616         * string/Makefile (headers): Add bits/byteswap-16.h.
42617
42618 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42619
42620         [BZ #13895]
42621         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42622         extra indirection.
42623         * nss/Makefile (tests-static, tests): Add tst-nss-static.
42624         * nss/tst-nss-static.c: New.
42625
42626 2012-04-06  Robert Millan  <rmh@gnu.org>
42627
42628         [BZ #6486]
42629         * manual/llio.texi (File Position Primitive): lseek
42630         refers to WHENCE when it really means OFFSET.
42631
42632 2012-04-06  Andreas Jaeger  <aj@suse.de>
42633
42634         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42635         strncmp declarations.
42636
42637         * abilist/libc.abilist: Add __poll and __ppoll.
42638
42639 2012-04-05  David S. Miller  <davem@davemloft.net>
42640
42641         * scripts/check-local-headers.sh: Accept a host triplet in the
42642         path matched by the exclude regexp.
42643
42644         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42645         definition.
42646         * sysdeps/powerpc/powerpc32/dl-machine.h
42647         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42648         * sysdeps/s390/s390-32/dl-machine.h
42649         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42650         * sysdeps/sparc/sparc32/dl-machine.h
42651         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42652         * sysdeps/sparc/sparc64/dl-machine.h
42653         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42654
42655         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42656         lazy binding.
42657         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42658         undefined symbol errors.
42659
42660         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42661         DT_NEEDED entries.
42662
42663 2012-04-05  Michael Matz  <matz@suse.de>
42664
42665         [BZ #13592]
42666         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42667
42668 2012-04-05  Andreas Jaeger  <aj@suse.de>
42669
42670         [BZ #13908]
42671         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42672         comment.
42673
42674 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42675
42676         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42677         which ROUND is no valid rounding mode.
42678
42679 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42680
42681         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42682         read again.
42683         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42684
42685 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42686
42687         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42688         an exception using FPU order intentionally.
42689
42690 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42691
42692         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42693         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42694         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42695         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42696
42697 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42698
42699         [BZ #12340]
42700         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42701         EINVAL when BUFLEN is too smal.
42702
42703 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42704
42705         [BZ #13553]
42706         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42707         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42708
42709 2012-04-03  Andreas Jaeger  <aj@suse.de>
42710
42711         [BZ #13938]
42712         * manual/setjmp.texi (System V contexts): Fix sentence.
42713
42714         [BZ #13926]
42715         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42716         New macro for this case.
42717         [!__GNUC__] (__bswap_64): New inline function for this case.
42718         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42719         * bits/byteswap.h: Likewise.
42720         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42721         ull, guard with __GLIBC_HAVE_LONG_LONG.
42722
42723         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42724         __GLIBC_HAVE_LONG_LONG.
42725
42726         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42727         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42728
42729 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42730
42731         [BZ #13691]
42732         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42733         inptr and inend, rather than using last_ch.
42734
42735 2012-04-02  David S. Miller  <davem@davemloft.net>
42736
42737         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42738         * stdio-common/printf-parse.h (read_int): Change return type to
42739         'int', return -1 on INT_MAX overflow.
42740         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42741         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
42742         overflows INT_MAX.  Check for overflow of in-format-string precision
42743         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
42744         SIZE_MAX not INT_MAX for integer overflow test.
42745         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42746         skip the construct in the format string but do not record anything.
42747         * stdio-common/bug22.c: Adjust to test both width/prevision
42748         INT_MAX overflow as well as total length INT_MAX overflow.  Check
42749         explicitly for proper errno values.
42750
42751 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42752
42753         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42754         CHAR_MAX.
42755         * string/test-strcmp.c [! WIDE]: Likewise.
42756         * time/tst-mktime2.c: Likewise for INT_MAX.
42757         * string/test-string.h: #include <sys/param.h> for MIN.
42758
42759         * csu/init-first.c (__libc_init_first): Call __ctype_init.
42760         * sysdeps/i386/init-first.c (init): Likewise.
42761         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42762         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42763         * sysdeps/sh/init-first.c (init): Likewise.
42764
42765 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
42766
42767         * po/ru.po: Update from translation team.
42768         * po/vi.po: Likewise.
42769
42770 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42771
42772         * resolv/nss_dns/dns-host.c: Merge copyright years.
42773
42774 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42775
42776         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42777         Optimize memcpy with prefetch if
42778         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
42779         src, dst pointers have unequal 16 byte alignments.
42780
42781 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42782
42783         [BZ #13928]
42784         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42785         from a CNAME entry and return the minimum ttl for the query.
42786         (gaih_getanswer_slice): Likewise.
42787
42788 2012-03-30  Jeff Law  <law@redhat.com>
42789
42790         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42791         due to long keys.
42792         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42793         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42794
42795         * resolv/nss_dns/dns-host.c: Update copyright year.
42796
42797 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
42798
42799         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42800         requests to save a system call.  Fix check that all bytes are sent.
42801
42802         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42803         comments for sendmmsg.
42804
42805 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42806
42807         [BZ #13691]
42808         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42809         with only 1 character between 0x0041 and 0x01b0.
42810         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42811         * wcsmbs/tst-mbsnrtowcs.c: New file.
42812
42813 2012-03-29  David S. Miller  <davem@davemloft.net>
42814
42815         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42816         small copies by hand.
42817
42818 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42819
42820         [BZ #13761]
42821         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42822         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42823         group memberships.
42824
42825 2012-03-28  David S. Miller  <davem@davemloft.net>
42826
42827         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42828         that branches into memcpy.
42829         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42830         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42831         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42832         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42833         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42834         bits.
42835         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42836         implementation too.
42837         * sysdeps/sparc/mempcpy.S: New file.
42838
42839         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42840         the IFUNC routine in the libc case.
42841         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42842
42843         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42844         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42845         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42846         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42847         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42848         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42849         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42850         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42851
42852         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42853         loop to 256 bytes instead of 64 bytes and fix test signedness.
42854
42855         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42856         * sysdeps/sparc/sparc32/Makefile: rather than here...
42857         * sysdeps/sparc/sparc64/Makefile: and here.
42858
42859 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
42860
42861         * malloc/mallocbug.c: Avoid warnings about unused variables.
42862
42863 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42864
42865         [BZ #13760]
42866         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42867         in the right place. Discard and retry query if response is
42868         larger than input buffer size.
42869
42870 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
42871
42872         [BZ #369]
42873         [BZ #2678]
42874         [BZ #3866]
42875         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42876         x for large integer exponent.
42877         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42878         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
42879         sign of result as needed afterwards.
42880         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42881         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42882         result for underflowing pow the same as for overflow.
42883         (__kernel_standard_l): Handle powl overflow and underflow here
42884         rather than calling __kernel_standard.
42885         * math/libm-test.inc (pow_test): Add more tests.
42886
42887         [BZ #3868]
42888         [BZ #13879]
42889         [BZ #13910]
42890         [BZ #13911]
42891         [BZ #13912]
42892         [BZ #13913]
42893         [BZ #13915]
42894         [BZ #13916]
42895         [BZ #13917]
42896         [BZ #13918]
42897         [BZ #13919]
42898         [BZ #13920]
42899         [BZ #13921]
42900         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42901         * sysdeps/ieee754/k_standard.c: Include <float.h>.
42902         (__kernel_standard_l): New function.
42903         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42904         __kernel_standard.
42905         * math/w_acosl.c (__acosl): Likewise.
42906         * math/w_asinl.c (__asinl): Likewise.
42907         * math/w_atan2l.c (__atan2l): Likewise.
42908         * math/w_atanhl.c (__atanhl): Likewise.
42909         * math/w_coshl.c (__coshl): Likewise.
42910         * math/w_exp10l.c (__exp10l): Likewise.
42911         * math/w_exp2l.c (__exp2l): Likewise.
42912         * math/w_fmodl.c (__fmodl): Likewise.
42913         * math/w_hypotl.c (__hypotl): Likewise.
42914         * math/w_j0l.c (__j0l, __y0l): Likewise.
42915         * math/w_j1l.c (__j1l, __y1l): Likewise.
42916         * math/w_jnl.c (__jnl, __ynl): Likewise.
42917         * math/w_lgammal.c (__lgammal): Likewise.
42918         * math/w_log10l.c (__log10l): Likewise.
42919         * math/w_log2l.c (__log2l): Likewise.
42920         * math/w_logl.c (__logl): Likewise.
42921         * math/w_powl.c (__powl): Likewise.
42922         * math/w_remainderl.c (__remainderl): Likewise.
42923         * math/w_scalbl.c (sysv_scalbl): Likewise.
42924         * math/w_sinhl.c (__sinhl): Likewise.
42925         * math/w_sqrtl.c (__sqrtl): Likewise.
42926         * math/w_tgammal.c (__tgammal): Likewise.
42927         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42928         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42929         * math/libm-test.inc (acos_test): Add more tests.
42930         (acosh_test): Likewise.
42931         (asin_test): Likewise.
42932         (atanh_test): Likewise.
42933         (exp_test): Likewise.
42934         (exp10_test): Likewise.
42935         (exp2_test): Likewise.
42936         (expm1_test): Likewise.
42937         (lgamma_test): Likewise.
42938         (log_test): Likewise.
42939         (log10_test): Likewise.
42940         (log1p_test): Likewise.
42941         (log2_test): Likewise.
42942         (pow_test): Do not allow some spurious overflow exceptions.
42943         (sqrt_test): Add more tests.
42944         (tgamma_test): Likewise.
42945         (y0_test): Likewise.
42946         (y1_test): Likewise.
42947         (yn_test): Likewise.
42948
42949 2012-03-27  Anton Blanchard  <anton@samba.org>
42950
42951         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42952         MAP_HUGETLB.
42953         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42954         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42955         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42956
42957 2012-03-27  David S. Miller  <davem@davemloft.net>
42958
42959         * conform/Makefile: Run run-conformtest.sh using $(BASH).
42960
42961         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42962         have-as-vis3 check.
42963
42964 2012-03-27  Andreas Jaeger  <aj@suse.de>
42965
42966         * sysdeps/x86_64/elf/configure.in: Moved to ...
42967         * sysdeps/x86_64/configure.in: ... here.
42968         * sysdeps/x86_64/elf/start.S: Moved to ...
42969         * sysdeps/x86_64/start.S: ... here.
42970         * sysdeps/x86_64/elf/configure: Delete.
42971
42972         * sysdeps/x86_64/configure.in: Merge contents from
42973         sysdeps/i386/configure.in (without i686 check).
42974
42975         * sysdeps/i386/elf/Versions: Merge into ...
42976         * sysdeps/i386/Versions: ... this.
42977         * sysdeps/i386/elf/Versions: Delete file.
42978         * sysdeps/i386/elf/start.S: Moved to ...
42979         * sysdeps/i386/start.S: ...here.
42980         * sysdeps/i386/elf/configure.in: Merge into...
42981         * sysdeps/i386/configure.in: ...here.
42982         * sysdeps/i386/elf/configure.in: Delete file.
42983         * sysdeps/i386/elf/configure: Delete file.
42984
42985         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42986         * debug/backtracesyms.c: ... here.
42987         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42988         * debug/backtracesymsfd.c: ... here.
42989         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42990         * sysdeps/generic/ifunc-sel.h: ... here.
42991
42992         * sysdeps/unix/i386/start.c: Delete file.
42993         * sysdeps/unix/sparc/start.c: Delete file.
42994         * sysdeps/unix/start.c: Delete file.
42995
42996         * sysdeps/sh/elf/configure.in: Moved to ...
42997         * sysdeps/sh/configure.in: ... here.
42998         * sysdeps/sh/elf/start.S: Moved to ...
42999         * sysdeps/sh/start.S: ... here.
43000         * sysdeps/sh/elf/configure: Delete file.
43001
43002         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43003         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43004         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43005         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43006         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43007         * sysdeps/powerpc/powerpc64/start.S: here.
43008         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43009         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43010         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43011         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43012         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43013
43014         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43015         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43016         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43017         * sysdeps/powerpc/powerpc32/start.S: ... here.
43018         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43019         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43020         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43021
43022         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43023         * sysdeps/powerpc/ifunc-sel.h: ... here.
43024         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43025         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43026
43027         * sysdeps/sparc/elf/configure.in: Moved to ...
43028         * sysdeps/sparc/configure.in: ... here.
43029         * sysdeps/sparc/elf/configure: Delete file.
43030         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43031         * sysdeps/sparc/sparc32/start.S: ... here.
43032         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43033         * sysdeps/sparc/sparc64/start.S: ... here.
43034         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43035         * sysdeps/sparc/sparc32/Makefile: ... this.
43036         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43037         * sysdeps/sparc/sparc64/Makefile: ... this.
43038
43039         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43040         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43041         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43042         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43043         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43044         * sysdeps/s390/s390-32/setjmp.S: ... here.
43045         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43046         * sysdeps/s390/s390-32/configure.in: ... here.
43047         * sysdeps/s390/s390-32/elf/configure: Delete file.
43048         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43049         * sysdeps/s390/s390-32/start.S: ... here.
43050
43051         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43052         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43053         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43054         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43055         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43056         * sysdeps/s390/s390-64/setjmp.S: ... here.
43057         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43058         * sysdeps/s390/s390-64/configure.in: ... here
43059         * sysdeps/s390/s390-64/elf/configure: Delete file.
43060         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43061         * sysdeps/s390/s390-64/start.S: ... here.
43062         * sysdeps/s390/s390-64/elf/configure: Delete.
43063
43064         * configure.in: Remove support for elf directories in sysdeps.
43065
43066         * configure: Regenerated.
43067         * sysdeps/i386/configure: Regenerated.
43068         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43069         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43070         * sysdeps/s390/s390-32/configure: Regenerated.
43071         * sysdeps/s390/s390-64/configure: Regenerated.
43072         * sysdeps/sh/configure: Regenerated.
43073         * sysdeps/sparc/configure: Regenerated.
43074         * sysdeps/x86_64/configure: Regenerated.
43075
43076 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43077
43078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43079
43080         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43081         denormal result into account.
43082
43083 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43084
43085         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43086         Reported by Allan McRae <allan@archlinux.org>.
43087
43088 2012-03-23  Jeff Law  <law@redhat.com>
43089
43090         * nss/getnssent.c (__nss_getent): Fix typo.
43091
43092 2012-03-23  David S. Miller  <davem@davemloft.net>
43093
43094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43095
43096 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43097
43098         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43099         to pad to uint64_t for each field.
43100         (dl_tls_index): Replace unsigned long with uint64_t.
43101
43102 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43103         Paul Pluzhnikov  <ppluzhnikov@google.com>
43104
43105         [BZ #6528]
43106         * grp/Makefile (otherlibs): Don't set it.
43107         * inet/Makefile (otherlibs): Likewise.
43108         * login/Makefile (otherlibs): Likewise.
43109         * nscd/Makefile (otherlibs): Likewise.
43110         * posix/Makefile (otherlibs): Likewise.
43111         * pwd/Makefile (otherlibs): Likewise.
43112         * rt/Makefile (otherlibs): Likewise.
43113         * sunrpc/Makefile (otherlibs): Likewise.
43114         * nss/Makefile (otherlibs): Likewise.
43115         Add libnss_files to routines and static-only-routines.
43116         ($(objpfx)getent): Remove rule.
43117         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43118         static-only-routines.
43119
43120 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43121
43122         [BZ #13892]
43123         * math/s_cexp.c: Include <float.h>.
43124         (__cexp): Handle exp result overflowing not necessarily
43125         overflowing both real and imaginary parts of result.
43126         * math/s_cexpf.c: Likewise.
43127         * math/s_cexpl.c: Likewise.
43128         * math/libm-test.inc (cexp_test): Add more tests.
43129         * sysdeps/i386/fpu/libm-test-ulps: Update.
43130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43131
43132 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43133
43134         * include/link.h (ELFW): New macro.
43135         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43136         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43137
43138 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43139
43140         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43141         with uint64_t.
43142
43143 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43144
43145         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43146         declaration.
43147         (struct La_x32_retval): Likewise.
43148
43149 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43150
43151         * sysdeps/x86_64/preconfigure.in: New file.
43152         * sysdeps/x86_64/preconfigure: New generated file.
43153
43154 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43155
43156         [BZ #13824]
43157         * math/e_exp2l.c: Include <float.h>.
43158         (__ieee754_exp2l): Handle overflow and underflow cases
43159         separately.  Only pass fractional part of argument to
43160         __ieee754_expl.
43161         * math/libm-test.inc (exp2_test): Add more tests.
43162
43163         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43164         negating x to take absolute value.
43165         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43166         Likewise.
43167         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43168         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43169         Likewise.
43170         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43171         computing low part if x was negated.
43172         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43173
43174 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43175
43176         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43177         la_x32_gnu_pltexit.
43178         (pltexit): Cast int_retval to ptrdiff_t.
43179         * elf/tst-auditmod3b.c: Likewise.
43180         * elf/tst-auditmod4b.c: Likewise.
43181         * elf/tst-auditmod5b.c: Likewise.
43182         * elf/tst-auditmod6b.c: Likewise.
43183         * elf/tst-auditmod6c.c: Likewise.
43184         * elf/tst-auditmod7b.c: Likewise.
43185
43186         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
43187         and x32_gnu_pltexit.
43188
43189         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
43190         __ELF_NATIVE_CLASS.
43191         (La_x32_regs): New macro.
43192         (La_x32_retval): Likewise.
43193         (la_x32_gnu_pltenter): New function prototype.
43194         (la_x32_gnu_pltexit): Likewise.
43195
43196 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
43197
43198         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
43199         exponent.
43200
43201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43202
43203         * configure.in (libc_cv_cc_nofma): Check for option to disable
43204         generation of FMA instructions.
43205         * configure: Regenerate.
43206         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
43207         * sysdeps/ieee754/dbl-64/Makefile: New file.
43208         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
43209         Remove brandred-fma4.
43210         (CFLAGS-brandred-fma4.c): Remove.
43211         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
43212         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
43213         define.
43214         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
43215         define.
43216
43217 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43218
43219         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43220         LLONG_MAX != LONG_MAX.
43221         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43222         (_fitoa_word): Likewise.
43223         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
43224         LLONG_MAX != LONG_MAX.
43225         * stdio-common/_itowa.h: Include <_itoa.h>.
43226         (_itowa_word): Use _ITOA_WORD_TYPE on value.
43227         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
43228         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
43229         only if not defined.
43230         (_ITOA_WORD_TYPE): Likewise.
43231         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43232         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
43233
43234 2012-03-21  David S. Miller  <davem@davemloft.net>
43235
43236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43237
43238 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43239
43240         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
43241         of x86_64 when setting libc_cv_slibdir, libdir and
43242         libc_cv_localedir.
43243         * sysdeps/unix/sysv/linux/configure: Regenerated.
43244
43245 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43246
43247         * manual/lang.texi (Old Varargs): Remove section.
43248         (How Variadic): Update menu.
43249         (va_start): Do not mention varargs.h.
43250
43251 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43252             Joseph Myers  <joseph@codesourcery.com>
43253
43254         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
43255         link test.
43256         * configure: Regenerated.
43257
43258 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
43259
43260         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
43261         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
43262         conformtest.pl
43263
43264 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43265
43266         * NOTES: Remove.
43267         * Makefile (files-for-dist): Remove NOTES.
43268         (NOTES): Remove rule.
43269         * README: Don't refer to NOTES.
43270         * manual/creature.texi: Don't include macros.texi.
43271         * manual/intro.texi (creature.texi): Remove comment referring to
43272         NOTES.
43273
43274         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
43275         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
43276         * configure: Regenerated.
43277         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
43278         LIBC_TRY_CC_OPTION.
43279         (libc_cv_as_i686): Likewise.
43280         (libc_cv_cc_avx): Likewise.
43281         (libc_cv_cc_sse2avx): Likewise.
43282         (libc_cv_cc_fma4): Likewise.
43283         (libc_cv_cc_novzeroupper): Likewise.
43284         * sysdeps/i386/configure: Regenerated.
43285
43286         [BZ #13883]
43287         * sysdeps/i386/fpu/s_cexp.S: Remove.
43288         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
43289         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
43290         * math/libm-test.inc (cexp_test): Add more tests.
43291         * sysdeps/i386/fpu/libm-test-ulps: Update.
43292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43293
43294 2012-03-21  Allan McRae  <allan@archlinux.org>
43295
43296         * timezone/Makefile: Do not install iso3166.tab and zone.tab
43297
43298 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
43299
43300         [BZ #13871]
43301         * math/w_exp2.c: Do not include <float.h>.
43302         (o_threshold, u_threshold): Remove.
43303         (__exp2): Calculate result before checking finiteness and calling
43304         __kernel_standard.
43305         * math/w_exp2f.c: Likewise.
43306         * math/w_exp2l.c: Likewise.
43307         * math/libm-test.inc (exp2_test): Require overflow exception for
43308         1e6 input.
43309
43310         [BZ #3866]
43311         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
43312         range of signed 64-bit integers before using fistpll.  Remove
43313         checks for whether integers fit in mantissa bits.
43314         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
43315         the range of signed 32-bit integers before using fistpl.  Remove
43316         checks for whether integers fit in mantissa bits.
43317         * sysdeps/i386/fpu/e_powl.S (p64): New object.
43318         (__ieee754_powl): Test for y outside the range of signed 64-bit
43319         integers before using fistpll.  Reduce 64-bit values to 63-bit
43320         ones as needed.
43321         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
43322         divide-by-zero is raised for zero to large negative powers.
43323         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
43324         (__ieee754_powl): Test for y outside the range of signed 64-bit
43325         integers before using fistpll.  Reduce 64-bit values to 63-bit
43326         ones as needed.
43327         * math/libm-test.inc (pow_test): Add more tests.
43328
43329 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43330
43331         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
43332         <stdio-common/_itoa.h>.
43333         * debug/segfault.c: Likewise.
43334         * elf/dl-cache.c: Likewise.
43335         * elf/dl-minimal.c: Likewise.
43336         * elf/dl-misc.c: Likewise.
43337         * elf/dl-sysdep.c: Likewise.
43338         * elf/dl-version.c: Likewise.
43339         * elf/rtld.c: Likewise.
43340         * hurd/hurdsock.c: Likewise.
43341         * hurd/lookup-retry.c: Likewise.
43342         * malloc/malloc.c: Likewise.
43343         * malloc/mtrace.c: Likewise.
43344         * nscd/nscd_getgr_r.c: Likewise.
43345         * nscd/nscd_getpw_r.c: Likewise.
43346         * nscd/nscd_getserv_r.c: Likewise.
43347         * posix/getopt_init.c: Likewise.
43348         * posix/wordexp.c: Likewise.
43349         * stdio-common/_itoa.c: Likewise.
43350         * stdio-common/printf_fphex.c: Likewise.
43351         * stdio-common/vfprintf.c: Likewise.
43352         * string/_strerror.c: Likewise.
43353         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
43354         * sysdeps/i386/i686/hp-timing.h: Likewise.
43355         * sysdeps/mach/_strerror.c: Likewise.
43356         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
43357         * sysdeps/mach/hurd/sethostid.c: Likewise.
43358         * sysdeps/mach/hurd/xmknodat.c: Likewise.
43359         * sysdeps/mach/xpg-strerror.c: Likewise.
43360         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43361         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43362         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
43363         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
43364         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43365         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
43366         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
43367         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
43368         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
43369         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
43370         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
43371         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43372         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
43373         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
43374         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
43375         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
43376         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
43377         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
43378         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43379         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43380         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
43381
43382         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
43383
43384         * stdio-common/_itoa.h: Moved to ...
43385         * sysdeps/generic/_itoa.h: Here.
43386
43387         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
43388
43389         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
43390         instead of "_itoa.h" and "_itowa.h".
43391         * stdio-common/vfprintf.: Likewise.
43392
43393 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43394
43395         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
43396         <bits/wordsize.h>.
43397         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
43398         (__signbit): Likwise.
43399         (llrintf): Likwise.
43400         (llrint): Likwise.
43401
43402 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43403
43404         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
43405         __WORDSIZE != 64.
43406
43407 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
43408
43409         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
43410         OVERFLOW_EXCEPTION_OK.
43411         * math/libm-test.inc ("Philosophy"): Update comment about
43412         exception testing.
43413         (OVERFLOW_EXCEPTION): Define.
43414         (OVERFLOW_EXCEPTION_OK): Likewise.
43415         (INVALID_EXCEPTION_OK): Renumber.
43416         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43417         (IGNORE_ZERO_INF_SIGN): Likewise.
43418         (test_exceptions): Handle FE_OVERFLOW.
43419         (exp10_test): Expect overflow exceptions.
43420         (exp2_test): Likewise.
43421         (expm1_test): Likewise.
43422         (nextafter_test): Likewise.
43423         (pow_test): Likewise.
43424         (scalbn_test): Likewise.
43425         (scalbln_test): Likewise.
43426
43427 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43428
43429         * sysdeps/x86_64/bits/atomic.h
43430         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
43431         64bit integer.
43432         (atomic_exchange_acq): Likewise.
43433         (__arch_exchange_and_add_body): Likewise.
43434         (__arch_add_body): Likewise.
43435         (atomic_add_negative): Likewise.
43436         (atomic_add_zero): Likewise.
43437
43438 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43439
43440         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
43441         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
43442
43443 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43444
43445         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
43446         Check __x86_64__ instead of __WORDSIZE.
43447
43448 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43449
43450         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
43451
43452 2012-03-19  David S. Miller  <davem@davemloft.net>
43453
43454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43455
43456         * sysdeps/sparc/fpu/fenv_private.h: New file.
43457         * sysdeps/sparc/fpu/math_private.h: Use it.
43458         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
43459         Remove.
43460         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
43461         (libc_feholdexcept_setroundl): Remove.
43462         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
43463         Remove.
43464         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
43465         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
43466
43467 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43468
43469         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
43470         int64_t instead of long int.
43471         (INSERT_WORDS64): Likwise.
43472
43473 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
43474
43475         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
43476         _Unwind_GetCFA return to _Unwind_Ptr first.
43477
43478 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
43479
43480         [BZ #13629]
43481         * math/s_clog.c: Include <float.h>.
43482         (__clog): Scale large or subnormal inputs.
43483         * math/s_clogf.c: Likewise.
43484         * math/s_clogl.c: Likewise.
43485         * math/s_clog10.c: Include <float.h>.
43486         (M_LOG10_2): Define.
43487         (__clog10): Scale large or subnormal inputs.
43488         * math/s_clog10f.c: Likewise.
43489         * math/s_clog10l.c: Likewise.
43490         * math/libm-test.inc (clog_test): Add more tests.
43491         (clog10_test): Likewise.
43492         * sysdeps/i386/fpu/libm-test-ulps: Update.
43493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43494
43495         [BZ #11451]
43496         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
43497         x and y.
43498         * math/libm-test.inc (atan2_test): Add another test.
43499
43500         * Makerules (common-objdir-compile): Remove.
43501         * sysdeps/unix/Makefile (config-generated): Do not add
43502         $(unix-generated) to variable.
43503         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
43504         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
43505         Remove rule.
43506         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
43507         Likewise.
43508         [generic bits/local_lim.h] (before-compile): Do not append to
43509         variable.
43510         [generic bits/local_lim.h] (common-generated): Likewise.
43511         [generic sys/param.h] (before-compile): Do not append to variable.
43512         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
43513         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
43514         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
43515         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
43516         include.
43517         [generic sys/param.h] (sys/param.h-includes): Remove variable.
43518         [generic sys/param.h] (sys/param.h-includes): Remove rule.
43519         [generic sys/param.h] ($(addprefix
43520         $(common-objpfx),$(sys/param.h-includes))): Likewise.
43521         [generic sys/param.h] (common-generated): Do not append to
43522         variable.
43523         [generic sys/param.h] (sysdep_headers): Likewise.
43524         [generic bits/errno.h] (before-compile): Do not append to
43525         variable.
43526         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
43527         rule.
43528         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
43529         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
43530         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
43531         [generic bits/errno.h] (common-generated): Do not append to
43532         variable.
43533         [generic bits/ioctls.h] (before-compile): Do not append to
43534         variable.
43535         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
43536         rule.
43537         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
43538         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
43539         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
43540         rule.
43541         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
43542         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
43543         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
43544         [generic bits/ioctls.h] (common-generated): Do not append to
43545         variable.
43546         [generic sys/syscall.h] (syscall.h): Remove variable.
43547         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
43548         rule.
43549         [generic sys/syscall.h] (before-compile): Do not append to
43550         variable.
43551         [generic sys/syscall.h] (common-generated): Likewise.
43552         * sysdeps/unix/errnos-tmpl.c: Remove file.
43553         * sysdeps/unix/errnos.awk: Likewise.
43554         * sysdeps/unix/ioctls-tmpl.c: Likewise.
43555         * sysdeps/unix/ioctls.awk: Likewise.
43556         * sysdeps/unix/mk-local_lim.c: Likewise.
43557         * sysdeps/unix/snarf-ioctls: Likewise.
43558
43559 2012-03-19  Richard Henderson  <rth@twiddle.net>
43560
43561         * sysdeps/i386/fpu/fenv_private.h: New file.
43562         * sysdeps/i386/fpu/math_private.h: Use it.
43563         (math_opt_barrier, math_force_eval): Remove.
43564         (libc_feholdexcept_setround_53bit): Remove.
43565         (libc_feupdateenv_53bit): Remove.
43566         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43567         (math_opt_barrier, math_force_eval): Remove.
43568         (libc_feholdexcept): Remove.
43569         (libc_feholdexcept_setround): Remove.
43570         (libc_fetestexcept, libc_fesetenv): Remove.
43571         (libc_feupdateenv_test): Remove.
43572         (libc_feupdateenv, libc_feholdsetround): Remove.
43573         (libc_feresetround): Remove.
43574
43575         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
43576         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
43577
43578         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
43579         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
43580         (libc_feupdateenv_testl): New.
43581         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
43582         (libc_feupdateenv_testf): New.
43583         (libc_feupdateenv): Use libc_feupdateenv_test.
43584         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
43585         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
43586
43587         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
43588         (libc_feholdsetroundf, libc_feholdsetroundl): New.
43589         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
43590         (libc_feresetround_noex): New.
43591         (libc_feresetround_noexf): New.
43592         (libc_feresetround_noexl): New.
43593         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
43594         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
43595         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
43596         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
43597         SET_RESTORE_ROUND.
43598         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
43599         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
43600         (__cos): Likewise.
43601         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
43602         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
43603         SET_RESTORE_ROUND_NOEX.
43604         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
43605         SET_RESTORE_ROUND_NOEXF.
43606         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
43607         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
43608         (libc_feholdsetroundf): New.
43609         (libc_feresetround, libc_feresetroundf): New.
43610
43611         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
43612         (libc_feholdexcept_setround_53bit): Convert from macro to function.
43613         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
43614
43615         * sysdeps/generic/math_private.h: Include <fenv.h>.
43616         (default_libc_feholdexcept): New.
43617         (default_libc_feholdexcept_setround): New.
43618         (default_libc_fesetenv, default_libc_feupdateenv): New.
43619         (libc_feholdexcept): Only define if undefined.
43620         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43621         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43622         (libc_feholdexcept_setroundl): Likewise.
43623         (libc_feholdexcept_setround_53bit): Likewise.
43624         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43625         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43626         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43627         (libc_feupdateenv_53bit): Likewise.
43628         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43629         (libc_feholdexcept): Convert from macro to inline function.
43630         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43631         (libc_fesetenv, libc_feupdateenv): Likewise.
43632
43633         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43634         not previously defined.
43635         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43636         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43637         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43638         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43639         * sysdeps/ieee754/flt-32/math_private.h: New file.
43640         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43641         math_private.h below SET_FLOAT_WORD.
43642         (__isnan, __isinf_ns, __finite): Remove.
43643         (__isnanf, __isinf_nsf, __finitef): Remove.
43644
43645 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
43646
43647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43648
43649 2012-03-17  David S. Miller  <davem@davemloft.net>
43650
43651         [BZ #6471]
43652         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43653         for 2.16.
43654
43655 2012-03-16  David S. Miller  <davem@davemloft.net>
43656
43657         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43658         warnings.
43659
43660         [BZ #6471]
43661         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43662         properly.
43663         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43664         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43665         sysdep_routines when subdir is sysvipc.
43666         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43667         __getshmlba helper.
43668
43669         * sysdeps/sparc/fpu/libm-test/ulps: Update.
43670
43671 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43672
43673         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43674         [__LP64__].
43675
43676 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43677
43678         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43679         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43680         (__lround): Renamed to ...
43681         (__llround): This.  Replace long int with long long int.
43682         Define lround functions as aliases of llround functions.
43683         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43684
43685 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43686
43687         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43688         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
43689         adresses to uintptr_t.  Replace "long int" and "unsigned long
43690         int" with "greg_t" on va_arg.
43691
43692 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43693
43694         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43695         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43696
43697         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43698         Move e_machine check before EI_CLASS check.  Handle x32
43699         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43700         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43701         SKIP_EM_IA_64 and include
43702         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43703
43704         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43705         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43706         (add_system_dir): New macro.
43707
43708         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43709         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43710
43711 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43712
43713         [BZ #2551]
43714         [BZ #2552]
43715         [BZ #2553]
43716         [BZ #2554]
43717         [BZ #2562]
43718         [BZ #2563]
43719         [BZ #2565]
43720         [BZ #2566]
43721         [BZ #2576]
43722         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43723         (y0): Likewise.
43724         * math/w_j0f.c (j0f): Likewise.
43725         (y0f): Likewise.
43726         * math/w_j0l.c (__j0l): Likewise.
43727         (__y0l): Likewise.
43728         * math/w_j1.c (j1): Likewise.
43729         (y1): Likewise.
43730         * math/w_j1f.c (j1f): Likewise.
43731         (y1f): Likewise.
43732         * math/w_j1l.c (__j1l): Likewise.
43733         (__y1l): Likewise.
43734         * math/w_jn.c (jn): Likewise.
43735         (yn): Likewise.
43736         * math/w_jnf.c (jnf): Likewise.
43737         (ynf): Likewise.
43738         * math/w_jnl.c (__jnl): Likewise.
43739         (__ynl): Likewise.
43740         * math/libm-test.inc (j0_test): Add more tests.
43741         (j1_test): Likewise.
43742         (jn_test): Likewise.  Add trailing semicolon to existing test.
43743         (y0_test): Likewise.
43744         (y1_test): Likewise.
43745         * sysdeps/i386/fpu/libm-test-ulps: Update.
43746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43747
43748         [BZ #13851]
43749         [BZ #13854]
43750         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43751         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43752         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43753         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43754         (__tanl): Set errno for infinite argument.
43755         * sysdeps/i386/fpu/mptan.c: Remove.
43756         * sysdeps/i386/fpu/s_tan.S: Likewise.
43757         * sysdeps/i386/fpu/s_tanl.S: Likewise.
43758         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43759         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43760         * math/libm-test.inc (tan_test): Add more tests and enable more
43761         tests for double and long double.
43762         * sysdeps/i386/fpu/libm-test-ulps: Update.
43763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43764
43765 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
43766
43767         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43768         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43769
43770 2012-03-16  Roland McGrath  <roland@hack.frob.com>
43771
43772         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43773         * configure.in: Use it for both main tree and add-ons.
43774         * configure: Regenerated.
43775
43776 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43777
43778         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43779
43780 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43781
43782         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43783         in comment.
43784
43785         [BZ #13851]
43786         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43787         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43788         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43789         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43790         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43791         infinite argument.
43792         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43793         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43794         != 0 for prec == 2.
43795         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43796         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43797         * sysdeps/i386/fpu/s_cosl.S: Likewise.
43798         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43799         * sysdeps/i386/fpu/s_sinl.S: Likewise.
43800         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43801         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43802         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43803         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43804         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43805         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43806         * math/libm-test.inc (cos_test): Add more tests and enable more
43807         tests for long double.
43808         (sin_test): Likewise.
43809         (sincos_test): Likewise.
43810         * sysdeps/i386/fpu/libm-test-ulps: Update.
43811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43812
43813 2012-03-16  David S. Miller  <davem@davemloft.net>
43814
43815         * sysdeps/sparc/fpu/math_private.h: New file.
43816
43817 2012-03-15  David S. Miller  <davem@davemloft.net>
43818
43819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43820         file.
43821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43823         file.
43824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43828         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43830         sysdep routines.
43831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43832
43833         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43834         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43835
43836         * sysdeps/sparc/sparc-ifunc.h: New file.
43837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43838         sparc-ifunc.h
43839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43841         Likewise.
43842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43843         Likewise.
43844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43848         Likewise.
43849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43854         Likewise.
43855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43856         Likewise.
43857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43861         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43862         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43863         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43864         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43865         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43867         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43868         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43869         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43871         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43872         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43873         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43874         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43875         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43876         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43877         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43878         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43879         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43880         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43881
43882 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43883
43884         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43885         scaling.
43886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43887
43888 2012-03-15  Andreas Jaeger  <aj@suse.de>
43889
43890         [BZ #13852]
43891         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43892         ieee754/flt-32 implementation for sin, cos and sincos.
43893         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43894         * sysdeps/i386/fpu/s_cosf.S: Likewise.
43895         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43896         * sysdeps/i386/fpu/s_sinf.S: Likewise.
43897         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43898         ieee754/flt-32 implementation for tan.
43899
43900         * math/libm-test.inc (cos_test): Enable some large input tests for
43901         float as well
43902         (sin_test): Likewise.
43903         (sincos_test): Likewise.
43904         (tan_test): Add tests for large input.
43905
43906         * sysdeps/i386/fpu/libm-test-ulps: Update.
43907
43908 2012-03-15  Andreas Jaeger  <aj@suse.de>
43909
43910         [BZ #13658]
43911         * math/libm-test.inc (cos_test): Add more test cases.
43912         (sin_test): Likewise.
43913         (sincos_test): Likewise.
43914
43915 2012-03-15  Andreas Jaeger  <aj@suse.de>
43916
43917         [BZ #13837]
43918         * math/libm-test.inc (cos_test): Add a test case for large input
43919         value.
43920         (sin_test): Likewise.
43921         (sincos_test): Likewise.
43922
43923 2012-03-15  Andreas Jaeger  <aj@suse.de>
43924             Joseph Myers  <joseph@codesourcery.com>
43925
43926         [BZ #13658]
43927         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43928         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43929         * sysdeps/i386/fpu/branred.c: Likewise.
43930         * sysdeps/i386/fpu/dosincos.c: Likewise.
43931         * sysdeps/i386/fpu/mpa.c: Likewise.
43932         * sysdeps/i386/fpu/s_cos.S: Likewise.
43933         * sysdeps/i386/fpu/s_sin.S: Likewise.
43934         * sysdeps/i386/fpu/s_sincos.S: Likewise.
43935         * sysdeps/i386/fpu/sincos32.c: Likewise.
43936
43937         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43938         Define.
43939         (libc_feupdateenv_53bit): Define.
43940         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43941         Define.
43942         (libc_feupdateenv_53bit): Define.
43943
43944         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43945         53 bit (without extend i386 double precision).
43946
43947         * math/libm-test.inc (sincos_test): Add tests for large input.
43948         (sin): Likewise.
43949         (cos): Likewise.
43950
43951         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43952
43953 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43954
43955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43956
43957 2012-03-15  David S. Miller  <davem@davemloft.net>
43958
43959         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43960         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43961         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43962         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43963         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43964         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43965         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43970         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43971         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43972         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43975         file.
43976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43978         file.
43979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43981         file.
43982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43984         file.
43985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43986         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43987         fmin/fmax sysdep routines.
43988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43989
43990 2012-03-14  David S. Miller  <davem@davemloft.net>
43991
43992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43996         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43997         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43998         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43999         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44004         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44005         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44006         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44007         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44008         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44012         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44013         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44014         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44015         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44016         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44017         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44018         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44019         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44020         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44021         routines.
44022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44023         file.
44024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44026         file.
44027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44029         file.
44030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44032         file.
44033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44035         file.
44036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44038         file.
44039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44040         file.
44041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44042         file.
44043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44044         file.
44045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44046         New file.
44047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44048         file.
44049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44050         file.
44051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44053         file.
44054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44056         file.
44057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44059         file.
44060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44062         VIS3 routines.
44063
44064         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44065         New file.
44066
44067         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44068
44069         * sysdeps/sparc/configure.in: New file.
44070         * sysdeps/sparc/configure: Generate.
44071         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44072         * configure: Regenerate.
44073         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44074         * config.make.in (have-as-vis3): New.
44075         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44076         available use -Av9d instead of -Av9a.
44077         * sysdeps/sparc/sparc64/Makefile: Likewise.
44078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44080         New file.
44081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44082         file.
44083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44084         New file.
44085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44086         file.
44087         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44088         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44089         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44090         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44091         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44092
44093         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44094         fzeros/fnegs to load 0x80000000 into a float register instead of
44095         using the stack.
44096         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44097
44098 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44099
44100         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44101         bits/syscall.h.
44102         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44103         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44104         ($(inst_includedir)/bits/syscall.h): Remove rule.
44105         ($(objpfx)bits/syscall.d): Include instead of
44106         $(objpfx)syscall-list.d.
44107         (generated): Change syscall-list.h and syscall-list.d to
44108         bits/syscall.h and bits/syscall.d.
44109
44110 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44111
44112         [BZ #13846]
44113         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44114
44115 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44116
44117         [BZ #13841]
44118         * math/s_csqrt.c: Include <float.h>.
44119         (__csqrt): Scale large or subnormal inputs.
44120         * math/s_csqrtf.c: Likewise.
44121         * math/s_csqrtl.c: Likewise.
44122         * math/libm-test.inc (csqrt_test): Add more tests.
44123         * sysdeps/i386/fpu/libm-test-ulps: Update.
44124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44125
44126         [BZ #13840]
44127         * math/libm-test.inc (hypot_test): Add more tests.
44128
44129 2012-03-13  David S. Miller  <davem@davemloft.net>
44130
44131         [BZ #13840]
44132         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44133         double-precision for the calculation instead of scaling.
44134
44135 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44136
44137         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44138         manipulate bits before adding and subtracting TWO52[sx].
44139         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44140         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44141         Likewise.
44142         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44143
44144 2012-03-13  David S. Miller  <davem@davemloft.net>
44145
44146         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44147         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44148         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44149         rtld-global-offsets.h
44150         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44151
44152         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44153         large parameters.
44154
44155         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44156
44157         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44158         'err' in the ifdef scope in which it is actually used.
44159
44160         * nss/nss_db/db-init.c: Include string.h
44161
44162 2012-03-12  David S. Miller  <davem@davemloft.net>
44163
44164         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44165         masking out of the most significant byte of random value used.
44166         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44167         Fix coding style in previous change.
44168
44169         * sysdeps/unix/sysv/linux/kernel-features.h
44170         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44171         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44172         expression.
44173         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44174         later.
44175
44176 2012-03-11  David S. Miller  <davem@davemloft.net>
44177
44178         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44179         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44180         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44181         for 'resultvar' otherwise things get truncated on 64-bit.
44182
44183         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44184         Fix masking out of the most significant byte of random value used.
44185
44186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44187
44188 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
44189
44190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44191
44192 2012-03-09  David S. Miller  <davem@davemloft.net>
44193
44194         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
44195         variables with appropriate CPP guards.
44196         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
44197         from the frame pointer, not the stack pointer.  Correct layout
44198         comments.  Fix test on resulting framesize and the management of
44199         the outregs buffer for pltexit.  Preserve floating point return
44200         values across _dl_call_pltexit call.
44201         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
44202         framesize and the management of the outregs buffer for pltexit.
44203         Preserve floating point return values across _dl_call_pltexit
44204         call.
44205         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
44206         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
44207         (la_sparc64_gnu_pltexit): New functions.
44208         (print_exit): Fix format string for return register value.
44209
44210 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
44211
44212         * sunrpc/Makefile (others): Add rpcgen.
44213         ($(objpfx)rpcgen): Remove special build rule and dependency on
44214         libc.
44215         * sunrpc/rpcgen.c: New file.
44216
44217 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
44218
44219         [BZ #13673]
44220         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
44221         * stdio-common/bug-vfprintf-nargs.c: Likewise.
44222         * sysdeps/i386/crti.S: Likewise.
44223         * sysdeps/i386/crtn.S: Likewise.
44224         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
44225         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
44226         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
44227         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
44228         * sysdeps/sh/crti.S: Likewise.
44229         * sysdeps/sh/crtn.S: Likewise.
44230         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44231
44232         [BZ #13673]
44233         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
44234         with URL.
44235         * locale/programs/locfile-kw.gperf: Likewise.
44236         * locale/programs/charmap-kw.h: Regenerated.
44237         * locale/programs/locfile-kw.h: Likewise.
44238
44239         [BZ #13673]
44240         * intl/plural.y: Replace FSF snail mail address with URL.
44241         * intl/plural.c: Regenerated.
44242
44243 2012-03-09  Richard Henderson  <rth@twiddle.net>
44244
44245         * include/math_private.h: Remove file.
44246         * math/math_private.h: Move file ...
44247         * sysdeps/generic/math_private.h: ... here.
44248
44249         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
44250         * sysdeps/powerpc/fpu/math_private.h: Likewise.
44251         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44252
44253         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
44254         and <math_private.h>.
44255         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
44256         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
44257         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
44258         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
44259         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
44260         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
44261         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44262         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44263         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44264         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44265         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44266         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44267         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44268         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44269         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44270         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44271         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44272         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44273         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44274         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44275         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44276         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44277         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44278         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44279         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44280         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44281         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44282         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44283         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44284         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44285         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44286         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44287         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44288         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44289         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44290         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44291         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44292         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44293         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44294         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44295         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
44296         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44297         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
44298         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44299         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44300         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44301         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
44302         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44303         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44304         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44305         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44306         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
44307         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44308         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44309         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44310         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44311         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44312         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44313         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44314         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
44315         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44316         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44317         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44318         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44319         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
44320         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44321         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44322         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44323         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
44324         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
44325         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44326         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44327         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44328         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44329         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
44330         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
44331         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
44332         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44333         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
44334         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
44335         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44336         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
44337         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44338         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44339         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44340         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44341         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
44342         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
44343         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44344         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44345         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44346         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44347         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44348         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44349         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44350         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44351         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44352         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44353         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44354         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44355         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44356         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44357         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44358         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44359         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44360         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44361         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44362         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44363         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44364         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44365         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44366         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44367         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44368         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44369         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
44370         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44371         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44372         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
44373         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44374         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44375         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44376         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
44377         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44378         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
44379         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44380         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
44381         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44382         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
44383         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
44384         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
44385         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
44386         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44387         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44388         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
44389         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
44390         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
44391         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44392         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
44393         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
44394         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44395         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44396         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
44397         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
44398         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
44399         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
44400         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
44401         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
44402         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
44403         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
44404         * sysdeps/ieee754/k_standard.c: Likewise.
44405         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44406         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44407         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44408         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44409         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44410         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44411         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44412         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44413         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44414         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44415         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44416         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44417         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44418         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44419         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44420         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44421         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44422         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44423         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44424         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
44425         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
44426         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
44427         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44428         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
44429         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44430         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
44431         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
44432         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
44433         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
44434         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44435         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44436         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
44437         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
44438         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
44439         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44440         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
44441         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
44442         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
44443         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44444         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
44445         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44446         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44447         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44448         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
44449         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44450         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44451         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
44452         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
44453         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
44454         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44455         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44456         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44457         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
44458         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
44459         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44460         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44461         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
44462         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
44463         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
44464         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
44465         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44466         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44467         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
44468         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44469         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44470         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44471         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44472         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44473         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44474         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44475         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44476         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
44477         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44478         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44479         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44480         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44481         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
44482         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44483         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44484         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44485         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44486         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44487         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
44488         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
44489         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
44490         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
44491         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
44492         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
44493         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44494         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
44495         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
44496         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
44497         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
44498         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44499         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
44500         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
44501         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
44502         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
44503         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
44504         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
44505         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
44506         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
44507         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44508         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
44509         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
44510         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44511         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44512         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
44513         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
44514         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
44515         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
44516         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
44517         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44518         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44519         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44520         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44521         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44522         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44523         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44524         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44525         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44526         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44527         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44528         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44529         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44530         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
44531         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
44532         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
44533         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
44534         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44535         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
44536         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
44537         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
44538         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
44539         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
44540         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
44541         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
44542         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
44543         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
44544         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
44545         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
44546         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
44547         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
44548         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
44549         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
44550         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
44551         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
44552         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
44553         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
44554         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
44555         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
44556         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44557         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44558         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
44559         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
44560         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
44561         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
44562         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
44563         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
44564         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
44565         * sysdeps/ieee754/s_lib_version.c: Likewise.
44566         * sysdeps/ieee754/s_matherr.c: Likewise.
44567         * sysdeps/ieee754/s_signgam.c: Likewise.
44568         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44569         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44570         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
44571         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
44572         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
44573         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44574         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
44575         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
44576         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
44577         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
44578         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44579         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
44580         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
44581         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44582         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
44583         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
44584         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
44585         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
44586         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
44587         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44588         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44589
44590 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44591
44592         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
44593         * sunrpc/rpc_main.c: Likewise.
44594         * sunrpc/rpc_svcout.c: Likewise.
44595
44596 2012-03-09  David S. Miller  <davem@davemloft.net>
44597
44598         * include/math_private.h: New file.
44599
44600 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
44601
44602         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
44603         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
44604         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
44605         from <bits/socket_type.h>.
44606         (enum __socket_type): Don't define here.
44607         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
44608         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44609         bits/socket_type.h.
44610
44611         [BZ #13566]
44612         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44613         checking __USE_GNU.
44614
44615         * Makerules ($(inst_includedir)/%.h): New rule.
44616         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44617         (install-others): Remove variable setting.
44618         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44619
44620 2012-03-08  Richard Henderson  <rth@twiddle.net>
44621
44622         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44623         from macro to inline function; merge with the
44624         !__LIBC_INTERNAL_MATH_INLINES version.
44625         (__ieee754_sqrtf): Likewise.
44626
44627         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44628         to inline function.
44629         (__rintf, __floor, __floorf): Likewise.
44630
44631         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44632         macro to inline function.
44633         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44634
44635         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44636         not <math/math_private.h>.
44637
44638 2012-03-08  David S. Miller  <davem@davemloft.net>
44639
44640         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44641         copyright year.
44642         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44643
44644 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
44645
44646         * resolv/gai_misc.c (handle_requests): Fix struct timespec
44647         normalization.
44648         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44649         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44650
44651 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
44652
44653         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
44654         be defined individually, they must be defined as a block.  Define
44655         S for printing a string instead of hidint the different by using a
44656         macro for adding the 'l'.
44657         * stdio-common/tst-fphex-wide.c: Adjust.
44658
44659 2012-03-07  Marek Polacek  <polacek@redhat.com>
44660
44661         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44662
44663 2012-03-08  Marek Polacek  <polacek@redhat.com>
44664
44665         [BZ #13806]
44666         * stdio-common/Makefile (tests): Add tst-fphex-wide.
44667         * stdio-common/tst-fphex.c: Define a few macros to make the
44668         test reusable.  Use them.
44669         * stdio-common/tst-fphex-wide.c: New file.
44670
44671 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
44672
44673         [BZ #6911]
44674         * manual/macros.texi (gnusystems): New macro.
44675         (nongnusystems): Likewise.
44676         (gnulinuxhurdsystems): Likewise.
44677         (gnuhurdsystems): Likewise..
44678         (gnulinuxsystems): Likewise.
44679         * manual/charset.texi: Use new macros or @theglibc{} to refer to
44680         variants of the GNU system, not "GNU system".
44681         * manual/conf.texi: Likewise.
44682         * manual/errno.texi: Likewise.  Update example of errno macro
44683         expansion.
44684         * manual/filesys.texi: Likewise.
44685         (getumask): Document as specific to GNU/Hurd.
44686         * manual/install.texi: Likewise.  Reword some references to
44687         GNU/Linux.
44688         * manual/intro.texi: Likewise.
44689         * manual/io.texi: Likewise.
44690         (File Name Portability): Detail which constraints are inapplicable
44691         to all GNU systems and which are only inapplicable to GNU/Hurd.
44692         * manual/job.texi: Likewise.
44693         * manual/llio.texi: Likewise.
44694         (O_NOCTTY): Document as present on GNU/Linux.
44695         * manual/maint.texi: Likewise.
44696         * manual/memory.texi: Likewise.
44697         * manual/pattern.texi: Likewise.
44698         * manual/pipe.texi: Likewise.
44699         * manual/process.texi: Likewise.
44700         * manual/resource.texi: Likewise.
44701         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44702         child on GNU/Hurd.
44703         * manual/setjmp.texi: Likewise.
44704         * manual/signal.texi: Likewise.
44705         * manual/startup.texi: Likewise.
44706         * manual/stdio.texi: Likewise.
44707         * manual/terminal.texi: Likewise.
44708         (ONLCR): Document as POSIX.
44709         (OXTABS): Document availability on GNU/Linux as XTABS.
44710         (ONOEOT): Document availability separately from other bits.
44711         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44712         * manual/time.texi: Likewise.
44713         * manual/users.texi: Likewise.
44714         * INSTALL: Regenerated.
44715         * sysdeps/gnu/errlist.c: Regenerated.
44716
44717         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44718         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44719         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
44720         puts.
44721         * configure: Regenerated.
44722
44723 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
44724
44725         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44726         default includes instead of AC_HEADER_CHECK.
44727         * sysdeps/i386/configure: Regenerated.
44728
44729         [BZ #10716]
44730         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44731         * math/s_cacoshf.c (__cacoshf): Likewise.
44732         * math/s_cacoshl.c (__cacoshl): Likewise.
44733         * math/s_casinh.c (__casinh): Set signs of result from argument.
44734         * math/s_casinhf.c (__casinhf): Likewise.
44735         * math/s_casinhl.c (__casinhl): Likewise.
44736         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44737         (casinh_test): Add more tests.
44738         * sysdeps/i386/fpu/libm-test-ulps: Update.
44739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44740
44741 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
44742
44743         * po/zh_TW.po: Update from translation team.
44744
44745         * login/Makefile (distribute): Remove variable.
44746         * catgets/Makefile: Likewise.
44747         * mach/Makefile: Likewise.
44748         * malloc/Makefile: Likewise.
44749         * misc/Makefile: Likewise.
44750         * iconv/Makefile: Likewise.
44751         * nscd/Makefile: Likewise.
44752         * hurd/Makefile: Likewise.
44753         * manual/Makefile: Likewise.
44754         * locale/Makefile: Likewise.
44755         * intl/Makefile: Likewise.
44756         * conform/Makefile: Likewise.
44757         * nss/Makefile: Likewise.
44758         * time/Makefile: Likewise.
44759         * soft-fp/Makefile: Likewise.
44760         * dirent/Makefile: Likewise.
44761         * gmon/Makefile: Likewise.
44762         * po/Makefile: Likewise.
44763         * rt/Makefile: Likewise.
44764         * socket/Makefile: Likewise.
44765         * math/Makefile: Likewise.
44766         * signal/Makefile: Likewise.
44767         * debug/Makefile: Likewise.
44768         * elf/Makefile: Likewise.
44769         * timezone/Makefile: Likewise.
44770         * stdlib/Makefile: Likewise.
44771         * iconvdata/Makefile: Likewise.
44772         * sunrpc/Makefile: Likewise.
44773         * io/Makefile: Likewise.
44774         * argp/Makefile: Likewise.
44775         * inet/Makefile: Likewise.
44776         * hesiod/Makefile: Likewise.
44777         * grp/Makefile: Likewise.
44778         * csu/Makefile: Likewise.
44779         * wctype/Makefile: Likewise.
44780         * crypt/Makefile: Likewise.
44781         * libio/Makefile: Likewise.
44782         * string/Makefile: Likewise.
44783         * nis/Makefile: Likewise.
44784         * resolv/Makefile: Likewise.
44785         * stdio-common/Makefile: Likewise.
44786         * wcsmbs/Makefile: Likewise.
44787         * dlfcn/Makefile: Likewise.
44788         * posix/Makefile: Likewise.
44789
44790         [BZ #6959]
44791         * timezone/Makefile: Don't install timezone files, just the programs
44792         and scripts.
44793
44794 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
44795
44796         * nss/databases.def: Add missing gshadow entry.
44797
44798         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
44799
44800 2012-03-06  Marek Polacek  <polacek@redhat.com>
44801
44802         [BZ #13726]
44803         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44804         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44805         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44806         * stdio-common/tst-long-dbl-fphex.c: New file.
44807
44808 2012-03-06  David S. Miller  <davem@davemloft.net>
44809
44810         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44811         (set_obp_int): New function.
44812         (get_obp_int): New function.
44813         (__get_clockfreq_via_dev_openprom): Likewise.
44814         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44815         Avoid unused variable warnings on 'val' and use builtin_expect.
44816         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44817         __builtin_expect.
44818         (INLINE_CLONE_SYSCALL): Likewise.
44819
44820 2012-03-05  David S. Miller  <davem@davemloft.net>
44821
44822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44823
44824 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
44825
44826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44827
44828         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44829         only for |x| >= 40.
44830         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44831
44832 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
44833
44834         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44835         Replace gettimeofday with __vdso_gettimeofday.
44836
44837         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44838         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44839         __vdso_clock_gettime and __vdso_getcpu.
44840
44841         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44842         time with __vdso_time.
44843
44844 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44845
44846         * manual/lang.texi (size_t): Note types to which size_t may be
44847         equivalent with the GNU C Library, but do not describe when
44848         differences between them are significant.
44849
44850 2012-03-05  Andreas Jaeger  <aj@suse.de>
44851
44852         * sysdeps/i386/fpu/libm-test-ulps: Update.
44853
44854 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44855
44856         [BZ #3976]
44857         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44858         (__ieee754_pow): Save and restore rounding mode and use
44859         round-to-nearest for main computations.
44860         * math/libm-test.inc (pow_test_tonearest): New function.
44861         (pow_test_towardzero): Likewise.
44862         (pow_test_downward): Likewise.
44863         (pow_test_upward): Likewise.
44864         (main): Call the new functions.
44865         * sysdeps/i386/fpu/libm-test-ulps: Update.
44866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44867
44868         [BZ #3976]
44869         * math/libm-test.inc (cosh_test_tonearest): New function.
44870         (cosh_test_towardzero): Likewise.
44871         (cosh_test_downward): Likewise.
44872         (cosh_test_upward): Likewise.
44873         (sinh_test_tonearest): Likewise.
44874         (sinh_test_towardzero): Likewise.
44875         (sinh_test_downward): Likewise.
44876         (sinh_test_upward): Likewise.
44877         (main): Call the new functions.
44878         * sysdeps/i386/fpu/libm-test-ulps: Update.
44879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44880
44881 2012-03-05  Tom de Vries  <tom@codesourcery.com>
44882
44883         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44884         default stack guard is set in last bytes.
44885         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44886
44887 2012-03-05  Kees Cook  <keescook@chromium.org>
44888
44889         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44890
44891         [BZ #13656]
44892         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44893         possibly allocate from heap instead of stack.
44894         * stdio-common/bug-vfprintf-nargs.c: New file.
44895         * stdio-common/Makefile (tests): Add nargs overflow test.
44896
44897 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
44898
44899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44900
44901 2012-03-03  Marek Polacek  <polacek@redhat.com>
44902
44903         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44904         * math/math_private.h: Likewise.
44905         * stdlib/tst-strtod.c: Likewise.
44906         * sysdeps/i386/i486/bits/atomic.h: Likewise.
44907         * sysdeps/x86_64/bits/atomic.h: Likewise.
44908
44909 2012-03-02  David S. Miller  <davem@davemloft.net>
44910
44911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44912         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44913         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44915         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44916         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44917         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44918         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44919
44920 2012-03-02  Roland McGrath  <roland@hack.frob.com>
44921
44922         [BZ #13792]
44923         * manual/examples/README: New file, says the example source files
44924         can be used under GPL>=2.
44925         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44926         line containing just "*/".
44927         * manual/examples/add.c: Add copyright header (GPL>=2).
44928         * manual/examples/argp-ex1.c: Likewise.
44929         * manual/examples/argp-ex2.c: Likewise.
44930         * manual/examples/argp-ex3.c: Likewise.
44931         * manual/examples/argp-ex4.c: Likewise.
44932         * manual/examples/atexit.c: Likewise.
44933         * manual/examples/db.c: Likewise.
44934         * manual/examples/dir.c: Likewise.
44935         * manual/examples/dir2.c: Likewise.
44936         * manual/examples/execinfo.c: Likewise.
44937         * manual/examples/filecli.c: Likewise.
44938         * manual/examples/filesrv.c: Likewise.
44939         * manual/examples/fmtmsgexpl.c: Likewise.
44940         * manual/examples/genpass.c: Likewise.
44941         * manual/examples/inetcli.c: Likewise.
44942         * manual/examples/inetsrv.c: Likewise.
44943         * manual/examples/isockad.c: Likewise.
44944         * manual/examples/longopt.c: Likewise.
44945         * manual/examples/memopen.c: Likewise.
44946         * manual/examples/memstrm.c: Likewise.
44947         * manual/examples/mkfsock.c: Likewise.
44948         * manual/examples/mkisock.c: Likewise.
44949         * manual/examples/mygetpass.c: Likewise.
44950         * manual/examples/pipe.c: Likewise.
44951         * manual/examples/popen.c: Likewise.
44952         * manual/examples/rprintf.c: Likewise.
44953         * manual/examples/search.c: Likewise.
44954         * manual/examples/select.c: Likewise.
44955         * manual/examples/setjmp.c: Likewise.
44956         * manual/examples/sigh1.c: Likewise.
44957         * manual/examples/sigusr.c: Likewise.
44958         * manual/examples/stpcpy.c: Likewise.
44959         * manual/examples/strdupa.c: Likewise.
44960         * manual/examples/strftim.c: Likewise.
44961         * manual/examples/strncat.c: Likewise.
44962         * manual/examples/subopt.c: Likewise.
44963         * manual/examples/swapcontext.c: Likewise.
44964         * manual/examples/termios.c: Likewise.
44965         * manual/examples/testopt.c: Likewise.
44966         * manual/examples/testpass.c: Likewise.
44967         * manual/examples/timeval_subtract.c: Likewise.
44968
44969         [BZ #13792]
44970         * manual/time.texi (Elapsed Time): Move timeval_subtract example
44971         function to ...
44972         * manual/timeval_subtract.c.texi: ... here, new file.
44973
44974 2012-03-02  David S. Miller  <davem@davemloft.net>
44975
44976         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44977
44978 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
44979
44980         [BZ #3976]
44981         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44982         (__sin): Save and restore rounding mode and use round-to-nearest
44983         for all computations.
44984         (__cos): Save and restore rounding mode and use round-to-nearest
44985         for all computations.
44986         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44987         <fenv.h>.
44988         (tan): Save and restore rounding mode and use round-to-nearest for
44989         all computations.
44990         * math/libm-test.inc (cos_test_tonearest): New function.
44991         (cos_test_towardzero): Likewise.
44992         (cos_test_downward): Likewise.
44993         (cos_test_upward): Likewise.
44994         (sin_test_tonearest): Likewise.
44995         (sin_test_towardzero): Likewise.
44996         (sin_test_downward): Likewise.
44997         (sin_test_upward): Likewise.
44998         (tan_test_tonearest): Likewise.
44999         (tan_test_towardzero): Likewise.
45000         (tan_test_downward): Likewise.
45001         (tan_test_upward): Likewise.
45002         (main): Call the new functions.
45003         * sysdeps/i386/fpu/libm-test-ulps: Update.
45004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45005
45006         [BZ #10135]
45007         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45008         small n, then large n, before computing and testing k+n.
45009         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45011         Likewise.
45012         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45013         Likewise.
45014         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45015         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45016         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45017         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45018         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45019         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45020         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45021         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45022         * math/libm-test.inc (scalbn_test): Add more tests.
45023         (scalbln_test): Likewise.
45024
45025         * manual/filesys.texi (mode_t): Describe constraints on size and
45026         signedness, not exact equivalence to a particular type.
45027         (ino_t): Likewise.
45028         (ino64_t): Likewise.
45029         (dev_t): Likewise.
45030         (nlink_t): Likewise.
45031         (blkcnt_t): Likewise.
45032         (blkcnt64_t): Likewise.
45033         * manual/llio.texi (off_t): Likewise.
45034
45035         [BZ #3976]
45036         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45037         (__ieee754_exp): Save and restore rounding mode and use
45038         round-to-nearest for all computations.
45039         * math/libm-test.inc (exp_test_tonearest): New function.
45040         (exp_test_towardzero): Likewise.
45041         (exp_test_downward): Likewise.
45042         (exp_test_upward): Likewise.
45043         (main): Call the new functions.
45044         * sysdeps/i386/fpu/libm-test-ulps: Update.
45045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45046
45047 2012-03-01  Chris Demetriou  <cgd@google.com>
45048
45049         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45050         have predictable order.
45051
45052 2012-03-01  David S. Miller  <davem@davemloft.net>
45053
45054         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45055
45056         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45057         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45058         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45059         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45060
45061         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45062         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45063         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45065         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45066         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45067         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45068         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45069         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45070
45071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45072
45073         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45074         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45075         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45076
45077         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45078         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45079         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45080         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45081         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45082         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45083         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45084         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45085         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45086         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45087         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45088         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45089         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45090         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45091         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45092         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45093         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45094         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45095         * sysdeps/sparc/elf/configure: Regenerated.
45096
45097 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45098
45099         * configure.in (AS, LD): Require binutils 2.20 or later.
45100         * configure: Regenerated.
45101         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45102         as required minimum version.
45103         * INSTALL: Regenerated.
45104
45105         [BZ #2541]
45106         [BZ #4108]
45107         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45108         before squaring exponent.
45109         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45110         bottom long double and 27 bits of top long double before squaring
45111         exponent.
45112         * math/libm-test.inc (erfc_test): Add more tests.
45113         * sysdeps/i386/fpu/libm-test-ulps: Update.
45114         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45116
45117 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45118
45119         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45120         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45121         containing bit-fields.
45122         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45123         * soft-fp/single.h (_FP_UNION_S): Likewise.
45124         * soft-fp/double.h (_FP_UNION_D): Likewise.
45125
45126 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45127
45128         [BZ #13786]
45129         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45130         not include ../strcmp.S.
45131         [USE_AS_STRNCASECMP_L]: Likewise.
45132         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45133         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45134         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45135         (__strncasecmp_l_ia32): Define as alias to
45136         __strncasecmp_l_nonascii.
45137
45138         [BZ #5794]
45139         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45140         * sysdeps/i386/fpu/libm-test-ulps: Update.
45141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45142
45143         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45145
45146 2012-02-29  Jeff Law  <law@redhat.com>
45147
45148         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45149         out of bounds read.
45150
45151 2012-02-29  Marek Polacek  <polacek@redhat.com>
45152
45153         [BZ #13706]
45154         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45155         * elf/Makefile: Add rules to run tst-unused-dep.out.
45156
45157 2012-02-28  David S. Miller  <davem@davemloft.net>
45158
45159         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45160         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45161         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45162         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45163         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45164         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45165
45166 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45167
45168         * math/libm-test.inc (llround_test): Move one test from
45169         lround_test.  Use TEST_f_L in moved test.
45170         (lround_test): Move misplaced test to llround_test.  Add testcase
45171         from bug 2561.
45172
45173 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45174
45175         * sysdeps/x86_64/fpu/e_expf.S: New file.
45176         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45177
45178 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45179
45180         [BZ #13637]
45181         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45182         of remain_len that may cause incomplete multi-byte character and
45183         false match.
45184         * posix/bug-regex33.c: New file.
45185         * posix/Makefile (tests): Add bug-regex33.
45186
45187 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
45188
45189         * manual/macros.texi: New file.
45190         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
45191         * manual/libc.texinfo: Include macros.texi.
45192         * manual/creatute.texi: Likewise.
45193         * manual/install.texi: Likewise.
45194         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
45195         @glibcadj{} in references to the GNU C Library.
45196         * manual/charset.texi: Likewise.
45197         * manual/conf.texi: Likewise.
45198         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
45199         when not using those macros.
45200         * manual/creature.texi: Likewise.
45201         * manual/crypt.texi: Likewise.
45202         * manual/errno.texi: Likewise.
45203         * manual/filesys.texi: Likewise.
45204         * manual/header.texi: Likewise.
45205         * manual/install.texi: Likewise.
45206         * manual/intro.texi: Likewise.
45207         * manual/io.texi: Likewise.
45208         * manual/job.texi: Likewise.
45209         * manual/lang.texi: Likewise.
45210         * manual/libc.texiinfo: Likewise.
45211         * manual/llio.texi: Likewise.
45212         * manual/locale.texi: Likewise.
45213         * manual/maint.texi: Likewise.
45214         * manual/math.texi: Likewise.
45215         * manual/memory.texi: Likewise.
45216         * manual/message.texi: Likewise.
45217         * manual/nss.texi: Likewise.
45218         * manual/pattern.texi: Likewise.
45219         * manual/process.texi: Likewise.
45220         * manual/resource.texi: Likewise.
45221         * manual/search.texi: Likewise.
45222         * manual/setjmp.texi: Likewise.
45223         * manual/signal.texi: Likewise.
45224         * manual/socket.texi: Likewise.
45225         * manual/startup.texi: Likewise.
45226         * manual/stdio.texi: Likewise.
45227         * manual/string.texi: Likewise.
45228         * manual/sysinfo.texi: Likewise.
45229         * manual/syslog.texi: Likewise.
45230         * manual/terminal.texi: Likewise.
45231         * manual/time.texi: Likewise.
45232         * manual/users.texi: Likewise.
45233         * INSTALL: Regenerated.
45234         * NOTES: Regenerated.
45235         * sysdeps/gnu/errlist.c: Regenerated.
45236
45237 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
45238
45239         * include/dirent.h: Include <dirstream.h> before
45240         <dirent/dirent.h>.
45241
45242 2012-02-28  David S. Miller  <davem@davemloft.net>
45243
45244         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
45245         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
45246         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
45247         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
45248
45249 2012-02-27  David S. Miller  <davem@davemloft.net>
45250
45251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
45252         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
45253         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
45254         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
45255
45256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
45257         frame pointer instead of stack pointer relative arg slot.
45258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45259         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45260         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45261
45262 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
45263
45264         [BZ #3992]
45265         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
45266
45267 2012-02-27  David S. Miller  <davem@davemloft.net>
45268
45269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
45270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
45271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
45273         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
45274         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
45275         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
45276         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
45277
45278 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45279
45280         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
45281         later.  Allow versions 5-9.
45282         * configure: Regenerated.
45283         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
45284         required minimum version and 4.6 as recommended version.  Do not
45285         mention bugs in GCC 2.7 and 2.8.
45286         * INSTALL: Regenerated.
45287
45288 2012-02-27  David S. Miller  <davem@davemloft.net>
45289
45290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
45291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
45292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
45293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
45294         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
45295         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
45296         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
45297         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
45298
45299         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
45300         manipulate bits before adding and subtracting TWO112[sx].
45301         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
45302
45303 2012-02-27  Roland McGrath  <roland@hack.frob.com>
45304
45305         [BZ #13775]
45306         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
45307         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
45308         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
45309         being in POSIX, because they are in 1003.1-2008.
45310
45311         * rt/tst-aio.c: Include <fcntl.h>.
45312         * rt/tst-aio7.c: Likewise.
45313         * rt/tst-aio64.c: Likewise.
45314
45315         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
45316
45317 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
45318
45319         * manual/install.texi (--with-headers): Describe headers as
45320         interface headers, not private headers.
45321         (Specific advice for GNU/Linux systems): Describe use of headers
45322         from "make headers_install", not private headers from older
45323         kernels.
45324         * INSTALL: Regenerated.
45325         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
45326         Change to 2.6.19.
45327         * sysdeps/unix/sysv/linux/configure: Regenerated.
45328
45329         * manual/llio.texi (fclean): Remove documentation.
45330
45331         * manual/Makefile (libc-texi-generated): New variable.  Include
45332         version.texi.
45333         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
45334         $(libc-texi-generated), not duplicated list of files.
45335         (version.texi, stamp-version): New rules.
45336         (realclean): Remove $(libc-texi-generated), not individual files
45337         from that list.  Do not remove dir-add.texinfo.
45338         * manual/libc.texinfo: Comment out uses of edition numbers and
45339         references to printed manual.  Remove last-updated dates.
45340         (EDITION): Comment out.
45341         (ISBN): Likewise.
45342         (VERSION, UPDATED): Remove.
45343         (version.texi): Include.
45344
45345 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
45346
45347         * sysdeps/posix/spawni.c: Include <signal.h>.
45348         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
45349         * sysdeps/pthread/aio_fsync.c: Likewise.
45350
45351 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
45352
45353         * conform/Makefile (tests): Run only when not cross-compiling and
45354         when fast-check is not defined.
45355
45356         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
45357         * conform/data/limits.h-data: Fixes for POSIX2008.
45358         * conform/run-conformtest.sh: Run all tests.
45359         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
45360         headers.
45361         * include/bits/dlfcn.h: Likewise.
45362         * include/langinfo.h: Likewise.
45363         * include/monetary.h: Likewise.
45364         * include/sys/poll.h: Likewise.
45365
45366         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
45367         for __USE_GNU.
45368         * posix/spawn.h: Define __need_sigset_t.
45369         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
45370         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
45371         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
45372         to get sigevent_t only.
45373         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
45374         only for __USE_GNU.
45375         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45376         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
45377         process_vm_writev only for __USE_GNU.
45378         * termios/termios.h: Declare tcgetsid also for POSIX2008.
45379
45380         * conform/Makefile: For now ignore errors from run-conformtest.
45381         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
45382         POSIX to avoid namespace pollution.  Don't prepend headers.
45383         * conform/data/aio.h-data: Fixes for POSIX testing.
45384         * conform/data/fcntl.h-data: Likewise.
45385         * conform/data/glob.h-data: Likewise.
45386         * conform/data/grp.h-data: Likewise.
45387         * conform/data/pthread.h-data: Likewise.
45388         * conform/data/pwd.h-data: Likewise.
45389         * conform/data/signal.h-data: Likewise.
45390         * conform/data/spawn.h-data: Likewise.
45391         * conform/data/stdio.h-data: Likewise.
45392         * conform/data/stdlib.h-data: Likewise.
45393         * conform/data/stropts.h-data: Likewise.
45394         * conform/data/sys/mman.h-data: Likewise.
45395         * conform/data/sys/stat.h-data: Likewise.
45396         * conform/data/sys/types.h-data: Likewise.
45397         * conform/data/sys/wait.h-data: Likewise.
45398         * conform/data/time.h-data: Likewise.
45399         * conform/data/unistd.h-data: Likewise.
45400         * conform/data/utime.h-data: Likewise.
45401
45402         * io/sys/stat.h: fchmod was always in POSIX.
45403         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
45404         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
45405         * rt/aio.h: Define __need_timespec before including <time.h>.
45406         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
45407         struct.  Add forward declaration of pthread_attr_t and use it in
45408         sigevent.
45409         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45410         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45411         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
45412         always remove CLK_TCK definition.
45413
45414 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
45415
45416         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
45417
45418 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
45419
45420         * conform/run-conformtest.sh: New file.
45421         * conform/Makefile: Run run-conformtest for tests.
45422         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
45423         support.
45424
45425         * conform/data/uchar.h-data: New file.
45426         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
45427         * conform/data/arpa/inet.h-data: Likewise.
45428         * conform/data/assert.h-data: Likewise.
45429         * conform/data/complex.h-data: Likewise.
45430         * conform/data/cpio.h-data: Likewise.
45431         * conform/data/ctype.h-data: Likewise.
45432         * conform/data/dirent.h-data: Likewise.
45433         * conform/data/dlfcn.h-data: Likewise.
45434         * conform/data/errno.h-data: Likewise.
45435         * conform/data/fcntl.h-data: Likewise.
45436         * conform/data/float.h-data: Likewise.
45437         * conform/data/fmtmsg.h-data: Likewise.
45438         * conform/data/fnmatch.h-data: Likewise.
45439         * conform/data/ftw.h-data: Likewise.
45440         * conform/data/glob.h-data: Likewise.
45441         * conform/data/grp.h-data: Likewise.
45442         * conform/data/iconv.h-data: Likewise.
45443         * conform/data/inttypes.h-data: Likewise.
45444         * conform/data/langinfo.h-data: Likewise.
45445         * conform/data/libgen.h-data: Likewise.
45446         * conform/data/limits.h-data: Likewise.
45447         * conform/data/locale.h-data: Likewise.
45448         * conform/data/math.h-data: Likewise.
45449         * conform/data/monetary.h-data: Likewise.
45450         * conform/data/mqueue.h-data: Likewise.
45451         * conform/data/ndbm.h-data: Likewise.
45452         * conform/data/net/if.h-data: Likewise.
45453         * conform/data/netdb.h-data: Likewise.
45454         * conform/data/netinet/in.h-data: Likewise.
45455         * conform/data/nl_types.h-data: Likewise.
45456         * conform/data/poll.h-data: Likewise.
45457         * conform/data/pthread.h-data: Likewise.
45458         * conform/data/pwd.h-data: Likewise.
45459         * conform/data/regex.h-data: Likewise.
45460         * conform/data/sched.h-data: Likewise.
45461         * conform/data/search.h-data: Likewise.
45462         * conform/data/semaphore.h-data: Likewise.
45463         * conform/data/setjmp.h-data: Likewise.
45464         * conform/data/signal.h-data: Likewise.
45465         * conform/data/spawn.h-data: Likewise.
45466         * conform/data/stdarg.h-data: Likewise.
45467         * conform/data/stdio.h-data: Likewise.
45468         * conform/data/stdlib.h-data: Likewise.
45469         * conform/data/string.h-data: Likewise.
45470         * conform/data/strings.h-data: Likewise.
45471         * conform/data/stropts.h-data: Likewise.
45472         * conform/data/sys/ipc.h-data: Likewise.
45473         * conform/data/sys/mman.h-data: Likewise.
45474         * conform/data/sys/msg.h-data: Likewise.
45475         * conform/data/sys/resource.h-data: Likewise.
45476         * conform/data/sys/select.h-data: Likewise.
45477         * conform/data/sys/sem.h-data: Likewise.
45478         * conform/data/sys/shm.h-data: Likewise.
45479         * conform/data/sys/socket.h-data: Likewise.
45480         * conform/data/sys/stat.h-data: Likewise.
45481         * conform/data/sys/statvfs.h-data: Likewise.
45482         * conform/data/sys/time.h-data: Likewise.
45483         * conform/data/sys/timeb.h-data: Likewise.
45484         * conform/data/sys/times.h-data: Likewise.
45485         * conform/data/sys/types.h-data: Likewise.
45486         * conform/data/sys/uio.h-data: Likewise.
45487         * conform/data/sys/un.h-data: Likewise.
45488         * conform/data/sys/utsname.h-data: Likewise.
45489         * conform/data/sys/wait.h-data: Likewise.
45490         * conform/data/syslog.h-data: Likewise.
45491         * conform/data/tar.h-data: Likewise.
45492         * conform/data/termios.h-data: Likewise.
45493         * conform/data/utime.h-data: Likewise.
45494         * conform/data/utmpx.h-data: Likewise.
45495         * conform/data/varargs.h-data: Likewise.
45496         * conform/data/wchar.h-data: Likewise.
45497         * conform/data/wctype.h-data: Likewise.
45498         * conform/data/wordexp.h-data: Likewise.
45499
45500         * include/stropts.h: New file.
45501         * include/uchar.h: New file.
45502         * include/aio.h: Changes to allow conformtest.pl to use the headers.
45503         * include/assert.h: Likewise.
45504         * include/ctype.h: Likewise.
45505         * include/dirent.h: Likewise.
45506         * include/dlfcn.h: Likewise.
45507         * include/fcntl.h: Likewise.
45508         * include/fnmatch.h: Likewise.
45509         * include/glob.h: Likewise.
45510         * include/grp.h: Likewise.
45511         * include/libio.h: Likewise.
45512         * include/locale.h: Likewise.
45513         * include/math.h: Likewise.
45514         * include/net/if.h: Likewise.
45515         * include/netdb.h: Likewise.
45516         * include/netinet/in.h: Likewise.
45517         * include/pthread.h: Likewise.
45518         * include/pwd.h: Likewise.
45519         * include/regex.h: Likewise.
45520         * include/sched.h: Likewise.
45521         * include/search.h: Likewise.
45522         * include/setjmp.h: Likewise.
45523         * include/signal.h: Likewise.
45524         * include/stdio.h: Likewise.
45525         * include/stdlib.h: Likewise.
45526         * include/string.h: Likewise.
45527         * include/sys/cdefs.h: Likewise.
45528         * include/sys/mman.h: Likewise.
45529         * include/sys/msg.h: Likewise.
45530         * include/sys/resource.h: Likewise.
45531         * include/sys/select.h: Likewise.
45532         * include/sys/socket.h: Likewise.
45533         * include/sys/stat.h: Likewise.
45534         * include/sys/statvfs.h: Likewise.
45535         * include/sys/time.h: Likewise.
45536         * include/sys/times.h: Likewise.
45537         * include/sys/uio.h: Likewise.
45538         * include/sys/utsname.h: Likewise.
45539         * include/sys/wait.h: Likewise.
45540         * include/termios.h: Likewise.
45541         * include/time.h: Likewise.
45542         * include/ulimit.h: Likewise.
45543         * include/unistd.h: Likewise.
45544         * include/utime.h: Likewise.
45545         * include/wchar.h: Likewise.
45546         * include/wctype.h: Likewise.
45547         * include/wordexp.h: Likewise.
45548
45549         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
45550
45551         * time/time.h: TIME_UTC must be a macro.
45552         Make timespec_get available for ISO C11 only as well.
45553
45554 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
45555
45556         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
45557         Reported by Peng Haitao <penght@cn.fujitsu.com>.
45558
45559 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45560
45561         * configure.in: Use -o not -a in test for unsupported multi-arch.
45562
45563 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45564
45565         * manual/texinfo.tex: Update to version 2012-01-19.16.
45566
45567 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
45568
45569         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
45570
45571 2012-02-24  Roland McGrath  <roland@hack.frob.com>
45572
45573         [BZ #13738]
45574         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
45575         * manual/fdl-1.3.texi: New file.
45576         * manual/fdl-1.1.texi: File removed.
45577
45578         [BZ #13738]
45579         * manual/libc.texinfo (FDL_VERSION): New @set.
45580         Use it for mention of FDL in cover text.
45581         (Documentation License): Use it in @include file name.
45582
45583 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45584             Roland McGrath  <roland@hack.frob.com>
45585
45586         [BZ #5461]
45587         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
45588         (not LONG_LONG_MAX and LONG_LONG_MIN.
45589         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
45590         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
45591         name.
45592         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
45593
45594 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45595
45596         [BZ #2547]
45597         [BZ #11365]
45598         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
45599         manipulate bits before adding and subtracting TWO23[sx].
45600         * math/libm-test.inc (nearbyint_test): Add more tests.
45601
45602 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45603
45604         [BZ #2548]
45605         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
45606         bits before adding and subtracting TWO23[sx].
45607         * math/libm-test.inc (rint_test): Add more tests.
45608         (rint_test_tonearest): Likewise.
45609         (rint_test_towardzero): Likewise.
45610         (rint_test_downward): Likewise.
45611         (rint_test_upward: Likewise.
45612
45613 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45614
45615         [BZ #10110]
45616         * include/stdc-predef.h: New file.  Extracted from features.h.
45617         * include/features.h: Include stdc-predef.h.
45618         * Makefile (headers): Add stdc-predef.h.
45619         * CONFORMANCE (Compiler limitations): Update.
45620
45621 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45622
45623         * manual/libc.texinfo (VERSION, UPDATED): Revert.
45624
45625 2012-02-21  David S. Miller  <davem@davemloft.net>
45626
45627         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45628         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45629
45630 2012-02-20  David S. Miller  <davem@davemloft.net>
45631
45632         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45633         using a normal save/restore sequence, rather than allocating a
45634         dummy stack frame just to store a frame pointer and restore.
45635         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45636
45637 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45638
45639         * manual/install.texi: Fix stray word in line-wrapped comment.
45640
45641 2012-02-20  David S. Miller  <davem@davemloft.net>
45642
45643         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45644         both binutils and gcc support GOTDATA.
45645
45646         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45647         "rd %pc" in the PIC register setup sequences.
45648
45649         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45650         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45651         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45652         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45653         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45654         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45655         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45656         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45657         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45658         (SYSCALL_ERROR_HANDLER): Likewise.
45659         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45660         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45661         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45662         (SYSCALL_ERROR_HANDLER): Likewise.
45663
45664         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45665         (HAVE_GCC_GOTDATA): New.
45666         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45667         relocation support in both binutils and gcc.
45668         * sysdeps/sparc/elf/configure: Regenerate.
45669
45670         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45671         * sysdeps/sparc/sparc32/elf/configure: Delete.
45672         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45673         * sysdeps/sparc/sparc64/elf/configure: Delete.
45674         * sysdeps/sparc/elf/configure.in: New file.
45675         * sysdeps/sparc/elf/configure: Generate.
45676
45677         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45678         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45679         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45680         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45681         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45682
45683 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45684
45685         * manual/install.texi: Do not mention specific glibc version
45686         numbers.
45687         * manual/libc.texinfo (VERSION, UPDATED): Update.
45688         (@copying): Use @copyright{} and range of years.
45689
45690 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45691
45692         [BZ #13695]
45693         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45694         [crti.S not in sysdirs] (generated): Do not append.
45695         [crti.S not in sysdirs] (omit-deps): Likewise.
45696         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45697         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45698         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45699         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45700         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45701         Likewise.
45702         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45703         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45704         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45705         * csu/defs.awk: Remove file.
45706         * sysdeps/generic/initfini.c: Likewise.
45707         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45708         variable.
45709         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45710         Likewise.
45711
45712 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45713
45714         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45715         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45716         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45717         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45718         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45719         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45720         <bits/epoll.h>.
45721         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45722         (__EPOLL_PACKED): Define to empty if not defined by
45723         <bits/epoll.h>.
45724         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45725         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45726         bits/epoll.h.
45727
45728 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45729
45730         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45731         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45732         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45733         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45734         <bits/timerfd.h>.
45735         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45736         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45737         bits/timerfd.h.
45738
45739 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45740
45741         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45742         in C locale.
45743         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45744         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45745         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45747
45748 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
45749
45750         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45751         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45752
45753 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
45754
45755         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45756         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45757         defined.
45758         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45759         Likewise.
45760         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45761         entry for 2.16.
45762
45763 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
45764
45765         * math/w_acos.c: Use non-signaling floating-point comparisons.
45766         * math/w_acosf.c: Likewise.
45767         * math/w_acosh.c: Likewise.
45768         * math/w_acoshf.c: Likewise.
45769         * math/w_acoshl.c: Likewise.
45770         * math/w_acosl.c: Likewise.
45771         * math/w_asin.c: Likewise.
45772         * math/w_asinf.c: Likewise.
45773         * math/w_asinl.c: Likewise.
45774         * math/w_atanh.c: Likewise.
45775         * math/w_atanhf.c: Likewise.
45776         * math/w_atanhl.c: Likewise.
45777         * math/w_exp2.c: Likewise.
45778         * math/w_exp2f.c: Likewise.
45779         * math/w_exp2l.c: Likewise.
45780         * math/w_j0.c: Likewise.
45781         * math/w_j0f.c: Likewise.
45782         * math/w_j0l.c: Likewise.
45783         * math/w_j1.c: Likewise.
45784         * math/w_j1f.c: Likewise.
45785         * math/w_j1l.c: Likewise.
45786         * math/w_jn.c: Likewise.
45787         * math/w_jnf.c: Likewise.
45788         * math/w_log.c: Likewise.
45789         * math/w_log10.c: Likewise.
45790         * math/w_log10f.c: Likewise.
45791         * math/w_log10l.c: Likewise.
45792         * math/w_log2.c: Likewise.
45793         * math/w_log2f.c: Likewise.
45794         * math/w_log2l.c: Likewise.
45795         * math/w_logf.c: Likewise.
45796         * math/w_logl.c: Likewise.
45797         * math/w_sqrt.c: Likewise.
45798         * math/w_sqrtf.c: Likewise.
45799         * math/w_sqrtl.c: Likewise.
45800         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45801         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45802         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45803         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45804         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45805
45806 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45807
45808         [BZ #9739]
45809         * manual/string.texi (strnlen): Use correct parameter name in
45810         equivalent expression.
45811
45812 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45813
45814         [BZ #11174]
45815         * manual/users.texi (seteuid): Consistently use neweuid for
45816         argument name.
45817
45818 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45819
45820         [BZ #13704]
45821         * manual/nss.texi (Services in the NSS configuration): Correct
45822         list of services in example configuration file.
45823
45824 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
45825
45826         [BZ #11322]
45827         * manual/arith.texi: Remove statements about negative zero
45828         behaving identically to zero.
45829
45830 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45831
45832         [BZ #5993]
45833         * manual/install.texi: Do not document upgrading from libc5.
45834
45835 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45836
45837         [BZ #4596]
45838         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45839
45840 2012-02-18  David S. Miller  <davem@davemloft.net>
45841
45842         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45843         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45844         %o7 across the call.
45845         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45846         instead.
45847         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45848         SETUP_PIC_REG_LEAF.
45849         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45850         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45851         * sysdeps/sparc/crtn.S: Likewise.
45852
45853 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
45854
45855         * aout/Makefile: Remove.
45856
45857 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
45858
45859         [BZ #13058]
45860         * manual/examples/argp-ex1.c (main): Format definition in GNU
45861         style.
45862         * manual/examples/argp-ex2.c (main): Likewise.
45863         * manual/examples/argp-ex3.c (main): Likewise.
45864         * manual/examples/argp-ex4.c (main): Likewise.
45865         * manual/examples/longopt.c (main): Use new-style prototype
45866         definition.
45867         * manual/examples/strncat.c (main): Specify return type and use
45868         (void) for arguments.
45869         * manual/examples/subopt.c (main): Use char **argv argument.
45870
45871 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45872
45873         [BZ #5077]
45874         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45875         rounding modes.
45876
45877 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
45878
45879         [BZ #6907]
45880         * manual/string.texi (strchr): Change when strchrnul is
45881         recommended.
45882
45883 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
45884
45885         [BZ #174]
45886         * manual/locale.texi (setlocale): Document LOCPATH.
45887
45888 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45889
45890         [BZ #10210]
45891         * manual/process.texi (execle): Move @dots{} before last argument.
45892
45893 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
45894
45895         [BZ #12047]
45896         * manual/charset.texi (Generic Charset Conversion): Fix typo
45897         (LC_TYPE -> LC_CTYPE).
45898
45899 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
45900
45901         [BZ #5805]
45902         * manual/arith.texi (scalbn): Use @var{} on parameter names.
45903         (scalbnf): Likewise.
45904         (scalbnl): Likewise.
45905         (scalbln): Likewise.
45906         (scalblnf): Likewise.
45907         (scalblnl): Likewise.
45908         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45909         (vwarnx): Likewise.
45910         (verr): Likewise.
45911         (verrx): Likewise.
45912         * manual/filesys.texi (telldir): Use braces around return type.
45913         * manual/llio.texi (mmap): Add space after comma.
45914         (mmap64): Likewise.
45915         * manual/math.texi (jn): Use @var{} on parameter names.
45916         (jnf): Likewise.
45917         (jnl): Likewise.
45918         (yn): Likewise.
45919         (ynf): Likewise.
45920         (ynl): Likewise.
45921         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45922         line.
45923         * manual/resource.texi (ulimit): Use @dots{} instead of literal
45924         "...".
45925         (sched_get_priority_min): Remove semicolon on @deftypefun line.
45926         (sched_get_priority_max): Likewise.
45927         * manual/signal.texi (sigvec): Add space after comma.
45928         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45929         names.
45930         (if_indextoname): Likewise.
45931         (if_freenameindex): Likewise.
45932         (sendto): Use ',' instead of '.' in prototype.
45933         * manual/startup.texi (syscall): Use @dots{} instead of literal
45934         "...".
45935         * manual/stdio.texi (__fpending): Separate initial words of
45936         paragraph from @deftypefun line.
45937         * manual/syslog.texi (syslog): Use @dots{} instead of literal
45938         "...".
45939         (vsyslog): Use @var{} on parameter names.
45940         * manual/terminal.texi (stty): Use @var{} on parameter names.
45941         * manual/users.texi (getutmp): Use @var{} on parameter names.
45942         (getutmpx): Likewise.
45943
45944 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45945
45946         [BZ #6884]
45947         * manual/stdio.texi (fopen): Fix typos in description of
45948         ",ccs=STRING".
45949
45950 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
45951
45952         [BZ #4026]
45953         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45954         get clock_id definition.
45955
45956 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
45957
45958         [BZ #4822]
45959         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45960         (madvise): Cast every argument to void on its own.
45961
45962 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45963
45964         [BZ #9902]
45965         * manual/startup.texi (Exit Status): Fix typo.
45966
45967 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45968
45969         [BZ #10140]
45970         * manual/examples/argp-ex1.c: Include <stdlib.h>.
45971         * manual/examples/argp-ex2.c: Likewise.
45972         * manual/examples/argp-ex3.c: Likewise.
45973
45974 2012-02-16  Richard Henderson  <rth@redhat.com>
45975
45976         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45977         * sysdeps/s390/s390-32/initfini.c: Remove.
45978         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45979         * sysdeps/s390/s390-64/initfini.c: Remove.
45980
45981 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45982
45983         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45984         compiler output for sysdeps/generic/initfini.c.
45985         * sysdeps/sh/elf/initfini.c: Remove file.
45986
45987 2012-02-16  David S. Miller  <davem@davemloft.net>
45988
45989         [BZ #11494]
45990         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45991
45992         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45993         * sysdeps/sparc/crti.S: New file.
45994         * sysdeps/sparc/crtn.S: New file.
45995         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45996         * sysdeps/sparc/sparc64/Makefile: Likewise.
45997
45998 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
45999
46000         [BZ #3335]
46001         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46002
46003 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46004
46005         [BZ #4822]
46006         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46007
46008         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46009         (write, read, close): Likewise.
46010         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46011
46012 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46013
46014         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46015         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46016         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46017         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46018         <bits/signalfd.h>.
46019         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46021         bits/signalfd.h.
46022
46023 2012-02-14  Marek Polacek  <polacek@redhat.com>
46024
46025         * sysdeps/x86_64/crti.S: New file.
46026         * sysdeps/x86_64/crtn.S: New file.
46027         * sysdeps/x86_64/elf/initfini.c: Remove file.
46028
46029 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46030
46031         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46032         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46033         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46034         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46035         <bits/inotify.h>.
46036         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46037         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46038         bits/inotify.h.
46039
46040 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46041
46042         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46043         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46044         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46045         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46046         <bits/eventfd.h>.
46047         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46048         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46049         bits/eventfd.h.
46050
46051 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46052
46053         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46054         __feraiseexcept instead of feraiseexcept.
46055
46056         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46057         nanosleep invocations.
46058         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46059         strings, and add error checking for a nanosleep invocations.
46060
46061 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46062
46063         Replace FSF snail mail address with URLs, as per GNU coding standards.
46064         Most of the snail mail addresses were wrong anyway, and omitting
46065         them makes the source code easier to maintain.  Almost all of the
46066         changes are to license notices and to locale LC_IDENTIFICATION
46067         addresses, except for this one:
46068         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46069         not its snail mail address.
46070
46071 2012-02-09  Richard Henderson  <rth@twiddle.net>
46072
46073         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46074         of kernel-features.h.
46075
46076         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46077
46078 2012-02-08  Marek Polacek  <polacek@redhat.com>
46079
46080         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46081         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46082         * sysdeps/gnu/_G_config.h: Likewise.
46083         * sysdeps/generic/_G_config.h: Likewise.
46084
46085 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46086
46087         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46088         tests.
46089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46090
46091         * sysdeps/powerpc/powerpc32/crti.S: New file.
46092         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46093         * sysdeps/powerpc/powerpc64/crti.S: New file.
46094         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46095
46096         * Makeconfig (have-initfini): Don't set.
46097         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46098         * configure.in (nopic_initfini): Don't substitute.
46099         * config.h.in (HAVE_INITFINI): Don't #undef.
46100         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46101         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46102
46103 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46104
46105         Support crti.S and crtn.S provided directly by architectures.
46106         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46107         [crti.S in sysdirs] (omit-deps): Likewise.
46108         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46109         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46110         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46111         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46112         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46113         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46114         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46115         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46116         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46117         compiler output for sysdeps/generic/initfini.c.
46118         * sysdeps/i386/elf/Makefile: Remove file.
46119         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46120
46121 2012-02-07  Marek Polacek  <polacek@redhat.com>
46122
46123         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46124         * sysdeps/gnu/_G_config.h: Likewise.
46125         * sysdeps/mach/hurd/_G_config.h: Likewise.
46126
46127 2012-02-07  Marek Polacek  <polacek@redhat.com>
46128
46129         * math/Makefile (tests): Add tst-CMPLX2.
46130         * math/tst-CMPLX2.c: New file.
46131
46132 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46133
46134         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46135
46136         * math/libm-test.inc (jn_test): Add missing L suffix.
46137
46138 2012-02-06  Marek Polacek  <polacek@redhat.com>
46139
46140         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46141         * sysdeps/i386/fpu/e_powf.S: Likewise.
46142         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46143         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46144         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46145         * sysdeps/i386/fpu/e_pow.S: Likewise.
46146         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46147         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46148         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46149         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46150         * sysdeps/i386/fpu/e_log2.S: Likewise.
46151         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46152         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46153         * sysdeps/i386/fpu/e_powl.S: Likewise.
46154         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46155         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46156         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46157         * sysdeps/i386/fpu/e_logl.S: Likewise.
46158         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46159         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46160         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46161         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46162         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46163         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46164         * sysdeps/i386/fpu/e_log.S: Likewise.
46165         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46166         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46167         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46168         * sysdeps/i386/fpu/e_logf.S: Likewise.
46169         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46170         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46171         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46172         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46173         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46174         * sysdeps/i386/fpu/e_log10.S: Likewise.
46175         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46176         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46177         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46178         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46179         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46180         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46181         * sysdeps/i386/asm-syntax.h: Likewise.
46182         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46183         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46184         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
46185         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
46186         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
46187         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
46188         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
46189         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
46190         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
46191         * sysdeps/powerpc/sysdep.h: Likewise.
46192         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
46193         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
46194
46195 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46196
46197         [BZ #411]
46198         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
46199
46200 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
46201
46202         * sysdeps/i386/sysdep.h: Include <features.h>.
46203         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
46204         version.
46205
46206 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
46207
46208         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
46209         Define.
46210         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
46211         LOAD_PIC_REG_STR.
46212
46213 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46214
46215         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
46216         (SETUP_PIC_REG): Use GET_PC_THUNK.
46217         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
46218         macro.
46219
46220 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46221
46222         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
46223         for non-PIC compilation.
46224         (SETUP_PIC_REG): Add .p2align directive.
46225         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
46226         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
46227         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46228         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46229         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46230         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46231         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
46232         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
46233         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46234         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46235         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46236         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46237         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46238         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46239         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46240         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46241         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46242         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46243         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46244         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46245         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46246         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46247         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46248         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46249         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46251         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46252         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46253         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46254         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46255         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46256         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46257         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46258         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46259         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46260         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46261         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46262         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46263         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46264         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46265         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46266
46267 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
46268
46269         * math/tst-CMPLX.c: Include <stdio.h>.
46270
46271 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
46272
46273         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
46274         float.
46275         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46276         * sysdeps/sparc/bits/mathdef.h: Likewise.
46277
46278 2012-01-31  Marek Polacek  <polacek@redhat.com>
46279
46280         * libio/libio.h: Don't define _PARAMS.
46281         * locale/programs/config.h: Don't define PARAMS.
46282         * stdlib/strtol_l.c: Likewise.
46283         (__strtol_l): Remove PARAMS from the prototype.
46284
46285 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
46286
46287         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
46288         names.  Just use the correct names.  Remove unnecessary wrapper
46289         functions.
46290         * malloc/arena.c: Likewise.
46291         * malloc/hooks.c: Likewise.
46292
46293         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
46294         ARENA_TEST says not to.  Simplify test for creation of a new arena.
46295         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
46296
46297 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
46298
46299         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
46300         into tail calls.
46301         (update_get_addr): New function.
46302         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
46303         GET_ADDR_MODULE parameter.
46304
46305 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46306
46307         * crypt/cert.c: Remove __STDC__ conditionals.
46308         * crypt/crypt-entry.c: Likewise.
46309         * crypt/crypt_util.c: Likewise.
46310         * libio/filedoalloc.c: Likewise.
46311         * libio/fileops.c: Likewise.
46312         * libio/genops.c: Likewise.
46313         * libio/iofclose.c: Likewise.
46314         * libio/iofdopen.c: Likewise.
46315         * libio/iofopen.c: Likewise.
46316         * libio/iofopen64.c: Likewise.
46317         * libio/iogetdelim.c: Likewise.
46318         * libio/iopopen.c: Likewise.
46319         * libio/obprintf.c: Likewise.
46320         * libio/oldfileops.c: Likewise.
46321         * libio/oldiofclose.c: Likewise.
46322         * libio/oldiofdopen.c: Likewise.
46323         * libio/oldiofopen.c: Likewise.
46324         * libio/oldiopopen.c: Likewise.
46325         * libio/wfiledoalloc.c: Likewise.
46326         * libio/wgenops.c: Likewise.
46327         * locale/programs/xmalloc.c: Likewise.
46328         * misc/syslog.c: Likewise.
46329         * stdio-common/xbug.c: Likewise.
46330         * string/memchr.c: Likewise.
46331         * string/memcmp.c: Likewise.
46332         * string/memrchr.c: Likewise.
46333         * string/rawmemchr.c: Likewise.
46334         * sysdeps/posix/getcwd.c: Likewise.
46335         * time/strftime_l.c: Likewise.
46336
46337 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
46338
46339         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
46340         * config.make.in (config-cflags-sse2avx): Define.
46341         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
46342         Fix typo.
46343
46344 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
46345
46346         * scripts/config.guess: Update from upstream config git repository.
46347         * scripts/config.sub: Likewise.
46348
46349 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
46350
46351         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
46352         (EM_NUM): Update.
46353         (R_TILEPRO_*, R_TILEGX_*): New macros.
46354
46355         * scripts/firstversions.awk: Fix bug in version range handling.
46356
46357         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
46358
46359         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
46360
46361         * include/sys/epoll.h: New file.
46362         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
46363         libc_hidden_def.
46364
46365 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
46366
46367         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
46368         Avoid unnecessary __WORDSIZE == 64 test.
46369         (fmaxf): Use VEX format if possible.
46370         (fmax): Likewise.
46371         (fminf): Likewise.
46372         (fmin): Likewise.
46373
46374         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
46375         * math/math_private.h: Remove libc_fegetround* and
46376         libc_fesetround*.
46377         * sysdeps/i386/configure.in: Check for -msse2avx.
46378         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
46379         also if SSE2AVX is defined.
46380         Remove libc_fegetround* and libc_fesetround*.
46381         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
46382         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
46383         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
46384         of HAS_YMM_USABLE.
46385         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46386         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46387         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46388         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46389         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46390
46391         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
46392
46393 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46394
46395         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
46396         size is not set.
46397         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46398
46399 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
46400
46401         [BZ #13618]
46402         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
46403         relocation.
46404         * Makeconfig (libm): Define.
46405         * elf/Makefile: Add rules to build and run tst-relsort1.
46406         * elf/tst-relsort1.c: New file.
46407         * elf/tst-relsort1mod1.c: New file.
46408         * elf/tst-relsort1mod2.c: New file.
46409
46410 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
46411
46412         * math/s_ldexp.c: Remove __STDC__ conditionals.
46413         * math/s_ldexpf.c: Likewise.
46414         * math/s_ldexpl.c: Likewise.
46415         * math/s_nextafter.c: Likewise.
46416         * math/s_nexttowardf.c: Likewise.
46417         * math/s_significand.c: Likewise.
46418         * math/s_significandf.c: Likewise.
46419         * math/s_significandl.c: Likewise.
46420         * math/w_jnl.c: Likewise.
46421         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46422         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46423         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46424         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46425         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46426         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46427         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
46428         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46429         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46430         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46431         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46432         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46433         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46434         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46435         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46436         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46437         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46438         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46439         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46440         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46441         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46442         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46443         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46444         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46445         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46446         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46447         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46448         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46449         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46450         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46451         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46452         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46453         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46454         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46455         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46456         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46457         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46458         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46459         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46460         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46461         * sysdeps/ieee754/k_standard.c: Likewise.
46462         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46463         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46464         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46465         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46466         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46467         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46468         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46469         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46470         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46471         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46472         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46473         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46474         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46475         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46476         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46477         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46478         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46479         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46480         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46481         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46482         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46483         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46484         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46485         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46486         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46487         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46488         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46489         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46490         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46491         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46492         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46493         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
46494         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46495         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46496         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46497         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46498         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
46499         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46500         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46501         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
46502         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
46503         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46504         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
46505         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
46506         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46507         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46508         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
46509         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46510         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46511         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
46512         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
46513         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46514         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46515         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46516         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46517         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46518         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
46519         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46520         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46521         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46522         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46523         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46524         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46525         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46526         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46527         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46528         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46529         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46530         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46531         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46532         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46533         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46534         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46535         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46536         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46537         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46538         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46539         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46540         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46541         * sysdeps/ieee754/s_matherr.c: Likewise.
46542         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46543         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46544         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46545         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46546
46547 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46548
46549         * crypt/md5.h: Remove __STDC__ conditionals.
46550         * libio/libioP.h: Likewise.
46551         * locale/programs/config.h: Likewise.
46552         * sysdeps/generic/sysdep.h: Likewise.
46553         * sysdeps/i386/asm-syntax.h: Likewise.
46554         * sysdeps/s390/asm-syntax.h: Likewise.
46555         * sysdeps/unix/sysdep.h: Likewise.
46556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46558
46559 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
46560
46561         * libio/libio.h: Remove __STDC__ conditionals.
46562         * malloc/obstack.h: Likewise.
46563         * math/complex.h: Likewise.
46564         * math/math.h: Likewise.
46565         * sysdeps/generic/_G_config.h: Likewise.
46566         * sysdeps/gnu/_G_config.h: Likewise.
46567         * sysdeps/mach/hurd/_G_config.h: Likewise.
46568         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46569         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
46570         * sysdeps/sparc/bits/mathdef.h: Likewise.
46571
46572 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
46573
46574         [BZ #13583]
46575         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
46576         Clean up HAS_* macros.
46577         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
46578         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
46579         possible.
46580         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
46581         HAS_AVX.
46582         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
46583         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
46584         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
46585         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
46586         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
46587
46588 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
46589
46590         * elf/tst-unique3.cc (gets): Remove declaration.
46591         * elf/tst-unique3lib.cc (gets): Likewise.
46592         * elf/tst-unique3lib2.cc (gets): Likewise.
46593         * elf/tst-unique4.cc (gets): Likewise.
46594
46595 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
46596
46597         * include/stdio.h: Add C++ protection.  Add gets declarations and
46598         definitions.
46599         * debug/tst-chk1.c: Don't declare gets here.
46600         * stdio-common/tst-gets.c: Likewise.
46601
46602 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46603
46604         * posix/glob: Remove directory.
46605
46606 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
46607
46608         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
46609
46610 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
46611
46612         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46613         of the non-standard EPFNOSUPPORT.
46614
46615 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46616
46617         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46618         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46619         ANYWHERE set to 1 only on KERN_NO_SPACE error.
46620
46621 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
46622
46623         * wcsmbs/uchar.h: Test __STDC_VERSION__.
46624
46625 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
46626
46627         * nscd/aicache.c (addhstaiX): Do not cache negative results of
46628         transient errors.
46629         * nscd/grpcache.c (cache_addgr): Likewise.
46630         * nscd/hstcache.c (cache_addhst): Likewise.
46631         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46632         * nscd/pwdcache.c (cache_addpw): Likewise.
46633         * nscd/servicescache.c (cache_addserv): Likewise.
46634
46635 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
46636
46637         * malloc/malloc.c: Various cleanups.
46638         * malloc/hooks.c: Likewise.
46639
46640         * stdlib/Makefile (tests): Add bug-fmtmsg1.
46641         * stdlib/bug-fmtmsg1.c: New file.
46642
46643         * stdlib/fmtmsg.c (init): Add missing unlock.
46644         Patch by Peng Haitao <penght@cn.fujitsu.com>.
46645
46646 2012-01-12  Marek Polacek  <polacek@redhat.com>
46647
46648         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46649         and _GNU_SOURCE.
46650
46651 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46652
46653         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46654         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46655         macro to ensure uniqueness of label name.
46656         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46657         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46658
46659 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
46660
46661         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46662
46663         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46664         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46665         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46666         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46667
46668 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
46669
46670         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46671
46672         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46673         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46674         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46675
46676         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46677
46678         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46679         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46680         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46681         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46682
46683         * math/bits/math-finite.h: Add ldexp support.
46684
46685 2012-01-10  Marek Polacek  <polacek@redhat.com>
46686
46687         * locale/programs/localedef.h (show_archive_content): Add noreturn
46688         attribute.
46689
46690 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
46691
46692         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46693
46694 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46695
46696         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46697
46698         * io/Makefile (headers): Add bits/poll2.h.
46699
46700 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46701
46702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46703         typo #include statement.
46704
46705 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46706
46707         * include/sys/cdefs.h: Define __attribute_alloc_size.
46708         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46709         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46710         * elf/pldd.c: Likewise.
46711         * iconv/iconv_charmap.c: Likewise.
46712         * iconv/iconvconfig.c: Likewise.
46713         * iconv/strtab.c: Likewise.
46714         * locale/programs/locale.c: Likewise.
46715         * locale/programs/localedef.h: Likewise.
46716         * locale/programs/simple-hash.c: Likewise.
46717         * nscd/nscd.h: Likewise.
46718         * nss/makedb.c: Likewise.
46719         * sysdeps/generic/ldconfig.h: Likewise.
46720         * locale/programs/localedef.c: Remove xmalloc prototype.
46721         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46722
46723 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46724
46725         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46726         appropriate.
46727
46728 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46729
46730         * math/Makefile (tests): Add tst-CMPLX.
46731         * math/tst-CMPLX.c: New file.
46732
46733         * math/complex.h (CMPLXL): Fix typo.
46734
46735         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46736         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46737         GLIBC_2.16.
46738         * debug/tst-chk1.c: Add poll and ppoll tests.
46739         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46740         * include/sys/poll.h: Add hidden proto for ppoll.
46741         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46742         * sysdeps/mach/hurd/ppoll.c: Likewise.
46743         * io/ppoll.c: Likewise.
46744         * debug/poll_chk.c: New file.
46745         * debug/ppoll_chk.c: New file.
46746         * include/bits/poll2.h: New file.
46747         * io/bits/poll2.h: New file.
46748
46749         [BZ #1350]
46750         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46751
46752         * configure.in: static is always set to yes.  Remove.
46753         * config.make.in: Don't set build-static.
46754         * Makeconfig: Remove use of build-static.
46755         * dlfcn/Makefile: Likewise.
46756         * elf/Makefile: Likewise.
46757         * math/Makefile: Likewise.
46758         * misc/Makefile: Likewise.
46759         * nptl/Makefile: Likewise.
46760         * sysdeps/mach/hurd/Makefile: Likewise.
46761
46762         * configure.in: PWD_P is not used anymore.
46763         * config.make.in: Remove PWD_P entry.
46764
46765         * configure.in: Remove last remnants of RANLIB.
46766         No need to check for signed size_t anymore.
46767         Don't set libc_commonpagesize and libc_relro_required here for Alpha
46768         and IA-64.
46769         Remove __builtin_expect test because we require at least gcc 3.4.
46770         * aclocal.m4: Likewise.
46771
46772         * wcsmbs/mbrtoc16.c: Implement using towc function.
46773         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46774         * wcsmbs/wcsmbsload.c: Likewise.
46775         * iconv/gconv_simple.c: Likewise.
46776         * iconv/gconv_int.h: Likewise.
46777         * iconv/gconv_builtin.h: Likewise.
46778         * iconv/iconv_prog.c: Remove CHAR16 handling.
46779
46780         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46781
46782         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46783
46784         * configure.in: Remove --with-elf and --enable-bounded options.
46785         Dont set base_machine for ia64.  More non-ELF conditions removed.
46786         Remove testing and setting of leading underscore information.
46787         * config.make.in (build-bounded): Set to no.
46788         * config.h.in: Remove NO_UNDERSCORES entry.
46789         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
46790         them.
46791         * csu/start.c: Remove !NO_UNDERSCORE code.
46792         * locale/localeinfo.h: Likewise.
46793         * sysdeps/generic/machine-gmon.h: Likewise.
46794         * sysdeps/generic/sysdep.h: Likewise.
46795         * sysdeps/i386/sysdep.h: Likewise.
46796         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46797         * sysdeps/mach/sysdep.h: Likewise.
46798         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46799         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46800         * sysdeps/sh/sysdep.h: Likewise.
46801         * sysdeps/sparc/sparc32/alloca.S: Likewise.
46802         * sysdeps/unix/i386/sysdep.S: Likewise.
46803         * sysdeps/unix/sparc/start.c: Likewise.
46804         * sysdeps/unix/sparc/sysdep.S: Likewise.
46805         * sysdeps/unix/sparc/sysdep.h: Likewise.
46806         * sysdeps/unix/start.c: Likewise.
46807         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46808         * sysdeps/x86_64/sysdep.h: Likewise.
46809
46810 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
46811
46812         [BZ #13553]
46813         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46814         for non-gcc.
46815         * argp/argp-fmtstream.h: Use const instead __const.
46816         * argp/argp.h: Likewise.
46817         * assert/assert.h: Likewise.
46818         * bits/fenv.h: Likewise.
46819         * bits/sched.h: Likewise.
46820         * bits/sigset.h: Likewise.
46821         * bits/sigthread.h: Likewise.
46822         * catgets/nl_types.h: Likewise.
46823         * conform/data/pthread.h-data: Likewise.
46824         * crypt/crypt-private.h: Likewise.
46825         * crypt/crypt.h: Likewise.
46826         * crypt/crypt_util.c: Likewise.
46827         * ctype/ctype.h: Likewise.
46828         * debug/execinfo.h: Likewise.
46829         * debug/mbsnrtowcs_chk.c: Likewise.
46830         * debug/mbsrtowcs_chk.c: Likewise.
46831         * debug/wcsnrtombs_chk.c: Likewise.
46832         * debug/wcsrtombs_chk.c: Likewise.
46833         * debug/wcstombs_chk.c: Likewise.
46834         * dirent/dirent.h: Likewise.
46835         * dlfcn/dlfcn.h: Likewise.
46836         * elf/neededtest4.c: Likewise.
46837         * grp/grp.h: Likewise.
46838         * gshadow/gshadow.h: Likewise.
46839         * iconv/gconv.h: Likewise.
46840         * iconv/gconv_int.h: Likewise.
46841         * iconv/gconv_simple.c: Likewise.
46842         * iconv/iconv.h: Likewise.
46843         * iconv/loop.c: Likewise.
46844         * iconv/skeleton.c: Likewise.
46845         * include/aio.h: Likewise.
46846         * include/aliases.h: Likewise.
46847         * include/argz.h: Likewise.
46848         * include/arpa/inet.h: Likewise.
46849         * include/assert.h: Likewise.
46850         * include/dirent.h: Likewise.
46851         * include/dlfcn.h: Likewise.
46852         * include/execinfo.h: Likewise.
46853         * include/fcntl.h: Likewise.
46854         * include/fenv.h: Likewise.
46855         * include/glob.h: Likewise.
46856         * include/grp.h: Likewise.
46857         * include/libintl.h: Likewise.
46858         * include/mntent.h: Likewise.
46859         * include/netdb.h: Likewise.
46860         * include/pwd.h: Likewise.
46861         * include/rpc/netdb.h: Likewise.
46862         * include/sched.h: Likewise.
46863         * include/search.h: Likewise.
46864         * include/shadow.h: Likewise.
46865         * include/signal.h: Likewise.
46866         * include/stdio.h: Likewise.
46867         * include/stdlib.h: Likewise.
46868         * include/string.h: Likewise.
46869         * include/sys/socket.h: Likewise.
46870         * include/sys/stat.h: Likewise.
46871         * include/sys/statfs.h: Likewise.
46872         * include/sys/statvfs.h: Likewise.
46873         * include/sys/syslog.h: Likewise.
46874         * include/sys/time.h: Likewise.
46875         * include/sys/uio.h: Likewise.
46876         * include/time.h: Likewise.
46877         * include/unistd.h: Likewise.
46878         * include/utmp.h: Likewise.
46879         * include/wchar.h: Likewise.
46880         * include/wctype.h: Likewise.
46881         * inet/aliases.h: Likewise.
46882         * inet/arpa/inet.h: Likewise.
46883         * inet/netinet/ether.h: Likewise.
46884         * inet/netinet/in.h: Likewise.
46885         * intl/libintl.h: Likewise.
46886         * io/bits/fcntl2.h: Likewise.
46887         * io/fcntl.h: Likewise.
46888         * io/ftw.h: Likewise.
46889         * io/sys/poll.h: Likewise.
46890         * io/sys/stat.h: Likewise.
46891         * io/sys/statfs.h: Likewise.
46892         * io/sys/statvfs.h: Likewise.
46893         * io/utime.h: Likewise.
46894         * libio/bits/stdio.h: Likewise.
46895         * libio/bits/stdio2.h: Likewise.
46896         * libio/libio.h: Likewise.
46897         * libio/libioP.h: Likewise.
46898         * libio/stdio.h: Likewise.
46899         * locale/lc-ctype.c: Likewise.
46900         * locale/locale.h: Likewise.
46901         * login/utmp.h: Likewise.
46902         * malloc/arena.c: Likewise.
46903         * malloc/malloc.c: Likewise.
46904         * malloc/malloc.h: Likewise.
46905         * malloc/mcheck.c: Likewise.
46906         * malloc/mtrace.c: Likewise.
46907         * math/bits/mathcalls.h: Likewise.
46908         * math/fenv.h: Likewise.
46909         * math/math_private.h: Likewise.
46910         * misc/bits/error.h: Likewise.
46911         * misc/bits/syslog.h: Likewise.
46912         * misc/err.h: Likewise.
46913         * misc/error.h: Likewise.
46914         * misc/fstab.h: Likewise.
46915         * misc/mntent.h: Likewise.
46916         * misc/regexp.h: Likewise.
46917         * misc/search.h: Likewise.
46918         * misc/sgtty.h: Likewise.
46919         * misc/sys/mman.h: Likewise.
46920         * misc/sys/syslog.h: Likewise.
46921         * misc/sys/uio.h: Likewise.
46922         * misc/sys/xattr.h: Likewise.
46923         * misc/ttyent.h: Likewise.
46924         * nis/rpcsvc/ypclnt.h: Likewise.
46925         * nss/nss.h: Likewise.
46926         * posix/bits/unistd.h: Likewise.
46927         * posix/fnmatch.h: Likewise.
46928         * posix/glob.h: Likewise.
46929         * posix/sched.h: Likewise.
46930         * posix/spawn.h: Likewise.
46931         * posix/sys/wait.h: Likewise.
46932         * posix/unistd.h: Likewise.
46933         * posix/wordexp.h: Likewise.
46934         * pwd/pwd.h: Likewise.
46935         * resolv/netdb.h: Likewise.
46936         * resource/sys/resource.h: Likewise.
46937         * rt/aio.h: Likewise.
46938         * rt/bits/mqueue2.h: Likewise.
46939         * rt/mqueue.h: Likewise.
46940         * shadow/shadow.h: Likewise.
46941         * signal/signal.h: Likewise.
46942         * socket/send.c: Likewise.
46943         * socket/sendto.c: Likewise.
46944         * socket/sys/socket.h: Likewise.
46945         * stdio-common/printf.h: Likewise.
46946         * stdlib/bits/stdlib.h: Likewise.
46947         * stdlib/fmtmsg.h: Likewise.
46948         * stdlib/monetary.h: Likewise.
46949         * stdlib/stdlib.h: Likewise.
46950         * stdlib/ucontext.h: Likewise.
46951         * streams/stropts.h: Likewise.
46952         * string/argz.h: Likewise.
46953         * string/bits/string2.h: Likewise.
46954         * string/string.h: Likewise.
46955         * string/strings.h: Likewise.
46956         * sunrpc/rpc/auth.h: Likewise.
46957         * sunrpc/rpc/auth_des.h: Likewise.
46958         * sunrpc/rpc/clnt.h: Likewise.
46959         * sunrpc/rpc/netdb.h: Likewise.
46960         * sunrpc/rpc/pmap_clnt.h: Likewise.
46961         * sunrpc/rpc/xdr.h: Likewise.
46962         * sysdeps/generic/inttypes.h: Likewise.
46963         * sysdeps/generic/net/if.h: Likewise.
46964         * sysdeps/generic/sys/swap.h: Likewise.
46965         * sysdeps/gnu/net/if.h: Likewise.
46966         * sysdeps/gnu/utmpx.h: Likewise.
46967         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46968         * sysdeps/i386/i486/bits/string.h: Likewise.
46969         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46970         * sysdeps/s390/bits/string.h: Likewise.
46971         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46972         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46973         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46974         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46975         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46976         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46977         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46978         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46979         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46980         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46981         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46982         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46983         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46984         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46985         * sysdeps/unix/sysv/linux/readv.c: Likewise.
46986         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46987         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46988         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46989         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46990         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46991         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46992         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46993         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46994         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46995         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46996         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46997         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46998         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46999         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47000         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47001         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47002         * sysvipc/sys/ipc.h: Likewise.
47003         * sysvipc/sys/msg.h: Likewise.
47004         * sysvipc/sys/sem.h: Likewise.
47005         * sysvipc/sys/shm.h: Likewise.
47006         * termios/termios.h: Likewise.
47007         * time/sys/time.h: Likewise.
47008         * time/time.h: Likewise.
47009         * wcsmbs/bits/wchar2.h: Likewise.
47010         * wcsmbs/uchar.h: Likewise.
47011         * wcsmbs/wchar.h: Likewise.
47012         * wctype/wctype.h: Likewise.
47013
47014         [BZ #13551]
47015         * Makeconfig: Remove all but ELF support including AIX support.
47016         * Makerules: Likewise.
47017         * config.h.in: Likewise.
47018         * config.make.in: Likewise.
47019         * configure: Likewise.
47020         * configure.in: Likewise.
47021         * csu/Makefile: Likewise.
47022         * csu/version.c: Likewise.
47023         * debug/Makefile: Likewise.
47024         * dlfcn/Makefile: Likewise.
47025         * elf/Makefile: Likewise.
47026         * extra-lib.mk: Likewise.
47027         * iconv/Makefile: Likewise.
47028         * include/libc-symbols.h: Likewise.
47029         * include/shlib-compat.h: Likewise.
47030         * resolv/Makefile: Likewise.
47031         * resolv/res_libc.c: Likewise.
47032         * rt/Makefile: Likewise.
47033         * sysdeps/i386/asm-syntax.h: Likewise.
47034         * sysdeps/i386/sysdep.h: Likewise.
47035         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47036         * sysdeps/mach/sysdep.h: Likewise.
47037         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47038         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47039         * sysdeps/s390/asm-syntax.h: Likewise.
47040         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47041         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47042         * sysdeps/sh/sysdep.h: Likewise.
47043         * sysdeps/unix/sparc/sysdep.h: Likewise.
47044         * sysdeps/wordsize-32/divdi3.c: Likewise.
47045         * sysdeps/x86_64/sysdep.h: Likewise.
47046
47047         * argp/Versions: Remove _argp_unlock_xxx.
47048
47049         [BZ #13559]
47050         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47051         * abilist/libBrokenLocale.abilist: Likewise.
47052         * abilist/libanl.abilist: Likewise.
47053         * abilist/libc.abilist: Likewise.
47054         * abilist/libcrypt.abilist: Likewise.
47055         * abilist/libdl.abilist: Likewise.
47056         * abilist/libm.abilist: Likewise.
47057         * abilist/libnsl.abilist: Likewise.
47058         * abilist/libpthread.abilist: Likewise.
47059         * abilist/libresolv.abilist: Likewise.
47060         * abilist/librt.abilist: Likewise.
47061         * abilist/libthread_db.abilist: Likewise.
47062         * abilist/libutil.abilist: Likewise.
47063         * abilist/libnss_db.abilist: New file.
47064
47065         * scripts/abilist.awk: Add support for indirect functions.
47066
47067         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47068
47069         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47070
47071         * shlib-versions: Remove entries for ports architectures.
47072
47073         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47074         files in ports.
47075         * elf/stackguard-macros.h: Remove support for IA-64.
47076         * elf/tst-auditmod1.c: Likewise.
47077         * sysdeps/generic/ldsodefs.h: Likewise.
47078
47079         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47080         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47081         configure files.
47082
47083         [BZ #13552]
47084         * configure.in: Remove --enable-omitfp support.
47085         * FAQ.in: Adjust.
47086         * config.make.in: Likewise.
47087         * Makeconfig: Likewise.
47088         * manual/install.texi: Likewise.
47089
47090         In case anyone cares, the IA-64 architecture could move to ports.
47091         * sysdeps/ia64/*: Removed.
47092         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47093         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47094
47095         [BZ #13555]
47096         * configure.in: Remove entries for unsupported architectures.
47097
47098         [BZ #13533]
47099         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47100         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47101         routines.
47102         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47103         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47104         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47105         fall back to using wcrtomb.
47106         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47107         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47108         renaming.
47109         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47110         * wcsmbs/tst-c16c32-1.c: New file.
47111
47112         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47113         local variable.
47114
47115         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47116
47117         * elf/tst-unique3.cc: Add explicit declaration of gets.
47118         * elf/tst-unique3lib.cc: Likewise.
47119         * elf/tst-unique3lib2.cc: Likewise.
47120         * elf/tst-unique4.cc: Likewise.
47121
47122         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47123
47124 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47125
47126         [BZ #13566]
47127         * assert/assert.h (static_assert): Don't define for C++.
47128         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47129         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47130
47131 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47132
47133         * iconv/loop.c (single loop): Fix assertion in storing of
47134         remaining bytes.
47135
47136         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47137
47138 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47139
47140         * posix/getconf.c: Update copyright year.
47141         * nss/getent.c: Likewise.
47142         * nss/makedb.c: Likewise.
47143         * iconv/iconvconfig.c: Likewise.
47144         * iconv/iconv_prog.c: Likewise.
47145         * elf/ldconfig.c: Likewise.
47146         * elf/pldd.c: Likewise.
47147         * elf/sotruss.ksh: Likewise.
47148         * catgets/gencat.c: Likewise.
47149         * csu/version.c: Likewise.
47150         * elf/ldd.bash.in: Likewise.
47151         * elf/sprof.c (print_version): Likewise.
47152         * locale/programs/locale.c: Likewise.
47153         * locale/programs/localedef.c: Likewise.
47154         * login/programs/pt_chown.c: Likewise.
47155         * nscd/nscd.c (print_version): Likewise.
47156         * debug/xtrace.sh: Likewise.
47157         * malloc/memusage.sh: Likewise.
47158         * malloc/mtrace.pl: Likewise.
47159         * debug/catchsegv.sh: Likewise.
47160
47161 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47162
47163         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47164         pure attribute.
47165
47166 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47167
47168         [BZ #13533]
47169         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47170         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47171         transformations.
47172         * iconv/gconv_int.h: Likewise.
47173         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47174         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47175         from libc for GLIBC_2.16.
47176         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47177         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47178         * wcsmbs/uchar.h: Really define mbstate_t.
47179         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47180         * wcsmbs/c16rtomb.c: New file.
47181         * wcsmbs/mbrtoc16.c: New file.
47182         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47183         for C/POSIX locale.
47184         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
47185         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
47186
47187         * wcsmbs/wchar.h: Add missing __restrict.
47188
47189 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47190
47191         [BZ #13532]
47192         * time/Makefile (routines): Add timespec_get.
47193         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
47194         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
47195         timespec for ISO C11.
47196         * time/timespec_get.c: New file.
47197         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
47198         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
47199
47200         [BZ #13531]
47201         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
47202         * stdlib/stdlib.h: Declare aligned_alloc.
47203         * Versions.def: Add GLIBC_2.16 for libc.
47204         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
47205
47206         [BZ 13527]
47207         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
47208         ISO C11.
47209
47210         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
47211         code.
47212
47213         [BZ #13528]
47214         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
47215
47216         [BZ #13529]
47217         * assert/assert.h (static_assert): Define.
47218
47219         * version.h: Update for 2.16 development version.
47220
47221         [BZ #13526]
47222         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
47223         _ISOC11_SOURCE.
47224
47225         * version.h (RELEASE): Bump for 2.15 release.
47226         * include/features.h (__GLIBC_MINOR__): Bump to 15.
47227
47228         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
47229         Patch by Marek Polacek <mpolacek@redhat.com>.
47230
47231         * bits/byteswap.h: Protect long long constants with __extension__.
47232         * sysdeps/i386/bits/byteswap.h: Likewise.
47233         * sysdeps/ia64/bits/byteswap.h: Likewise.
47234         * sysdeps/s390/bits/byteswap.h: Likewise.
47235         * sysdeps/x86_64/bits/byteswap.h: Likewise.
47236
47237 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47238
47239         [BZ #13540]
47240         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
47241         destination buffer.
47242         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
47243
47244 2011-12-23  Marek Polacek  <polacek@redhat.com>
47245
47246         * elf/dl-addr.c (determine_info): Add inline keyword.
47247         * elf/tst-auditmod4b.c (check_avx): Likewise.
47248         * elf/tst-auditmod6b.c (check_avx): Likewise.
47249         * elf/tst-auditmod6c.c (check_avx): Likewise.
47250         * elf/tst-auditmod7b.c (check_avx): Likewise.
47251
47252 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
47253
47254         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
47255         !__SSE_MATH__.
47256
47257 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47258
47259         [BZ #13540]
47260         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
47261         processing for last bytes.
47262
47263 2011-08-06  Bruno Haible  <bruno@clisp.org>
47264
47265         [BZ #13061]
47266         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
47267         U+0385, not to U+1FEE.
47268
47269         [BZ #13062]
47270         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
47271         entry for U+00A5 U+0301.
47272
47273 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47274
47275         [BZ #13166]
47276         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
47277         buffer for the output is too small.
47278
47279         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
47280         optimization.
47281
47282         [BZ #13185]
47283         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
47284         SSE flags if possible.
47285
47286 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47287
47288         [BZ #13540]
47289         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
47290         processing for last bytes.
47291
47292 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
47293
47294         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
47295         (syscall-list-default-options, syscall-list-default-condition)
47296         (syscall-list-includes): Define.
47297         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
47298         list of ABIs and options and #if conditions for each ABI.  Do not
47299         handle common syscalls between ABIs specially.
47300         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
47301         Remove.
47302         (syscall-list-variants, syscall-list-32bit-options)
47303         (syscall-list-32bit-condition, syscall-list-64bit-options)
47304         (syscall-list-64bit-condition): Define.
47305         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
47306         (syscall-list-variants, syscall-list-32bit-options)
47307         (syscall-list-32bit-condition, syscall-list-64bit-options)
47308         (syscall-list-64bit-condition): Define.
47309         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
47310         Remove.
47311         (syscall-list-variants, syscall-list-32bit-options)
47312         (syscall-list-32bit-condition, syscall-list-64bit-options)
47313         (syscall-list-64bit-condition): Define.
47314         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
47315         Remove.
47316         (syscall-list-variants, syscall-list-32bit-options)
47317         (syscall-list-32bit-condition, syscall-list-64bit-options)
47318         (syscall-list-64bit-condition): Define.
47319
47320 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
47321
47322         * locale/iso-639.def: Add brx entry.
47323
47324         [BZ #13328]
47325         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
47326         Proposed by Mariusz_Cukr <marcukr@op.pl>.
47327
47328         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
47329         __feraiseexcept_renamed.
47330
47331 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47332
47333         [BZ #13538]
47334         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
47335         EPOLLET with unsigned values.
47336         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47337         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47338
47339         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
47340         to large cancellation.
47341         * math/s_cacoshf.c: Likewise.
47342         * math/s_cacoshl.c: Likewise.
47343
47344 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
47345
47346         [BZ #13305]
47347         [BZ #12786]
47348         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
47349         * math/s_cacoshf.c: Likewise.
47350         * math/s_cacoshl.c: Likewise.
47351
47352 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
47353
47354         [BZ #13439]
47355         * iconv/gconv.h: Define __GCONV_SWAP.
47356         * iconvdata/unicode.c: The swap bit must be stored in __flags.
47357         * iconvdata/utf-16.c: Likewise.
47358         * iconvdata/utf-32.c: Likewise.
47359
47360 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
47361
47362         [BZ #13524]
47363         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
47364         numerator after shifting it by one limb.
47365
47366 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
47367
47368         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
47369         under [__USE_EXTERN_INLINES].
47370
47371 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47372
47373         [BZ #13446]
47374         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
47375
47376 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47377
47378         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
47379         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
47380         optimized code.
47381         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
47382         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
47383         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
47384         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
47385         for strncasecmp/strncasecmp_l compilation.
47386         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
47387         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
47388
47389 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
47390
47391         [BZ #13484]
47392         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
47393         of __asm__.
47394
47395 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
47396
47397         [BZ #13506]
47398         * time/tzfile.c (__tzfile_read): Check values from file header.
47399
47400 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
47401
47402         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
47403         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
47404         * powerpc/powerpc32/dl-start.S: Likewise.
47405         * powerpc/powerpc32/elf/start.S: Likewise.
47406         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47407         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
47408         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
47409         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
47410         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47411         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
47412         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
47413         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
47414         * powerpc/powerpc32/fpu/s_round.S: Likewise.
47415         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47416         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47417         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47418         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
47419         * powerpc/powerpc32/memset.S: Likewise.
47420         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47421         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47422         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47423         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47424         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47425         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
47426         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
47427         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
47428         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
47429         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
47430         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
47431         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47432         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47433
47434 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47435
47436         * math/libm-test.inc: Added more nearbyint tests.
47437         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
47438         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
47439         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
47440         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
47441
47442 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
47443
47444         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
47445         FD_CLOEXEC.
47446
47447 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47448
47449         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
47450         Add wcscpy-ssse3 wcscpy-c.
47451         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
47452         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
47453         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
47454         * sysdeps/x86_64/wcschr.S: New file.
47455         * sysdeps/x86_64/wcsrchr.S: New file.
47456         * string/test-strcmp.c: Remove checking of wcscmp function for
47457         wrong alignments.
47458         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
47459         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
47460         wcsrchr-sse2 wcsrchr-c.
47461         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
47462         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
47463         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
47464         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
47465         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
47466         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
47467         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
47468         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
47469         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
47470         * wcsmbc/wcschr.c (WCSCHR): New macro.
47471
47472 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47473
47474         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
47475         * wcsmbs/test-wcsrchr.c: New file.
47476         * string/test-strrchr.c: Add wcsrchr support.
47477         (WIDE): New macro.
47478         * wcsmbs/test-wcscpy.c: New file.
47479         * string/test-strcpy.c: Add wcscpy support.
47480         (WIDE): New macro.
47481
47482 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
47483
47484         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
47485         the inner loop.
47486
47487 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
47488
47489         [BZ #13472]
47490         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
47491
47492 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
47493
47494         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
47495         Minor optimizations.
47496
47497         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
47498         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
47499         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
47500
47501 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
47502
47503         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
47504         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
47505         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
47506         for gcc to avoid warnings.
47507         * inet/Makefile (tests): Add tst-checks.
47508         * inet/tst-checks.c: New file.
47509
47510         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
47511         warning.
47512
47513         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
47514         __wmemcmp_sse2.
47515
47516         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
47517         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
47518
47519         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
47520
47521 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
47522
47523         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
47524         problem.
47525
47526         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
47527
47528 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
47529
47530         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
47531         conditional on GCC version.
47532         (__arch_compare_and_exchange_val_8_acq)
47533         (__arch_compare_and_exchange_val_16_acq)
47534         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
47535         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
47536         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
47537
47538 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
47539
47540         * sysdeps/sh/backtrace.c: New file.
47541
47542 2011-12-02  Andreas Schwab  <schwab@redhat.com>
47543
47544         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
47545         parenthesis.
47546
47547 2011-12-01  Andreas Schwab  <schwab@redhat.com>
47548
47549         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
47550         falling back to utime.
47551
47552 2011-11-30  Andreas Schwab  <schwab@redhat.com>
47553
47554         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
47555         expectations for float.
47556
47557 2011-11-29  Andreas Schwab  <schwab@redhat.com>
47558
47559         * locale/weight.h (findidx): Add parameter len.
47560         * locale/weightwc.h (findidx): Likewise.
47561         * posix/fnmatch_loop.c (FCT): Adjust caller.
47562         * posix/regcomp.c (build_equiv_class): Likewise.
47563         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
47564         * posix/regexec.c (check_node_accept_bytes): Likewise.
47565         * string/strcoll_l.c (STRCOLL): Likewise.
47566         * string/strxfrm_l.c (STRXFRM): Likewise.
47567
47568 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
47569
47570         * Makefile.in: Remove CVSOPT handling.
47571         * configure.in: Remove use of AC_REVISION.
47572         * iconvdata/Makefile (distribute): No need to filter out CVS.
47573         * scripts/list-sources.sh: Remove CVS, subversion and monotone
47574         handling.
47575
47576 2011-11-16  Andreas Schwab  <schwab@redhat.com>
47577
47578         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
47579         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
47580         [USE_AS_STRNCASECMP_L]: Likewise.
47581         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
47582         NO_TLS_DIRECT_SEG_REFS.
47583         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
47584         Fix argument offsets for non-PIC.
47585         [USE_AS_STRNCASECMP_L]: Likewise.
47586         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
47587         NO_TLS_DIRECT_SEG_REFS.
47588
47589 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47590
47591         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
47592         O_CLOEXEC.
47593         * locale/loadlocale.c (_nl_load_locale): Likewise.
47594
47595 2011-11-15  Andreas Schwab  <schwab@redhat.com>
47596
47597         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
47598         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
47599         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
47600         (SYSCALL_GETTIME): Set errno on error.
47601
47602         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
47603         count references to noai6ai_cached.
47604
47605 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
47606
47607         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
47608
47609         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
47610         FD_CLOEXEC for /proc/self/maps.
47611
47612         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47613         FD_CLOEXEC for /proc/meminfo.
47614
47615         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47616         gai.conf.
47617
47618         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
47619         FD_CLOEXEC for given file.
47620
47621         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47622
47623         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47624         FD_CLOEXEC for /etc/hosts.
47625         (_gethtent): Likewise.
47626
47627         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47628
47629         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47630         cancellation and set FD_CLOEXEC for /etc/netgroup.
47631
47632         * nss/nss_files/files-key.c (search): Don't allow cancellation when
47633         reading /etc/publickey.
47634
47635         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47636         allow cancellation when reading /etc/group.
47637
47638         * nss/nss_files/files-alias.c (internal_setent): Don't allow
47639         cancellation.
47640         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
47641
47642         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47643         when using data file.
47644
47645         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47646
47647         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47648         (write_nis_obj): Use "c" and "e" in fopen.
47649
47650         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47651
47652         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47653
47654         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47655
47656         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47657
47658         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47659         locale.alias.
47660
47661         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47662
47663         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47664
47665         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47666
47667         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47668         file parsing and set FD_CLOEXEC.
47669
47670 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47671
47672         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47673
47674 2011-11-14  Andreas Schwab  <schwab@redhat.com>
47675
47676         * malloc/arena.c (arena_get2): Don't call reused_arena when
47677         _int_new_arena failed.
47678
47679 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47680
47681         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47682         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47683         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47684         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47685         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47686         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47687         to compile strcasecmp and strncasecmp.
47688         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47689         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47690
47691         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47692
47693 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
47694
47695         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47696         locale-defines.sym to gen-as-const-headers.
47697         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47698         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47699         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47700         to compile strcasecmp and strncasecmp.
47701         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47702         strcasecmp_l and strncasecmp_l.
47703         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47704         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47705         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47706         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47707         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47708         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47709         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47710         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47711         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47712         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47713         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47714
47715 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47716
47717         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47718         result of SYSDEP_GETTIME_CPU to retval.
47719         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47720         parameter list to macro.  Remove trailing semicolon.  Adjust users.
47721
47722         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47723         variable.
47724
47725         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47726         mantissa words.
47727         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47728
47729         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47730         from unused variable.
47731
47732         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47733         DWARF definitions.
47734         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47735         for assembling.
47736
47737         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47738         over namespaces.
47739
47740         * sunrpc/rpc_prot.c (rejected): Fix case value.
47741
47742         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47743         unsigned long long int to avoid warnings in shift.
47744
47745         * posix/regex_internal.c (re_string_reconstruct): Actually use result
47746         of use of trans.
47747         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47748         variable tmp.
47749
47750         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47751         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47752         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47753
47754         * nis/nis_table.c (nis_list): Use variable of correct type for
47755         result of __follow_path call.
47756
47757 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47758
47759         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47760         of math functions ceil, trunc, floor, round, and sqrt, when
47761         avaliable on the platform.
47762         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47763         name clash.
47764         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47765         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47766         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47767
47768 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
47769
47770         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47771         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47772
47773 2011-11-11  Roland McGrath  <roland@hack.frob.com>
47774
47775         * include/unistd.h: Fix __readlink return type.
47776         Reported by Chris Metcalf <cmetcalf@tilera.com>.
47777
47778 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
47779
47780         * stdlib/ucontext.h: Undo last change for makecontext.
47781
47782 2011-11-11  Andreas Schwab  <schwab@redhat.com>
47783
47784         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47785
47786         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47787         * setjmp/setjmp.h: Mark functions as non-leaf.
47788         * setjmp/bits/setjmp2.h: Likewise.
47789         * stdlib/ucontext.h: Likewise.
47790
47791 2011-11-10  Andreas Schwab  <schwab@redhat.com>
47792
47793         * malloc/arena.c (_int_new_arena): Don't increment narenas.
47794         (reused_arena): Don't check arena limit.
47795         (arena_get2): Atomically check arena limit.
47796
47797 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
47798
47799         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47800         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47801
47802         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47803         instructions.
47804
47805 2011-11-07  Andreas Schwab  <schwab@redhat.com>
47806
47807         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47808         handler when locking.
47809
47810         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47811         Fix size of allocated buffer.
47812
47813 2011-11-04  Andreas Schwab  <schwab@redhat.com>
47814
47815         [BZ #10103]
47816         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47817         declarations for long double functions.
47818         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47819
47820         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47821
47822 2011-11-03  Andreas Schwab  <schwab@redhat.com>
47823
47824         * nscd/nscd.c (main): Don't start AVC thread until credentials are
47825         installed.
47826
47827         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47828         is disabled.
47829
47830 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47831
47832         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47833
47834 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47835
47836         * include/alloca.h (stackinfo_alloca_round): Define.
47837         (extend_alloca): Use it.
47838         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47839         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47840         here.
47841
47842         * scripts/check-local-headers.sh: Ignore libaudit.h.
47843
47844         * nscd/Makefile (extra-objs): Make recursively expanded.
47845
47846 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
47847
47848         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47849         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47850
47851         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47852         * posix/tst-rfc3484-2.c: Likewise.
47853         * posix/tst-rfc3484-3.c: Likewise.
47854
47855         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47856         process_vm_writev.
47857         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47858         process_vm_writev.
47859         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47860         process_vm_writev from libc using GLIBC_2.15 version.
47861
47862         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47863
47864 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
47865
47866         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47867         stack usage.
47868
47869 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
47870
47871         [BZ #13367]
47872         * nss/getent.c (initgroups_keys): Show error message in case no group
47873         names are given.
47874
47875         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47876         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47877         __bump_nl_timestamp.
47878         * nscd/connections (nscd_init): When host database is served open
47879         netlink socket and request notification about configuration changes.
47880         (main_loop_poll): Track netlink file descriptor and bump timestamp
47881         in case data becomes available.
47882         (main_loop_epoll): Likewise.
47883         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47884         (database_pers_head): Add extra_data fileds.
47885         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47886         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47887         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47888         Adjust caller.
47889         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47890         in6ai data, call __free_in6ai.
47891         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47892         Add -DHAVE_NETLINK.
47893         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
47894         interface information.  Reuse previous data if netlink timestamp
47895         is not changed.
47896         (__bump_nl_timestamp): New function.
47897         (__free_in6ai): New function.
47898
47899 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
47900
47901         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47902         close_not_cancel_no_status here.
47903         (__check_pf): Reorganize code a bit to not call close twice if OOM.
47904
47905 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47906
47907         [BZ #13276]
47908         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47909         return value.
47910
47911         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47912         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47913         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47914
47915 2011-07-03  Andreas Jaeger  <aj@suse.de>
47916
47917         [BZ #10709]
47918         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47919         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47920         * math/libm-test.inc (sin_test): Add test case.
47921
47922 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47923
47924         [BZ #13337]
47925         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47926         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47927
47928         * elf/chroot_canon.c (chroot_canon): Cleanups.
47929
47930         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47931
47932         [BZ #13335]
47933         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47934         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47935
47936         * string/test-strchr.c: Make usable for strchrnul testing.
47937         * string/test-strchrnul.c: New file.
47938         * string/Makefile (strop-tests): Add strchrnul.
47939
47940         * po/it.po: Update from translation team.
47941         * po/es.po: Likewise.
47942
47943 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
47944
47945         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47946         the three constants needed as parameters.  Drop the others.
47947         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47948         __m128i_strloadu_tolower.
47949         Create and initialize variable zero and use it in all the places
47950         where _mm_setzero_si128 was used.
47951
47952         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47953         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47954         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47955         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47956         anymore.
47957         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47958         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47959         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47960         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47961         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47962         __mpranred, __mptan.
47963         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47964         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47965         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47966         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47967         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47968         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47969         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47970         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47971         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47972
47973 2011-10-28  Andreas Schwab  <schwab@redhat.com>
47974
47975         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47976         redefine if SHARED.
47977         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47978
47979         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47980         wide char related routines to wcsmbs subdir.
47981
47982 2011-10-27  Andreas Schwab  <schwab@redhat.com>
47983
47984         [BZ #13344]
47985         * misc/sys/cdefs.h (__THROWNL): Define.
47986         * posix/unistd.h: Use __THREADNL instead of __THREAD
47987         for memory synchronization functions.
47988
47989 2011-10-26  Roland McGrath  <roland@hack.frob.com>
47990
47991         [BZ #13349]
47992         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47993         doesn't exist.
47994         * manual/stdio.texi (Obstack Streams): Node removed.
47995
47996 2011-10-26  Andreas Schwab  <schwab@redhat.com>
47997
47998         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47999         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48000         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48001
48002         * math/math_private.h (math_force_eval): Allow non-addressable
48003         arguments.
48004         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48005
48006 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48007
48008         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48009         file is not needed.
48010
48011         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48012         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48013         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48014         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48015         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48016         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48017         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48018         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48019         Add AVX variants.
48020         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48021         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48022         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48023         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48024         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48025         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48026         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48027         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48028         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48029         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48030         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48031         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48032         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48033         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48034         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48035         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48036         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48037         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48038         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48039
48040         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48041         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48042
48043         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48044         place.  Use VEX encoding when compiling for AVX.
48045
48046 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48047
48048         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48049         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48050
48051         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48052
48053 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48054
48055         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48056         useless if() expression.
48057         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48058         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48059         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48060         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48061         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48062         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48063         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48064         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48065         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48066         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48067         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48068         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48069         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48070         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48071         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48072         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48073         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48074         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48075         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48076
48077         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48078
48079 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48080
48081         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48082         condition.
48083         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48084
48085 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48086
48087         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48088         .text section.  Avoid duplicate constants.
48089         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48090         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48091         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48092         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48093         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48094         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48095         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48096         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48097         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48098         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48099         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48100         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48101         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48102         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48103         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48104         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48105         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48106         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48107         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48108         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48109         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48110         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48111         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48112         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48113         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48114         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48115         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48116         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48117         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48118         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48119         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48120         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48121         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48122         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48123         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48124         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48125         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48126         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48127         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48128         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48129         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48130         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48131         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48132         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48133         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48134
48135 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48136
48137         * sysdeps/x86_64/dla.h: Move to ...
48138         * sysdeps/x86_64/fpu/dla.h: ...here.
48139         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48140         situations.  Use __builtin_fma only for gcc 4.6 and up.
48141
48142         * config.make.in: Add have-mfma4 entry.
48143         * configure.in: Substitute libc_cv_cc_fma4.
48144         * math/Makefile (dbl-only-routines): Add sincostab.
48145         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48146         Use __sincostab not sincos.
48147         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48148         name is a macro.
48149         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48150         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48152         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48153         using __copysign.
48154         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48155         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48156         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48157         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48158         and __inv.
48159         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48160         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48161         __copysign.
48162         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48163         define aliases when function name is a macro.
48164         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48165         sysdeps/ieee754/dbl-64/sincos.tbl.
48166         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48167         fma4-enabled routines.
48168         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48169         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48170         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48171         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48172         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48173         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48174         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48175         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48176         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48177         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48178         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48179         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48180         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48181         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48182         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48183         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
48184         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
48185         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
48186         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
48187         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
48188         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
48189         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
48190         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
48191         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
48192         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
48193         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
48194         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
48195         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
48196         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
48197         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
48198
48199         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
48200         rename.
48201         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48202         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48203         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48204         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48205         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48206         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48207         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48208         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48209
48210 2011-10-24  Andreas Schwab  <schwab@redhat.com>
48211
48212         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
48213
48214 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48215
48216         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
48217
48218         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
48219         prediction.
48220         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
48221
48222         * string/strnlen.c: Don't define STRNLEN, reverse logic.
48223         Remove unused variable magic_bits.
48224         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
48225
48226         * string/strnlen.c: Define and use STRNLEN macro.
48227         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
48228         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
48229         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
48230         * wcsmbs/wcslen.c: Define and use WCSLEN.
48231         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
48232         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
48233         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
48234         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
48235         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
48236         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
48237         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48238
48239 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48240
48241         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48242         strnlen-sse2-no-bsf.
48243         Rename strlen-no-bsf to strlen-sse2-no-bsf.
48244         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
48245         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
48246         Add strnlen support.
48247         (USE_AS_STRNLEN): New macro.
48248         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
48249         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
48250         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
48251         * sysdeps/x86_64/wcslen.S: New file.
48252
48253 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
48254
48255         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48256         XMM-moves are used for copying on small sizes.
48257
48258 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48259
48260         * wcsmbs/Makefile (strop-tests): Add wcschr.
48261         * wcsmbs/test-wcschr.c: New file.
48262         * string/test-strchr.c: Update.
48263         Add wcschr support.
48264         (WIDE): New macro.
48265
48266 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48267
48268         * wcsmbs/Makefile (strop-tests): Add wcslen.
48269         * wcsmbs/test-wcslen.c: New file.
48270         * string/test-strlen.c: Update.
48271         Add wcslen support.
48272         (WIDE): New macro.
48273
48274 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48275
48276         * po/it.po: Update from translation team.
48277
48278 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48279
48280         * sysdeps/x86_64/wcscmp.S: Update.
48281         Fix wrong comparison semantics.
48282         wcscmp shall use signed comparison not unsigned.
48283         Don't use substraction to avoid overflow bug.
48284         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
48285         * wcsmbc/wcscmp.c: Likewise.
48286         * string/test-strcmp.c: Likewise.
48287         Add new tests to check cases with negative values.
48288
48289 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
48290
48291         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
48292         * sysdeps/x86_64/dla.h: ...here.  New file.
48293         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
48294         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48295         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48296         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48297         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48298         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48299         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48300         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48301         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48302
48303 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
48304
48305         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
48306         __ynl_finite aliases.
48307
48308 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48309
48310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48311
48312         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
48313         define DLA_FMA.
48314         [DLA_FMA] (EMULV): Use DLA_FMA.
48315         [DLA_FMA] (MUL12): Use EMULV.
48316         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
48317         that are not needed.
48318         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48319         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48320         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48321         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48322         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48323         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48324         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48325
48326 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
48327
48328         * math/s_nan.c: Undef __nan.
48329         * math/s_nanf.c: Undef __nanf.
48330         * math/s_nanl.c: Undef __nanl.
48331         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
48332         "math_private.h".
48333
48334 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
48335
48336         * math/s_catan.c: Add branch predictions.
48337         * math/s_catanf.c: Likewise.
48338         * math/s_catanh.c: Likewise.
48339         * math/s_catanhf.c: Likewise.
48340         * math/s_catanhl.c: Likewise.
48341         * math/s_catanl.c: Likewise.
48342         * math/s_cexp.c: Likewise.
48343         * math/s_cexpf.c: Likewise.
48344         * math/s_cexpl.c: Likewise.
48345         * math/s_clog.c: Likewise.
48346         * math/s_clog10.c: Likewise.
48347         * math/s_clog10f.c: Likewise.
48348         * math/s_clog10l.c: Likewise.
48349         * math/s_clogf.c: Likewise.
48350         * math/s_clogl.c: Likewise.
48351         * math/s_csqrt.c: Likewise.
48352         * math/s_csqrtf.c: Likewise.
48353         * math/s_csqrtl.c: Likewise.
48354         * math/s_ctanf.c: Likewise.
48355         * math/s_ctanh.c: Likewise.
48356         * math/s_ctanhf.c: Likewise.
48357         * math/s_ctanhl.c: Likewise.
48358         * math/s_ctanl.c: Likewise.
48359
48360         * math/math_private.h: Define __nan, __nanf, __nanl.
48361         * math/s_cacosh.c: Include <math_private.h>.
48362         * math/s_cacoshl.c: Likewise.
48363         * math/s_casinh.c: Likewise.
48364         * math/s_casinhf.c: Likewise.
48365         * math/s_casinhl.c: Likewise.
48366         * math/s_ccos.c: Rely entire on ccosh.
48367         * math/s_ccosf.c: Rely entire on ccoshf.
48368         * math/s_ccosl.c: Rely entirely on ccoshl.
48369         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
48370         Remove tests for FE_INVALID.
48371         * math/s_ccoshf.c: Likewise.
48372         * math/s_ccoshl.c: Likewise.
48373         * math/s_csin.c: Likewise.
48374         * math/s_csinf.c: Likewise.
48375         * math/s_csinh.c Likewise.
48376         * math/s_csinhf.c: Likewise.
48377         * math/s_csinhl.c: Likewise.
48378         * math/s_csinl.c: Likewise.
48379         * math/s_ctan.c: Likewise.
48380         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
48381         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
48382         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
48383
48384 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
48385
48386         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
48387         compilation problems.
48388
48389         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
48390         __builtin_expect.
48391
48392 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
48393
48394         * sysdeps/i386/configure.in: Test for -mfma4 option.
48395         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
48396         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
48397         COMMON_CPUID_INDEX_80000001.
48398         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
48399         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
48400         use it if FMA3 is not supported.
48401         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
48402
48403         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
48404         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48405
48406 2011-10-20  Andreas Schwab  <schwab@redhat.com>
48407
48408         [BZ #12892]
48409         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
48410         it would create a cycle with a link time dependency.
48411
48412 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
48413
48414         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
48415         instruction.
48416         * string/Makefile (strop-tests): Add rawmemchr.
48417         * string/test-rawmemchr.c: New file.
48418
48419         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
48420         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
48421         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
48422         when compiling str{,n}casecmp and when AVX is available.  Hook up
48423         new optimized code in initializers.
48424
48425 2011-10-19  Andreas Schwab  <schwab@redhat.com>
48426
48427         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
48428         __feraiseexcept instead of feraiseexcept.
48429
48430 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
48431
48432         * math/math_private.h: Define defaults for libc_fetestexcept and
48433         libc_feupdateenv.
48434         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
48435         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
48436         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48437         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48438         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48439         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48440         libc_fetestexcept and libc_feupdateenv.
48441
48442         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
48443         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
48444         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
48445         * sysdeps/x86_64/fpu/math_private.h: Define special version of
48446         libc_feholdexcept_setround.
48447
48448         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
48449         Add s_nearbyint-c and s_nearbyintf-c.
48450         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
48451         nearbyintf inlines.
48452         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
48453         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
48454         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
48455         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
48456
48457         * math/math_private.h: Define defaults for libc_fegetround,
48458         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
48459         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
48460         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
48461         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
48462         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
48463         standard functions.
48464         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48465         Remove comments and hacks for old compiler versions.
48466         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
48467         libc_fegetround, libc_fesetround, libc_feholdexcept, and
48468         libc_feholdexceptl.
48469
48470 2011-10-18  Andreas Schwab  <schwab@redhat.com>
48471
48472         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
48473         (__feraiseexcept_renamed): Add __NTH.
48474         (feraiseexcept): Add __NTH.  Rename local variables to fix
48475         namespace violations.
48476
48477 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
48478
48479         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
48480
48481         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
48482
48483         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
48484         recently added interfaces.
48485         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
48486
48487         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
48488         about macro parameter expansion.
48489
48490         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
48491         __NO_MATH_INLINES is defined.  Cleanups.
48492
48493         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
48494         and __floorf is target has SSE4.1.
48495         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
48496         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
48497         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
48498         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
48499
48500         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
48501         name.
48502         (floorf): Likewise.
48503
48504         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
48505
48506 2011-10-17  Andreas Schwab  <schwab@redhat.com>
48507
48508         * misc/sys/cdefs.h: Fix last change.
48509
48510         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
48511         database lookup.
48512
48513 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
48514
48515         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
48516
48517         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
48518         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48519         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48520         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48521         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48522         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48523         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48524         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48525         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48526         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
48527         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
48528         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
48529         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
48530         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
48531         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
48532         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
48533         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
48534         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
48535         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
48536         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
48537         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
48538         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
48539
48540         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
48541         ceil, ceilf, floor, floorf.
48542
48543         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
48544         Perform IRELATIVE relocations last.
48545
48546         * elf/do-rel.h: Add another parameter nrelative, replacing the
48547         local variable with the same name.  Change name of the function
48548         to end in Rel or Rela (uppercase).
48549         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
48550         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
48551         elf_dynamic_do_##reloc function.
48552
48553 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48554
48555         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
48556         is sufficient, at least on modern CPUs.
48557
48558         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
48559
48560         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
48561         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
48562
48563         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
48564         __expl_finite.
48565         * math/bits/math-finite.h: Add entries for exp.
48566         * math/e_expl.c: Add __*_finite alias.
48567         * sysdeps/i386/fpu/e_exp.S: Likewise.
48568         * sysdeps/i386/fpu/e_expf.S: Likewise.
48569         * sysdeps/i386/fpu/e_expl.c: Likewise.
48570         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48571         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
48572         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48573         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48574         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
48575         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48576         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48577
48578         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
48579         is sufficient, at least on modern CPUs.
48580
48581         * ctype/ctype-info.c (__ctype_init): Define.
48582         * include/ctype.h (__ctype_init): Declare.
48583         (__ctype_b_loc): The variable is always initialized.
48584         (__ctype_toupper_loc): Likewise.
48585         (__ctype_tolower_loc): Likewise.
48586         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
48587         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
48588
48589 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
48590
48591         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
48592
48593         * configure.in: Also look in $cxxmachine/include for C++ system
48594         headers.
48595
48596 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48597
48598         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
48599         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
48600         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
48601         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
48602         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
48603         (USE_AS_WMEMCMP): New macro.
48604         Fixing indents.
48605         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
48606         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
48607         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
48608         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
48609         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48610         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
48611         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
48612         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48613         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48614         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48615         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48616         (USE_AS_WMEMCMP): New macro.
48617         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48618         * sysdeps/string/test-memcmp.c: Update.
48619         Fix simple_wmemcmp.
48620         Add new tests.
48621         * wcsmbs/wmemcmp.c: Update.
48622         (WMEMCMP): New macro.
48623         Fix overflow bug.
48624
48625 2011-10-12  Andreas Jaeger  <aj@suse.de>
48626
48627         [BZ #13268]
48628         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48629
48630 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48631
48632         * libio/iofwide.c (do_length): Avoid warning.
48633
48634         * ctype/ctype.h (__isctype_f): Add missing __THROW.
48635
48636 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
48637
48638         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48639
48640         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48641         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48642         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48643         * sysdeps/i386/i686/fpu/e_log.S: New file.
48644         * sysdeps/i386/i686/fpu/e_logf.S: New file.
48645         * sysdeps/i386/i686/fpu/e_logl.S: New file.
48646
48647         * ctype/ctype.h: Add support for inlined isXXX functions when
48648         compiling C++ code.
48649
48650 2011-10-14  Andreas Schwab  <schwab@redhat.com>
48651
48652         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48653
48654         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48655
48656 2011-10-13  Roland McGrath  <roland@hack.frob.com>
48657
48658         [BZ #13291]
48659         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48660
48661 2011-10-13  Andreas Schwab  <schwab@redhat.com>
48662
48663         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48664         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48665         feraiseexcept.
48666
48667         * sysdeps/x86_64/memrchr.S: Check for zero size.
48668
48669         * string/stratcliff.c: Add memrchr tests.
48670
48671 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48672
48673         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48674         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48675         rawmemchr-sse2 rawmemchr-sse2-bsf.
48676         * sysdeps/i386/i686/multiarch/memchr.S: New file.
48677         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48678         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48679         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48680         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48681         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48682         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48683         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48684         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48685         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48686         * string/memrchr.c (MEMRCHR): New macro.
48687
48688 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
48689
48690         Add integration with gcc's -ffinite-math-only and optimize wrapper
48691         functions in libm.
48692         * Versions.def: Define GLIBC_2.15 version for libm.
48693         * math/Makefile (headers): Add bits/math-finite.h.
48694         * math/bits/math-finite.h: New file.
48695         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48696         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48697         * math/e_acoshl.c: Add __*_finite alias.
48698         * math/e_acosl.c: Likewise.
48699         * math/e_asinl.c: Likewise.
48700         * math/e_atan2l.c: Likewise.
48701         * math/e_atanhl.c: Likewise.
48702         * math/e_coshl.c: Likewise.
48703         * math/e_exp10.c: Likewise.
48704         * math/e_exp10f.c: Likewise.
48705         * math/e_exp10l.c: Likewise.
48706         * math/e_exp2l.c: Likewise.
48707         * math/e_fmodl.c: Likewise.
48708         * math/e_gammal_r.c: Likewise.
48709         * math/e_hypotl.c: Likewise.
48710         * math/e_j0l.c: Likewise.
48711         * math/e_j1l.c: Likewise.
48712         * math/e_jnl.c: Likewise.
48713         * math/e_lgammal_r.c: Likewise.
48714         * math/e_log10l.c: Likewise.
48715         * math/e_log2l.c: Likewise.
48716         * math/e_logl.c: Likewise.
48717         * math/e_powl.c: Likewise.
48718         * math/e_sinhl.c: Likewise.
48719         * math/e_sqrtl.c: Likewise.
48720         * math/e_scalb.c: Completely rewritten and optimized.
48721         * math/e_scalbf.c: Likewise.
48722         * math/e_scalbl.c: Likewise.
48723         * math/w_acos.c: Likewise.
48724         * math/w_acosf.c: Likewise.
48725         * math/w_acosl.c: Likewise.
48726         * math/w_acosh.c: Likewise.
48727         * math/w_acoshf.c: Likewise.
48728         * math/w_acoshl.c: Likewise.
48729         * math/w_asin.c: Likewise.
48730         * math/w_asinf.c: Likewise.
48731         * math/w_asinl.c: Likewise.
48732         * math/w_atan2.c: Likewise.
48733         * math/w_atan2f.c: Likewise.
48734         * math/w_atan2l.c: Likewise.
48735         * math/w_atanh.c: Likewise.
48736         * math/w_atanhf.c: Likewise.
48737         * math/w_atanhl.c: Likewise.
48738         * math/w_exp10.c: Likewise.
48739         * math/w_exp10f.c: Likewise.
48740         * math/w_exp10l.c: Likewise.
48741         * math/w_fmod.c: Likewise.
48742         * math/w_fmodf.c: Likewise.
48743         * math/w_fmodl.c: Likewise.
48744         * math/w_j0.c: Likewise.
48745         * math/w_j0f.c: Likewise.
48746         * math/w_j0l.c: Likewise.
48747         * math/w_j1.c: Likewise.
48748         * math/w_j1f.c: Likewise.
48749         * math/w_j1l.c: Likewise.
48750         * math/w_jn.c: Likewise.
48751         * math/w_jnf.c: Likewise.
48752         * math/w_log.c: Likewise.
48753         * math/w_logf.c: Likewise.
48754         * math/w_logl.c: Likewise.
48755         * math/w_log10.c: Likewise.
48756         * math/w_log10f.c: Likewise.
48757         * math/w_log10l.c: Likewise.
48758         * math/w_log2.c: Likewise.
48759         * math/w_log2f.c: Likewise.
48760         * math/w_log2l.c: Likewise.
48761         * math/w_pow.c: Likewise.
48762         * math/w_powf.c: Likewise.
48763         * math/w_powl.c: Likewise.
48764         * math/w_remainder.c: Likewise.
48765         * math/w_remainderf.c: Likewise.
48766         * math/w_remainderl.c: Likewise.
48767         * math/w_scalb.c: Likewise.
48768         * math/w_scalbf.c: Likewise.
48769         * math/w_scalbl.c: Likewise.
48770         * math/w_sqrt.c: Likewise.
48771         * math/w_sqrtf.c: Likewise.
48772         * math/w_sqrtl.c: Likewise.
48773         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48774         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
48775         used.
48776         * math/math_private.h: Declare __kernel_standard_f.
48777         * math/w_cosh.c: Remove cruft and optimize a bit.
48778         * math/w_coshf.c: Likewise.
48779         * math/w_coshl.c: Likewise.
48780         * math/w_exp2.c: Likewise.
48781         * math/w_exp2f.c: Likewise.
48782         * math/w_exp2l.c: Likewise.
48783         * math/w_hypot.c: Likewise.
48784         * math/w_hypotf.c: Likewise.
48785         * math/w_hypotl.c: Likewise.
48786         * math/w_lgamma.c: Likewise.
48787         * math/w_lgamma_r.c: Likewise.
48788         * math/w_lgammaf.c: Likewise.
48789         * math/w_lgammaf_r.c: Likewise.
48790         * math/w_lgammal.c: Likewise.
48791         * math/w_lgammal_r.c: Likewise.
48792         * math/w_sinh.c: Likewise.
48793         * math/w_sinhf.c: Likewise.
48794         * math/w_sinhl.c: Likewise.
48795         * math/w_tgamma.c: Likewise.
48796         * math/w_tgammaf.c: Likewise.
48797         * math/w_tgammal.c: Likewise.
48798         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48799         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48800         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48801         Minor optimizations.  Pretty printing.  Remove cruft.
48802         * sysdeps/i386/fpu/e_acosf.S: Likewise.
48803         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48804         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48805         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48806         * sysdeps/i386/fpu/e_acosl.c: Likewise.
48807         * sysdeps/i386/fpu/e_asin.S: Likewise.
48808         * sysdeps/i386/fpu/e_asinf.S: Likewise.
48809         * sysdeps/i386/fpu/e_atan2.S: Likewise.
48810         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48811         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48812         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48813         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48814         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48815         * sysdeps/i386/fpu/e_exp10.S: Likewise.
48816         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48817         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48818         * sysdeps/i386/fpu/e_exp2.S: Likewise.
48819         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48820         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48821         * sysdeps/i386/fpu/e_fmod.S: Likewise.
48822         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48823         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48824         * sysdeps/i386/fpu/e_hypot.S: Likewise.
48825         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48826         * sysdeps/i386/fpu/e_log.S: Likewise.
48827         * sysdeps/i386/fpu/e_log10.S: Likewise.
48828         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48829         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48830         * sysdeps/i386/fpu/e_log2.S: Likewise.
48831         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48832         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48833         * sysdeps/i386/fpu/e_logf.S: Likewise.
48834         * sysdeps/i386/fpu/e_logl.S: Likewise.
48835         * sysdeps/i386/fpu/e_pow.S: Likewise.
48836         * sysdeps/i386/fpu/e_powf.S: Likewise.
48837         * sysdeps/i386/fpu/e_powl.S: Likewise.
48838         * sysdeps/i386/fpu/e_remainder.S: Likewise.
48839         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48840         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48841         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48842         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48843         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48844         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48845         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48846         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48847         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48848         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48849         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48850         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48851         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48852         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48853         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48854         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48855         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48856         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48857         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48858         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48859         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48860         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48861         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48862         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48863         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48864         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48865         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48866         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48867         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48868         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48869         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48870         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48871         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48872         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48873         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48874         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48875         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48876         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48877         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48878         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48879         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48880         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48881         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48882         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48883         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48884         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48885         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48886         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48887         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48888         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48889         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48890         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48891         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48892         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48893         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48894         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48895         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48896         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48897         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48898         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48899         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48900         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48901         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48902         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48903         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48904         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48905         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48906         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48907         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48908         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48909         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48910         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48911         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48912         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48913         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48914         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48915         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48916         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48917         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48918         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48919         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48920         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48921         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48922         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48923         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48924         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48925         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48926         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48927         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48928         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48929         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48930         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48931         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48932         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48933         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48934         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48935         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48936         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48937         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48938         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48939         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48940         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48941         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48942         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48943         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48944         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48945         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48946         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48947         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48948         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48949         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48950         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48951         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48952         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48953         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48954         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48955         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48956         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48957         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
48958         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48959         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48960         (__isnanf): Likewise.
48961         (__isinf_ns): Likewise.
48962         (__isinf_nsf): Likewise.
48963         (__finite): Likewise.
48964         (__finitef): Likewise.
48965         (__ieee754_sqrt): Define as macro.
48966         (__ieee754_sqrtf): Define as macro.
48967         (__ieee754_sqrtl): Define as macro.
48968         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48969         inlined copy.
48970         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48971         __FINITE_MATH_ONLY__ consistent.
48972         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48973
48974 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
48975
48976         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48977         of rawmemchr.
48978
48979         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48980
48981 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
48982
48983         * po/ja.po: Update from translation team.
48984
48985 2011-10-08  Roland McGrath  <roland@hack.frob.com>
48986
48987         * locale/programs/locarchive.c (prepare_address_space): New function.
48988         (create_archive, enlarge_archive, open_archive): Use it.
48989
48990         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48991         inside [SHARED], where it is used.
48992
48993         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48994
48995         * nss/getent.c (netgroup_keys): Remove unused variable.
48996         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48997
48998 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
48999
49000         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49001         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49002         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49003         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49004         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49005         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49006         * math/Makefile (libm-calls): Add s_isinf_ns.
49007         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49008         * math/multc3.c: Likewise.
49009         * math/s_casin.c: Likewise.
49010         * math/s_casinf.c: Likewise.
49011         * math/s_casinl.c: Likewise.
49012         * math/s_ccos.c: Likewise.
49013         * math/s_ccosf.c: Likewise.
49014         * math/s_ccosl.c: Likewise.
49015         * math/s_ctan.c: Likewise.
49016         * math/s_ctanf.c: Likewise.
49017         * math/s_ctanh.c: Likewise.
49018         * math/s_ctanhf.c: Likewise.
49019         * math/s_ctanhl.c: Likewise.
49020         * math/s_ctanl.c: Likewise.
49021         * math/w_fmod.c: Likewise.
49022         * math/w_fmodf.c: Likewise.
49023         * math/w_fmodl.c: Likewise.
49024         * math/w_remainder.c: Likewise.
49025         * math/w_remainderf.c: Likewise.
49026         * math/w_remainderl.c: Likewise.
49027         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49028         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49029         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49030         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49031         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49032         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49033         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49034         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49035
49036         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49037         of the number.
49038         * stdio-common/printf_fphex.c: Likewise.
49039         * stdio-common/printf_size.c: Likewise.
49040
49041         * math/e_exp10.c: Include math_private.h using <...> not "...".
49042         * math/e_exp10f.c: Likewise.
49043         * math/e_exp10l.c: Likewise.
49044         * math/e_exp2l.c: Likewise.
49045         * math/e_j0l.c: Likewise.
49046         * math/e_j1l.c: Likewise.
49047         * math/e_jnl.c: Likewise.
49048         * math/e_lgammal_r.c: Likewise.
49049         * math/e_rem_pio2l.c: Likewise.
49050         * math/e_scalb.c: Likewise.
49051         * math/e_scalbf.c: Likewise.
49052         * math/e_scalbl.c: Likewise.
49053         * math/k_cosl.c: Likewise.
49054         * math/k_sinl.c: Likewise.
49055         * math/k_tanl.c: Likewise.
49056         * math/s_cacoshf.c: Likewise.
49057         * math/s_catan.c: Likewise.
49058         * math/s_catanf.c: Likewise.
49059         * math/s_catanh.c: Likewise.
49060         * math/s_catanhf.c: Likewise.
49061         * math/s_catanhl.c: Likewise.
49062         * math/s_catanl.c: Likewise.
49063         * math/s_ccosh.c: Likewise.
49064         * math/s_ccoshf.c: Likewise.
49065         * math/s_ccoshl.c: Likewise.
49066         * math/s_cexp.c: Likewise.
49067         * math/s_cexpf.c: Likewise.
49068         * math/s_cexpl.c: Likewise.
49069         * math/s_clog.c: Likewise.
49070         * math/s_clog10.c: Likewise.
49071         * math/s_clog10f.c: Likewise.
49072         * math/s_clog10l.c: Likewise.
49073         * math/s_clogf.c: Likewise.
49074         * math/s_clogl.c: Likewise.
49075         * math/s_csin.c: Likewise.
49076         * math/s_csinf.c: Likewise.
49077         * math/s_csinh.c: Likewise.
49078         * math/s_csinhf.c: Likewise.
49079         * math/s_csinhl.c: Likewise.
49080         * math/s_csinl.c: Likewise.
49081         * math/s_csqrt.c: Likewise.
49082         * math/s_csqrtf.c: Likewise.
49083         * math/s_csqrtl.c: Likewise.
49084         * math/s_ctan.c: Likewise.
49085         * math/s_ctanf.c: Likewise.
49086         * math/s_ctanh.c: Likewise.
49087         * math/s_ctanhf.c: Likewise.
49088         * math/s_ctanhl.c: Likewise.
49089         * math/s_ctanl.c: Likewise.
49090         * math/s_ldexp.c: Likewise.
49091         * math/s_ldexpf.c: Likewise.
49092         * math/s_ldexpl.c: Likewise.
49093         * math/s_significand.c: Likewise.
49094         * math/s_significandf.c: Likewise.
49095         * math/s_significandl.c: Likewise.
49096         * math/w_acos.c: Likewise.
49097         * math/w_acosf.c: Likewise.
49098         * math/w_acosh.c: Likewise.
49099         * math/w_acoshf.c: Likewise.
49100         * math/w_acoshl.c: Likewise.
49101         * math/w_acosl.c: Likewise.
49102         * math/w_asin.c: Likewise.
49103         * math/w_asinf.c: Likewise.
49104         * math/w_asinl.c: Likewise.
49105         * math/w_atan2.c: Likewise.
49106         * math/w_atan2f.c: Likewise.
49107         * math/w_atan2l.c: Likewise.
49108         * math/w_atanh.c: Likewise.
49109         * math/w_atanhf.c: Likewise.
49110         * math/w_atanhl.c: Likewise.
49111         * math/w_cosh.c: Likewise.
49112         * math/w_coshf.c: Likewise.
49113         * math/w_coshl.c: Likewise.
49114         * math/w_dremf.c: Likewise.
49115         * math/w_exp10.c: Likewise.
49116         * math/w_exp10f.c: Likewise.
49117         * math/w_exp10l.c: Likewise.
49118         * math/w_exp2.c: Likewise.
49119         * math/w_exp2f.c: Likewise.
49120         * math/w_fmod.c: Likewise.
49121         * math/w_fmodf.c: Likewise.
49122         * math/w_fmodl.c: Likewise.
49123         * math/w_hypot.c: Likewise.
49124         * math/w_hypotf.c: Likewise.
49125         * math/w_hypotl.c: Likewise.
49126         * math/w_j0.c: Likewise.
49127         * math/w_j0f.c: Likewise.
49128         * math/w_j0l.c: Likewise.
49129         * math/w_j1.c: Likewise.
49130         * math/w_j1f.c: Likewise.
49131         * math/w_j1l.c: Likewise.
49132         * math/w_jn.c: Likewise.
49133         * math/w_jnf.c: Likewise.
49134         * math/w_jnl.c: Likewise.
49135         * math/w_lgamma.c: Likewise.
49136         * math/w_lgamma_r.c: Likewise.
49137         * math/w_lgammaf.c: Likewise.
49138         * math/w_lgammaf_r.c: Likewise.
49139         * math/w_lgammal.c: Likewise.
49140         * math/w_lgammal_r.c: Likewise.
49141         * math/w_log.c: Likewise.
49142         * math/w_log10.c: Likewise.
49143         * math/w_log10f.c: Likewise.
49144         * math/w_log10l.c: Likewise.
49145         * math/w_log2.c: Likewise.
49146         * math/w_log2f.c: Likewise.
49147         * math/w_log2l.c: Likewise.
49148         * math/w_logf.c: Likewise.
49149         * math/w_logl.c: Likewise.
49150         * math/w_pow.c: Likewise.
49151         * math/w_powf.c: Likewise.
49152         * math/w_powl.c: Likewise.
49153         * math/w_remainder.c: Likewise.
49154         * math/w_remainderf.c: Likewise.
49155         * math/w_remainderl.c: Likewise.
49156         * math/w_scalb.c: Likewise.
49157         * math/w_scalbf.c: Likewise.
49158         * math/w_scalbl.c: Likewise.
49159         * math/w_sinh.c: Likewise.
49160         * math/w_sinhf.c: Likewise.
49161         * math/w_sinhl.c: Likewise.
49162         * math/w_sqrt.c: Likewise.
49163         * math/w_sqrtf.c: Likewise.
49164         * math/w_sqrtl.c: Likewise.
49165         * math/w_tgamma.c: Likewise.
49166         * math/w_tgammaf.c: Likewise.
49167         * math/w_tgammal.c: Likewise.
49168
49169         * po/ja.po: Update from translation team.
49170
49171 2011-09-29  Andreas Jaeger  <aj@suse.de>
49172
49173         [BZ #13179]
49174         * sunrpc/netname.c (netname2host): Fix logic.
49175
49176         [BZ #6779]
49177         [BZ #6783]
49178         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49179         correctly.
49180         * math/w_remainder.c (__remainder): Likewise.
49181         * math/w_remainderf.c (__remainderf): Likewise.
49182         * math/libm-test.inc (remainder_test): Add test cases.
49183
49184 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49185
49186         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
49187         sdiv_qrnnd.
49188
49189 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49190
49191         * string/test-memcmp.c: Avoid unncessary #defines.
49192         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49193
49194 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49195
49196         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
49197         Use new sse2 version for core i3 - i7 as it's faster
49198         than sse42 version.
49199         (bit_Prefer_PMINUB_for_stringop): New.
49200         * sysdeps/x86_64/rawmemchr.S: Update.
49201         Replace with faster SSE2 version.
49202         * sysdeps/x86_64/memrchr.S: New file.
49203         * sysdeps/x86_64/memchr.S: Update.
49204         Replace with faster SSE2 version.
49205
49206 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
49207
49208         * elf/dl-load.c (lose): Add cast to avoid warning.
49209
49210 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
49211
49212         * po/ca.po: Update from translation team.
49213
49214         * inet/getnetgrent_r.c: Hook up nscd.
49215         * nscd/Makefile (routines): Add nscd_netgroup.
49216         (nscd-modules): Add netgroupcache.
49217         (CFLAGS-netgroupcache.c): Define.
49218         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
49219         (cache_search): Add const to second parameter.
49220         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
49221         INNETGR.
49222         (dbs): Add netgrdb entry.
49223         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
49224         (verify_persistent_db): Handle netgrdb.
49225         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
49226         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
49227         GETFDNETGR.
49228         (netgroup_response_header): Define.
49229         (innetgroup_response_header): Define.
49230         (datahead): Add netgroup_response_header and innetgroup_response_header
49231         elements.
49232         * nscd/nscd.conf: Add entries for netgroup cache.
49233         * nscd/nscd.h (dbtype): Add netgrdb.
49234         (_PATH_NSCD_NETGROUP_DB): Define.
49235         (netgroup_iov_disabled): Declare.
49236         (xmalloc, xcalloc, xrealloc): Move declarations here.
49237         (cache_search): Adjust prototype.
49238         Add netgroup-related prototypes.
49239         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
49240         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
49241         (__nscd_innetgr): Declare.
49242         * nscd/selinux.c (perms): Use access_vector_t as element type and
49243         add netgroup-related initializers.
49244         * nscd/netgroupcache.c: New file.
49245         * nscd/nscd_netgroup.c: New file.
49246         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
49247         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
49248         For four parameters use innetgr.
49249         * nss/nss_files/files-init.c: Add definition and callback for netgr.
49250         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
49251         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
49252         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
49253
49254         * nscd/connections.c (register_traced_file): Don't register file
49255         for disabled databases.
49256
49257 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
49258
49259         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
49260
49261         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
49262         from tree and freeing node.
49263
49264 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
49265
49266         * nss/nsswitch.c (__nss_database_lookup): Handle
49267         nss_parse_service_list out of memory case.
49268
49269 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
49270
49271         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
49272         out of memory case.
49273
49274 2011-10-04  Andreas Schwab  <schwab@redhat.com>
49275
49276         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
49277         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
49278         pass it down.
49279         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
49280         elf_machine_rela, elf_machine_lazy_rel.
49281         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
49282         (ELF_DYNAMIC_DO_REL): Likewise.
49283         (ELF_DYNAMIC_DO_RELA): Likewise.
49284         (ELF_DYNAMIC_RELOCATE): Likewise.
49285         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
49286         to ELF_DYNAMIC_DO_REL.
49287         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
49288         (dl_main): In trace mode always set __RTLD_NOIFUNC.
49289         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
49290         elf_machine_rela.
49291         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
49292         skip_ifunc, don't call ifunc function if non-zero.
49293         (elf_machine_rela): Likewise.
49294         (elf_machine_lazy_rel): Likewise.
49295         (elf_machine_lazy_rela): Likewise.
49296         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
49297         (elf_machine_lazy_rel): Likewise.
49298         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
49299         Likewise.
49300         (elf_machine_lazy_rel): Likewise.
49301         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49302         Likewise.
49303         (elf_machine_lazy_rel): Likewise.
49304         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
49305         (elf_machine_lazy_rel): Likewise.
49306         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
49307         (elf_machine_lazy_rel): Likewise.
49308         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49309         (elf_machine_lazy_rel): Likewise.
49310         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
49311         (elf_machine_lazy_rel): Likewise.
49312         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
49313         (elf_machine_lazy_rel): Likewise.
49314         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49315         (elf_machine_lazy_rel): Likewise.
49316
49317 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
49318
49319         * nss/nss_files/files-init.c (_nss_files_init): Use static
49320         initialization for all the *_traced_file variables.
49321
49322 2011-09-28  Andreas Schwab  <schwab@redhat.com>
49323
49324         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49325
49326 2011-09-27  Roland McGrath  <roland@hack.frob.com>
49327
49328         [BZ #13226]
49329         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
49330
49331 2011-09-27  Andreas Schwab  <schwab@redhat.com>
49332
49333         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49334         Reread the line before reparsing it.
49335
49336 2011-09-26  Andreas Schwab  <schwab@redhat.com>
49337
49338         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
49339
49340 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
49341             Maxim Kuvyrkov  <maxim@codesourcery.com>
49342             Joseph Myers  <joseph@codesourcery.com>
49343
49344         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
49345         if needed for __stack_chk_guard.
49346
49347 2011-09-19  Roland McGrath  <roland@hack.frob.com>
49348
49349         * sysdeps/posix/spawni.c (script_execute): Always define it.
49350         It will be optimized away if unused.
49351         (maybe_script_execute): New function.
49352         (__spawni): Call it.
49353
49354         * Makerules: Don't include tls.make.
49355         (config-tls): Always set to thread.
49356         * tls.make.c: File removed.
49357
49358 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
49359
49360         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
49361         * config.make.in (CPPFLAGS-config): New substituted variable.
49362
49363 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49364
49365         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
49366
49367         [BZ #13192]
49368         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
49369         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
49370
49371 2011-09-15  Roland McGrath  <roland@hack.frob.com>
49372
49373         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
49374         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
49375         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49376         (CALL_FAIL): Likewise.
49377         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
49378         (CALL_FAIL): Macro removed.
49379         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
49380
49381 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
49382
49383         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
49384         for __FINITE_MATH_ONLY__ == 1.
49385
49386 2011-09-15  Andreas Schwab  <schwab@redhat.com>
49387
49388         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
49389         __ieee754_sqrt instead of sqrt.
49390         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
49391         __ieee754_sqrtf instead of sqrtf.
49392         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
49393         __floorf instead of floorf.
49394         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
49395         __floorf, __truncf instead of floorf, truncf.
49396
49397 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
49398
49399         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
49400
49401         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
49402         __extern_always_inline.
49403         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
49404         32-bit.
49405
49406 2011-09-14  Andreas Schwab  <schwab@redhat.com>
49407
49408         * elf/rtld.c (dl_main): Also relocate in dependency order when
49409         doing symbol dependency testing.
49410
49411 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
49412
49413         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49414         Always define `refsym'.
49415
49416 2011-09-13  Andreas Schwab  <schwab@redhat.com>
49417
49418         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
49419         (__FD_ELT): Renamed from __FDELT.
49420         * misc/bits/select2.h (__FD_ELT): Likewise.
49421         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
49422         __FD_MASK instead of __FDELT, __FDMASK.
49423         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49424         Likewise.
49425         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
49426         Likewise.
49427
49428         * elf/Makefile (gen-ldd): Fix pattern.
49429
49430         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
49431         (init_tls): Likewise.
49432
49433 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
49434
49435         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
49436
49437 2011-09-12  Andreas Schwab  <schwab@redhat.com>
49438
49439         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
49440         `struct cmsghdr *' instead of `void *'.
49441         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
49442         Likewise.
49443
49444 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
49445
49446         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
49447         if non-absolute.
49448         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
49449         ldd_rewrite_script.
49450
49451 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
49452
49453         * configure.in: Remove --with-tls option.
49454         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
49455         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
49456         out in case it is missing.
49457         * sysdeps/ia64/elf/configure.in: Likewise.
49458         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
49459         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
49460         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
49461         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
49462         * sysdeps/sh/elf/configure.in: Likewise.
49463         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
49464         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49465         * sysdeps/x86_64/elf/configure.in: Likewise.
49466         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
49467         * sysdeps/mach/hurd/tls.h: Likewise.
49468
49469         [BZ #13067]
49470         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
49471
49472         [BZ #13090]
49473         * configure.in: Fix use of AC_INIT.
49474
49475         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
49476
49477 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
49478
49479         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
49480         __set_errno.
49481         * malloc/hooks.c: Likewise.
49482
49483         [BZ #11929]
49484         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
49485         variables statically.
49486         (narenas): Initialize.
49487         (list_lock): Initialize.
49488         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
49489         initializtion of main_arena and list_lock.  Small cleanups.
49490         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
49491         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
49492         Add initializers to main_arena and mp_.
49493         (malloc_state): Remove pagesize member.  Change all users to use
49494         GLRO(dl_pagesize).
49495
49496         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
49497         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
49498         is always initialized.
49499
49500         * malloc/malloc.c: Removed unused configurations and dead code.
49501         * malloc/arena.c: Likewise.
49502         * malloc/hooks.c: Likewise.
49503         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
49504
49505         * include/tls.h: Removed.  USE___THREAD must always be defined.
49506         * bits/libc-tsd.h: Don't handle !USE___THREAD.
49507         * elf/dl-libc.c: Likewise.
49508         * elf/dl-tsd.c: Likewise.
49509         * include/errno.h: Likewise.
49510         * include/netdb.h: Likewise.
49511         * include/resolv.h: Likewise.
49512         * inet/herrno-loc.c: Likewise.
49513         * inet/herrno.c: Likewise.
49514         * malloc/arena.c: Likewise.
49515         * malloc/hooks.c: Likewise.
49516         * malloc/malloc.c: Likewise.
49517         * resolv/res-state.c: Likewise.
49518         * resolv/res_libc.c: Likewise.
49519         * sysdeps/i386/dl-machine.h: Likewise.
49520         * sysdeps/ia64/dl-machine.h: Likewise.
49521         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
49522         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49523         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
49524         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
49525         * sysdeps/sh/dl-machine.h: Likewise.
49526         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49527         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49528         * sysdeps/unix/i386/sysdep.S: Likewise.
49529         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
49530         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
49531         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
49532         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
49533         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
49534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
49535         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
49536         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49537         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
49539         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49540         * sysdeps/x86_64/dl-machine.h: Likewise.
49541         * tls.make.c: Likewise.
49542
49543         * configure.in: Remove --with-__thread option.  Make tests for
49544         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
49545         tls_model attribute fail if no support is available.  Remove
49546         USE_IN_LIBIO.
49547         * Makeconfig: Adjust for dropped configure option.  All features are
49548         now mandatory.
49549         * Makerules: Likewise.
49550         * Versions.def: Likewise.
49551         * argp/argp-fmtstream.c: Likewise.
49552         * argp/argp-fmtstream.h: Likewise.
49553         * argp/argp-help.c: Likewise.
49554         * assert/assert.c: Likewise.
49555         * config.h.in: Likewise.
49556         * config.make.in: Likewise.
49557         * configure: Likewise.
49558         * configure.in: Likewise.
49559         * csu/Versions: Likewise.
49560         * csu/init.c: Likewise.
49561         * elf/tst-audit2.c: Likewise.
49562         * elf/tst-tls10.c: Likewise.
49563         * elf/tst-tls10.h: Likewise.
49564         * elf/tst-tls11.c: Likewise.
49565         * elf/tst-tls12.c: Likewise.
49566         * elf/tst-tls14.c: Likewise.
49567         * elf/tst-tlsmod11.c: Likewise.
49568         * elf/tst-tlsmod12.c: Likewise.
49569         * elf/tst-tlsmod13.c: Likewise.
49570         * elf/tst-tlsmod13a.c: Likewise.
49571         * elf/tst-tlsmod14a.c: Likewise.
49572         * elf/tst-tlsmod15b.c: Likewise.
49573         * elf/tst-tlsmod16a.c: Likewise.
49574         * elf/tst-tlsmod16b.c: Likewise.
49575         * elf/tst-tlsmod7.c: Likewise.
49576         * elf/tst-tlsmod8.c: Likewise.
49577         * elf/tst-tlsmod9.c: Likewise.
49578         * gmon/gmon.c: Likewise.
49579         * grp/fgetgrent_r.c: Likewise.
49580         * grp/putgrent.c: Likewise.
49581         * hurd/fopenport.c: Likewise.
49582         * include/libc-symbols.h: Likewise.
49583         * include/tls.h: Likewise.
49584         * intl/gettextP.h: Likewise.
49585         * intl/loadinfo.h: Likewise.
49586         * locale/global-locale.c: Likewise.
49587         * locale/localeinfo.h: Likewise.
49588         * mach/devstream.c: Likewise.
49589         * malloc/arena.c: Likewise.
49590         * malloc/set-freeres.c: Likewise.
49591         * misc/err.c: Likewise.
49592         * misc/getttyent.c: Likewise.
49593         * misc/mntent_r.c: Likewise.
49594         * posix/getopt.c: Likewise.
49595         * posix/wordexp.c: Likewise.
49596         * pwd/fgetpwent_r.c: Likewise.
49597         * resolv/Versions: Likewise.
49598         * resolv/res_hconf.c: Likewise.
49599         * shadow/fgetspent_r.c: Likewise.
49600         * shadow/putspent.c: Likewise.
49601         * stdio-common/printf_fphex.c: Likewise.
49602         * stdio-common/tmpfile.c: Likewise.
49603         * stdlib/abort.c: Likewise.
49604         * stdlib/fmtmsg.c: Likewise.
49605         * sunrpc/auth_unix.c: Likewise.
49606         * sunrpc/clnt_perr.c: Likewise.
49607         * sunrpc/clnt_tcp.c: Likewise.
49608         * sunrpc/clnt_udp.c: Likewise.
49609         * sunrpc/clnt_unix.c: Likewise.
49610         * sunrpc/openchild.c: Likewise.
49611         * sunrpc/svc_simple.c: Likewise.
49612         * sunrpc/svc_tcp.c: Likewise.
49613         * sunrpc/svc_udp.c: Likewise.
49614         * sunrpc/svc_unix.c: Likewise.
49615         * sunrpc/xdr.c: Likewise.
49616         * sunrpc/xdr_array.c: Likewise.
49617         * sunrpc/xdr_rec.c: Likewise.
49618         * sunrpc/xdr_ref.c: Likewise.
49619         * sunrpc/xdr_stdio.c: Likewise.
49620
49621 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49622
49623         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49624
49625 2011-07-03  Andreas Jaeger  <aj@suse.de>
49626
49627         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49628         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49629         regenerate with gen-libm-tests.pl.
49630
49631 2010-05-12  Petr Baudis  <pasky@suse.cz>
49632
49633         [BZ #11589]
49634         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49635         around j0() zero points by switching to j1().
49636         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49637         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49638         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49639         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49640
49641 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49642
49643         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49644         instead of 0.
49645         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49646         instead of 0.
49647         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49648         Patch in part by Pavel Roskin <proski@gnu.org>.
49649
49650         [BZ #13138]
49651         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49652         realloc.
49653         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
49654         Free memory block if necessary.
49655
49656         [BZ #12847]
49657         * libio/genops.c (INTDEF): For string streams the _lock pointer can
49658         be NULL.  Don't lock in this case.
49659
49660 2011-09-09  Roland McGrath  <roland@hack.frob.com>
49661
49662         * elf/elf.h (ELFOSABI_GNU): New macro.
49663         (ELFOSABI_LINUX): Define to that.
49664
49665 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
49666
49667         * string/strncat.c (strncat): Undef the symbol in case it has been
49668         defined in bits/string.h.
49669
49670 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49671
49672         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49673
49674         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49675         link map.
49676
49677 2011-08-17  Andreas Jaeger  <aj@suse.de>
49678
49679         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49680
49681 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49682             Ian Lance Taylor  <iant@google.com>
49683
49684         * math/libm-test.inc (lround_test): New testcase.
49685         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49686
49687 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
49688
49689         * Makefile: Remove support for automatic cvs check-ins.
49690         * Makerules: Likewise.
49691         * config.make.in: Likewise.
49692         * configure.in: Likewise.
49693         * intl/Makefile: Likewise.
49694         * locale/Makefile: Likewise.
49695         * po/Makefile: Likewise.
49696         * posix/Makefile: Likewise.
49697         * sysdeps/gnu/Makefile: Likewise.
49698         * sysdeps/mach/hurd/Makefile: Likewise.
49699         * sysdeps/sparc/sparc32/Makefile: Likewise.
49700
49701         [BZ #13118]
49702         * posix/Makefile (bug-regex32-ENV): Define.
49703         Patch by John Stanley <jpsinthemix@verizon.net>.
49704
49705         * misc/Makefile (headers): Add bits/select2.h.
49706         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49707         * misc/bits/select2.h: New file.
49708         * include/bits/select2.h: New file.
49709         * debug/Makefile (routines): Add fdelt_chk.
49710         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49711         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49712         FD_ISSET.
49713         * debug/fdelt_chk.c: New file.
49714
49715         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49716         * wcsmbs/test-wmemcmp.c: Likewise.
49717         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49718         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49719
49720 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49721
49722         * string/Makefile (strop-tests): Add memcmp.
49723         * string/test-wmemcmp.c: New file.
49724         * string/test-memcmp.c: Add wmemcmp support.
49725
49726 2011-09-08  Roland McGrath  <roland@hack.frob.com>
49727
49728         [BZ #13153]
49729         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49730         2011-07-19 change.
49731
49732         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49733         garbage value in a __mach_port_mod_refs call in the cases of the
49734         task-self and thread-self ports.
49735
49736 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49737
49738         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49739
49740 2011-09-08  Andreas Schwab  <schwab@redhat.com>
49741
49742         * elf/dl-load.c (lose): Check for non-null L.
49743
49744 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49745
49746         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49747
49748         * elf/dl-libc.c (dlerror_run): Pass back error code from
49749         dl_catch_error.
49750
49751         [BZ #13123]
49752         * elf/dl-load.c (lose): Free l_origin if it is valid.
49753
49754         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49755         names.
49756         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49757         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49758         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49759         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49760         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49761         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49762
49763 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49764
49765         * sysdeps/powerpc/fpu/e_hypot.c: New file.
49766         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49767         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49768         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49769         * sysdeps/powerpc/fpu/k_cosf.c: New file.
49770         * sysdeps/powerpc/fpu/k_sinf.c: New file.
49771         * sysdeps/powerpc/fpu/s_cosf.c: New file.
49772         * sysdeps/powerpc/fpu/s_sinf.c: New file.
49773         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49774         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49775
49776 2011-08-15  Alan Modra  <amodra@gmail.com>
49777
49778         [BZ #13092]
49779         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49780         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49781         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
49782         ppc_mcount to static-only-routines.
49783         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49784         __mcount_internal.
49785         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49786         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
49787
49788 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
49789
49790         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49791         for finite and infinity parameters.
49792
49793 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49794
49795         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49796         and add nop instructions for throughput optimization.
49797         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49798
49799 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
49800
49801         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49802         aligned copy for power7 with vector-scalar instructions.
49803         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49804
49805 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
49806
49807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49808         AVX check.
49809
49810 2011-09-07  Andreas Schwab  <schwab@redhat.com>
49811
49812         [BZ #13144]
49813         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49814         last change.
49815
49816 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49817
49818         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49819         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49820         syscall wrapper around clock_gettime in __vdso_clock_gettime.
49821         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49822         clock_gettime.
49823
49824 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49825
49826         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49827         Forgot to demangle the pointer.
49828
49829         * sysdeps/i386/sysdep.h: Define atom_text_section.
49830         * sysdeps/x86_64/sysdep.h: Likewise.
49831         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49832         section with atom_text_section.
49833         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49834         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49835         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49836         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49837         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49838
49839         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49840         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49841         already be defined.  Change to take two parameters and don't assign
49842         result to variable.  Adjust all users.
49843         Define INTERNAL_GETTIME if not already defined.
49844         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49845         call.
49846         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49847         HAVE_CLOCK_GETTIME_VSYSCALL.
49848         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49849
49850         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49851         gettimeofday vsyscall, just use time.
49852
49853 2011-09-06  Andreas Schwab  <schwab@redhat.com>
49854
49855         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49856         <errno.h>.
49857
49858 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49859
49860         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49861         syscall on x86-64.
49862         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49863         syscall.
49864         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49865         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49866         syscall if possible.
49867
49868 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49869
49870         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49871         e_ident.  Don't pass to find_mapsXX.
49872         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49873
49874 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49875
49876         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49877         strchr-sse2-no-bsf strrchr-sse2-no-bsf
49878         * sysdeps/x86_64/multiarch/strchr.S: Update.
49879         Check bit_slow_BSF bit.
49880         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49881         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49882         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49883
49884 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49885
49886         [BZ #13134]
49887         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49888         before glibc 2.15.
49889         (tryshell): Define.
49890         (__spawni): Change last parameter to be flag.  Test
49891         SPAWN_XFLAGS_USE_PATH flag to use path or not.
49892         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49893         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49894         * posix/spawni.c: Likewise.
49895         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49896         * posix/spawnp.c: Likewise.  Change normal version to use
49897         SPAWN_XFLAGS_USE_PATH.
49898         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49899         SPAWN_XFLAGS_TRY_SHELL.
49900
49901         [BZ #13150]
49902         * posix/glob.h: Remove gcc 1.x support.
49903
49904         [BZ #13068]
49905         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49906
49907 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49908
49909         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49910         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49911         strrchr-sse2-bsf
49912         * sysdeps/i386/i686/multiarch/strchr.S: New file.
49913         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49914         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49915         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49916         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49917         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49918
49919 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49920
49921         * sysdeps/x86_64/wcscmp.S: New file.
49922
49923         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49924         wcscmp-c wcscmp-sse2
49925         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49926         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49927         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49928         * wcsmbs/wcscmp.c: Allow renaming.
49929
49930 2011-09-05  David S. Miller  <davem@davemloft.net>
49931
49932         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49933         stack slot, rather than the struct return pointer slot.
49934         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49935         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49936         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49937         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49938
49939 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49940
49941         * po/ja.po: Update from translation team.
49942
49943         [BZ #13144]
49944         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49945         kernel in 64-bit binaries.
49946
49947 2011-09-01  David S. Miller  <davem@davemloft.net>
49948
49949         * elf/elf.h (HWCAP_SPARC_*): Move to..
49950         * sysdeps/sparc/sysdep.h: this new file and add new values.
49951         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49952         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49953         _DL_HWCAP_COUNT to 24.
49954         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49955         entries.
49956         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49957         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49958         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49959         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49960         instead of magic constants.
49961         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49962
49963 2011-08-31  David S. Miller  <davem@davemloft.net>
49964
49965         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49966         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49967         Reimplement to do errno handling inline.
49968         (SYSCALL_ERROR_HANDLER): New macro.
49969         (__SYSCALL_STRING): Do not do errno handling in asm.
49970         (__CLONE_SYSCALL_STRING): Delete.
49971         (__INTERNAL_SYSCALL_STRING): Delete.
49972         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49973         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49974         (PSEUDO): Reimplement to do errno handling inline.
49975         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49976         (SYSCALL_ERROR_HANDLER): New macro.
49977         (__SYSCALL_STRING): Do not do errno handling in asm.
49978         (__CLONE_SYSCALL_STRING): Delete.
49979         (__INTERNAL_SYSCALL_STRING): Delete.
49980         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49981         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49982         i386.
49983         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49984         (inline_syscall*): Add 'err' argument.
49985         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49986         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49987         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49988         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49989
49990         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49991         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49992
49993 2011-08-30  Andreas Schwab  <schwab@redhat.com>
49994
49995         * elf/rtld.c (dl_main): Relocate objects in dependency order.
49996
49997 2011-08-29  Jiri Olsa <jolsa@redhat.com>
49998
49999         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50000         directive.
50001
50002 2011-08-24  David S. Miller  <davem@davemloft.net>
50003
50004         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50005
50006 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50007
50008         * elf/Makefile: Add rules to build and run unload8 test.
50009         * elf/unload8.c: New file.
50010         * elf/unload8mod1.c: New file.
50011         * elf/unload8mod1x.c: New file.
50012         * elf/unload8mod2.c: New file.
50013         * elf/unload8mod3.c: New file.
50014
50015         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50016         it wasn't used.
50017
50018 2011-08-23  David S. Miller  <davem@davemloft.net>
50019
50020         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50021         subtract stack bias.
50022         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50023         %sp not %fp in calculations.
50024         (_JMPBUF_UNWINDS_ADJ): Likewise.
50025
50026         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50027         (aio_suspend): Call it to force an exception region around the
50028         AIO_MISC_WAIT() invocation.
50029
50030 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50031
50032         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50033         backslash.
50034
50035 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50036
50037         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50038         protection macro.
50039         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50040         and <dl-machine.h>.
50041         (Elf64_FuncDesc): Remove.
50042
50043 2011-08-22  David S. Miller  <davem@davemloft.net>
50044
50045         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50046         sigaltstack check, add missing cfi directives.
50047         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50048         missing cfi directives, and sigaltstack handling.
50049
50050 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50051
50052         [BZ #11724]
50053         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50054         object is seen twice.
50055         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50056
50057         * elf/Makefile (distribute): Add tst-initorder2.c.
50058         (tests): Add tst-initorder2.
50059         (modules-names): Add tst-initorder2a tst-initorder2b
50060         tst-initorder2c tst-initorder2d.  Add rules to build them.
50061         ($(objpfx)tst-initorder2.out): New rule.
50062         * elf/tst-initorder2.c: New file.
50063         * elf/tst-initorder2.exp: New file.
50064
50065 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50066
50067         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50068
50069         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50070         dependencies back to end of function.
50071
50072         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50073         $(elfobjdir)/ld.so.
50074
50075 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50076
50077         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50078         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50079         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50080         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50081         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50082         of __vdso_gettimeofday.
50083         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50084         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50085         attribute_hidden.
50086         (_libc_vdso_platform_setup): Remove initialization of
50087         __vdso_gettimeofday and __vdso_time.
50088
50089 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50090
50091         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50092         and fgetc_unlocked.
50093         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50094         getc_unlocked.
50095
50096         * elf/dl-open.c (add_to_global): Report additions to the global scope
50097         for LD_DEBUG=scopes.
50098         (dl_open_worker): Also print scope of newly loaded dependencies.
50099         (_dl_show_scope): Indicate if there is no scope.
50100
50101         [BZ #13114]
50102         * stdio-common/Makefile (tests): Add bug24.
50103         * stdio-common/bug24.c: New file.
50104
50105 2011-08-19  Andreas Jaeger  <aj@suse.de>
50106
50107         [BZ #13114]
50108         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50109         non-existant file when using close-on-exec mode.
50110
50111 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50112
50113         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50114         the very first instruction.
50115
50116         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50117         the CFI state in the end.
50118         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50119         inclusion of dl-trampoline.h.
50120         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50121
50122 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50123
50124         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50125         expectations for long double.
50126
50127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50128         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50129
50130 2011-08-14  David S. Miller  <davem@davemloft.net>
50131
50132         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50133         artificual limit depends upon the system page size.
50134
50135 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50136
50137         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50138         * resolv/Makefile: Define CFLAGS-libresolv.
50139
50140 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50141
50142         * nss/makedb.c (compute_tables): Make variables used in nested
50143         function static.
50144
50145 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50146
50147         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50148         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50149         if buffer was too small.
50150
50151         * elf/pldd.c (main): Attach to all threads in the process.
50152         Rewrite /proc handling to use *at functions.
50153
50154 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50155
50156         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50157         specifies first scope to show.
50158         (dl_open_worker): Update callers.  Move printing scope of new
50159         object to before the relocation.
50160         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50161         * sysdeps/generic/ldsodefs.h: Update declaration.
50162
50163         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50164         string for the scope number.
50165
50166 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50167
50168         * nscd/servicescache.c (cache_addserv): Make sure written is always
50169         initialized.
50170
50171 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50172
50173         * sysdeps/i386/i486/bits/atomic.h
50174         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50175         statement expression, so as to suppress "set but not used" warning.
50176         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50177
50178         * string/strncat.c (STRNCAT): Use prototype definition.
50179
50180         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50181         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50182         -Iprograms here.
50183         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
50184         (localedef-modules): Add localedef.
50185         (locale-modules): Add locale.
50186
50187         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
50188         * elf/rtld.c (dl_main): Invert order of assignment in last change,
50189         to avoid a warning.
50190
50191 2011-08-14  David S. Miller  <davem@davemloft.net>
50192
50193         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
50194         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
50195
50196 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
50197
50198         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
50199         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
50200         * elf/rtld.c (dl_main): Set l_name of vDSO.
50201         Call _dl_show_scope when DL_DEBUG_SCOPES.
50202         (process_dl_debug): Recognize scopes flag and also set it for all.
50203         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
50204         Declare _dl_show_scope.
50205
50206         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
50207         (do_dlopen): Pass caller_dlopen to dl_open.
50208         (__libc_dlopen_mode): Initialize caller_dlopen.
50209
50210         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
50211         of libc.  Make tolower call locale-independent.  Optimize a bit by
50212         using isdigit instead of isalnum.
50213         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
50214
50215 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
50216
50217         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
50218         was a dependency or dynamically loaded.
50219
50220 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
50221
50222         * intl/l10nflist.c: Allow architecture-specific pop function.
50223         * sysdeps/x86_64/l10nflist.c: New file.
50224
50225         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
50226         classification.
50227
50228 2011-08-10  Andreas Schwab  <schwab@redhat.com>
50229
50230         * include/dirent.h: Add libc_hidden_proto for scandirat and
50231         scandirat64.  Don't declare __scandirat64.
50232         * dirent/scandirat.c: Add libc_hidden_def.
50233         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
50234         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
50235
50236 2011-08-10  David S. Miller  <davem@davemloft.net>
50237
50238         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
50239         enum.
50240         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50241         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50242         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50243
50244 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
50245
50246         * Versions.def [libc]: Add GLIBC_2.15.
50247         * dirent/Makefile (routines): Add scandirat and scandirat64.
50248         * dirent/Versions [libc]: Export scandirat and scandirat64 for
50249         GLIBC_2.15.
50250         * dirent/dirent.h: Declare scandirat and scandirat64.
50251         * dirent/scandirat.c: New file.
50252         * dirent/scandirat64.c: New file.
50253         * sysdeps/wordsize-64/scandirat.c: New file.
50254         * sysdeps/wordsize-64/scandirat64.c: New file.
50255         * dirent/opendir.c: Define opendirat.
50256         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
50257         using scandirat.
50258         * dirent/scandir64.c: Adjust for scandir.c change.
50259         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
50260         __scandirat64, and __scandir_cancel_handler.
50261         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
50262         additional parameter and use openat instead of open (outside of ld.so).
50263         Add new __opendir as wrapper around __opendirat.
50264         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
50265         here without requiring old scandirat implementation.
50266
50267 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
50268
50269         * dirent/scandir.c (cancel_handler): Renamed to
50270         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
50271         defined.  Adjust users.
50272         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
50273         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
50274
50275 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
50276
50277         * string/test-string.h (IMPL): Use __STRING to expand name and then
50278         stringify it.
50279
50280         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
50281         of cleanups.
50282
50283 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50284
50285         * string/Makefile: Update.
50286         (strop-tests): Append strncat.
50287         * string/test-wcscmp.c: New file.
50288         New comprehensive test for wcscmp.
50289         * string/test-strcmp.c: Update.
50290         (WIDE): New define.
50291
50292 2011-07-22  Andreas Schwab  <schwab@redhat.com>
50293
50294         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
50295         line.
50296
50297 2011-07-26  Andreas Schwab  <schwab@redhat.com>
50298
50299         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
50300         encoding to ACE if AI_IDN.
50301
50302 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
50303
50304         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
50305         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
50306
50307 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50308
50309         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
50310         Fix overflow bug in strncat.
50311         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
50312
50313         * string/test-strncat.c: Update.
50314         Add new tests for checking overflow bugs.
50315
50316 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50317
50318         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50319         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
50320         * sysdeps/i386/i686/multiarch/strcat.S: New file.
50321         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
50322         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
50323         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
50324         * sysdeps/i386/i686/multiarch/strncat.S: New file.
50325         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
50326         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
50327
50328         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
50329         (USE_AS_STRCAT): Define.
50330         Add strcat and strncat support.
50331         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50332
50333 2011-07-25  Andreas Schwab  <schwab@redhat.com>
50334
50335         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
50336         __n bigger than INT_MAX+1.
50337         (__strncmp_g): Likewise.
50338
50339 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
50340
50341         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
50342         * libio/stido.h: Likewise.
50343
50344         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
50345         (AF_NFC): Define.
50346         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
50347         (AF_NFC): Define.
50348
50349         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
50350         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50351         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50352         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
50353         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50354
50355         [BZ #13021]
50356         * scripts/test-installation.pl: Don't expect libnss_test1 to be
50357         installed.
50358
50359         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
50360         typo.
50361         (_dl_x86_64_save_sse): Likewise.
50362
50363 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
50364
50365         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
50366         OSXSAVE.
50367         (_dl_x86_64_save_sse): Likewise.
50368
50369         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
50370
50371         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
50372
50373 2011-07-21  Andreas Schwab  <schwab@redhat.com>
50374
50375         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
50376         change.
50377         (_dl_x86_64_save_sse): Use correct AVX check.
50378
50379 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50380
50381         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
50382         bug in strncpy/strncat.
50383         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
50384
50385 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
50386
50387         * string/tester.c (test_strcat): Add tests for different alignments
50388         of source and destination.
50389         (test_strncat): Likewise.
50390
50391 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50392
50393         [BZ #12852]
50394         * posix/glob.c (glob): Check passed in values before using them in
50395         expressions to avoid some overflows.
50396         (glob_in_dir): Likewise.
50397
50398         [BZ #13007]
50399         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
50400         check for AVX enablement so that we don't crash with old kernels and
50401         new hardware.
50402         * elf/tst-audit4.c: Add same checks here.
50403         * elf/tst-audit6.c: Likewise.
50404
50405         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
50406
50407 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
50408
50409         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
50410
50411 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
50412
50413         * po/cs.po: Update from translation team.
50414         * po/bg.po: Likewise.
50415
50416 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
50417
50418         * misc/sys/cdefs.h: Add support for const attribute.
50419         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
50420         to gnu_dev_{major,minor,makedev} functions.
50421
50422 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
50423
50424         * intl/dcigettext.c (get_output_charset): Add missing bracket.
50425
50426 2011-07-20  Andreas Schwab  <schwab@redhat.com>
50427
50428         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
50429         strlen results.
50430
50431 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50432
50433         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
50434         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
50435         register in order to avoid conflicts with the soft frame pointer
50436         being held in r11 when necessary.
50437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
50438         (INTERNAL_VSYSCALL_NCS): Likewise.
50439
50440 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
50441
50442         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
50443         * elf/dl-fini.c (_dl_fini): Adjust caller.
50444         * elf/dl-close.c (_dl_close_worker): Likewise.
50445         * sysdeps/generic/ldsodefs.h: Adjust declaration.
50446
50447 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50448
50449         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
50450         "aux_cache->nlibs < 0".
50451
50452         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
50453         in the reload-count case.
50454
50455 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50456
50457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50458         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
50459         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
50460         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
50461         * sysdeps/x86_64/multiarch/strcat.S: New file.
50462         * sysdeps/x86_64/multiarch/strncat.S: New file.
50463         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
50464         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
50465         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
50466         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
50467         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
50468         (USE_AS_STRCAT): Define.
50469         Add strcat and strncat support.
50470         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50471         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50472         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
50473         * string/strncat.c: Update.
50474         (USE_AS_STRNCAT): Define.
50475         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50476         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
50477         and i7.
50478         * sysdeps/x86_64/multiarch/init-arch.h
50479         (bit_Prefer_PMINUB_for_stringop): New.
50480         (index_Prefer_PMINUB_for_stringop): Likewise.
50481         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
50482         bit_Prefer_PMINUB_for_stringop.
50483
50484 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50485
50486         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
50487         buffer64.
50488         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
50489         of casting of buffer.
50490         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
50491         buffer32 and buffer64.
50492         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
50493         writes instead of casting of buffer.
50494         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
50495         buffer32.
50496         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
50497         casting of buffer.
50498
50499 2011-07-19  Andreas Schwab  <schwab@redhat.com>
50500
50501         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
50502
50503 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
50504
50505         * nscd/nscd.c (termination_handler): Don't do anything for a database
50506         if it has not yet been initialized.
50507
50508 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50509
50510         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50511
50512 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
50513
50514         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
50515
50516 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
50517
50518         * po/nl.po: Update from translation team.
50519         * po/sv.po: Likewise.
50520
50521 2011-07-16  Roland McGrath  <roland@hack.frob.com>
50522
50523         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
50524         now disallowed by GCC.
50525
50526         * configure.in (use-default-link): Default to yes if a test -shared
50527         link meets our qualifications.
50528         * configure: Regenerated.
50529
50530         * config.make.in (output-format): New variable.
50531         * configure.in: Check for ld --print-output-format support.
50532         * configure: Regenerated.
50533         * Makerules ($(common-objpfx)format.lds)
50534         [$(output-format) != unknown]: Just use $(output-format),
50535         instead of the linker-script munging.
50536
50537 2011-07-14  Roland McGrath  <roland@hack.frob.com>
50538
50539         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
50540         of $(common-objpfx)shlib.lds.
50541         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
50542
50543         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
50544         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
50545
50546         * configure.in (-z relro check): Adjust test code to add a large
50547         writable data section after it.
50548         * configure: Regenerated.
50549
50550 2011-07-11  Roland McGrath  <roland@hack.frob.com>
50551
50552         * configure.in (-z relro check): Fix test code to make the variable
50553         truly const.
50554         * configure: Regenerated.
50555
50556 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
50557
50558         * nscd/nscd.h (struct traced_file): Define.
50559         (struct database_dyn): Remove inotify_descr, reset_res, and filename
50560         elements.  Add traced_files.
50561         (inotify_fd): Declare.
50562         (register_traced_file): Declare.
50563         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
50564         (inotify_fd): Export.
50565         (resolv_conf_descr): Remove.
50566         (nscd_init): Move inotify descriptor creation to main.
50567         Don't register files for notification here.
50568         (register_traced_file): New function.
50569         (invalidate_cache): Don't use reset_res to determine whether to call
50570         res_init, go through the list of registered files.
50571         (main_loop_poll): The inotify descriptors are now stored in the
50572         structures for the traced files.
50573         (main_loop_epoll): Likewise
50574         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
50575         to __nss_disable_nscd.
50576         * nscd/cache.c (prune_cache): There is no single inotify descriptor
50577         for a database anymore.  Check the records for all the registered
50578         files instead.
50579         * nss/Makefile (libnss_files-routines): Add files-init.
50580         (libnss_db-routines): Add db-init.
50581         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
50582         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
50583         * nss/nss_db/db-init.c: New file.
50584         * nss/nss_files/files-init.c: New file.
50585         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
50586         __nss_lookup_function.
50587         (__nss_lookup_function): Call nss_load_library.
50588         (nss_load_all_libraries): New function.
50589         (__nss_disable_nscd): Take parameter with callback function for files
50590         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
50591         used for the cached services.
50592         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
50593         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
50594         options for features to all the files in nscd.
50595
50596         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
50597
50598 2011-07-10  Roland McGrath  <roland@hack.frob.com>
50599
50600         * csu/elf-init.c (__libc_csu_init): Comment typo.
50601
50602 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
50603
50604         * po/pl.po: Update from translation team.
50605         * po/ja.po: Likewise.
50606         * po/ru.po: Likewise.
50607         * po/ko.po: Likewise.
50608         * po/fr.po: Likewise.
50609
50610 2011-07-09  Roland McGrath  <roland@hack.frob.com>
50611
50612         * configure.in (.ctors/.dtors header and trailer check):
50613         Use an empirical test on a built program.
50614         * configure: Regenerated.
50615
50616         * configure.in (-z relro check): Use an empirical test on a built DSO.
50617         Detect, but do not require, on ia64.
50618         * configure: Regenerated.
50619
50620         * configure.in (READELF): Find it with AC_CHECK_TOOL.
50621         Update tests that use readelf to use $READELF instead.
50622         * configure: Regenerated.
50623
50624 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
50625
50626         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50627         if the result is not used.
50628
50629 2011-07-05  Andreas Jaeger  <aj@suse.de>
50630
50631         [BZ#9696]
50632         * stdlib/tst-strtod.c: Add testcase.
50633
50634 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
50635
50636         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50637         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50638         The latter has a higher limit.  Take additional parameter to pass to
50639         the new function.
50640         (__pathconf): Pass file to __statfs_link_max.
50641         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50642         __statfs_link_max.
50643         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50644         __statfs_link_max.
50645
50646         [BZ #12868]
50647         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50648         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50649         Handle Lustre.
50650         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50651         (__statfs_filesize_max): Likewise.
50652         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50653
50654 2011-07-05  Andreas Jaeger  <aj@suse.de>
50655
50656         * resolv/res_comp.c (dn_skipname): Remove unused variable.
50657
50658 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
50659
50660         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50661         `status' variable.
50662         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50663         Likewise.
50664
50665 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
50666
50667         * Makefile (strop-tests): Add strncat.
50668         * string/test-strncat.c: New file.
50669
50670 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
50671
50672         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50673
50674 2011-06-21  Andreas Jaeger  <aj@suse.de>
50675
50676         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50677         Copy rule from iconvdata/Makefile.
50678
50679 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50680
50681         [BZ #12922]
50682         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50683         but no long options are defined, just return 'W'.
50684
50685 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
50686
50687         [BZ #9696]
50688         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50689
50690 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50691
50692         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50693         netgroups to read.
50694         (innetgr): Likewise.
50695
50696 2011-07-05  Roland McGrath  <roland@hack.frob.com>
50697
50698         * config.make.in (install_root): Default to $(DESTDIR).
50699
50700 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50701
50702         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50703
50704 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50705
50706         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50707
50708         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50709         containing directory rather than embedding absolute directory names.
50710
50711         * scripts/check-local-headers.sh: Rewritten using awk.
50712         Match by word, not by line.  Print error messages for matches.
50713         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50714
50715         * Makerules [shlib-lds-flags empty]:
50716         ($(common-objpfx)libc_pic.opts): New target.
50717         ($(common-objpfx)libc_pic.os.clean): New target.
50718         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50719
50720         * config.make.in (OBJCOPY): New variable.
50721         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50722         * configure: Regenerated.
50723
50724         * config.make.in (use-default-link): New variable.
50725         * configure.in (use_default_link): Grok --with-default-link to set it.
50726         * configure: Regenerated.
50727         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50728         (shlib-lds, shlib-lds-flags): Define to empty.
50729
50730         * Makerules (shlib-lds): New variable.
50731         (shlib-lds-flags): New variable.
50732         (build-shlib, build-moduile, build-module-asneeded): Use it.
50733         ($(common-objpfx)libc.so): Use $(shlib-lds).
50734         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50735         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50736
50737         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50738         DT_FLAGS/DT_FLAGS_1 with zero flags.
50739
50740         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50741         linker script munging.
50742
50743 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
50744
50745         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50746         as 128-bit value.
50747         * crypt/sha512.c (sha512_process_block): Perform total addition using
50748         128-bit if possible.
50749         (__sha512_finish_ctx): Likewise.
50750         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50751         as 64-bit value.
50752         * crypt/sha256.c (SWAP64): Define.
50753         (sha256_process_block): Perform total addition using 64-bit if
50754         possible.
50755         (__sha256_finish_ctx): Likewise.
50756
50757 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
50758
50759         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
50760         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50761         * nscd/hstcache.c (cache_addhst): Likewise.
50762         * nscd/grpcache.c (cache_addgr): Likewise.
50763         * nscd/aicache.c (addhstaiX): Likewise
50764         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50765
50766 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
50767
50768         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50769         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50770         * nscd/hstcache.c (cache_addhst): Likewise.
50771         * nscd/grpcache.c (cache_addgr): Likewise.
50772         * nscd/aicache.c (addhstaiX): Likewise
50773
50774 2011-07-01  Andreas Schwab  <schwab@redhat.com>
50775
50776         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50777         domain only when needed.
50778
50779 2011-06-30  Andreas Schwab  <schwab@redhat.com>
50780
50781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50782         is always restored.
50783
50784 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
50785
50786         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50787         are re-adding the entry.
50788         * nscd/servicescache.c (cache_addserv): Likewise.
50789
50790 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
50791
50792         * sysdeps/generic/dl-irel.h: fix protection against multiple
50793         inclusions.
50794         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50795
50796 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
50797
50798         [BZ #12935]
50799         * malloc/memusage.sh: Fix quoting in message.
50800         * debug/xtrace.sh: Likewise.
50801
50802         * configure.in: Remove support for --experimental-malloc option, make
50803         it the default.
50804         * config.make.in: Likewise.
50805         * malloc/Makefile: Likewise.
50806
50807 2011-06-27  Andreas Schwab  <schwab@redhat.com>
50808
50809         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50810         two-byte characters.
50811
50812 2011-06-27  Roland McGrath  <roland@hack.frob.com>
50813
50814         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50815         AC_CACHE_CHECK invocation.
50816         * configure: Regenerated.
50817
50818         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50819
50820 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
50821
50822         [BZ #12350]
50823         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
50824         bit from old_res_options.
50825
50826         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50827
50828         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50829         value type for setfct.
50830
50831 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
50832
50833         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50834         __gettimeofday instead of gettimeofday.
50835
50836 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
50837
50838         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50839
50840 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
50841
50842         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50843
50844         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50845         info.
50846
50847 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50848
50849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50850         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50851         strcpy-sse2-unaligned strncpy-sse2-unaligned
50852         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50853         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50854         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50855         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50856         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50857         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50858         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50859         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50860         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50861         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50862         (STRCPY): Support SSE2 and SSSE3 versions.
50863
50864 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
50865
50866         [BZ #12874]
50867         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50868         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50869         kernels which artificially limit size of requests.
50870
50871 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50872
50873         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50874         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50875         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50876         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50877         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50878         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50879         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50880         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50881         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50882         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50883         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50884         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50885         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50886         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50887         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50889         Enable unaligned load optimization for Intel Core i3, i5 and i7
50890         processors.
50891         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50892         Define.
50893         (index_Fast_Unaligned_Load): Define.
50894         (HAS_FAST_UNALIGNED_LOAD): Define.
50895
50896 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
50897
50898         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50899
50900 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50901
50902         [BZ #12907]
50903         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50904         until it is clear that the information is realy needed.
50905         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50906
50907 2011-06-22  Andreas Schwab  <schwab@redhat.com>
50908
50909         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50910
50911 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50912
50913         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50914         /sys/devices/system/cpu/online if it is usable.
50915
50916         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50917         reading the information from the /proc filesystem to once a second.
50918
50919 2011-06-21  Andreas Jaeger  <aj@suse.de>
50920
50921         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50922         NULL after inclusion of kernel headers.
50923
50924 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
50925
50926         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50927         calls to internal_setent.
50928
50929         [BZ #12885]
50930         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50931         addresses using gethostbyname4_r ignore IPv4 addresses.
50932
50933         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50934         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
50935
50936         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50937
50938 2011-06-20  David S. Miller  <davem@davemloft.net>
50939
50940         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50941         inclusions.
50942         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50943
50944         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50945         (elf_irel): Use it.
50946         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50947         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50948         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50949         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50950         * sysdeps/x86_64/dl-irel.h: Likewise.
50951
50952         * elf/dl-runtime.c: Use elf_ifunc_invoke.
50953         * elf/dl-sym.c: Likewise.
50954
50955 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50956
50957         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
50958         need to dereference resplen2.
50959
50960 2011-06-14  Andreas Schwab  <schwab@redhat.com>
50961
50962         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50963
50964 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50965
50966         * Makeconfig: Define vardbdir and inst_vardbdir.
50967         * nss/Makefile: Add rules to install db-Makefile.
50968
50969         * nss/nss_db/db-XXX.c: Cleanup.
50970
50971         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50972         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50973         GLIBC_PRIVATE.
50974         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50975         * nss/makedb.c: Implement -g option to specify that value strings
50976         are generated and should not be added to table iterated over for
50977         get*ent calls.
50978         * nss/nss_db/db-initgroups.c: New file.
50979
50980         * nss/getent.c: Add support for initgroups lookups through getgrouplist
50981         interface.
50982
50983         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50984         (internal_getgrouplist): Adjust to name change.
50985         Update use_initgroups_entry if this is not the first call.
50986         * nss/databases.def: Add initgroups entry.
50987
50988         * nss/makedb.c (compute_tables): Check result of multiple hash table
50989         sizes to minimize maximum chain length.
50990
50991 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
50992
50993         * Versions.def: Add entry for libnss_db.
50994         * shlib-versions: Likewise.
50995         * nss/Makefile: Add rules to build libnss_db.
50996         * nss/Versions: Add libnss_db information.  Organize libnss_files
50997         entries better.
50998         * nss/db-Makefile: Add gshadow support.  Change rules for the new
50999         makedb progra.  Some minor improvements to generate smaller files.
51000         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51001         here from...
51002         * nss/makedb.c: ...here.
51003         Improve database format to be smaller and require less memory at
51004         runtime.
51005         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51006         db anymore.
51007         * nss/nss_db/db-netgrp.c: Likewise.
51008         * nss/nss_db/db-open.c: Likewise.
51009         * nss/nss_files/flies-XXX.x: Adjust comments.
51010         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51011         * nss/nss_files/files-grp.c: Likewise.
51012         * nss/nss_files/files-hosts.c: Likewise.
51013         * nss/nss_files/files-network.c: Likewise.
51014         * nss/nss_files/files-proto.c: Likewise.
51015         * nss/nss_files/files-pwd.c: Likewise.
51016         * nss/nss_files/files-rpc.c: Likewise.
51017         * nss/nss_files/files-service.c: Likewise.
51018         * nss/nss_files/files-sgrp.c: Likewise.
51019         * nss/nss_files/files-spwd.c: Likewise.
51020         * nss/nss_db/db-alias.c: Removed.
51021         * nss/nss_db/dummy-db.h: Removed.
51022
51023 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51024
51025         * nss/makedb.c: Rewritten to not use database library.
51026         * nss/Makefile: Update to build new makedb program.
51027
51028 2011-06-14  Andreas Jaeger  <aj@suse.de>
51029
51030         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51031         memset declaration.
51032
51033 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51034
51035         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51036         tmpbuf.
51037
51038 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51039
51040         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51041         * elf/Makefile ($(objpfx)ld.so): Likewise.
51042
51043         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51044         Don't list ld.so twice in dependencies.
51045
51046         * posix/bug-regex31.c: Include <stdlib.h>.
51047
51048         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51049
51050         * nis/nss_compat/compat-spwd.c
51051         (getspent_next_nss_netgr): Remove unused variable.
51052         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51053
51054         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51055         nonmembers" output to use the right array.
51056
51057         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51058
51059         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51060
51061         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51062         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51063         * catgets/gencat.c (read_input_file): Likewise.
51064         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51065
51066         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51067         variable definition inside #if's controlling its use.
51068
51069         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51070
51071         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51072
51073         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51074
51075         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51076         unreachable code.
51077
51078         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51079
51080         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51081         * configure: Regenerated.
51082
51083         * Makerules: Revert last change.
51084         * elf/Makefile: Likewise.
51085
51086 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51087
51088         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51089         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51090         (reloc-link): Likewise.
51091
51092 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51093
51094         * elf/Makefile: Add rules to build pldd.
51095         * elf/pldd.c: New file.
51096         * elf/pldd-xx.c: New file.
51097
51098 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51099
51100         * version.h: Update for 2.15 development version.
51101
51102 2011-06-07  David S. Miller  <davem@davemloft.net>
51103
51104         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51105         ifuncs.
51106         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51107         elf_machine_lazy_rel): Likewise.
51108         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51109         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51110         elf_machine_lazy_rel): Likewise.
51111         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51112         dl_hwcap via passed in argument.
51113         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51114         Likewise.
51115
51116 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51117
51118         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51119
51120 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51121
51122         [BZ #12849]
51123         * manual/fdl-1.1.texi: New file, verbatim from:
51124         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51125         * manual/lgpl-2.1.texi: New file, verbatim from:
51126         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51127         * manual/Makefile (licenses): New variable, list those new file names.
51128         (texis): Use it.
51129         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51130
51131         * manual/fdl.texi: File removed.
51132         * manual/lesser.texi: File removed.
51133         * manual/libc.texinfo (Copying, Documentation License):
51134         Use new @include file names, put @appendix directive before @include.
51135
51136 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51137
51138         [BZ #12841]
51139         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51140         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51141         (mq_open): Add __NTH.
51142
51143 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51144
51145         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51146         Assume Intel Core i3/i5/i7 processor if AVX is available.
51147
51148 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51149
51150         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51151         typo.
51152
51153 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51154
51155         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51156         memory.  Use alloca_account.  Fix memory leak when retrying.
51157
51158 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51159
51160         * version.h (RELEASE): Bump for 2.14 release.
51161         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51162
51163         * config.make.in (RANLIB): Remove entry.
51164
51165 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51166
51167         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51168         (libc.pot): Work around missing support for .ksh extension in xgettext.
51169
51170         [BZ #12684]
51171         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51172         if both request failed.
51173         (send_dg): In case of server errors clear resplen or *resplen2.
51174
51175         [BZ #12454]
51176         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51177         when there are multiple maps.
51178         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51179         (_dl_fini): Remove test here.
51180
51181         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51182
51183 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
51184
51185         [BZ #12350]
51186         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
51187         bit from old_res_options.
51188         (gaih_inet): Likewise.
51189
51190         [BZ #11099]
51191         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
51192         as signed.
51193
51194         * resolv/res_init.c (res_setoptions): Make the code more compact.
51195
51196         [BZ #11558]
51197         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
51198         set RES_USEVC.
51199
51200         [BZ #11634]
51201         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
51202
51203         * malloc/malloc.h: Mark malloc hook variables as deprecated.
51204
51205         [BZ #11781]
51206         * malloc/malloc.h: Declare malloc hook variables as volatile.
51207
51208         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
51209         in last patch.
51210
51211         [BZ #11799]
51212         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
51213         raise in the comment.
51214         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51215         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51216         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
51217
51218 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
51219
51220         [BZ #12811]
51221         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
51222         grow the buffers more if it already has to be sufficient.
51223         (build_wcs_upper_buffer): Likewise.
51224         * posix/regexec.c (check_matching): Likewise.
51225         (clean_state_log_if_needed): Likewise.
51226         (extend_buffers): Don't enlarge buffers beyond size of the input
51227         buffer.
51228         Patches mostly by Emil Wojak <emil@wojak.eu>.
51229         * posix/bug-regex32.c: New file.
51230         * posix/Makefile (tests): Add bug-regex32.
51231
51232         * locale/findlocale.c (_nl_find_locale): Return right away if
51233         _nl_explode_name failed.
51234         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
51235
51236         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
51237
51238         * debug/xtrace.sh: Unify messages.
51239         * malloc/memusage.sh: Likewise.
51240
51241         [BZ #12813]
51242         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
51243         time symbol from vDSO.  Substitute with vsyscall if not available.
51244         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
51245         __vdso_time.
51246
51247         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
51248         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
51249         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
51250         Add sendmmsg and internal_sendmmsg.
51251         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
51252         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
51253         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
51254
51255         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
51256         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
51257         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
51258
51259 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
51260
51261         [BZ #12813]
51262         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
51263         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
51264         available.
51265         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
51266         __vdso_getcpu.
51267
51268         [BZ #12814]
51269         * iconvdata/Makefile (tests): Add bug-iconv9.
51270         * iconvdata/bug-iconv9.c: New file.
51271
51272 2011-05-27  Andreas Schwab  <schwab@redhat.com>
51273
51274         [BZ #12814]
51275         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
51276
51277 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
51278
51279         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51280         (struct user_regs_struct): Change intcs field back to cs.
51281
51282 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
51283
51284         * po/ja.po: Update from translation team.
51285
51286 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
51287
51288         [BZ #12795]
51289         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
51290         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
51291
51292 2011-05-20  Andreas Schwab  <schwab@redhat.com>
51293
51294         * stdlib/longlong.h: Update from GCC.
51295
51296 2011-05-23  Andreas Schwab  <schwab@redhat.com>
51297
51298         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
51299         parameter name.
51300         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
51301         Add parameter name.
51302         (__sysconf): Pass it down.
51303
51304 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
51305
51306         [BZ #12671]
51307         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
51308         some situations.
51309         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51310         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
51311         add in in __libc_use_alloca calls.  Adjust callers.
51312         (glob): Use malloc in some situations.
51313
51314         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
51315         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
51316         pltexit.
51317
51318 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
51319
51320         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
51321         and CLOCK_BOOTTIME_ALARM.
51322
51323         [BZ #12782]
51324         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
51325         is returned.
51326
51327         * string/_strerror.c (__strerror_r): Print negative errors as signed
51328         numbers.
51329
51330         [BZ #12777]
51331         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
51332         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
51333         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
51334
51335         * configure.in: Fix typo in redirection and correct removal of test
51336         files in two cases.
51337
51338         [BZ #12788]
51339         * locale/setlocale.c (new_composite_name): Fix test to check for
51340         identical name of all categories.
51341
51342         [BZ #12792]
51343         * libio/filedoalloc.c (local_isatty): New function.
51344         (_IO_file_doallocate): Use local_isatty.
51345         * stdio-common/perror.c (perror): In case a new stream is used
51346         forward the stream error.
51347         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
51348         error flag.
51349
51350 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
51351
51352         [BZ #11869]
51353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
51354         alloca.
51355         * include/alloca.h (extend_alloca_account): Define.
51356
51357         [BZ #11857]
51358         * posix/regex.h: Fix comments with documentation of user-accessible
51359         fields after compilation and describe correct free'ing of pattern
51360         after re_compile_pattern.
51361         Patch by Reuben Thomas <rrt@sc3d.org>.
51362
51363 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
51364
51365         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
51366         and -mno-altivec to prevent the compiler from using Altivec and/or
51367         VSX instructions when the corresponding registers are not available.
51368
51369 2011-05-19  Andreas Schwab  <schwab@redhat.com>
51370
51371         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
51372
51373 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
51374
51375         * libio/freopen.c (freopen): Use __dup2, not dup2.
51376         * libio/freopen64.c (freopen64): Likewise.
51377
51378 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
51379
51380         [BZ #12775]
51381         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
51382         * math/Makefile (tests): Add test-powl.
51383         (CFLAGS-test-powl.c): Define.
51384         * math/test-powl.c: New file.
51385
51386 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
51387
51388         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
51389
51390 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
51391
51392         [BZ #11837]
51393         * iconvdata/gb18030.c: Update to GB18020-2005.
51394
51395 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
51396
51397         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
51398         RE_SYNTAX_POSIX_AWK): Update to match recent development.
51399         Patch by Aharon Robbins <arnold@skeeve.com>.
51400
51401         [BZ #11892]
51402         * stdlib/putenv.c (putenv): Don't always create copy of the variable
51403         on the stack.
51404
51405         [BZ #11895]
51406         * misc/pselect.c (__pselect): Handle timeout value errors hidden
51407         through underflows.
51408
51409         [BZ #12766]
51410         * misc/error.c (error_at_line): Ensure file_name and old_file_name
51411         point to strings before performing equality test for error_one_per_line
51412         mode.
51413
51414         [BZ #11697]
51415         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
51416
51417         [BZ #11820]
51418         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
51419         (struct user_fpregs_struct): Avoid __uint*_t types.
51420
51421         [BZ #6420]
51422         * malloc/mtrace.c (tr_where): Add additional parameter to point to
51423         symbol info.  Use it instead of calling _dl_addr locally.
51424         (lock_and_info): New function.
51425         (tr_freehook): Call lock_and_info and pass symbol info as additional
51426         parameter to tr_where.
51427         (tr_mallochook): Likewise.
51428         (tr_reallochook): Likewise.
51429         (tr_memalignhook): Likewise.
51430
51431         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
51432         used and couldn't be at all thread-safe.
51433
51434 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
51435
51436         * libio/freopen.c (freopen): Don't close old file descriptor
51437         before the new one is opened.  Instead dup the new file descriptor
51438         to the old one after the new stream is created.
51439         * libio/freopen64.c (freopen64): Likewise.
51440         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
51441         * libio/fileops.c (_IO_new_file_close_it): Handle new
51442         _IO_FLAGS2_NOCLOSE flag.
51443         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
51444         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
51445         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
51446         _IO_FLAGS2_NOCLOSE flag.
51447         * include/unistd.h: Add hidden_proto for dup3.
51448         Define __have_dup3.
51449         * io/dup3.c: Define hidden symbol.
51450         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
51451
51452         [BZ #7101]
51453         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
51454         when an incomplete long option is used.
51455         * posix/tst-getopt_long1.c: New file.
51456         * posix/Makefile (tests): Add tst-getopt_long1.
51457
51458         [BZ #10138]
51459         * scripts/config.guess: Update from autoconf-2.68.
51460         * scripts/config.sub: Likewise.
51461
51462         [BZ #10157]
51463         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
51464         tests into ...
51465         (has_cpuclock): ...this.  New function.
51466         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
51467         macro here based on has_cpuclock code.
51468
51469         [BZ #10149]
51470         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51471         First byte (not low byte) is now always NUL.
51472         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
51473
51474         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51475         Use non-cancelable interfaces.
51476
51477         [BZ #9809]
51478         * locale/iso-639.def: Add entry for Sorani.
51479
51480         [BZ #11901]
51481         * include/stdlib.h: Move include protection to the right place.
51482         Define abort_msg_s.  Declare __abort_msg with it.
51483         * stdlib/abort.c (__abort_msg): Adjust type.
51484         * assert/assert.c (__assert_fail_base): New function.  Majority
51485         of code from __assert_fail.  Allocate memory for __abort_msg with
51486         mmap.
51487         (__assert_fail): Now call __assert_fail_base.
51488         * assert/assert-perr.c: Remove bulk of implementation.  Use
51489         __assert_fail_base.
51490         * include/assert.hL Declare __assert_fail_base.
51491         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
51492         mmap.
51493         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
51494
51495 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
51496
51497         [BZ #11952]
51498         [BZ #12453]
51499         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
51500         until all modules are registered in the DTV.
51501         * elf/Makefile: Add rules to build and run tst-tls19.
51502         * elf/tst-tls19.c: New file.
51503         * elf/tst-tls19mod1.c: New file.
51504         * elf/tst-tls19mod2.c: New file.
51505         * elf/tst-tls19mod3.c: New file.
51506         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
51507
51508         [BZ #12083]
51509         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
51510         correctly.
51511
51512         [BZ #12601]
51513         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
51514         two-byte sequence errors.
51515         * iconvdata/Makefile (tests): Add bug-iconv8.
51516         * iconvdata/bug-iconv8.c: New file.
51517
51518         [BZ #12626]
51519         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
51520         buf2 definition.
51521
51522         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
51523
51524         [BZ #12432]
51525         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
51526         (dummy_getcfa): New function.
51527         (init): Get _Unwind_GetCFA address, use dummy if not found.
51528         (backtrace_helper): In recursion check, also check whether CFA changes.
51529         (__backtrace): Completely initialize arg.
51530
51531         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
51532         storing incomplete byte sequence in state object.  Avoid testing for
51533         guaranteed too small input if we know there is enough data available.
51534
51535 2011-05-11  Andreas Schwab  <schwab@redhat.com>
51536
51537         * Makeconfig (+link-pie): Indent.
51538         * Rules (binaries-pie): Define if $(have-fpie) and
51539         $(build-shared).
51540         (binaries-shared): Also filter out $(binaries-pie).
51541         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
51542         * nscd/Makefile (others-pie): Add nscd.
51543         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
51544         ($(objpfx)nscd): Remove command override.
51545         * login/Makefile (others-pie): Add pt_chown.
51546         ($(objpfx)pt_chown): Remove command override.
51547         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
51548         remove command overrides.
51549
51550 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
51551
51552         * libio/tst_putwc.c: Fix error messages.
51553
51554         [BZ #12724]
51555         * libio/fileops.c (_IO_new_file_close_it): Always flush when
51556         currently writing and seek to current position when not.
51557         * libio/Makefile (tests): Add bug-fclose1.
51558         * libio/bug-fclose1.c: New file.
51559
51560 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
51561
51562         [BZ #12511]
51563         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
51564         don't set DF_1_NODELETE here.
51565         (do_lookup_x): When entering new entry test for copy relocation
51566         and if necessary set DF_1_NODELETE flag.
51567         * elf/tst-unique4.cc: New file.
51568         * elf/tst-unique4.h: New file.
51569         * elf/tst-unique4lib.cc: New file.
51570         * elf/Makefile: Add rules to build and run tst-unique4.
51571         Patch by Piotr Bury <pbury@goahead.com>.
51572
51573 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
51574
51575         [BZ #12052]
51576         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
51577
51578         [BZ #12625]
51579         * misc/mntent_r.c (addmntent): Flush the stream after the output
51580
51581         [BZ #12393]
51582         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
51583         (is_trusted_path_normalize): Skip initial colon.  Append slash
51584         to empty buffer.  Duplicate is_trusted_path code but allow
51585         constructed patch to be prefix.
51586         (is_dst): Allow $ORIGIN followed by /.
51587         (_dl_dst_substitute): Correct clearing of check_for_trusted.
51588         Correct testing of result of is_trusted_path_normalize
51589         (decompose_rpath): Fix warning.
51590
51591 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
51592
51593         [BZ #11257]
51594         * grp/initgroups.c (internal_getgrouplist): When we found the service
51595         list through the initgroups entry in nsswitch.conf do not always
51596         continue on a successful lookup.  Don't always use the
51597         __nss_group_database value if it is set.
51598         * nss/nsswitch.conf (initgroups): Change action for successful db
51599         lookup to continue for compatibility.
51600
51601 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
51602
51603         [BZ #11532]
51604         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
51605         and CP774 modules.
51606         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
51607         and CP774 modules.
51608         * iconvdata/tst-tables.sh: Likewise.
51609         * iconvdata/cp770.c: New file.
51610         * iconvdata/cp771.c: New file.
51611         * iconvdata/cp772.c: New file.
51612         * iconvdata/cp773.c: New file.
51613         * iconvdata/cp774.c: New file.
51614         * iconvdata/testdata/CP770: New file.
51615         * iconvdata/testdata/CP770..UTF8: New file.
51616         * iconvdata/testdata/CP771: New file.
51617         * iconvdata/testdata/CP771..UTF8: New file.
51618         * iconvdata/testdata/CP772: New file.
51619         * iconvdata/testdata/CP772..UTF8: New file.
51620         * iconvdata/testdata/CP773: New file.
51621         * iconvdata/testdata/CP773..UTF8: New file.
51622         * iconvdata/testdata/CP774: New file.
51623         * iconvdata/testdata/CP774..UTF8: New file.
51624
51625         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51626         END CHARMAP line.
51627         * iconvdata/gen-8bit-gap.sh: Likewise.
51628         * iconvdata/gen-8bit.sh: Likewise.
51629
51630         * locale/iso-639.def: Add ary entry.
51631
51632         [BZ #11258]
51633         * locale/C-translit.h.in: Add U20A1 transliteration.
51634
51635         [BZ #12178]
51636         * locale/iso-639.def: Add wae entry.
51637         Patch by Kevin Bortis <bortis@translate-wae.ch>.
51638
51639         [BZ #12545]
51640         * locale/programs/localedef.c (construct_output_path): Use ssize_t
51641         for n.
51642
51643         [BZ #12711]
51644         * locale/C-translit.h.in: Add entry for U20B9.
51645         Patch by pravin.d.s@gmail.com.
51646
51647 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
51648
51649         [BZ #12713]
51650         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51651         ENAMETOOLONG use generic getcwd.
51652         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
51653         in rtld.  Use *stat64.
51654         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51655         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51656         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51657         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51658         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51659         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51660         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51661         __fstatat64 macros.
51662         * include/dirent.h: Add libc_hidden_proto for rewinddir.
51663         * dirent/rewinddir.c: Add libc_hidden_def.
51664         * sysdeps/mach/hurd/rewinddir.c: Likewise.
51665         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
51666
51667         * include/dirent.h (__alloc_dir): Add flags parameter.
51668         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51669         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51670         __alloc_dir.
51671         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
51672         from fdopendir if O_CLOEXEC is already set.
51673
51674 2011-03-15  Alan Modra  <amodra@gmail.com>
51675
51676         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51677         l_tls_firstbyte_offset non-zero.  Save padding offset in
51678         l_tls_firstbyte_offset for later use.
51679         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51680         freeing static tls block.
51681
51682 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
51683
51684         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51685         where #ifdef was intended.  The intent is to prevent ARG_MAX from
51686         being defined by the kernel headers.
51687
51688 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
51689
51690         [BZ #12734]
51691         * resolv/resolv.h: Define RES_NOTLDQUERY.
51692         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51693         no-tld-query and set RES_NOTLDQUERY.
51694         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51695         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51696         modern BIND to search name as TLD unless forbidden.
51697
51698 2011-05-07  Petr Baudis  <pasky@suse.cz>
51699             Ulrich Drepper  <drepper@gmail.com>
51700
51701         [BZ #12393]
51702         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51703         (is_trusted_path): ...to here.
51704         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51705         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51706         using is_trusted_path_normalize() in setuid scripts.
51707
51708 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51709
51710         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51711         __BEGIN/__END_DECLS.
51712
51713 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51714
51715         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51716         NSS_STATUS_NOTFOUND if no record was found.
51717
51718 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51719
51720         * sunrpc/Makefile (headers): Add rpc/netdb.h.
51721         (headers-not-in-tirpc): Remove rpc/netdb.h
51722         * resolv/netdb.h: Revert last change.
51723
51724 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51725
51726         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51727         circular dependency between libgcc.a and libc.a.
51728
51729 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51730
51731         * resolv/netdb.h: Don't include <rpc/netdb.h>.
51732         * nis/Makefile: Don't install rpcsvc/*.
51733         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51734         instead of <rpc/types.h>.
51735         (MAXHOSTNAMELEN): Define.
51736
51737 2011-05-03  Andreas Schwab  <schwab@redhat.com>
51738
51739         * elf/ldconfig.c (add_dir): Don't crash on empty path.
51740
51741 2011-04-28  Maciej Babinski  <mbabinski@google.com>
51742
51743         [BZ #12714]
51744         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51745         gethostbyname4_r when IPv6 results are possible.
51746
51747 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
51748
51749         [BZ #12723]
51750         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51751         _PC_PIPE_BUF handling.
51752
51753 2011-04-30  Bruno Haible  <bruno@clisp.org>
51754
51755         [BZ #12717]
51756         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51757         * resolv/netdb.h (getnameinfo): Change type of flags parameter
51758         to 'int'.
51759         * inet/getnameinfo.c (getnameinfo): Likewise.
51760
51761 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
51762
51763         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51764         to groups setting in database lookup.
51765         * nss/nsswitch.conf: Add initgroups entry.
51766
51767 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
51768
51769         [BZ #12685]
51770         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51771         mode string.
51772         Patch by Eric Blake <eblake@redhat.com>.
51773
51774 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
51775
51776         * sunrpc/Makefile (need-export-routines): Add svc_run.
51777         (routines): Remove svc_run.
51778         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51779         * sunrpc/clnt_perr.c (clnt_perrno): Export.
51780         * sunrpc/svc_run.c (svc_run): Likewise.
51781         * sunrpc/svc_udp.c (svcudp_create): Likewise.
51782
51783 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
51784
51785         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51786         problem in reallocation in last patch.
51787
51788 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
51789
51790         * sunrpc/Makefile: Move inclusion of Rules.
51791
51792 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51793
51794         * nss/nss_files/files-initgroups.c: New file.
51795         * nss/Makefile (libnss_files-routines): Add files-initgroups.
51796         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51797         _nss_files_initgroups_dyn.
51798
51799 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
51800
51801         * elf/elf.h (R_ARM_IRELATIVE): Define.
51802
51803 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51804
51805         * po/ru.po: Update from translation team.
51806
51807 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51808
51809         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51810         dependencies.
51811
51812 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
51813
51814         [BZ #12653]
51815         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51816         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51817         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51818         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51819         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51820
51821 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
51822
51823         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51824         differing bytes.
51825         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51826         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51827         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51828
51829 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51830
51831         [BZ #12420]
51832         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51833         storing it.
51834         * stdlib/bug-getcontext.c: New file.
51835         * stdlib/Makefile: Add rules to build and run bug-getcontext.
51836
51837 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51838
51839         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51840         instructions into .machine "z9-109".
51841         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51842         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51843
51844 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51845
51846         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51847         between environment variables and auxiliary vector.
51848
51849 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
51850
51851         * Makefile: Add rules to build linkobj/libc.so.
51852         * include/libc-symbols.h: Define libc_hidden_nolink.
51853         * include/rpc/auth.h: Mark functions which are to be hidden.
51854         * include/rpc/auth_des.h: Likewise.
51855         * include/rpc/auth_unix.h: Likewise.
51856         * include/rpc/clnt.h: Likewise.
51857         * include/rpc/des_crypt.h: Likewise.
51858         * include/rpc/key_prot.h: Likewise.
51859         * include/rpc/pmap_clnt.h: Likewise.
51860         * include/rpc/pmap_prot.h: Likewise.
51861         * include/rpc/pmap_rmt.h: Likewise.
51862         * include/rpc/rpc_msg.h: Likewise.
51863         * include/rpc/svc.h: Likewise.
51864         * include/rpc/svc_auth.h: Likewise.
51865         * include/rpc/xdr.h: Likewise.
51866         * nis/Makefile: Link all DSOs against linkobj/libc.so.
51867         * nss/Makefile: Likewise.
51868         * sunrpc/Makefile: Don't install headers.  Build library with normal
51869         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
51870         * sunrpc/auth_des.c: Hide exported symbols by default, export some
51871         for the compat linking library.  Remove use of INTDEF/INTUSE.
51872         * sunrpc/auth_none.c: Likewise.
51873         * sunrpc/auth_unix.c: Likewise.
51874         * sunrpc/authdes_prot.c: Likewise.
51875         * sunrpc/authuxprot.c: Likewise.
51876         * sunrpc/clnt_gen.c: Likewise.
51877         * sunrpc/clnt_perr.c: Likewise.
51878         * sunrpc/clnt_raw.c: Likewise.
51879         * sunrpc/clnt_simp.c: Likewise.
51880         * sunrpc/clnt_tcp.c: Likewise.
51881         * sunrpc/clnt_udp.c: Likewise.
51882         * sunrpc/clnt_unix.c: Likewise.
51883         * sunrpc/des_crypt.c: Likewise.
51884         * sunrpc/des_soft.c: Likewise.
51885         * sunrpc/get_myaddr.c: Likewise.
51886         * sunrpc/key_call.c: Likewise.
51887         * sunrpc/key_prot.c: Likewise.
51888         * sunrpc/netname.c: Likewise.
51889         * sunrpc/pm_getmaps.c: Likewise.
51890         * sunrpc/pm_getport.c: Likewise.
51891         * sunrpc/pmap_clnt.c: Likewise.
51892         * sunrpc/pmap_prot.c: Likewise.
51893         * sunrpc/pmap_prot2.c: Likewise.
51894         * sunrpc/pmap_rmt.c: Likewise.
51895         * sunrpc/publickey.c: Likewise.
51896         * sunrpc/rpc_cmsg.c: Likewise.
51897         * sunrpc/rpc_common.c: Likewise.
51898         * sunrpc/rpc_dtable.c: Likewise.
51899         * sunrpc/rpc_prot.c: Likewise.
51900         * sunrpc/rpc_thread.c: Likewise.
51901         * sunrpc/rtime.c: Likewise.
51902         * sunrpc/svc.c: Likewise.
51903         * sunrpc/svc_auth.c: Likewise.
51904         * sunrpc/svc_authux.c: Likewise.
51905         * sunrpc/svc_raw.c: Likewise.
51906         * sunrpc/svc_run.c: Likewise.
51907         * sunrpc/svc_simple.c: Likewise.
51908         * sunrpc/svc_tcp.c: Likewise.
51909         * sunrpc/svc_udp.c: Likewise.
51910         * sunrpc/svc_unix.c: Likewise.
51911         * sunrpc/svcauth_des.c: Likewise.
51912         * sunrpc/xcrypt.c: Likewise.
51913         * sunrpc/xdr.c: Likewise.
51914         * sunrpc/xdr_array.c: Likewise.
51915         * sunrpc/xdr_float.c: Likewise.
51916         * sunrpc/xdr_intXX_t.c: Likewise.
51917         * sunrpc/xdr_mem.c: Likewise.
51918         * sunrpc/xdr_rec.c: Likewise.
51919         * sunrpc/xdr_ref.c: Likewise.
51920         * sunrpc/xdr_sizeof.c: Likewise.
51921         * sunrpc/xdr_stdio.c: Likewise.
51922
51923 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
51924
51925         [BZ #12650]
51926         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51927         * sysdeps/ia64/dl-tls.h: Likewise.
51928         * sysdeps/powerpc/dl-tls.h: Likewise.
51929         * sysdeps/s390/dl-tls.h: Likewise.
51930         * sysdeps/sh/dl-tls.h: Likewise.
51931         * sysdeps/sparc/dl-tls.h: Likewise.
51932         * sysdeps/x86_64/dl-tls.h: Likewise.
51933         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51934
51935 2011-03-14  Andreas Schwab  <schwab@redhat.com>
51936
51937         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51938         rpath element also skip the following colon.
51939         (expand_dynamic_string_token): Add is_path parameter and pass
51940         down to DL_DST_REQUIRED and _dl_dst_substitute.
51941         (decompose_rpath): Call expand_dynamic_string_token with
51942         non-zero is_path.  Ignore empty rpaths.
51943         (_dl_map_object_from_fd): Call expand_dynamic_string_token
51944         with zero is_path.
51945
51946 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
51947
51948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51949         Make cancelable.
51950
51951 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
51952
51953         [BZ #12655]
51954         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51955         Patch by Filipe David Manana <fdmanana@apache.org>.
51956
51957 2011-04-07  Andreas Schwab  <schwab@redhat.com>
51958
51959         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51960         Maintain aligned stack.
51961         (CHECK_RSP): Remove unused macro.
51962
51963 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
51964
51965         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51966         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51967
51968 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
51969
51970         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51971
51972         * include/features.h: Mention __USE_XOPEN2K8 in comment.
51973
51974 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
51975
51976         [BZ #12518]
51977         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51978         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51979         * sysdeps/x86_64/memmove.c: New file.
51980         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51981         (memcpy): Renamed to ...
51982         (__new_memcpy): This.
51983         (memcpy): Provide GLIBC_2_14 memcpy.
51984         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51985         (memcpy): Provide GLIBC_2_2_5 memcpy.
51986
51987 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51988
51989         [BZ #12631]
51990         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51991
51992 2011-03-30  Andreas Schwab  <schwab@redhat.com>
51993
51994         * misc/syncfs.c: New file.
51995         * misc/Makefile (routines): Add syncfs.
51996         * posix/unistd.h: Declare syncfs.
51997         * sysdeps/unix/syscalls.list: Add syncfs.
51998
51999 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52000
52001         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52002         open_by_handle_at.
52003         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52004         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52005         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52006         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52007         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52008         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52009         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52010
52011 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52012
52013         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52014         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52015         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52016         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52017         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52018         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52019         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52020
52021         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52022         sync_file_range.c with -fexceptions.
52023         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52024         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52025         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52026         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52027         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52028         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52029         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52030         sync_file_range as cancellation point
52031         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52032         now a wrapper around __call_sync_file_range with cancellation handling.
52033         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52034         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52035         function name to __call_sync_file_range.
52036         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52037         Add call_sync_file_range.
52038
52039 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52040
52041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52042         bits/timex.h.
52043
52044 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52045
52046         * iconv/iconv.h: Fix typo in comment.
52047         * io/fcntl.h: Likewise.
52048         * libio/stdio.h: Likewise.
52049         * posix/spawn.h: Likewise.
52050         * posix/unistd.h: Likewise.
52051         * stdlib/stdlib.h: Likewise.
52052         * time/time.h: Likewise.
52053         * wcsmbs/wchar.h: Likewise.
52054
52055         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52056         open_by_handle): Add.
52057         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52058         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52059         Augment a few comments.
52060         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52061         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52062         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52063         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52064         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52065         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52066         open_by_handle.
52067
52068         * io/fcntl.h (AT_EMPTY_PATH): Define.
52069
52070 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52071
52072         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52073         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52074         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52075         to...
52076         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52077         * Versions.def: Add GLIBC_2.14.
52078         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52079         Export.
52080
52081 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52082
52083         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52084         round counter.
52085         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52086
52087 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52088
52089         [BZ #12597]
52090         * string/test-strncmp.c (do_page_test): New function.
52091         (check2): Likewise.
52092         (test_main): Call check2.
52093         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52094
52095 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52096
52097         [BZ #12587]
52098         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52099         Handle cache information in CPU leaf 4.
52100         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52101
52102 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52103
52104         [BZ #12583]
52105         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52106         character representation.
52107         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52108
52109 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52110
52111         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52112         END(__isnan) to END(__isnanf) to match function entry point/label
52113         EALIGN(__isnanf,...).
52114
52115 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52116
52117         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52118
52119 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52120
52121         [BZ #12510]
52122         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52123         copy from the symbol referenced in the relocation to initialize the
52124         used variable.
52125         Patch by Piotr Bury <pbury@goahead.com>.
52126         * elf/Makefile: Add rules to build and tst-unique3.
52127         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52128         * elf/tst-unique3.cc: New file.
52129         * elf/tst-unique3.h: New file.
52130         * elf/tst-unique3lib.cc: New file.
52131         * elf/tst-unique3lib2.cc: New file.
52132
52133         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52134
52135 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52136
52137         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52138         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52139         to _start.
52140
52141 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52142
52143         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52144         to-be-loaded object along a path to loader is ld.so.
52145
52146 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52147             Ulrich Drepper  <drepper@gmail.com>
52148
52149         * sysdeps/x86_64/memset.S: After aligning destination, code
52150         branches to different locations depending on the value of
52151         misalignment, when multiarch is enabled. Fix this.
52152
52153 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52154
52155         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52156         Set _x86_64_preferred_memory_instruction for AMD processsors.
52157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52158         Set bit_Prefer_SSE_for_memop for AMD processors.
52159
52160 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52161
52162         * libio/fmemopen.c (fmemopen): Optimize a bit.
52163
52164 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52165
52166         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52167
52168 2011-03-03  Roland McGrath  <roland@redhat.com>
52169
52170         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52171
52172 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52173
52174         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52175         __bzero_ultra1 instead of __memset_ultra1.
52176
52177 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52178             Ulrich Drepper  <drepper@gmail.com>
52179
52180         [BZ #12509]
52181         * include/link.h (struct link_map): Add l_orig_initfini.
52182         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52183         returning unsuccessfully.
52184         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
52185         close of a file loaded at startup, restore the original l_initfini
52186         list.
52187         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
52188         list, store the pointer.
52189         * elf/Makefile ($(objpfx)noload-mem): New rule.
52190         (noload-ENV): Define.
52191         (tests): Add $(objpfx)noload-mem.
52192         * elf/noload.c: Include <memcheck.h>.
52193         (main): Call mtrace.  Close all opened handles.
52194
52195 2011-02-17  Andreas Schwab  <schwab@redhat.com>
52196
52197         [BZ #12454]
52198         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
52199         dependencies are missing.
52200
52201 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52202
52203         Fix __if_freereq crash: Unlike the generic version which uses free,
52204         Hurd needs munmap.
52205         * sysdeps/mach/hurd/ifreq.h: New file.
52206
52207 2011-01-27  Petr Baudis  <pasky@suse.cz>
52208             Ulrich Drepper  <drepper@gmail.com>
52209
52210         [BZ 12445]#
52211         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
52212         to extend_alloca().
52213         * stdio-common/bug23.c: New file.
52214         * stdio-common/Makefile (tests): Add bug23.
52215
52216 2010-09-28  Andreas Schwab  <schwab@redhat.com>
52217             Ulrich Drepper  <drepper@gmail.com>
52218
52219         [BZ #12489]
52220         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
52221         before performing relro protection.  At old place add assertion
52222         to make sure nothing changed.
52223
52224 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
52225             Glauber de Oliveira Costa  <glommer@gmail.com>
52226
52227         * elf/elf.h: Add new ARM TLS relocs.
52228
52229 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
52230
52231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
52232         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
52233         cast from r3.
52234         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
52235         'tests' variable.
52236         * sysdeps/wordsize-64/tst-writev.c: New file.
52237
52238 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
52239
52240         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
52241         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
52242         insns in _dl_start to prevent a TOC reference before relocs are
52243         resolved.
52244
52245 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
52246
52247         [BZ #12469]
52248         * Makeconfig: Remove RANLIB definition.
52249         * Makerules: Don't use RANLIB.
52250         * aclocal.m4: Remove ranlib test.
52251         * configure.in: No need to check for ranlib.
52252         * elf/rtld-Rules: Don't use RANLIB.
52253
52254 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52255
52256         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
52257         protection macro.
52258         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
52259         inclusion protection macro.
52260
52261         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
52262         SIGRTMIN and SIGRTMAX and print information in that case only when
52263         SIGRTMIN is defined.
52264
52265 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
52266
52267         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
52268         arginfo fn returning -1.
52269
52270         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
52271         and thousands string is zero terminated.
52272
52273 2011-02-03  Andreas Schwab  <schwab@redhat.com>
52274
52275         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
52276         sysdeps/unix/sysv/linux/bits/socket.h.
52277
52278 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52279
52280         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
52281         (__CPU_COUNT): Remove old macros.
52282         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
52283         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
52284         (__CPU_ALLOC, __CPU_FREE): Add macros.
52285         (__sched_cpualloc, __sched_cpufree): Add declarations.
52286
52287 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
52288
52289         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
52290         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
52291         * nscd/aicache.c (addhstaiX): Return timeout of added value.
52292         (readdhstai): Return value of addhstaiX call.
52293         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
52294         (addgrbyX): Return value returned by cache_addgr.
52295         (readdgrbyname): Return value returned by addgrbyX.
52296         (readdgrbygid): Likewise.
52297         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
52298         (addpwbyX): Return value returned by cache_addpw.
52299         (readdpwbyname): Return value returned by addhstbyX.
52300         (readdpwbyuid): Likewise.
52301         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
52302         (addservbyX): Return value returned by cache_addserv.
52303         (readdservbyname): Return value returned by addservbyX:
52304         (readdservbyport): Likewise.
52305         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
52306         (addhstbyX): Return value returned by cache_addhst.
52307         (readdhstbyname): Return value returned by addhstbyX.
52308         (readdhstbyaddr): Likewise.
52309         (readdhstbynamev6): Likewise.
52310         (readdhstbyaddrv6): Likewise.
52311         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
52312         (readdinitgroups): Return value returned by addinitgroupsX.
52313         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
52314         (prune_cache): Keep track of timeout value of re-added entries.
52315         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
52316         * nscd/nscd.h: Adjust prototypes of readd* functions.
52317
52318 2011-02-04  Roland McGrath  <roland@redhat.com>
52319
52320         * nis/nis_server.c (nis_servstate): Use the right name for 0.
52321         (nis_stats): Likewise.
52322         * nis/nis_modify.c (nis_modify): Likewise.
52323         * nis/nis_remove.c (nis_remove): Likewise.
52324         * nis/nis_add.c (nis_add): Likewise.
52325
52326         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
52327
52328         * posix/fnmatch_loop.c: Add some consts.
52329
52330         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
52331
52332 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
52333
52334         [BZ #12460]
52335         * config.make.in (config-cflags-novzeroupper): Define.
52336         * configure.in: Substitute libc_cv_cc_novzeroupper.
52337         * elf/Makefile (AVX-CFLAGS): Define.
52338         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
52339         (CFLAGS-tst-auditmod4a.c): Likewise.
52340         (CFLAGS-tst-auditmod4b.c): Likewise.
52341         (CFLAGS-tst-auditmod6b.c): Likewise.
52342         (CFLAGS-tst-auditmod6c.c): Likewise.
52343         (CFLAGS-tst-auditmod7b.c): Likewise.
52344         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
52345
52346 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
52347
52348         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
52349         function to the callback.
52350         Patch partly by Jiri Olsa <jolsa@redhat.com>.
52351
52352 2011-02-02  Andreas Schwab  <schwab@redhat.com>
52353
52354         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
52355         of errno.
52356
52357 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
52358
52359         [BZ #11724]
52360         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
52361         of constructors.
52362         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
52363         of destructors.
52364         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
52365
52366         [BZ #11724]
52367         * elf/Makefile: Add rules to build and run new test.
52368         * elf/tst-initorder.c: New file.
52369         * elf/tst-initorder.exp: New file.
52370         * elf/tst-initordera1.c: New file.
52371         * elf/tst-initordera2.c: New file.
52372         * elf/tst-initordera3.c: New file.
52373         * elf/tst-initordera4.c: New file.
52374         * elf/tst-initorderb1.c: New file.
52375         * elf/tst-initorderb2.c: New file.
52376         * elf/tst-order-a1.c: New file.
52377         * elf/tst-order-a2.c: New file.
52378         * elf/tst-order-a3.c: New file.
52379         * elf/tst-order-a4.c: New file.
52380         * elf/tst-order-b1.c: New file.
52381         * elf/tst-order-b2.c: New file.
52382         * elf/tst-order-main.c: New file.
52383         New test case by George Gensure <werkt0@gmail.com>.
52384
52385 2010-10-01  Andreas Schwab  <schwab@redhat.com>
52386
52387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52388         decoding ACE if AI_CANONIDN.
52389
52390 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
52391
52392         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
52393
52394 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
52395
52396         * version.h (RELEASE): Bump for 2.13 release.
52397         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
52398
52399         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
52400
52401         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
52402         MADV_NOHUGEPAGE.
52403         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
52404         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52405         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52406         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
52407         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52408         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52409
52410         * posix/getconf.c: Update copyright year.
52411         * catgets/gencat.c: Likewise.
52412         * csu/version.c: Likewise.
52413         * debug/catchsegv.sh: Likewise.
52414         * debug/xtrace.sh: Likewise.
52415         * elf/ldconfig.c: Likewise.
52416         * elf/ldd.bash.in: Likewise.
52417         * elf/sprof.c (print_version): Likewise.
52418         * iconv/iconv_prog.c: Likewise.
52419         * iconv/iconvconfig.c: Likewise.
52420         * locale/programs/locale.c: Likewise.
52421         * locale/programs/localedef.c: Likewise.
52422         * malloc/memusage.sh: Likewise.
52423         * malloc/mtrace.pl: Likewise.
52424         * nscd/nscd.c (print_version): Likewise.
52425         * nss/getent.c: Likewise.
52426
52427         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
52428         PF_CAIF, and PF_ALG.
52429         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52430
52431 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
52432
52433         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
52434         (modules-names): Use them.
52435         (ifunc-test-modules, ifunc-pie-tests): Define.
52436         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
52437         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
52438         (test-extras): Likewise.
52439         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
52440         $(compile-command.c).
52441         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
52442         (all-built-dso): Define.
52443         (check-textrel.out, check-execstack.out): Depend on it.
52444
52445         * configure.in: Don't override --enable-multi-arch.
52446
52447 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
52448
52449         [BZ #6812]
52450         * nscd/hstcache.c (tryagain): Define.
52451         (cache_addhst): Return tryagain not notfound for temporary errors.
52452         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
52453         failed.
52454
52455 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
52456
52457         [BZ #10563]
52458         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
52459         to make the syscall.
52460         * sysdeps/unix/sysv/linux/setgroups.c: New file.
52461
52462         [BZ #12378]
52463         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
52464         and fall back to matching as normal character if the string ends before
52465         the matching ']' is found.  This is what POSIX requires.
52466         * posix/testfnm.c: Adjust test result.
52467         * posix/globtest.sh: Adjust test result.  Add new test.
52468         * posix/tst-fnmatch.input: Likewise.
52469         * posix/tst-fnmatch2.c: Add new test.
52470
52471 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
52472
52473         * elf/Makefile (check-execstack): Revert last change.  Depend on
52474         check-execstack.h.
52475         (check-execstack.h): New target.
52476         (generated): Add check-execstack.h.
52477         * elf/check-execstack.c: Include "check-execstack.h".
52478         (main): Revert last change.
52479         (handle_file): Return zero if GNU_STACK is absent and
52480         DEFAULT_STACK_PERMS doesn't include PF_X.
52481
52482 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
52483
52484         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
52485         in child fails because the descriptor is already closed.
52486         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
52487         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
52488         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
52489
52490         [BZ #12397]
52491         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
52492         syscall.
52493
52494         [BZ #10484]
52495         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
52496         temporary buffer used to handle multi lookups locally.
52497         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
52498
52499 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52500
52501         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
52502         loader is ld.so.
52503
52504 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
52505
52506         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
52507         alignment for SSE2.
52508
52509 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
52510
52511         [BZ #12394]
52512         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
52513         characters.  When rounding increased number of integer digits recompute
52514         number of groups.
52515         * stdio-common/tst-grouping.c: New file.
52516         * stdio-common/Makefile: Add rules to build and run tst-grouping.
52517
52518 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
52519
52520         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
52521         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
52522
52523         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
52524         void.
52525         * bits/select.h: Likewise.
52526
52527 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
52528
52529         * po/ja.po: Update from translation team.
52530
52531 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
52532
52533         [BZ #11155]
52534         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
52535         implementation just like for lxstat, fxstatat, et al.
52536
52537 2010-12-27  Jim Meyering  <meyering@redhat.com>
52538
52539         [BZ #12348]
52540         * posix/regexec.c (build_trtable): Return failure indication upon
52541         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
52542
52543 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
52544
52545         [BZ #12201]
52546         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
52547         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
52548         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
52549         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
52550
52551         [BZ #12207]
52552         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
52553
52554         [BZ #12204]
52555         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
52556         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
52557
52558 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
52559
52560         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
52561         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
52562         script has SORT_BY_INIT_PRIORITY.
52563         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
52564         NO_CTORS_DTORS_SECTIONS is defined.
52565         * elf/soinit.c: Likewise.
52566         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
52567         NO_CTORS_DTORS_SECTIONS is defined.
52568         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
52569         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
52570         * sysdeps/sh/init-first.c: Likewise.
52571         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
52572
52573 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
52574
52575         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
52576         always use the slow path.
52577
52578 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
52579
52580         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
52581         similar rule which adds the sysdep directories to the header search in
52582         order to pick up the correct platform stackinfo.h.
52583         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
52584         perform test if it is, otherwise return successfully without testing.
52585         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
52586         DEFAULT_STACK_PERMS define in stackinfo.h.
52587         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
52588         defined in stackinfo.h.
52589         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
52590         DEFAULT_STACK_PERMS defined in stackinfo.h.
52591         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
52592         * sysdeps/ia64/stackinfo.h: Likewise.
52593         * sysdeps/s390/stackinfo.h: Likewise.
52594         * sysdeps/sh/stackinfo.h: Likewise.
52595         * sysdeps/sparc/stackinfo.h: Likewise.
52596         * sysdeps/x86_64/stackinfo.h: Likewise.
52597         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
52598         PF_X for powerpc64.  Retain PF_X for powerpc32.
52599
52600 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
52601
52602         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
52603         accurately.
52604         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
52605         GETDENTS_64BIT_ALIGNED.
52606
52607 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
52608
52609         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
52610
52611 2010-12-10  Andreas Schwab  <schwab@redhat.com>
52612
52613         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52614         _GNU_SOURCE.
52615
52616         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52617         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52618         Remove __restrict.
52619         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52620         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52621
52622 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
52623
52624         [BZ #11655]
52625         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52626         are initialized.
52627
52628 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
52629
52630         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52631
52632 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
52633
52634         * po/it.po: Update from translation team.
52635
52636 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
52637
52638         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52639         unused codes.
52640
52641 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
52642
52643         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52644
52645 2010-11-24  Andreas Schwab  <schwab@redhat.com>
52646
52647         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52648         specially.
52649         (gaih_getanswer_slice): Likewise.
52650
52651 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
52652
52653         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52654
52655 2010-05-31  Petr Baudis  <pasky@suse.cz>
52656
52657         [BZ #11149]
52658         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52659         silently even in the chroot mode.
52660
52661 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
52662
52663         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52664         last patch a bit.  Pretty printing
52665
52666 2010-05-31  Petr Baudis <pasky@suse.cz>
52667
52668         [BZ #10085]
52669         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52670         initialization of skip_initgroups_dyn.
52671
52672 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
52673
52674         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52675         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52676
52677 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
52678
52679         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52680
52681 2010-11-11  Andreas Schwab  <schwab@redhat.com>
52682
52683         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52684         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52685         (tst-fnmatch-ENV): Set MALLOC_TRACE.
52686         ($(objpfx)tst-fnmatch-mem): New rule.
52687         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52688         * posix/tst-fnmatch.c (main): Call mtrace.
52689
52690 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
52691
52692         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52693         Support Intel processor model 6 and model 0x2c.
52694
52695 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
52696
52697         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52698           signed comparison.
52699
52700 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52701
52702         [BZ #12205]
52703         * string/test-strncasecmp.c (check_result): New function.
52704         (do_one_test): Use it.
52705         (check1): New function.
52706         (test_main): Use it.
52707         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52708         Support strcasecmp and strncasecmp.
52709
52710 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52711
52712         [BZ #12194]
52713         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52714         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52715
52716 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52717
52718         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52719         IFUNC support.
52720         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52721         memset-x86-64.
52722         * sysdeps/x86_64/multiarch/bzero.S: New file.
52723         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52724         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52725         * sysdeps/x86_64/multiarch/memset.S: New file.
52726         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52728         Set bit_Prefer_SSE_for_memop for Intel processors.
52729         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52730         Define.
52731         (index_Prefer_SSE_for_memop): Define.
52732         (HAS_PREFER_SSE_FOR_MEMOP): Define.
52733
52734 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
52735
52736         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52737         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52738
52739 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
52740
52741         [BZ #12191]
52742         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52743         (__x86_64_raw_data_cache_size_half): Likewise.
52744         (__x86_64_raw_shared_cache_size): Likewise.
52745         (__x86_64_raw_shared_cache_size_half): Likewise.
52746
52747         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52748         (__x86_64_raw_data_cache_size_half): Likewise.
52749         (__x86_64_raw_shared_cache_size): Likewise.
52750         (__x86_64_raw_shared_cache_size_half): Likewise.
52751         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52752         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52753         and __x86_64_raw_shared_cache_size_half.  Round
52754         __x86_64_data_cache_size_half, __x86_64_data_cache_size
52755         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52756         to multiple of 256 bytes.
52757
52758 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
52759
52760         [BZ #12167]
52761         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52762         of inacessible symlinks.  Verify result of symlink before returning it.
52763         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52764         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52765
52766 2010-10-28  Erich Ritz  <erichritz@gmail.com>
52767
52768         * math/math.h (isinf): Fix typo in comment.
52769
52770 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
52771
52772         * po/da.po: Update from translation team.
52773
52774 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
52775
52776         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52777         is added to the list.
52778
52779 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52780             Ulrich Drepper  <drepper@gmail.com>
52781
52782         * elf/dl-object.c (_dl_new_object): Don't append the new object to
52783         the global list here.  Move code to...
52784         (_dl_add_to_namespace_list): ...here.  New function.
52785         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52786         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52787         * elf/dl-load.c (lose): Don't remove the element from the list.
52788         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52789         (_dl_map_object): Likewise.
52790
52791 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
52792
52793         [BZ #12159]
52794         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52795         into all bytes of SSE register.
52796         Patch by Richard Li <richardpku@gmail.com>.
52797
52798 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
52799
52800         [BZ #12140]
52801         * malloc/malloc.c (_int_free): Fill correct number of bytes when
52802         perturbing.
52803
52804 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
52805
52806         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52807         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52808         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52809         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52811         submachine.
52812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52813
52814 2010-10-22  Andreas Schwab  <schwab@redhat.com>
52815
52816         * include/dlfcn.h (__RTLD_SECURE): Define.
52817         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
52818         mode & __RTLD_SECURE instead.
52819         (open_path): Rename preloaded parameter to secure.
52820         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52821         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52822         * elf/dl-deps.c (openaux): Likewise.
52823         * elf/rtld.c (struct map_args): Remove is_preloaded.
52824         (map_doit): Don't use it.
52825         (dl_main): Likewise.
52826         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52827         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52828
52829 2010-09-09  Andreas Schwab  <schwab@redhat.com>
52830
52831         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52832         (sysd-rules-targets): Remove duplicates.
52833         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52834         rtld-%.$o dependency.
52835
52836 2010-10-18  Andreas Schwab  <schwab@redhat.com>
52837
52838         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52839         _dl_map_object do it.
52840
52841 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
52842
52843         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52844         fast fma builtins, define the macros in the C99 standard.
52845         (FP_FAST_FMAF): Likewise.
52846         (FP_FAST_FMAL): Likewise.
52847         * sysdeps/x86_64/bits/mathdef.h: Likewise.
52848
52849         * bits/mathdef.h: Update copyright year.
52850         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52851
52852 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
52853
52854         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52855         builtins, define the macros in the C99 standard.
52856         (FP_FAST_FMAF): Likewise.
52857         (FP_FAST_FMAL): Likewise.
52858         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52859         multiply/add.
52860         (FP_FAST_FMAF): Likewise.
52861
52862 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
52863
52864         [BZ #3268]
52865         * math/libm-test.inc (fma_test): Some new testcases.
52866         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52867         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52868         y and infinite z.  Do multiplication by C already in long double.
52869         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52870         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52871         y and infinite z.  Do bitwise or of inexact bit into u.d.
52872         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52873         * sysdeps/i386/fpu/s_fmaf.S: Removed.
52874         * sysdeps/i386/fpu/s_fma.S: Removed.
52875         * sysdeps/i386/fpu/s_fmal.S: Removed.
52876
52877 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
52878
52879         [BZ #3268]
52880         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52881         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52882         computation is not scheduled after fetestexcept.  Fix value
52883         of minimum denormal long double.
52884
52885 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
52886
52887         [BZ #3268]
52888         * math/libm-test.inc (fma_test): Add some more tests.
52889         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52890         correctly.
52891
52892 2010-10-15  Andreas Schwab  <schwab@redhat.com>
52893
52894         * scripts/data/localplt-s390-linux-gnu.data: New file.
52895         * scripts/data/localplt-s390x-linux-gnu.data: New file.
52896
52897 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
52898
52899         [BZ #3268]
52900         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52901         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52902         instead of dbl-64.
52903         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52904         inlines.
52905         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52907         if one of x and y is very large and the other is subnormal.
52908         * sysdeps/s390/fpu/s_fmaf.c: New file.
52909         * sysdeps/s390/fpu/s_fma.c: New file.
52910         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52911         * sysdeps/powerpc/fpu/s_fma.S: New file.
52912         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52913         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52914         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52915
52916 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
52917
52918         [BZ #3268]
52919         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52920         fma tests.
52921         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52922         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52923         * sysdeps/i386/i686/multiarch/s_fma.c: Include
52924         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52925         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52926         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52927         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52928
52929 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
52930
52931         [BZ #12078]
52932         * posix/regcomp.c (parse_branch): One more memory leak plugged.
52933         * posix/bug-regex31.input: Add test case.
52934
52935 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52936
52937         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52938         * posix/bug-regex31.input: New file.
52939
52940         [BZ #12078]
52941         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52942         (parse_sub_exp): Fix last change, use postorder.
52943
52944         * posix/bug-regex31.c: New file.
52945         * posix/Makefile: Add rules to build and run bug-regex31.
52946
52947         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52948
52949         [BZ #12078]
52950         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52951
52952         [BZ #12108]
52953         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52954         to have entries in sys_siglist.
52955
52956         [BZ #12093]
52957         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52958         be NULL.
52959
52960 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
52961
52962         [BZ #3268]
52963         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52964         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52965         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52966         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52967         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52968         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52969         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52970         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52971         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52972         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52973         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52974         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52975         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52976         * math/ftestexcept.c (fetestexcept): Likewise.
52977         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52978         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52979         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52980         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52981         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52982         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52983         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52984
52985 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52986
52987         [BZ #12107]
52988         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52989         newline.
52990
52991 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
52992
52993         * string/bug-strstr1.c: New file.
52994         * string/Makefile: Add rules to build and run bug-strstr1.
52995
52996 2010-10-05  Eric Blake  <eblake@redhat.com>
52997
52998         [BZ #12092]
52999         * string/str-two-way.h (two_way_long_needle): Always clear memory
53000         when skipping input due to the shift table.
53001
53002 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53003
53004         [BZ #12005]
53005         * malloc/mcheck.c: Handle large requests.
53006
53007         [BZ #12077]
53008         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53009         for strncmp and strncasecmp.
53010         * string/stratcliff.c: Add tests for strcmp and strncmp.
53011         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53012
53013 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53014
53015         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53016         __set_fpscr.
53017
53018 2010-09-30  Andreas Jaeger  <aj@suse.de>
53019
53020         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53021         (CGROUP_SUPER_MAGIC): Define.
53022         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53023         Handle btrfs and cgroup file systems.
53024         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53025         Likewise.
53026
53027 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53028
53029         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53030         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53031
53032 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53033
53034         [BZ #12067]
53035         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53036         trying to locate the ELF header.
53037
53038 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53039
53040         [BZ #11611]
53041         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53042         Mask out sign-bit copies when constructing f_fsid.
53043
53044 2010-09-24  Petr Baudis <pasky@suse.cz>
53045
53046         * debug/stack_chk_fail_local.c: Add missing licence exception.
53047         * debug/warning-nop.c: Likewise.
53048
53049 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53050
53051         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53052         implementing getdents64 using getdents syscall, set d_type if
53053         __ASSUME_GETDENTS32_D_TYPE.
53054
53055 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53056
53057         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53058         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53059
53060 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53061
53062         [BZ #12037]
53063         * posix/unistd.h: Undo change of feature selection for ftruncate from
53064         2010-01-11.
53065
53066 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53067
53068         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53069         detection.
53070
53071 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53072
53073         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53074         fanotify_mark.
53075         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53076
53077 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53078
53079         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53080         variables after CHECK_SP call.
53081         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53082
53083 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53084             Ulrich Drepper  <drepper@redhat.com>
53085
53086         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53087         re-relocationg ld.so.
53088         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53089         _dl_init_paths call.
53090         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53091         here anymore.
53092
53093 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53094
53095         * resolv/res_init.c (__res_vinit): Count the default server we added.
53096
53097 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53098             Ulrich Drepper  <drepper@redhat.com>
53099
53100         [BZ #11968]
53101         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53102         (____longjmp_chk): Use %ebx for saving value across system call.
53103         Add unwind info.
53104
53105 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53106
53107         * manual/Makefile: Don't mix pattern rules with normal rules.
53108
53109 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53110
53111         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53112         operation.
53113         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53114         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53115         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53116         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53117         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53118         Likewise.
53119
53120 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53121
53122         [BZ #11979]
53123         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53124         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53125
53126 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53127
53128         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53129         * sysdeps/x86_64/addmul_1.S: Likewise.
53130         * sysdeps/x86_64/lshift.S: Likewise.
53131         * sysdeps/x86_64/mul_1.S: Likewise.
53132         * sysdeps/x86_64/rshift.S: Likewise.
53133         * sysdeps/x86_64/sub_n.S: Likewise.
53134         * sysdeps/x86_64/submul_1.S: Likewise.
53135
53136 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53137
53138         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53139         Define __sched_param instead of SCHED_* and sched_param when
53140         <bits/sched.h> is included with __need_schedparam defined.
53141         * bits/sched.h [__need_schedparam]
53142         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53143         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53144         (__defined_schedparam): Define to 1.
53145         (__sched_param): New structure, identical to sched_param.
53146         (__need_schedparam): Undefine.
53147
53148 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53149
53150         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53151         (epoll_create1): Declare.
53152
53153         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53154
53155 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53156
53157         [BZ #7066]
53158         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53159         shifting retval into place.
53160
53161 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53162
53163         * nis/rpcsvc/nis.h: Update copyright notice.
53164         * nis/rpcsvc/nis.x: Likewise.
53165         * nis/rpcsvc/nis_callback.h: Likewise.
53166         * nis/rpcsvc/nis_callback.x: Likewise.
53167         * nis/rpcsvc/nis_object.x: Likewise.
53168         * nis/rpcsvc/nis_tags.h: Likewise.
53169         * nis/rpcsvc/yp.h: Likewise.
53170         * nis/rpcsvc/yp.x: Likewise.
53171         * nis/rpcsvc/ypupd.h: Likewise.
53172         * nis/yp_xdr.c: Likewise.
53173         * nis/ypupdate_xdr.c: Likewise.
53174
53175         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53176         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53177         (pmap_getport): Use __libc_rpc_getport.
53178         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53179         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53180         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53181
53182 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53183
53184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
53185         fanotify_mark.
53186
53187 2010-08-27  Roland McGrath  <roland@redhat.com>
53188
53189         * sysdeps/i386/i686/multiarch/Makefile
53190         (CFLAGS-varshift.c): New variable.
53191
53192 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
53193
53194         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
53195         * sysdeps/i386/i686/multiarch/varshift.c: New file.
53196
53197         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
53198
53199         * sysdeps/x86_64/strlen.S: Minimal code improvement.
53200
53201 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
53202
53203         * sysdeps/x86_64/strlen.S: Unroll the loop.
53204         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53205         strlen-sse2 strlen-sse2-bsf.
53206         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
53207         __strlen_no_bsf if bit_Slow_BSF is set.
53208         (__strlen_sse42): Removed.
53209         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
53210         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
53211
53212 2010-08-25  Roland McGrath  <roland@redhat.com>
53213
53214         * sysdeps/x86_64/multiarch/varshift.S: File removed.
53215         * sysdeps/x86_64/multiarch/varshift.c: New file.
53216         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
53217         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
53218         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
53219         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53220
53221 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
53222
53223         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53224         strlen-sse2 strlen-sse2-bsf.
53225         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
53226         __strlen_sse2_bsf if bit_Slow_BSF is unset.
53227         (__strlen_sse2): Removed.
53228         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
53229         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
53230         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
53231         bit_Slow_BSF for Atom.
53232         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
53233         (index_Slow_BSF): Define.
53234         (HAS_SLOW_BSF): Define.
53235
53236 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
53237
53238         [BZ #10851]
53239         * resolv/res_init.c (__res_vinit): When no server address at all
53240         is given default to loopback.
53241
53242 2010-08-24  Roland McGrath  <roland@redhat.com>
53243
53244         * configure.in: Remove config-name.h generation.
53245         * configure: Regenerated.
53246         * config-name.in: File removed.
53247         * scripts/config-uname.sh: New file.
53248         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
53249         ($(objdir)config-name.h): New target.
53250
53251         * sunrpc/rpc_parse.h: Avoid nested comment.
53252
53253 2010-08-24  Richard Henderson  <rth@redhat.com>
53254             Ulrich Drepper  <drepper@redhat.com>
53255             H.J. Lu  <hongjiu.lu@intel.com>
53256
53257         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
53258         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
53259         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
53260         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
53261         _mm_alignr_epi8 with _mm_loadu_si128.
53262         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
53263         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
53264         (__m128i_shift_right): Removed.
53265         * sysdeps/i386/i686/multiarch/varshift.h: New file.
53266         * sysdeps/i386/i686/multiarch/varshift.S: New file.
53267         * sysdeps/x86_64/multiarch/varshift.h: New file.
53268         * sysdeps/x86_64/multiarch/varshift.S: New file.
53269
53270 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
53271
53272         * configure.in: Move assembler checks to before sysdep dir checking.
53273
53274 2010-08-20  Petr Baudis  <pasky@suse.cz>
53275
53276         * LICENSES: Sync the sunrpc license.
53277
53278 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
53279
53280         * sunrpc/auth_des.c: Update copyright notice once again.
53281         * sunrpc/auth_none.c: Likewise.
53282         * sunrpc/auth_unix.c: Likewise.
53283         * sunrpc/authdes_prot.c: Likewise.
53284         * sunrpc/authuxprot.c: Likewise.
53285         * sunrpc/bindrsvprt.c: Likewise.
53286         * sunrpc/clnt_gen.c: Likewise.
53287         * sunrpc/clnt_perr.c: Likewise.
53288         * sunrpc/clnt_raw.c: Likewise.
53289         * sunrpc/clnt_simp.c: Likewise.
53290         * sunrpc/clnt_tcp.c: Likewise.
53291         * sunrpc/clnt_udp.c: Likewise.
53292         * sunrpc/clnt_unix.c: Likewise.
53293         * sunrpc/des_crypt.c: Likewise.
53294         * sunrpc/des_soft.c: Likewise.
53295         * sunrpc/get_myaddr.c: Likewise.
53296         * sunrpc/getrpcport.c: Likewise.
53297         * sunrpc/key_call.c: Likewise.
53298         * sunrpc/key_prot.c: Likewise.
53299         * sunrpc/openchild.c: Likewise.
53300         * sunrpc/pm_getmaps.c: Likewise.
53301         * sunrpc/pm_getport.c: Likewise.
53302         * sunrpc/pmap_clnt.c: Likewise.
53303         * sunrpc/pmap_prot.c: Likewise.
53304         * sunrpc/pmap_prot2.c: Likewise.
53305         * sunrpc/pmap_rmt.c: Likewise.
53306         * sunrpc/rpc/auth.h: Likewise.
53307         * sunrpc/rpc/auth_unix.h: Likewise.
53308         * sunrpc/rpc/clnt.h: Likewise.
53309         * sunrpc/rpc/des_crypt.h: Likewise.
53310         * sunrpc/rpc/key_prot.h: Likewise.
53311         * sunrpc/rpc/netdb.h: Likewise.
53312         * sunrpc/rpc/pmap_clnt.h: Likewise.
53313         * sunrpc/rpc/pmap_prot.h: Likewise.
53314         * sunrpc/rpc/pmap_rmt.h: Likewise.
53315         * sunrpc/rpc/rpc.h: Likewise.
53316         * sunrpc/rpc/rpc_des.h: Likewise.
53317         * sunrpc/rpc/rpc_msg.h: Likewise.
53318         * sunrpc/rpc/svc.h: Likewise.
53319         * sunrpc/rpc/svc_auth.h: Likewise.
53320         * sunrpc/rpc/types.h: Likewise.
53321         * sunrpc/rpc/xdr.h: Likewise.
53322         * sunrpc/rpc_clntout.c: Likewise.
53323         * sunrpc/rpc_cmsg.c: Likewise.
53324         * sunrpc/rpc_common.c: Likewise.
53325         * sunrpc/rpc_cout.c: Likewise.
53326         * sunrpc/rpc_dtable.c: Likewise.
53327         * sunrpc/rpc_hout.c: Likewise.
53328         * sunrpc/rpc_main.c: Likewise.
53329         * sunrpc/rpc_parse.c: Likewise.
53330         * sunrpc/rpc_parse.h: Likewise.
53331         * sunrpc/rpc_prot.c: Likewise.
53332         * sunrpc/rpc_sample.c: Likewise.
53333         * sunrpc/rpc_scan.c: Likewise.
53334         * sunrpc/rpc_scan.h: Likewise.
53335         * sunrpc/rpc_svcout.c: Likewise.
53336         * sunrpc/rpc_tblout.c: Likewise.
53337         * sunrpc/rpc_util.c: Likewise.
53338         * sunrpc/rpc_util.h: Likewise.
53339         * sunrpc/rpcinfo.c: Likewise.
53340         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
53341         * sunrpc/rpcsvc/key_prot.x: Likewise.
53342         * sunrpc/rpcsvc/klm_prot.x: Likewise.
53343         * sunrpc/rpcsvc/mount.x: Likewise.
53344         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
53345         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
53346         * sunrpc/rpcsvc/rex.x: Likewise.
53347         * sunrpc/rpcsvc/rstat.x: Likewise.
53348         * sunrpc/rpcsvc/rusers.x: Likewise.
53349         * sunrpc/rpcsvc/sm_inter.x: Likewise.
53350         * sunrpc/rpcsvc/spray.x: Likewise.
53351         * sunrpc/rpcsvc/yppasswd.x: Likewise.
53352         * sunrpc/rtime.c: Likewise.
53353         * sunrpc/svc.c: Likewise.
53354         * sunrpc/svc_auth.c: Likewise.
53355         * sunrpc/svc_authux.c: Likewise.
53356         * sunrpc/svc_raw.c: Likewise.
53357         * sunrpc/svc_run.c: Likewise.
53358         * sunrpc/svc_simple.c: Likewise.
53359         * sunrpc/svc_tcp.c: Likewise.
53360         * sunrpc/svc_udp.c: Likewise.
53361         * sunrpc/svc_unix.c: Likewise.
53362         * sunrpc/svcauth_des.c: Likewise.
53363         * sunrpc/xcrypt.c: Likewise.
53364         * sunrpc/xdr.c: Likewise.
53365         * sunrpc/xdr_array.c: Likewise.
53366         * sunrpc/xdr_float.c: Likewise.
53367         * sunrpc/xdr_mem.c: Likewise.
53368         * sunrpc/xdr_rec.c: Likewise.
53369         * sunrpc/xdr_ref.c: Likewise.
53370         * sunrpc/xdr_sizeof.c: Likewise.
53371         * sunrpc/xdr_stdio.c: Likewise.
53372
53373         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
53374         handling.
53375
53376 2010-08-19  Andreas Schwab  <schwab@redhat.com>
53377
53378         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
53379
53380 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
53381
53382         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
53383         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
53384         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
53385         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
53386         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
53387         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
53388         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
53389         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
53390         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
53391         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
53392         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
53393         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
53394         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
53395         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
53396
53397 2010-07-26  Anton Blanchard  <anton@samba.org>
53398
53399         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
53400         * malloc/arena.c (heap_trim): Likewise.
53401
53402 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
53403
53404         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
53405         here.  Not...
53406         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
53407         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
53408
53409 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
53410
53411         * sysdeps/i386/elf/Makefile: New file.
53412
53413 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53414
53415         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
53416         from fanotify_init.
53417         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
53418         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53419
53420 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
53421
53422         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
53423         of strncasecmp_l.
53424         * sysdeps/multiarch/strcmp.S: Likewise.
53425
53426 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
53427
53428         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53429         strncase_l-nonascii.
53430         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53431         Add strncase_l-ssse3.
53432         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
53433         * sysdeps/x86_64/strcmp.S: Likewise.
53434         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
53435         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
53436         * sysdeps/x86_64/strncase.S: New file.
53437         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
53438         * sysdeps/x86_64/strncase_l.S: New file.
53439         * string/Makefile (strop-tests): Add strncasecmp.
53440         * string/test-strncasecmp.c: New file.
53441
53442         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
53443         warning.
53444
53445         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
53446         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
53447
53448 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
53449
53450         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
53451
53452 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
53453
53454         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
53455         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
53456         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
53457
53458 2010-05-01  Alan Modra  <amodra@gmail.com>
53459
53460         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
53461         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
53462         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
53463         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
53464         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
53465         tidying.  Don't tail-call __sigjmp_save for static lib.
53466         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
53467         save location.
53468         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
53469         (CALL_MCOUNT): Add eh info, and nop after bl.
53470         (TAIL_CALL_SYSCALL_ERROR): New macro.
53471         (PSEUDO_RET): Use it.
53472         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53473         Correct save location of integer regs and cr.
53474         (_dl_profile_resolve): Correct cr save location.  Delete nops
53475         after bl when SHARED.  Reduce cfi size a little by better
53476         placement of cfi directives.
53477         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
53478         make a stack frame.  Instead use parm save area as a temp.
53479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
53480         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
53481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53482         Don't make a stack frame for parent, use parm save area.
53483         Increase child stack frame to 112 bytes.  Don't save unused reg,
53484         and adjust reg usage.  Set up cfi on error recovery and
53485         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
53486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53487         (__makecontext): Add dummy nop after jump to exit.
53488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
53489         Use correct parm save area and cr save, reduce stack frame.
53490         Correct cfi for possible PSEUDO_RET frame setup.
53491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
53492         Branch to local label emitted by PSEUDO_RET rather than
53493         __syscall_error.
53494
53495 2010-08-12  Andreas Schwab  <schwab@redhat.com>
53496
53497         [BZ #11904]
53498         * locale/programs/locale.c (print_assignment): New function.
53499         (show_locale_vars): Use it.
53500
53501 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
53502
53503         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
53504         field.
53505         (struct statfs64): Likewise.
53506         (_STATFS_F_FLAGS): Define.
53507         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
53508         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53509         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
53510         (ST_VALID): Define locally.
53511         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
53512         __statvfs_getflags, use the provided value.
53513         * sysdeps/unix/sysv/linux/kernel-features.h: Define
53514         __ASSUME_STATFS_F_FLAGS.
53515
53516         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
53517
53518         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
53519         Add sys/fanotify.h.
53520         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
53521         fanotify_mask for GLIBC_2.13.
53522         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
53523         fanotify_init and fanotify_mark.
53524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
53525         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
53526
53527         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
53528         Add prlimit.
53529         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
53530         prlimit64 for GLIBC_2.13.
53531         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
53532         prlimit64.
53533         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
53534         syscall.
53535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
53536         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53537         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
53538         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
53539         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
53540         add prlimit alias.
53541         * sysdeps/unix/sysv/linux/prlimit.c: New file.
53542
53543         [BZ #11903]
53544         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
53545         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
53546
53547         * nss/Makefile: Add rules to build and run tst-nss-test1.
53548         * shlib-versions: Add entry for libnss_test1.
53549         * nss/nss_test1.c: New file.
53550         * nss/tst-nss-test1.c: New file.
53551
53552         * nss/nsswitch.c (__nss_database_custom): Define new variable.
53553         (__nss_configure_lookup): Set appropriate entry in
53554         __nss_configure_lookup to true.
53555         * nss/nsswitch.h: Define enum with indeces of databases in
53556         databases and __nss_database_custom arrays.  Declare
53557         __nss_database_custom.
53558         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
53559         to avoid using nscd when custom rules are installed.
53560         * nss/getXXbyYY_r.c: Likewise.
53561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53562
53563         * nss/nss_files/files-parse.c: Whitespace fixes.
53564
53565 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
53566
53567         [BZ #11883]
53568         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
53569         * posix/fnmatch_loop.c: Likewise.
53570
53571 2010-07-17  Andi Kleen  <ak@linux.intel.com>
53572
53573         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
53574         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
53575         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
53576         * Versions.def [GLIBC_2.13]: Add.
53577
53578 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
53579
53580         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53581         Also fail if tpwd after pwuid call is NULL.
53582
53583 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53584
53585         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
53586         when converting to ms.
53587
53588 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53589
53590         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
53591         EOPNOTSUPP errors with ENOTTY.
53592         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
53593         EOPNOTSUPP errors with ENOTTY.
53594
53595 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
53596
53597         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
53598         Add strcasecmp_l-ssse3.
53599         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
53600         strcasecmp.
53601         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
53602         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
53603         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
53604
53605 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
53606
53607         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
53608
53609         * string/Makefile (strop-tests): Add strcasecmp.
53610         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
53611         strcasecmp_l-nonascii.
53612         (gen-as-const-headers): Add locale-defines.sym.
53613         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53614         * sysdeps/x86_64/strcasecmp.S: New file.
53615         * sysdeps/x86_64/strcasecmp_l.S: New file.
53616         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53617         * sysdeps/x86_64/locale-defines.sym: New file.
53618         * string/test-strcasecmp.c: New file.
53619
53620         * string/test-strcasestr.c: Test both ends of the range of characters.
53621         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53622
53623 2010-07-29  Roland McGrath  <roland@redhat.com>
53624
53625         [BZ #11856]
53626         * manual/locale.texi (Yes-or-No Questions): Fix example code.
53627
53628 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
53629
53630         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53631         for ld.so.
53632
53633 2010-07-27  Andreas Schwab  <schwab@redhat.com>
53634
53635         * manual/memory.texi (Malloc Tunable Parameters): Document
53636         M_PERTURB.
53637
53638 2010-07-26  Roland McGrath  <roland@redhat.com>
53639
53640         [BZ #11840]
53641         * configure.in (-fgnu89-inline check): Set and substitute
53642         gnu89_inline, not libc_cv_gnu89_inline.
53643         * configure: Regenerated.
53644         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53645
53646 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
53647
53648         * string/test-strnlen.c: New file.
53649         * string/Makefile (strop-tests): Add strnlen.
53650         * string/tester.c (test_strnlen): Add a few more test cases.
53651         * string/tst-strlen.c: Better error reporting.
53652
53653         * sysdeps/x86_64/strnlen.S: New file.
53654
53655 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
53656
53657         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53658         lower-latency instructions.
53659
53660 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
53661
53662         * string/test-strcasestr.c: New file.
53663         * string/test-strstr.c: New file.
53664         * string/Makefile (strop-tests): Add strstr and strcasestr.
53665         * string/str-two-way.h: Don't undefine MAX.
53666         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53667
53668 2010-07-21  Andreas Schwab  <schwab@redhat.com>
53669
53670         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53671         strcasestr-nonascii.
53672         (CFLAGS-strcasestr-nonascii.c): Define.
53673         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53674         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53675         Remove unused attribute.
53676
53677 2010-07-20  Roland McGrath  <roland@redhat.com>
53678
53679         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53680         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
53681         ld.so.cache was broken.  With it, there is no way to disable dsocaps
53682         like LD_HWCAP_MASK can disable hwcaps.
53683
53684 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53685
53686         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53687
53688 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
53689
53690         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53691         call in strcasestr.
53692         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53693         __strcasestr_sse42_nonascii.
53694         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53695         strcasestr-nonascii.c.
53696         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53697
53698 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53699
53700         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53701         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53702         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53703         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53704
53705 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53706
53707         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53708         fcntl.
53709
53710 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53711
53712         [BZ #11577]
53713         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53714         dl_signal_cerror.
53715
53716 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53717
53718         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53719         _PC_PIPE_BUF using F_GETPIPE_SZ.
53720
53721 2010-07-05  Roland McGrath  <roland@redhat.com>
53722
53723         * manual/arith.texi (Rounding Functions): Fix rint description
53724         implicit in round description.
53725
53726 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
53727
53728         * elf/Makefile: Fix linking for a few tests to make recent linker
53729         happy.
53730
53731 2010-06-30  Andreas Schwab  <schwab@redhat.com>
53732
53733         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53734         $(common-objpfx)libc_nonshared.a.
53735
53736 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
53737
53738         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53739         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53740         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53741         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53742         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53743         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53744         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53745         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53760         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53761         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53762         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53763         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53764         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53765         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53766         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53767         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53768         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53769         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53770         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53771         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53786
53787 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
53788
53789         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53790         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
53791         * string/memmove.c (memmove): Renamed to ...
53792         (MEMMOVE): ...this.  Default to memmove.
53793         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53794         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53795         (END_CHK): Define.
53796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53797         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53798         mempcpy-ssse3-back memmove-ssse3-back.
53799         * sysdeps/x86_64/multiarch/bcopy.S: New file .
53800         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53801         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53802         * sysdeps/x86_64/multiarch/memcpy.S: New file.
53803         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53804         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53805         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53806         * sysdeps/x86_64/multiarch/memmove.c: New file.
53807         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53808         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53809         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53810         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53811         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53812         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53813         Define.
53814         (index_Fast_Copy_Backward): Define.
53815         (HAS_ARCH_FEATURE): Define.
53816         (HAS_FAST_REP_STRING): Define.
53817         (HAS_FAST_COPY_BACKWARD): Define.
53818
53819 2010-06-21  Andreas Schwab  <schwab@redhat.com>
53820
53821         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53822         Restore proper fallback handling.
53823
53824 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
53825
53826         [BZ #11701]
53827         * posix/group_member.c (__group_member): Correct checking loop.
53828
53829         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53830         OOM in getpwuid_r correctly.  Return error number when the caller
53831         should return, otherwise -1.
53832         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53833         call returning > 0 value.
53834         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53835
53836 2010-06-07  Andreas Schwab  <schwab@redhat.com>
53837
53838         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53839         libc_nonshared.a from targets in modules-names.
53840
53841 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
53842
53843         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53844         requires it.
53845
53846 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
53847
53848         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53849         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53850         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53851         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53852
53853 2010-06-02  Andreas Schwab  <schwab@redhat.com>
53854
53855         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53856
53857 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
53858
53859         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53860         and F_GETPIPE_SZ.
53861         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53862         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53863         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53864         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53865         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53866         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53867
53868 2010-06-14  Roland McGrath  <roland@redhat.com>
53869
53870         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53871
53872 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
53873
53874         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53875         __REDIRECT followed by __THROW.
53876         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53877         * posix/getopt.h (getopt): Likewise.
53878
53879 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53880
53881         * hurd/lookup-at.c (__file_name_lookup_at): Accept
53882         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
53883         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53884         in AT_FLAGS.
53885         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53886         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53887
53888 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
53889
53890         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53891
53892 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
53893
53894         [BZ #11640]
53895         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53896         Properly check family and model.
53897
53898 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
53899
53900         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53901
53902 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
53903
53904         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53905
53906 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
53907
53908         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53909         symbol reference.
53910
53911 2010-05-19  Andreas Schwab  <schwab@redhat.com>
53912
53913         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53914         symbol reference.
53915
53916 2010-05-21  Andreas Schwab  <schwab@redhat.com>
53917
53918         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53919         and internal_recvmmsg.
53920         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53921         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53922         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53923         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53924
53925         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53926         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53927         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53928
53929 2010-05-20  Andreas Schwab  <schwab@redhat.com>
53930
53931         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53932
53933 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
53934
53935         POWER7 optimizations.
53936         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53937         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53938
53939 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
53940
53941         * version.h: Update for 2.13 development version.
53942
53943 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
53944
53945         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53946         exceptions.  Return 0.
53947
53948 2010-05-07  Roland McGrath  <roland@redhat.com>
53949
53950         * elf/ldconfig.c (main): Add a const.
53951
53952 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
53953
53954         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53955         (args_options): Add no-idn option.
53956         (ahosts_keys_int): Add idn_flags to ai_flags.
53957         (parse_option): Handle 'i' option to clear idn_flags.
53958
53959         * malloc/malloc.c (_int_free): Possible race in the most recently
53960         added check.  Only act on the data if no current modification
53961         happened.
53962
53963 See ChangeLog.17 for earlier changes.